Fix typo in manual.
[glibc.git] / ChangeLog
blob715c4be4f7b7c309a792cc390ce8420c8aa60061
1 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3         * manual/resource.texi (How to get information about the memory
4         subsystem?): Fix typo.
5         Reported by Peon de la Parra Ivan <peon@keba.com>
7 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
9         [BZ #16882]
10         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11         (pthread_spin_lock): Branch out of spin loop to proper location.
12         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
13         (pthread_spin_lock): Likewise.
15         * nptl/tst-spin4.c: New test.
16         * nptl/Makefile (tests): Add tst-spin4.
18 2014-06-03  Andreas Schwab  <schwab@suse.de>
20         [BZ #15946]
21         * resolv/res_send.c (send_dg): Reload file descriptor after
22         calling reopen.
24 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
26         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28 2014-06-03  Richard Henderson  <rth@redhat.com>
30         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
31         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
32         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
33         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
34         in the SAVE_PID block.
35         (__libc_vfork): New alias.
36         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
38         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
39         child in registers, not on the stack.  Remove RESET_PID conditionals.
40         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
42 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44         * sysdeps/aarch64/libm-test-ulps: Regenerate.
46 2014-06-03  Wilco  <wdijkstr@arm.com>
48         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
49         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
50         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
52         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
53         Likewise.
55 2014-06-03  Wilco  <wdijkstr@arm.com>
57         * sysdeps/aarch64/fpu/math_private.h
58         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
59         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
60         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
61         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
62         Fix declarations.
64 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
66         * crypt/crypt-private.h: Include ufc-crypt.h.
67         (__b64_from_24bit): Declare extern.
68         * crypt/crypt_util.c(__b64_from_24bit): New function.
69         (b64t): New static const variable.
70         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
71         (b64t): Remove variable.
72         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
73         * crypt/sha256-crypt.c: Include crypt-private.h.
74         (b64t): Remove variable.
75         (__sha256_crypt_r): Remove b64_from_24bit and replace
76         with __b64_from_24bit.
77         * crypt/sha512-crypt.c: Likewise.
79 2014-06-02  Roland McGrath  <roland@hack.frob.com>
81         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
82         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
83         Label the code __libc_vfork rather than __vfork.
84         [!NOT_IN_libc] (vfork): Define as weak alias.
85         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
86         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
87         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
89 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
91         * malloc/malloc.c (malloc_info): Fix format specifier for
92         n_mmaps.
94 2014-06-02  Wilco  <wdijkstr@arm.com>
96         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
97         FPCR write.
99 2014-06-02  Wilco  <wdijkstr@arm.com>
101         [BZ #17009]
102         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
103         Rewrite to reduce FPCR/FPSR accesses.
105 2014-06-01  David S. Miller  <davem@davemloft.net>
107         * sysdeps/sparc/fpu/libm-test-ulps: Update.
109 2014-05-31  David S. Miller  <davem@davemloft.net>
111         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
112         to occur in round to nearest mode when |x| >= 2.0
114 2014-05-30  Richard Henderson  <rth@twiddle.net>
116         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
117         (PSEUDO_RET_NOERRNO): Remove.
118         (ret): Don't redefine.
119         (ret_NOERRNO): Define in terms of ret.
120         (ret_ERRVAL): Likewise.
122         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
123         use of PSEUDO_RET; perform the error check directly.
125 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
127         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
128         with __int128_t.
130 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
132         * malloc/malloc (malloc_info): Fix formatting.
134 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
135             Roland McGrath  <roland@hack.frob.com>
137         * malloc/malloc (malloc_info): Also print mmapped statistics.
139 2014-05-30  Roland McGrath  <roland@hack.frob.com>
141         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
142         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
144 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
146         * malloc/malloc.c (malloc_info): Inline mi_arena.
148 2014-05-29  Richard Henderson  <rth@twiddle.net>
150         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
151         Remove comma before expanding ASM_ARGS_##nr.
152         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
153         Make _x0 a strict output; make _x8 a strict input; adjust expansion
154         of ASM_ARGS_##nr.
155         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
156         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
157         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
158         (ASM_ARGS_1): Add leading comma.
160         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
161         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
162         to __errno_location.
163         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
164         Remove the expected plt for __errno_location.
166         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
167         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
168         call to __read_tp.
170         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
171         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
172         it and break it down.
173         (DOCARGS_0, DOCARGS_1): Do nothing.
174         (DOCARGS_2): Update to store into the new stack frame.
175         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
176         (UNDOCARGS_1): Update to restore from the new stack frame.
177         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
178         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
180         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
181         (SINGLE_THREAD_P): New parameter for result regno.
182         (PSEUDO): Update to match; use cbz instead of beq.
184         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
185         Use ENTRY to define the _nocancel entry point.  Share the syscall
186         and syscall error check paths with the cancel path.
187         (PSEUDO_END): New.
189         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
190         whitespace; tabs before and after asm mnemonics.
192 2014-05-29  Eric Wong  <normalperson@yhbt.net>
194         [BZ #15132]
195         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
196         Call fstat64 or stat64 internally, depending on arguments passed.
197         Replace stat buffer argument with file descriptor argument.
198         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
199         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
200         Pass fd to __internal_statvfs instead of calling fstat64.
201         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
202         Pass fd to __internal_statvfs64 instead of calling fstat64.
203         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
204         Pass -1 to __internal_statvfs instead of calling stat64.
205         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
206         Pass -1 to __internal_statvfs64 instead of calling stat64.
208 2014-05-28  Roland McGrath  <roland@hack.frob.com>
210         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
211         that was previously under [RESET_PID].
212         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
214         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
215         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
217 2014-05-27  Roland McGrath  <roland@hack.frob.com>
219         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
221         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
222         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
224 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
226         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
228 2014-05-27  Andreas Schwab  <schwab@suse.de>
230         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
231         TLS_INIT_TP macro.
232         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
233         * elf/rtld.c (init_tls, dl_main): Likewise.
234         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
235         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
236         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
237         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
238         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
239         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
240         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
241         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
242         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
243         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
244         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
245         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
246         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
247         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
248         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
249         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
250         * sysdeps/generic/tls.h: Update description.
252 2014-05-27  Will Newton  <will.newton@linaro.org>
254         [BZ #16990]
255         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
256         and restore r2 rather than just restoring.
258 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
260         [BZ #16724]
261         * libio/tst-ftell-append.c: New test case.
262         * libio/Makefile (tests): Add test case.
263         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
264         append mode.
265         * libio/wfileops.c (do_ftell_wide): Likewise.
267 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
269         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
271         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
272         ...
273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
275         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
276         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
277         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
278         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
279         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
280         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
281         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
282         Moved ...
283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
284         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
285         Moved ...
286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
287         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
288         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
289         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
290         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
291         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
292         ...
293         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
294         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
295         Moved ...
296         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
297         here.
298         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
299         ...
300         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
301         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
302         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
304         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
305         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
306         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
307         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
309         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
310         merge into ...
311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
312         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
313         ...
314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
315         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
316         ...
317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
318         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
319         Moved ...
320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
321         here.
322         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
323         Moved ...
324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
325         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
326         Moved ...
327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
330         conditional [RESET_PID].
331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
332         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
333         removed.
334         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
335         removed.
337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
338         <tcb-offsets.h>.
339         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
340         (__libc_vfork): New strong alias.
341         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
342         removed.
343         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
344         Removed.
346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
347         <tcb-offsets.h>.
348         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
349         (__libc_vfork): New strong alias.
350         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
351         removed.
352         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
353         removed.
355 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
357         * malloc/malloc.c (mi_arena): New function.
358         (malloc_info): Remove nested function mi_arena. Call non-nosted
359         function mi_arena.
361 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
363         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
364         by insrwi.
365         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
366         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
367         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
368         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
369         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
370         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
371         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
373 2014-05-26  Andreas Schwab  <schwab@suse.de>
375         [BZ #16984]
376         * locale/programs/repertoire.c (repertoire_read): Add slash
377         between I18NPATH element and file name.
378         * locale/programs/locfile.c (locfile_read): Likewise.
380 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
382         * nptl/pthread_mutexattr_settype.c
383         (__pthread_mutexattr_settype):
384         Disable lock elision for PTHREAD_MUTEX_NORMAL.
386 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
388         * nptl/tst-mutex5 (do_test):
389         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
391 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
393         * benchtests/README: Document 'init' directive.
394         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
395         BENCH_INIT.
396         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
397         (parse_file): Recognize 'init' directive.
399 2014-05-26  Kyle McMartin  <kyle@redhat.com>
401         [BZ #16796]
402         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
403         alignment of struct pthread.
405 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
407         [BZ #16878]
408         * nscd/netgroupcache.c (addgetnetgrentX): Look for
409         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
410         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
411         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
413 2014-05-25  Richard Henderson  <rth@twiddle.net>
415         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
416         (SINGLE_THREAD_P_PIC): Remove.
417         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
418         (SINGLE_THREAD_P_PIC): Remove.
420         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
421         branch to syscall error ...
422         (PSEUDO): ... here.
423         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
424         from __local_syscall_error to .Lsyscall_error.
425         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
426         (SYSCALL_ERROR): Update label name.
428         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
429         Do not use DOARGS/UNDOARGS.
430         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
431         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
432         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
433         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
434         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
436         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
437         block comment.
439         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
440         define if !NOT_IN_libc.
441         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
442         define with non-default symbol versions.
444 2014-05-23  Richard Henderson  <rth@twiddle.net>
446         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
447         (vfork, __vfork): Define via compat_symbol.
449         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
450         [!HAVE_IFUNC] (vfork_compat): Remove.
451         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
453 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
455         [BZ #16978]
456         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
457         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
458         variable.
460 2014-05-23  Richard Henderson  <rth@twiddle.net>
462         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
463         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
464         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
465         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
467         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
468         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
469         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
470         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
471         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
472         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
473         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
474         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
475         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
476         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
477         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
478         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
479         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
480         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
481         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
482         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
483         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
484         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
485         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
486         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
487         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
488         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
489         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
490         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
491         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
492         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
493         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
494         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
495         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
496         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
497         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
498         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
499         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
500         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
501         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
502         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
503         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
504         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
505         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
506         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
507         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
508         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
509         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
510         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
511         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
512         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
513         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
514         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
515         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
516         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
517         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
518         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
519         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
520         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
521         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
522         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
524         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
525         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
526         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
527         before exiting on error.
528         (__libc_vfork): New strong alias.
529         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
530         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
532         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
533         that was previously under [RESET_PID].
534         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
536         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
538 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
540         [BZ #16977]
541         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
542         value when x - 1 is zero.
543         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
544         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
545         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
546         0.0L for an argument of 1.0L.
547         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
548         Likewise.
549         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
550         value when x - 1 is zero.
551         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
552         * sysdeps/i386/fpu/libm-test-ulps: Update.
553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
555 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
557         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
558         alphasort and versionsort.
560 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
562         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
563         macro.
564         [copysignf]: Likewise.
566 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
568         * crypt/md5-crypt.c: Fix formatting.
570 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
572         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
573         (b64_from_24bit): New function.
575 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
577         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
578         libc_hidden_builtin_def to ifunc.
579         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
580         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
582 2014-05-21  Roland McGrath  <roland@hack.frob.com>
584         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
585         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
587 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
589         * nscd/Depend (linuxthreads): Remove.
590         (nptl): Add.
591         * resolv/Depend (linuxthreads): Remove.
592         * rt/Depend (linuxthreads): Remove.
594         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
595         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
596         $(common-objpfx)elf/.
597         (link-libc-before-gnulib): Likewise.
598         (elfobjdir): Remove variable.
599         * Makefile (install): Use $(elf-objpfx) instead of
600         $(common-objpfx)elf/.
601         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
602         $(elfobjdir)/.
603         (link-libc-deps): Likewise.
604         ($(common-objpfx)libc.so): Likewise.
605         ($(common-objpfx)linkobj/libc.so): Likewise.
606         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
607         instead of $(common-objpfx)elf/.
608         (symbolic-link-list): Likewise.
609         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
610         [$(cross-compiling) = no]: Likewise.
611         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
612         $(elfobjdir)/.
613         (static-gnulib-arch): Likewise.
614         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
615         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
616         $(common-objpfx)elf/.
618 2014-05-21  Richard Henderson  <rth@redhat.com>
620         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
621         (SINGLE_THREAD_P): Use the correct width load.  Fold
622         into the ldr offset.
624         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
625         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
627 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
629         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
630         (libgcc_s_resume): Use __attribute_used__.
631         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
632         Likewise.
634 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
636         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
637         optimization when used with float constants.
639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
641 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
643         [BZ #16915]
644         * locale/nl_langinfo_l.c: Make direct reference to every
645         _nl_current_CATEGORY symbol.
646         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
647         (tests-static): Add tst-langinfo-static.
648         (tests-special): Add tst-langinfo-static.out.
649         ($(objpfx)tst-langinfo.out): Redirect output.
650         ($(objpfx)tst-langinfo-static.out): New.
651         * localedata/tst-langinfo.sh: Send output to stdout.
652         * localedata/tst-langinfo-static.c: New file.
654         [BZ #16965]
655         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
656         when the shift amount is modulo the limb size.
658 2014-05-20  Richard Henderson  <rth@redhat.com>
660         [BZ #16967]
661         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
662         Change type of sa_flags from unsigned int to int.
664         [BZ #16966]
665         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
667         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
669 2014-05-20  Will Newton  <will.newton@linaro.org>
671         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
672         Test the return value of the system call in the nocancel case.
674 2014-05-20  Will Newton  <will.newton@linaro.org>
675             Yvan Roux  <yvan.roux@linaro.org>
677         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
678         #include of asm/ptrace.h.
679         (PTRACE_GET_THREAD_AREA): Remove #undef.
680         (PTRACE_GETHBPREGS): Likewise.
681         (PTRACE_SETHBPREGS): Likewise.
682         (struct user_regs_struct): New structure.
683         (struct user_fpsimd_struct): New structure.
684         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
685         #include of asm/ptrace.h and second #include of sys/user.h.
686         (PTRACE_GET_THREAD_AREA): Remove #undef.
687         (PTRACE_GETHBPREGS): Likewise.
688         (PTRACE_SETHBPREGS): Likewise.
689         (ELF_NGREG): Use new struct user_regs_struct.
690         (elf_fpregset_t): Use new struct user_fpsimd_struct.
692 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
694         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
695         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
697 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
699         [BZ #16958]
700         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
701         membar to avoid block loads/stores to overlap previous stores.
703 2014-05-17  Richard Henderson  <rth@redhat.com>
705         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
706         Create the __##syscall_name##_nocancel entry point.
707         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
708         Remove; let the sysdep-cancel.h code create it.
710 2014-05-17  David S. Miller  <davem@davemloft.net>
712         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
713         Protect with __USE_GNU.
714         (TIOCSET_TEMPT): Likewise.
715         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
716         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
717         these are already provided in bits/ioctl-types.h
719 2014-05-16  Roland McGrath  <roland@hack.frob.com>
721         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
722         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
724         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
725         Use wait4 regardless of [__NR_waitpid].
727 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
729         PR libgcc/60166
730         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
731         (_FP_NANSIGN_Q): Set the quiet bit.
733 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
735         * benchtests/Makefile
736         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
737         not $(common-objpfx)math/libm.so.
738         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
739         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
740         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
741         $(common-objpfx)dlfcn/libdl.so.
742         ($(objpfx)tst-audit8): Depend on $(libm), not
743         $(common-objpfx)math/libm.so.
744         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
745         not $(common-objpfx)dlfcn/libdl.so.
746         * math/Makefile
747         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
748         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
749         [$(build-shared) = yes].
750         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
751         $(common-objpfx)nptl/libpthread.so.
752         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
753         $(common-objpfx)math/libm.so$(libm.so-version) or
754         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
755         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
756         $(common-objpfx)dlfcn/libdl.so.
757         * setjmp/Makefile (link-libm): Remove variable.
758         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
759         * stdio-common/Makefile (link-libm): Remove variable.
760         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
761         * stdlib/Makefile (link-libm): Remove variable.
762         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
763         ($(objpfx)tst-strtod-round): Likewise.
764         ($(objpfx)tst-tininess): Likewise.
765         ($(objpfx)tst-strtod-underflow): Likewise.
766         ($(objpfx)tst-strtod6): Likewise.
767         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
768         $(libdl), not $(common-objpfx)nptl/libpthread.so and
769         $(common-objpfx)dlfcn/libdl.so.
771 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
773         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
774         BSD terminal modes definitions.
776 2014-05-16  Roland McGrath  <roland@hack.frob.com>
778         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
779         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
781         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
782         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
783         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
784         Don't do #include_next.
785         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
786         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
787         Don't do #include_next.
788         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
789         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
790         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
791         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
793 2014-05-16  Allan McRae  <allan@archlinux.org>
795         * po/sv.po: Update Swedish translation from translation project.
797         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
798         in sed expression.
800 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
802         [BZ #16917]
803         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
804         errno if the TIOCGPTN ioctl fails with an error different than
805         EINVAL.
806         * login/tst-ptsname.c: New file.
807         * login/Makefile (tests): Add tst-ptsname.
809         [BZ #16943]
810         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
811         and prlimit64.
813 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
815         [BZ #16849]
816         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
817         herrno to return EAI_AGAIN.
819 2014-05-14  Roland McGrath  <roland@hack.frob.com>
821         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
822         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
823         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
824         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
825         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
826         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
827         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
828         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
829         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
830         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
831         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
832         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
833         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
834         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
835         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
836         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
837         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
838         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
839         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
840         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
841         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
842         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
843         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
844         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
845         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
846         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
847         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
848         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
849         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
850         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
851         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
852         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
853         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
854         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
855         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
856         Moved ...
857         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
858         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
859         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
860         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
861         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
862         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
863         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
864         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
865         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
866         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
867         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
868         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
869         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
870         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
871         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
872         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
873         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
874         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
875         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
876         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
877         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
878         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
879         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
880         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
881         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
882         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
883         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
884         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
885         Moved ...
886         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
887         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
888         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
889         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
890         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
891         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
892         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
893         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
894         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
895         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
896         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
897         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
898         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
899         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
900         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
901         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
902         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
903         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
904         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
905         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
906         Moved ...
907         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
908         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
909         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
911         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
912         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
913         (libpthread-sysdep_routines): Add elision-related stuff here instead.
914         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
915         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
916         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
917         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
918         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
919         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
920         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
921         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
922         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
923         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
924         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
925         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
926         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
927         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
928         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
929         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
930         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
931         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
932         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
933         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
934         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
935         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
936         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
937         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
938         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
939         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
940         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
941         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
943         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
944         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
946         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
947         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
948         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
949         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
950         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
951         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
952         Moved ...
953         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
954         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
955         Moved ...
956         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
957         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
958         Moved ...
959         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
960         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
961         Moved ...
962         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
963         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
964         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
965         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
966         Moved ...
967         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
968         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
969         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
970         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
971         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
972         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
973         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
974         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
975         Moved ...
976         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
977         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
978         Moved ...
979         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
980         ... here.
981         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
982         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
983         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
984         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
985         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
986         Moved ...
987         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
988         ... here.
989         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
990         Moved ...
991         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
992         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
993         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
994         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
995         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
996         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
997         Moved ...
998         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
999         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1000         Moved ...
1001         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1002         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1003         Moved ...
1004         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1005         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1006         Moved ...
1007         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1008         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1009         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1010         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1011         Moved ...
1012         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1013         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1014         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1015         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1016         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1017         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1018         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1019         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1020         Moved ...
1021         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1022         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1023         Moved ...
1024         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1025         ... here.
1026         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1027         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1028         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1029         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1030         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1031         Moved ...
1032         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1033         ... here.
1034         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1035         Moved ...
1036         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1037         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1038         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1039         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1040         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1041         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1042         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1043         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1044         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1045         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1046         Moved ...
1047         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1048         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1049         Moved ...
1050         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1051         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1052         Moved ...
1053         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1054         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1055         Moved ...
1056         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1057         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1058         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1059         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1060         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1061         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1062         Moved ...
1063         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1064         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1065         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1066         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1067         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1068         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1069         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1070         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1071         Moved ...
1072         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1073         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1074         Moved ...
1075         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1076         ... here.
1077         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1078         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1079         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1080         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1081         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1082         Moved ...
1083         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1084         ... here.
1085         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1086         Moved ...
1087         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1088         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1089         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1090         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1091         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1092         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1093         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1094         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1095         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1096         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1097         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1099         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1100         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1102         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1103         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1105         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1106         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1107         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1108         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1109         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1110         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1111         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1112         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1113         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1114         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1115         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1116         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1117         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1118         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1119         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1120         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1121         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1122         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1123         Moved ...
1124         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1125         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1126         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1127         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1128         Moved ...
1129         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1130         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1131         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1132         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1133         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1134         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1135         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1136         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1137         Moved ...
1138         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1139         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1140         Moved ...
1141         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1142         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1143         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1144         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1145         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1146         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1147         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1148         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1149         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1150         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1151         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1152         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1153         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1154         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1155         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1156         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1157         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1159         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1160         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1161         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1162         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1163         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1165         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1166         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1167         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1168         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1169         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1170         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1171         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1172         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1173         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1174         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1176         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1177         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1179         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1180         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
1181         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1182         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1183         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1184         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1185         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1186         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1187         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1188         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1189         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1190         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1191         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1192         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1193         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1194         Update #include.
1195         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1196         Likewise.
1197         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1198         Likewise.
1199         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1200         Likewise.
1201         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1202         Likewise.
1203         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1204         Likewise.
1205         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1206         Likewise.
1207         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1208         Likewise.
1209         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1210         Likewise.
1211         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1212         Likewise.
1213         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1214         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1215         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1216         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1217         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
1218         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1219         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1220         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1221         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1222         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1223         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1224         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1225         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1226         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
1227         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
1229         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1230         that was previously under [RESET_PID].
1231         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1232         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1233         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1235         * sysdeps/i386/nptl/Implies: New file.
1236         * sysdeps/x86_64/nptl/Implies: New file.
1237         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1238         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1239         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1240         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1242         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1243         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1244         (__libc_vfork): New strong alias.
1245         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1246         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1248         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1249         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1250         (__libc_vfork): New strong alias.
1251         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1252         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1254         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1255         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1256         (__libc_vfork): New strong alias.
1257         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1258         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1259         * nptl/pt-vfork.c: New file.
1260         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1261         (libpthread: GLIBC_2.20): New version set (empty).
1263 2014-05-14  Will Newton  <will.newton@linaro.org>
1265         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1266         rather than #if.
1268 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
1270         [BZ #16564]
1271         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1272         arguments with exponent 65 or above.
1273         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1274         arguments 0x1p113L or above.
1275         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1276         to arguments 0x1p107L or above.
1277         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1278         positive arguments with exponent 65 or above.
1279         * math/auto-libm-test-in: Add more tests of log1p.
1280         * math/auto-libm-test-out: Regenerated.
1282         [BZ #16928]
1283         * math/s_cacos.c (__cacos): Ensure zero real part of result from
1284         non-finite arguments is +0.
1285         * math/s_cacosf.c (__cacosf): Likewise.
1286         * math/s_cacosl.c (__cacosl): Likewise.
1287         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1288         * sysdeps/i386/fpu/libm-test-ulps: Update.
1289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1291         [BZ #16927]
1292         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1293         value.
1294         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1295         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1296         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1297         for explicit high bit of mantissa when testing for argument equal
1298         to 1.
1299         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1300         * sysdeps/i386/fpu/libm-test-ulps: Update.
1301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1303         [BZ #16516]
1304         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1305         (__erf): Scale by 16 instead of 8 in potentially underflowing
1306         case.  Ensure exception if result actually underflows.
1307         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1308         (__erff): Scale by 16 instead of 8 in potentially underflowing
1309         case.  Ensure exception if result actually underflows.
1310         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1311         (efx8): Remove variable.
1312         (__erfl): Scale by 16 instead of 8 in potentially underflowing
1313         case.  Ensure exception if result actually underflows.
1314         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1315         (efx8): Remove variable.
1316         (__erfl): Scale by 16 instead of 8 in potentially underflowing
1317         case.  Ensure exception if result actually underflows.
1318         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1319         (efx8): Remove variable.
1320         (__erfl): Scale by 16 instead of 8 in potentially underflowing
1321         case.  Ensure exception if result actually underflows.
1322         * math/auto-libm-test-in: Add more tests of erf.
1323         * math/auto-libm-test-out: Regenerated.
1325 2014-05-14  Andreas Schwab  <schwab@suse.de>
1327         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1328         Remove code conditionalized on USE___THREAD.
1330         * config.h.in (HAVE_PT_CHOWN): Define as 0.
1331         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1332         not definedness.
1334 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
1336         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1337         Define unconditionally.
1338         (__ASSUME_O_CLOEXEC): Likewise.
1339         (__ASSUME_SOCK_CLOEXEC): Likewise.
1340         (__ASSUME_IN_NONBLOCK): Likewise.
1341         (__ASSUME_PIPE2): Likewise.
1342         (__ASSUME_EVENTFD2): Likewise.
1343         (__ASSUME_SIGNALFD4): Likewise.
1344         (__ASSUME_DUP3): Likewise.
1345         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1346         (__ASSUME_DUP3): Do not define.
1347         (__ASSUME_EVENTFD2): Likewise.
1348         (__ASSUME_IN_NONBLOCK): Likewise.
1349         (__ASSUME_O_CLOEXEC): Likewise.
1350         (__ASSUME_PIPE2): Likewise.
1351         (__ASSUME_SIGNALFD4): Likewise.
1352         (__ASSUME_SOCK_CLOEXEC): Likewise.
1353         (__ASSUME_UTIMES): Undefine.
1354         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1355         (__ASSUME_UTIMES): Do not define.
1356         (__ASSUME_O_CLOEXEC): Likewise.
1357         (__ASSUME_SOCK_CLOEXEC): Likewise.
1358         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1359         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1360         0x020621].
1361         (__ASSUME_PIPE2): Likewise.
1362         (__ASSUME_EVENTFD2): Likewise.
1363         (__ASSUME_SIGNALFD4): Likewise.
1364         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1365         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1366         Do not define.
1367         (__ASSUME_EVENTFD2): Likewise.
1368         (__ASSUME_SIGNALFD4): Likewise.
1369         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1370         (__ASSUME_32BITUIDS): Likewise.
1371         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1372         (__ASSUME_IPC64): Likewise.
1373         (__ASSUME_ST_INO_64_BIT): Likewise.
1374         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1375         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1376         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1377         (__ASSUME_UTIMES): Do not define.
1378         (__ASSUME_PSELECT): Likewise.
1379         (__ASSUME_PPOLL): Likewise.
1380         (__ASSUME_O_CLOEXEC): Likewise.
1381         (__ASSUME_SOCK_CLOEXEC): Likewise.
1382         (__ASSUME_IN_NONBLOCK): Likewise.
1383         (__ASSUME_PIPE2): Likewise.
1384         (__ASSUME_EVENTFD2): Likewise.
1385         (__ASSUME_SIGNALFD4): Likewise.
1386         (__ASSUME_DUP3): Likewise.
1387         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1388         (__ASSUME_UTIMES): Likewise.
1389         (__ASSUME_O_CLOEXEC): Likewise.
1390         (__ASSUME_SOCK_CLOEXEC): Likewise.
1391         (__ASSUME_IN_NONBLOCK): Likewise.
1392         (__ASSUME_PIPE2): Likewise.
1393         (__ASSUME_EVENTFD2): Likewise.
1394         (__ASSUME_SIGNALFD4): Likewise.
1395         (__ASSUME_DUP3): Likewise.
1396         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1397         (__ASSUME_UTIMES): Likewise.
1398         (__ASSUME_O_CLOEXEC): Likewise.
1399         (__ASSUME_SOCK_CLOEXEC): Likewise.
1400         (__ASSUME_IN_NONBLOCK): Likewise.
1401         (__ASSUME_PIPE2): Likewise.
1402         (__ASSUME_EVENTFD2): Likewise.
1403         (__ASSUME_SIGNALFD4): Likewise.
1404         (__ASSUME_DUP3): Likewise.
1405         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1406         Likewise.
1407         (__ASSUME_UTIMES): Likewise.
1408         (__ASSUME_EVENTFD2): Likewise.
1409         (__ASSUME_SIGNALFD4): Likewise.
1410         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1411         (__ASSUME_O_CLOEXEC): Likewise.
1412         (__ASSUME_SOCK_CLOEXEC): Likewise.
1413         (__ASSUME_IN_NONBLOCK): Likewise.
1414         (__ASSUME_PIPE2): Likewise.
1415         (__ASSUME_EVENTFD2): Likewise.
1416         (__ASSUME_SIGNALFD4): Likewise.
1417         (__ASSUME_DUP3): Likewise.
1418         (__ASSUME_UTIMES): Undefine.
1420         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1421         feclearexcept.  Remove symbol versioning code.
1422         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
1423         symbol versioning code.
1424         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
1425         symbol versioning code.
1426         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1427         feupdateenv.  Remove symbol versioning code.
1428         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1429         fegetexceptflag.  Remove symbol versioning code.
1430         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1431         fesetexceptflag.  Remove symbol versioning code.
1432         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1433         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
1434         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1435         (__posix_fadvise64_l32): Remove prototype.
1436         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1437         code.
1439 2014-05-13  Roland McGrath  <roland@hack.frob.com>
1441         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1442         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1443         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1444         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1446 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
1448         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1449         current working directory
1451 2014-05-13  Roland McGrath  <roland@hack.frob.com>
1453         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1454         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1455         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1456         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1457         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1458         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1459         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1460         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1461         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1462         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1463         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1464         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1465         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1466         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1467         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1468         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1469         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1470         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1471         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1472         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1473         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1474         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1475         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1476         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1477         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1478         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1479         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1480         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1481         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1482         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1483         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1484         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1485         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1486         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1487         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1488         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1489         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1490         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1491         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1492         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1493         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1494         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1496         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1497         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1499         * sysdeps/unix/sysv/linux/arm/Makefile
1500         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1501         Add rt-aeabi_unwind_cpp_pr1.
1502         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1503         Add nptl-aeabi_unwind_cpp_pr1.
1504         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1505         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1506         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1507         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1508         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1509         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1511         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1512         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1513         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1514         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1516         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1517         Deconditionalize the code that was previously under [RESET_PID].
1518         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1520         * sysdeps/generic/exit-thread.h: New file.
1521         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1522         * include/unistd.h (__exit_thread): Remove declaration.
1523         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1524         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1525         * csu/libc-start.c: Include <exit-thread.h>.
1526         (LIBC_START_MAIN): Pass no argument to __exit_thread.
1527         * nptl/pthread_create.c: Include <exit-thread.h>.
1528         (start_thread): Call __exit_thread in place of __exit_thread_inline.
1529         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1530         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1531         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1532         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1533         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1534         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1535         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1536         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1537         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1538         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1539         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1540         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1541         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1542         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1543         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1544         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1546 2014-05-13  Andreas Schwab  <schwab@suse.de>
1548         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1550 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
1552         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1553         (__ASSUME_UTIMES): Do not condition on kernel version.
1554         (__ASSUME_PSELECT): Define unconditionally.
1555         (__ASSUME_PPOLL): Likewise.
1556         (__ASSUME_ATFCTS): Likewise.
1557         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1558         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1559         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1560         (__ASSUME_UTIMENSAT): Define unconditionally.
1561         (__ASSUME_PRIVATE_FUTEX): Likewise.
1562         (__ASSUME_FALLOCATE): Likewise.
1563         (__ASSUME_O_CLOEXEC): Likewise.
1564         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1565         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1566         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1567         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1568         (__ASSUME_IN_NONBLOCK): Likewise.
1569         (__ASSUME_PIPE2): Likewise.
1570         (__ASSUME_EVENTFD2): Likewise.
1571         (__ASSUME_SIGNALFD4): Likewise.
1572         (__ASSUME_DUP3): Likewise.
1573         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1574         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1575         (__ASSUME_AT_RANDOM): Likewise.
1576         (__ASSUME_PREADV): Likewise.
1577         (__ASSUME_PWRITEV): Likewise.
1578         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1579         (__ASSUME_F_GETOWN_EX): Define unconditionally.
1580         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1581         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1582         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1583         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1584         (__ASSUME_O_CLOEXEC): Define unconditionally.
1585         (__ASSUME_PSELECT): Do not undefine conditionally.
1586         (__ASSUME_PPOLL): Likewise.
1587         (__ASSUME_ATFCTS): Likewise.
1588         (__ASSUME_SET_ROBUST_LIST): Likewise.
1589         (__ASSUME_UTIMENSAT): Likewise.
1590         (__ASSUME_FDATASYNC): Define unconditionally.
1591         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1592         (__ASSUME_SIGFRAME_V2): Likewise.
1593         )__ASSUME_EVENTFD2): Likewise.
1594         (__ASSUME_SIGNALFD4): Likewise.
1595         (__ASSUME_PSELECT): Do not undefine conditionally.
1596         (__ASSUME_PPOLL): Likewise.
1597         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1598         (__ASSUME_PSELECT): Define unconditionally.
1599         (__ASSUME_PPOLL): Likewise.
1600         (__ASSUME_O_CLOEXEC): Likewise.
1601         (__ASSUME_SOCK_CLOEXEC): Likewise.
1602         (__ASSUME_IN_NONBLOCK): Likewise.
1603         (__ASSUME_PIPE2): Likewise.
1604         (__ASSUME_EVENTFD2): Likewise.
1605         (__ASSUME_SIGNALFD4): Likewise.
1606         (__ASSUME_DUP3): Likewise.
1607         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1608         (__ASSUME_O_CLOEXEC): Likewise.
1609         (__ASSUME_SOCK_CLOEXEC): Likewise.
1610         (__ASSUME_IN_NONBLOCK): Likewise.
1611         (__ASSUME_PIPE2): Likewise.
1612         (__ASSUME_EVENTFD2): Likewise.
1613         (__ASSUME_SIGNALFD4): Likewise.
1614         (__ASSUME_DUP3): Likewise.
1615         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1616         (__ASSUME_EVENTFD2): Likewise.
1617         (__ASSUME_SIGNALFD4): Likewise.
1618         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1620 2014-05-12  Andreas Schwab  <schwab@suse.de>
1622         [BZ #16932]
1623         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1624         (_nss_nis_gethostbyname4_r): Return error if item length is larger
1625         than maximum RPC packet size.
1626         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1627         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1628         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1629         (_nss_nis_getservbyport_r): Likewise.
1631 2014-05-12  Will Newton  <will.newton@linaro.org>
1633         * malloc/Makefile (tests): Add tst-mallopt.
1634         * malloc/tst-mallopt.c: New file.
1636 2014-05-09  Roland McGrath  <roland@hack.frob.com>
1638         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1639         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1641 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1643         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1644         (tst-tlsmod6.so): Likewise.
1646 2014-05-09  Roland McGrath  <roland@hack.frob.com>
1648         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1650 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
1652         [BZ #16064]
1653         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1654         and <dl-procinfo.h>.
1655         (__fegetenv): Save SSE state in envp->__eip if supported.
1656         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1657         envp->__eip if supported.
1658         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1659         and <dl-procinfo.h>.
1660         (__fesetenv): Always set __eip, __cs_selector, __opcode,
1661         __data_offset and __data_selector in environment to 0.  Set SSE
1662         state if supported.
1663         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1664         test-fenv-sse.
1665         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1666         -mfpmath=sse.
1667         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1669 2014-05-09  Will Newton  <will.newton@linaro.org>
1671         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1672         and libc_relro_required for ARM.
1673         * sysdeps/arm/preconfigure: Regenerate.
1675 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
1676             Stefan Liebler  <stli@linux.vnet.ibm.com>
1678         * config.make.in (enable-lock-elision): New Makefile variable.
1679         * configure.ac: Likewise.
1680         * configure: Regenerate.
1681         * sysdeps/s390/configure.ac:
1682         Add check for gcc transactions support.
1683         * sysdeps/s390/configure: Regenerate.
1684         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1685         Build elision files if enabled.
1686         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1687         Add lock elision support for s390.
1688         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1689         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1690         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1691         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1692         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1693         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1694         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1695         Likewise.
1696         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1697         Likewise.
1698         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1699         Likewise.
1700         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1701         Likewise.
1702         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1703         (__lll_timedlock_elision, __lll_lock_elision)
1704         (__lll_unlock_elision, __lll_trylock_elision)
1705         (lll_timedlock_elision, lll_lock_elision)
1706         (lll_unlock_elision, lll_trylock_elision): Add.
1707         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1708         (pthread_mutex_t): Add lock elision support for s390.
1710 2014-05-14  Wilco  <wdijkstr@arm.com>
1712         * sysdeps/arm/fclrexcpt.c: Cleanup.
1713         * sysdeps/arm/fedisblxcpt.c: Cleanup.
1714         * sysdeps/arm/feenablxcpt.c: Cleanup.
1715         * sysdeps/arm/fegetenv.c: Cleanup.
1716         * sysdeps/arm/fegetexcept.c: Cleanup.
1717         * sysdeps/arm/fegetround.c: Cleanup.
1718         * sysdeps/arm/feholdexcpt.c: Cleanup.
1719         * sysdeps/arm/fesetenv.c: Cleanup.
1720         * sysdeps/arm/fesetround.c: Cleanup.
1721         * sysdeps/arm/feupdateenv.c: Cleanup.
1722         * sysdeps/arm/fgetexcptflg.c: Cleanup.
1723         * sysdeps/arm/fraiseexcpt.c: Cleanup.
1724         * sysdeps/arm/fsetexcptflg.c: Cleanup.
1725         * sysdeps/arm/ftestexcept.c: Cleanup.
1726         * sysdeps/arm/get-rounding-mode.h: Cleanup.
1727         * sysdeps/arm/setfpucw.c: Cleanup.
1729 2014-05-09  Will Newton  <will.newton@linaro.org>
1731         * sysdeps/arm/armv7/strcmp.S: New file.
1732         * NEWS: Mention addition of ARMv7 optimized strcmp.
1734 2014-05-08  Roland McGrath  <roland@hack.frob.com>
1736         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1737         look for %.ac rather than %.in.
1739         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1740         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1741         * sysdeps/mach/hurd/configure: Regenerated.
1742         * sysdeps/unix/sysv/linux/configure: Regenerated.
1744         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1746 2014-05-07  Steve Ellcey  <sellcey@mips.com>
1748         [BZ# 16922]
1749         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1750         (LONG_SUB): Ditto.
1751         (PTR_SUB): Ditto.
1753 2014-05-07  Andreas Schwab  <schwab@suse.de>
1755         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1756         when skipping over non-matching result from nscd.
1758 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
1760         [BZ #16876]
1761         * nptl/sockperf.c (client): Check socket return value.
1763         [BZ #16877]
1764         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1765         nscd security class.
1767 2014-05-06  Roland McGrath  <roland@hack.frob.com>
1769         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1770         * sysdeps/arm/unwind.h: ... here.
1772 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
1774         [BZ# 16916]
1775         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1776         Define.
1778 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1780         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1781         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1782         multiarch strncpy for PPC64.
1783         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1784         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1785         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1786         multiarch optimizations.
1787         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1788         (__libc_ifunc_impl_list): Likewise.
1789         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1790         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1791         multiarch stpncpy for PPC64.
1792         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1793         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1795 2014-05-06  Andreas Schwab  <schwab@suse.de>
1797         [BZ #16912]
1798         * gmon/mcount.c (_MCOUNT_DECL): Use
1799         atomic_compare_and_exchange_bool_acq instead of
1800         catomic_compare_and_exchange_bool_acq.
1802 2014-05-05  Roland McGrath  <roland@hack.frob.com>
1804         * elf/Makefile (others, install-bin): Remove pldd.
1805         (pldd-modules): Variable removed.
1806         ($(objpfx)pldd): Target removed.
1807         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1808         (others, install-bin): Append pldd here.
1809         ($(objpfx)pldd): New target.
1811         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1812         to 0, so the first #if test emitted later doesn't see it undefined.
1813         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1814         * sysdeps/gnu/errlist.c: Regenerated.
1816 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1818         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1819         [libc_hidden_builtin_def]: Define to empty value.
1820         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1821         [libc_hidden_builtin_def]: Likewise.
1822         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1823         [libc_hidden_builtin_def]: Likewise.
1824         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1825         [libc_hidden_builtin_def]: Likewise.
1826         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1827         __redirect_memcpy and define ifunc as default hidden symbol.
1828         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1829         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1831 2014-05-04  Adam Conrad  <adconrad@0c3.net>
1833         * locale/iso-4217.def: Reintroduce XDR currency.
1835 2014-05-04  Allan McRae  <allan@archlinux.org>
1837         * po/eo.po: Update Esperanto translation from translation project.
1839 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
1841         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1842         and FEATURE_INDEX_MAX to 1.
1843         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1845 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1847         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1848         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1849         * iconvdata/big5.c (ONE_DIRECTION): Define.
1850         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1851         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1852         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1853         * iconvdata/cp932.c (ONE_DIRECTION): Define.
1854         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1855         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1856         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1857         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1858         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1859         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1860         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1861         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1862         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1863         * iconvdata/gbk.c (ONE_DIRECTION): Define.
1864         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1865         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1866         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1867         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1868         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1869         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1870         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1871         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1872         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1873         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1874         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1875         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1876         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1877         * iconvdata/iso646.c (ONE_DIRECTION): Define.
1878         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1879         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1880         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1881         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1882         * iconvdata/johab.c (ONE_DIRECTION): Define.
1883         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1884         * iconvdata/sjis.c (ONE_DIRECTION): Define.
1885         * iconvdata/t.61.c (ONE_DIRECTION): Define.
1886         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1887         * iconvdata/tscii.c (ONE_DIRECTION): Define.
1888         * iconvdata/uhc.c (ONE_DIRECTION): Define.
1889         * iconvdata/unicode.c (ONE_DIRECTION): Define.
1890         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1891         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1892         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1894 2014-05-01  Roland McGrath  <roland@hack.frob.com>
1896         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1897         (_IO_JUMPS_OFFSET): Define to 0.
1899         * nptl/sysdeps/pthread/bits/libc-lock.h
1900         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1901         (__libc_lock_define_initialized_recursive): Always define using
1902         initializer.  Modern compilers treat uninitialized (implicit zero) and
1903         explicit zero initializers the same (i.e. put the datum in bss).
1905 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1907         * nscd/nscd-client.h: Include <string.h>.
1909 2014-05-01  David S. Miller  <davem@davemloft.net>
1911         [BZ #16885]
1912         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1913         multiple zero bytes exist at the end of a string.
1914         Reported by Aurelien Jarno <aurelien@aurel32.net>
1916         * string/test-strcmp.c (check): Add explicit test for situations where
1917         there are multiple zero bytes after the first.
1919 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1921         [BZ #16890]
1922         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1923         when compiling wprintf.
1924         * stdio-common/tstdiomisc.c (t3): New function.
1925         (main): Call it.
1927 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1929         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1930         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1931         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1932         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1934 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1936         * stdlib/longlong.h: Updated from GCC.
1938 2014-05-01  Will Newton  <will.newton@linaro.org>
1939             Bernard Ogden  <bernie.ogden@linaro.org>
1941         * NEWS: Update fixed bug list.
1943         [BZ #15119]
1944         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1946 2014-04-30  David S. Miller  <davem@davemloft.net>
1948         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1949         (libc_feholdexcept_setround_sparc_ctx): New function.
1950         (libc_fesetenv_sparc_ctx): Likewise.
1951         (libc_feupdateenv_sparc_ctx): Likewise.
1952         (libc_feholdsetround_sparc_ctx): Likewise.
1953         (libc_feholdexcept_setround_ctx): Define.
1954         (libc_feholdexcept_setroundf_ctx): Likewise.
1955         (libc_feholdexcept_setroundl_ctx): Likewise.
1956         (libc_fesetenv_ctx): Likewise.
1957         (libc_fesetenvf_ctx): Likewise.
1958         (libc_fesetenvl_ctx): Likewise.
1959         (libc_feupdateenv_ctx): Likewise.
1960         (libc_feupdateenvf_ctx): Likewise.
1961         (libc_feupdateenvl_ctx): Likewise.
1962         (libc_feresetround_ctx): Likewise.
1963         (libc_feresetroundf_ctx): Likewise.
1964         (libc_feresetroundl_ctx): Likewise.
1965         (libc_feholdsetround_ctx): Likewise.
1966         (libc_feholdsetroundf_ctx): Likewise.
1967         (libc_feholdsetroundl_ctx): Likewise.
1969         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1970         with __USE_GNU instead of XOPEN cpp guards.
1972         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1973         0.
1975         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1976         with XOPEN cpp guards.
1978 2014-04-30  Julian Brown  <julian@codesourcery.com>
1980         [BZ #16888]
1981         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1982         handling.
1984 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
1986         [BZ #9894]
1987         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1988         Change to 2.6.32.
1989         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1990         * sysdeps/unix/sysv/linux/configure: Regenerated.
1991         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1992         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1993         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1994         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1995         * README: Update reference to required Linux kernel version.
1996         * manual/install.texi (Linux): Update reference to required Linux
1997         kernel headers version.
1998         * INSTALL: Regenerated.
2000         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2001         header inclusion.
2002         [POSIX] (limits.h): Likewise.
2003         [POSIX] (math.h): Likewise.
2004         [POSIX] (sys/wait.h): Likewise.
2005         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2006         function.
2007         [POSIX] (stddef.h): Do not allow header inclusion.
2009 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2011         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
2013 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
2015         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2016         Return immediately after lll_futex_wake.
2018 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2020         [BZ #16791]
2021         * nscd/nscd-client.h (datahead_init_common): Initialize entire
2022         structure.
2023         (datahead_init_pos): Call datahead_init_common early.
2024         (datahead_init_neg): Likewise.
2026         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2027         datahead_init_neg): New functions.
2028         * nscd/aicache.c (addhstaiX): Use them.
2029         * nscd/grpcache.c (cache_addgr): Likewise.
2030         * nscd/hstcache.c (cache_addhst): Likewise.
2031         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2032         * nscd/netgroupcache.c (do_notfound): Likewise.
2033         (addgetnetgrentX): Likewise.
2034         (addinnetgrX): Likewise.
2035         * nscd/pwdcache.c (cache_addpw): Likewise.
2036         * nscd/servicescache.c (cache_addserv): Likewise.
2038 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2039             Atsushi Onoe  <atsushi@onoe.org>
2041         [BZ #14308]
2042         [BZ #12994]
2043         [BZ #13651]
2044         * resolv/res_query.c (__libc_res_nsearch): Return if at least
2045         one response is valid.
2046         * resolv/res_send.c (send_dg): Check for validity of other
2047         response if the current response is a referral.
2049 2014-04-29  Steve Ellcey  <sellcey@mips.com>
2051         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2053 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
2055         [BZ #16823]
2056         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2057         Always divide by positive zero when computing -Inf result.
2058         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2059         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2061 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2063         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2064         FPSCR if value do not change.
2065         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2066         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2067         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2068         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2069         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2070         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2071         function.
2073 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
2075         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2076         * sysdeps/unix/sysv/linux/hppa: Move directory from
2077         ports/systeps/unix/sysv/linux/hppa.
2078         * README: Update listing for hppa-*-linux-gnu.
2080 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
2082         [BZ #16754]
2083         * manual/stdio.texi (Hook functions): Fix types of stream hook
2084         functions.
2085         [BZ #16854]
2086         * socket/sys/socket.h: Fix typo in comment.
2088 2014-04-28  Wilco  <wdijkstr@arm.com>
2090         * sysdeps/arm/fenv_private.h: New file.
2091         * sysdeps/arm/math_private.h: New file.
2092         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2094 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
2096         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2097         with __int128_t.
2098         (La_x86_64_retval): Likewise.
2100 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
2102         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2103         fpsr if value didn't change.
2104         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2105         to fpcr if value didn't change.
2106         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2107         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2108         fpsr or fpcr if value didn't change.
2109         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2110         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2111         fpcr if value didn't change.
2112         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2113         to fpsr if value didn't change.
2115 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2117         * nptl/tst-sem3.c: Use test-skeleton.c
2118         (main): Rename to do_test.  Use return instead of
2119         exit.
2120         * nptl/tst-sem4.c: Use test-skeleton.c
2121         (main): Rename to do_test.
2123 2014-04-22  David S. Miller  <davem@davemloft.net>
2125         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2126         (struct sigaction): New struct member __glibc_reserved0, change
2127         type of sa_flags to int.
2129 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
2131         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2132         (COUNT_LEADING_ZEROS_0): Define for AArch64.
2134 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2136         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2137         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2139 2014-04-22  Will Newton  <will.newton@linaro.org>
2140             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
2142         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2143         (__longjmp): Add longjmp and longjmp_target SystemTap
2144         probes.
2145         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2146         (__sigsetjmp): Add setjmp SystemTap probe.
2148 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
2150         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2151         match manual order.
2153 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2155         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2157         * sysdeps/powerpc/fpu/fenv_private.h
2158         (libc_feholdexcept_setroundl_ctx): Define to
2159         libc_feholdexcept_setround_ppc_ctx.
2160         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2161         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2162         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2163         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2165 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
2167         * sysdeps/aarch64/math-tests.h: New file.
2169 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
2171         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2172         New.
2173         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2174         Check and set bit_AVX2_Usable.
2175         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2176         macro.
2177         (bit_AVX2): Likewise.
2178         (index_AVX2_Usable): Likewise.
2179         (CPUID_AVX2): Likewise.
2180         (HAS_AVX2): Likewise.
2182 2014-04-17  Will Newton  <will.newton@linaro.org>
2184         * manual/setjmp.texi (System V contexts): Add note that
2185         calling setcontext on a context created by a call to a
2186         signal handler is undefined.  Update text to note that
2187         setcontext from a signal handler is possible but not
2188         recommended.
2190         [BZ #16629]
2191         * stdlib/tst-setcontext.c: Include signal.h.
2192         (main): Check that the signal stack before and
2193         after swapcontext is the same.
2195         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2196         Re-implement to restore registers in user code and avoid
2197         rt_sigreturn system call.
2199 2014-04-17  Wilco  <wdijkstr@arm.com>
2201         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2202         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2203         * math/test-fenv.c: Skip exception trap tests on targets which only
2204         support non-stop mode.
2206 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
2207             Wilco Dijkstra  <wilco.dijkstra@arm.com>
2209         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2210         (libc_feholdsetround_aarch64_ctx)
2211         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2212         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2213         (libc_feresetround_ctx, libc_feresetroundf_ctx)
2214         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2215         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2216         (libc_feresetround_noexl_ctx): Define.
2218 2014-04-16  Richard Henderson  <rth@redhat.com>
2220         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2222         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2223         unwind tables.
2225         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2226         const from the non-libc, non-ldso copy.
2228         * sysdeps/alpha/libm-test-ulps: Regenerate.
2230 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
2231             Wilco Dijkstra  <wilco.dijkstra@arm.com>
2233         * sysdeps/aarch64/fpu/math_private.h: New file.
2235 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2237         * sysdeps/aarch64/libm-test-ulps: Regenerate.
2239 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
2241         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2242         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2243         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2244         Intel MPX bound registers before _dl_profile_fixup.
2245         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2246         registers after _dl_profile_fixup.  Save and restore bound
2247         registers bnd0/bnd1 when calling _dl_call_pltexit.
2248         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2249         (LR_BND_OFFSET): Likewise.
2250         (LRV_BND0_OFFSET): Likewise.
2251         (LRV_BND1_OFFSET): Likewise.
2253 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2255         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2256         to...
2257         * sysdeps/mach/hurd/i386/tls.h: ... here.
2258         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2259         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2260         fields.
2262 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2264         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2266 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2268         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2270 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2272         [BZ #14770]
2273         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2274         * sysdeps/s390/configure: Regenerate.
2276         [BZ #16824]
2277         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2278         Set round-to-nearest internally to reduce error accumulation.
2280 2014-04-16  Alan Modra  <amodra@gmail.com>
2282         [BZ #16740]
2283         [BZ #16619]
2284         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2285         * math/libm-test.inc (frexp_test_data): Add tests.
2286         * NEWS: Update fixed bug list.
2288 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2290         * benchtests/Makefile: Depend on libraries in build directory.
2291         (bench-math): Separate out math tests.
2292         (bench-pthread): Separate out pthread tests.
2293         (bench): Include math and pthread tests.
2295 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
2297         [BZ #16831]
2298         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2299         _dl_debug_initialize.
2301         * configure.ac: Remove SELinux header check.
2302         * configure: Regenerate.
2303         * nscd/selinux.c (perms): Array of const char* to permission names.
2304         (nscd_request_avc_has_perm): Call security_deny_unknown to find
2305         default policy. Call string_to_security_class and string_to_av_perm to
2306         translate strings. Enforce default policy and call avs_has_perm with
2307         results of translated strings.
2309 2014-04-13  David S. Miller  <davem@davemloft.net>
2311         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2313 2014-04-12  Allan McRae  <allan@archlinux.org>
2315         [BZ #16838]
2316         * manual/string.texi (Collation Functions): Fix qsort argument
2317         order in example.
2318         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2320 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
2322         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2323         Make the test a no-op if there are no exceptions defined.
2325 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2327         * elf/Makefile (tests): make tst-dlopen-aout conditional on
2328         enable-hardcoded-path-in-tests
2330 2014-04-11  Will Newton  <will.newton@linaro.org>
2332         * benchtests/Makefile (extra-objs): Add json-lib.o.
2333         (bench-func): Tidy up JSON output.
2334         * benchtests/bench-skeleton.c: Include json-lib.h.
2335         (main): Use JSON library functions to do output of
2336         benchmark results.
2337         * benchtests/bench-timing-type.c (main): Output the
2338         timing type simply, leaving formatting to the user.
2339         * benchtests/json-lib.c: New file.
2340         * benchtests/json-lib.h: Likewise.
2342 2014-04-11  Torvald Riegel  <triegel@redhat.com>
2344         [BZ #15215]
2345         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2346         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
2347         memory barriers.  Add comments.
2348         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2349         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2350         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2351         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2352         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2353         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2355 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2357         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2358         * sysdeps/s390/s390-64/configure.ac: ... this ...
2359         * sysdeps/s390/configure.ac: ... to here.
2360         * sysdeps/s390/s390-32/configure: Delete file.
2361         * sysdeps/s390/s390-64/configure: Delete file.
2362         * sysdeps/s390/configure: Regenerate.
2364 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
2366         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2368 2014-04-11  Will Newton  <will.newton@linaro.org>
2370         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2371         to zero if it is not defined elsewhere.  (mtrim): Test
2372         the value of MALLOC_DEBUG with #if rather than #ifdef.
2374 2014-04-10 Torvald Riegel  <triegel@redhat.com>
2376         * benchtests/pthread_once-inputs: New file.
2377         * benchtests/pthread_once-source.c: New file.
2378         * benchtests/README: Update documentation.
2380 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
2381             H.J. Lu  <hongjiu.lu@intel.com>
2383         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2384         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2385         * sysdeps/x86_64/configure: Regenerated.
2386         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2387         macro.
2388         (REGISTER_SAVE_RAX): Likewise.
2389         (REGISTER_SAVE_RCX): Likewise.
2390         (REGISTER_SAVE_RDX): Likewise.
2391         (REGISTER_SAVE_RSI): Likewise.
2392         (REGISTER_SAVE_RDI): Likewise.
2393         (REGISTER_SAVE_R8): Likewise.
2394         (REGISTER_SAVE_R9): Likewise.
2395         (REGISTER_SAVE_BND0): Likewise.
2396         (REGISTER_SAVE_BND1): Likewise.
2397         (REGISTER_SAVE_BND2): Likewise.
2398         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
2399         bound registers when calling _dl_fixup.
2401 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2403         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
2404         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2405         of its definition.
2406         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2407         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2408         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2409         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2410         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2411         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2412         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2414 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
2416         [BZ #15514]
2417         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2418         pathconf(_PC_NAME_MAX).
2420 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2422         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2423         Remove macro usage.
2424         (__PTHREAD_SPINS): Move definition to ...
2425         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2426         (__PTHREAD_SPINS): ... here.
2427         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2428         (__PTHREAD_SPIN): Likewise.
2429         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2430         (__PTHREAD_SPIN): Likewise.
2431         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2432         (__PTHREAD_SPIN): Likewise.
2433         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2434         (__PTHREAD_SPIN): Likewise.
2435         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2436         (__PTHREAD_SPIN): Likewise.
2437         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2438         (__PTHREAD_SPIN): Likewise.
2439         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2440         (__PTHREAD_SPIN): Likewise.
2441         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2442         (__PTHREAD_SPIN): Likewise.
2443         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2444         (__PTHREAD_SPIN): Likewise.
2445         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2446         (__PTHREAD_SPIN): Likewise.
2447         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2448         (__PTHREAD_SPIN): Likewise.
2449         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2450         (__PTHREAD_SPIN): Likewise.
2452         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2453         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2454         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2455         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2456         imply folder.
2457         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2458         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2459         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2460         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2461         correct imply path.
2462         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2463         strlen symbol for non multi-arch builds.
2464         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2465         missing hidden_def and weak_alias.
2467 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
2469         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2471 2014-04-07  Will Newton  <will.newton@linaro.org>
2473         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2474         and contents.  [!_LIBC] Remove #ifndef and contents.
2475         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
2476         * string/memccpy.c (__memccpy): Use ANSI prototype.
2477         * string/memfrob.c (memfrob): Likewise.
2478         * string/strcoll.c (STRCOLL): Likewise.
2479         * string/strlen.c (strlen): Likewise.
2480         * string/strtok.c (STRTOK): Likewise.
2481         * string/strcat.c: Remove unused #include of memcopy.h.
2482         (strcat): Use ANSI prototype.
2483         * string/strchr.c: Remove unused #include of memcopy.h.
2484         (strchr): Use ANSI prototype.
2485         * string/strcmp.c: Remove unused #include of memcopy.h.
2486         (strcmp): Use ANSI prototype.
2487         * string/strcpy.c: Remove unused #include of memcopy.h.
2488         (strcpy): Use ANSI prototype.
2490 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2492         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2493         * config.make.in (config-extra-cppflags): Set it from
2494         libc_extra_cppflags.
2495         * configure.ac (libc_extra_cflags): Make it accumulate over
2496         configure fragments.
2497         (libc_extra_cppflags): New flag.
2498         * configure. Regenerate.
2499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2500         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2501         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
2502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2504         [BZ #16815]
2505         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2506         result for FE_DOWNWARD rounding mode.
2507         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2508         Likewise.
2509         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2511 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
2513         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2514         in function argument name.
2516 2014-04-03  David Svoboda  <svoboda@cert.org>
2518         [BZ #5666]
2519         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2520         explicitly.
2522 2014-04-03  Roland McGrath  <roland@hack.frob.com>
2524         * elf/dl-unmap-segments.h: New file.
2525         * sysdeps/generic/ldsodefs.h
2526         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2527         * elf/dl-close.c: Include <dl-unmap-segments.h>.
2528         * elf/dl-fptr.c: Likewise.
2529         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2530         * sysdeps/aarch64/tlsdesc.c: Likewise.
2531         * sysdeps/arm/tlsdesc.c: Likewise.
2532         * sysdeps/i386/tlsdesc.c: Likewise.
2533         * sysdeps/tile/dl-runtime.c: Likewise.
2534         * sysdeps/x86_64/tlsdesc.c: Likewise.
2535         * elf/dl-load.h: New file.
2536         * elf/dl-load.c: Include it.
2537         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2538         Macros moved to dl-load.h.
2539         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2540         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2541         Use _dl_unmap_segments in place of __munmap.
2542         Break out segment-mapping loop into ...
2543         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2545 2014-04-03  Will Newton  <will.newton@linaro.org>
2547         * elf/dl-lookup.c (do_lookup_x): Remove comment
2548         referring to nested function and move variable
2549         declarations down to before first use.
2551 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
2553         [BZ #16799]
2554         [BZ #16800]
2555         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2556         with 0 numerator.
2557         * math/s_catanf.c (__catanf): Likewise.
2558         * math/s_catanh.c (__catanh): Likewise.
2559         * math/s_catanhf.c (__catanhf): Likewise.
2560         * math/s_catanhl.c (__catanhl): Likewise.
2561         * math/s_catanl.c (__catanl): Likewise.
2562         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2563         by positive zero when computing -Inf result.
2564         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2565         (catanh_test): Likewise.
2566         * sysdeps/i386/fpu/libm-test-ulps: Update.
2567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2569         [BZ #16789]
2570         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2571         instead of using underflowing value in computing result.
2572         * math/s_clog10.c (__clog10): Likewise.
2573         * math/s_clog10f.c (__clog10f): Likewise.
2574         * math/s_clog10l.c (__clog10l): Likewise.
2575         * math/s_clogf.c (__clogf): Likewise.
2576         * math/s_clogl.c (__clogl): Likewise.
2577         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2578         (clog10_test): Likewise.
2579         * sysdeps/i386/fpu/libm-test-ulps: Update.
2580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2582 2014-04-02  Alan Modra  <amodra@gmail.com>
2584         [BZ #16739]
2585         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2586         output when value is near a power of two.  Use int64_t for lx and
2587         remove casts.  Use decimal rather than hex exponent constants.
2588         Don't use long double multiplication when double will suffice.
2589         * math/libm-test.inc (nextafter_test_data): Add tests.
2590         * NEWS: Add 16739 and 16786 to bug list.
2592         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2594         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2596 2014-04-01  Will Newton  <will.newton@linaro.org>
2598         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2599         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
2601 2014-04-01  Florian Weimer  <fweimer@redhat.com>
2603         [BZ #13347]
2604         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2605         * nptl/tst-setuid2.c: New file.
2606         * nptl/Makefile (xtests): Add tst-setuid2.
2608 2014-04-01  Alan Modra  <amodra@gmail.com>
2610         [BZ #16786]
2611         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2613 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
2615         [BZ #6803]
2616         [BZ #6804]
2617         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2618         set errno as appropriate.
2619         * math/w_scalbf.c (__scalbf): Likewise.
2620         * math/w_scalbl.c (__scalbl): Likewise.
2621         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2622         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2623         * math/libm-test.inc (scalb_test_data): Add errno expectations.
2624         Add more NaN tests.
2626         [BZ #16349]
2627         * math/w_atan2.c: Include <errno.h>.
2628         (__atan2): Set errno for result underflowing to zero.
2629         * math/w_atan2f.c: Include <errno.h>.
2630         (__atan2f): Set errno for result underflowing to zero.
2631         * math/w_atan2l.c: Include <errno.h>.
2632         (__atan2l): Set errno for result underflowing to zero.
2633         * math/auto-libm-test-in: Don't allow missing errno for some atan2
2634         tests.
2635         * math/auto-libm-test-out: Regenerated.
2637 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2639         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2640         Encode instruction correctly in little endian.
2641         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2642         Likewise.
2643         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2644         Likewise.
2645         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2646         Likewise.
2647         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2648         Likewise.
2650 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
2652         [BZ #9894]
2653         * sysdeps/unix/sysv/linux/kernel-features.h
2654         [__sparc__ && !__arch64__ && !__sparc_v9__]
2655         (__ASSUME_SET_ROBUST_LIST): Do not define.
2656         [__sparc__ && !__arch64__ && !__sparc_v9__]
2657         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2658         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2659         Likewise.
2660         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2661         (__ASSUME_FUTEX_LOCK_PI): Undefine.
2662         (__ASSUME_REQUEUE_PI): Likewise.
2663         (__ASSUME_SET_ROBUST_LIST): Likewise.
2664         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2665         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2666         Undefine.
2667         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2668         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2669         Likewise.
2670         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2671         Likewise.
2672         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2673         Likewise.
2674         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2675         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2676         Undefine.
2677         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2678         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2679         Likewise.
2681         [BZ #16648]
2682         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2683         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2684         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2686 2014-03-31  Will Newton  <will.newton@linaro.org>
2688         * benchtests/Makefile (bench): Add ffs and ffsll to list
2689         of tests.
2690         * benchtests/ffs-inputs: New file.
2691         * benchtests/ffsll-inputs: Likewise.
2693 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
2695         [BZ #16770]
2696         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2697         too large before casting to int.
2698         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2699         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2700         * math/libm-test.inc (scalb_test_data): Add more tests.
2702 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2704         * benchtests/Makefile (DETAILED_OPT): New make option.
2705         (bench-func): Run benchmark program with -d if DETAILED_OPT is
2706         set.
2707         * benchtests/bench-skeleton.c: Include stdbool.h.
2708         (main): Store and print timings per input.
2709         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2710         member to each argument value.
2711         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2712         (_print_arg_data): Initialize per-input timing to 0.
2714         * benchtests/Makefile (timing-type): New binary.
2715         (bench-clean): Also remove bench-timing-type.
2716         (bench): New target for timing-type.
2717         (bench-func): Print output in JSON format.
2718         * benchtests/bench-skeleton.c (main): Print output in JSON
2719         format.
2720         * benchtests/bench-timing-type.c: New file.
2721         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2722         (TIMING_PRINT_STATS): Remove.
2723         * benchtests/scripts/bench.py (_print_arg_data): Store variant
2724         name separately.
2726         * benchtests/bench-modf.c: Remove.
2727         * benchtests/modf-inputs: New inputs file.
2729 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
2731         [BZ #16362]
2732         * math/s_clog10.c (M_PI_LOG10E): New macro.
2733         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2734         imaginary parts are 0.
2735         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2736         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2737         imaginary parts are 0.
2738         * math/s_clog10l.c (M_PI_LOG10El): New macro.
2739         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2740         imaginary parts are 0.
2741         * math/libm-test.inc (clog10_test_data): Update expected results
2742         for when real and imaginary parts are 0.
2744 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
2746         * elf/dl-load.c: Finish conversion of __builtin_expect into
2747         __glibc_{un}likely.
2749 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
2751         [BZ #16348]
2752         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2753         1+x for argument with exponent below -67.
2754         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2755         Likewise.
2756         * math/auto-libm-test-in: Add more tests of exp.
2757         * math/auto-libm-test-out: Regenerated.
2759 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2761         [BZ #16759]
2762         * inet/getnetgrent_r.c (get_nonempty_val): New function.
2763         (nscd_getnetgrent): Use it.
2765         [BZ #16760]
2766         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2767         of stpcpy.
2769 2014-03-27  Andi Kleen  <ak@linux.intel.com>
2771         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2772         (lll_robust_lock, lll_cond_lock, lll_timedlock)
2773         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2774         (lll_robust_unlock): Remove out of line section. Use cfi
2775         intrinsics.
2776         (LLL_STUB_UNWIND_INFO*): Remove.
2777         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2778         (lll_robust_lock, lll_cond_lock, lll_timedlock)
2779         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2780         (lll_robust_unlock): Remove out of line section. Use cfi
2781         intrinsics.
2782         (LLL_STUB_UNWIND_INFO*): Remove.
2784 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2786         [BZ #16758]
2787         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2788         blank values.
2790 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
2792         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2794 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
2796         [BZ #16198]
2797         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2798         fnstenv.
2799         * math/test-fenv-preserve.c: New file.
2800         * math/Makefile (tests): Add test-fenv-preserve.
2802 2014-03-26  Will Newton <will.newton@linaro.org>
2804         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2806 2014-03-25  Roland McGrath  <roland@hack.frob.com>
2808         * scripts/versionlist.awk: Partition the version sets and emit all
2809         GLIBC_* (sorted) before all others (sorted).
2811 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
2813         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2814         GLIBC_2.2.5 version.
2816 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2818         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2819         calls.
2821         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2822         previous change.
2824         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2826 2014-03-25  Andreas Schwab  <schwab@suse.de>
2828         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2829         label to be used after in6ailist is initialized.
2831 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2833         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2834         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2836 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
2838         [BZ #16357]
2839         [BZ #16599]
2840         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2841         min_plus_half.
2842         (fp_formats): Update initializers.
2843         (init_fp_formats): Initialize new field.
2844         (output_for_one_input_case): Allow underflow for results up to
2845         min_plus_half.
2846         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2847         * math/auto-libm-test-in: Don't mark some underflows from asin and
2848         atanh as spurious.
2849         * math/auto-libm-test-out: Regenerated.
2850         * sysdeps/i386/fpu/libm-test-ulps: Update.
2851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2853 2014-03-25  Andreas Schwab  <schwab@suse.de>
2855         * libio/Makefile (tst-ftell-partial-wide-ENV)
2856         (tst-ftell-active-handler-ENV): Define.
2858 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
2860         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2862 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2864         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2866 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
2868         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2869         * sysdeps/x86_64/fpu/multiarch/e_exp.c
2870         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2872 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2874         [BZ #16634]
2875         * elf/dl-load.c (open_verify): Add mode parameter.
2876         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2877         (open_path): Change from boolean 'secure' to complete flag 'mode'
2878         (_dl_map_object): Adjust.
2879         * elf/Makefile (tests): Add tst-dlopen-aout.
2880         * elf/tst-dlopen-aout.c: New test.
2882 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
2884         [BZ #16714]
2885         * sysdeps/unix/sysv/linux/s390/bits/stat.h
2886         (struct stat): Rename member pad0 to __glibc_reserved0.
2888         [BZ #16712]
2889         * sysdeps/s390/s390-32/bits/wordsize.h
2890         (__WORDSIZE32_SIZE_ULONG): New define.
2891         * sysdeps/s390/s390-64/bits/wordsize.h
2892         (__WORDSIZE32_SIZE_ULONG): Likewise.
2893         * sysdeps/generic/stdint.h (SIZE_MAX):
2894         Define as UL if __WORDSIZE32_SIZE_ULONG.
2896         [BZ #16713]
2897         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2898         (__glibc_reserved0): New variable.
2899         (sa_flags): Change type to int.
2901         * posix/Makefile (before-compile): Use += before-compile instead
2902         of a :=.
2904         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2905         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2907 2014-03-20  Andreas Schwab  <schwab@suse.de>
2909         [BZ #16743]
2910         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2911         non-matching result from nscd.
2913 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2915         * scripts/bench.py: Moved to ...
2916         * benchtests/scripts/bench.py: ... here.
2917         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2919 2014-03-24  Andreas Schwab  <schwab@suse.de>
2921         [BZ #16002]
2922         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2923         alloca_account and account alloca use for struct in6ailist.
2925 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
2927         [BZ #16284]
2928         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2929         rounding mode to recompute results that overflow to infinity or
2930         underflow to zero.
2931         * math/auto-libm-test-in: Don't mark tests as expected to fail for
2932         bug 16284.
2933         * math/auto-libm-test-out: Regenerated.
2934         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2935         (ccosh_test): Likewise.
2936         (csin_test_data): Use plus_oflow.
2937         (csin_test): Use ALL_RM_TEST.
2938         (csinh_test_data): Use plus_oflow.
2939         (csinh_test): Use ALL_RM_TEST.
2940         * sysdeps/i386/fpu/libm-test-ulps: Update.
2941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2943 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
2945         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2946         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2947         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2949         [BZ #16731]
2950         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2951         when x - 1 is zero.
2952         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2953         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2954         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2955         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2956         argument is 1.
2957         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2958         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2959         zero.
2960         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2961         * sysdeps/i386/fpu/libm-test-ulps: Update.
2962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2964 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2966         * scripts/bench.pl: Remove file.
2967         * scripts/bench.py: New benchmark script.
2968         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2969         * benchtests/README: Mention python dependency.
2970         * scripts/pylintrc: New file.
2971         * scripts/pylint: New file.
2973         * bits/mathdef.h: Use #ifdef instead of #if.
2974         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2975         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2976         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2977         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2978         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2979         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2981 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2982             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2984         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2985         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2986         and strpbrk-ppc64 objects.
2987         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2988         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2989         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2990         multiarch strpbrk for POWER7.
2991         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2992         multiarch strpbrk for PPC64.
2993         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2994         ifunc selector.
2995         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2996         strpbrk for POWER7.
2998 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
3000         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3001         (atan_test): Likewise.
3002         (atanh_test_data): Use NO_TEST_INLINE for two tests.
3003         (atanh_test): Use ALL_RM_TEST.
3004         (atan2_test_data): Likewise.
3005         (cabs_test): Likewise.
3006         (cacosh_test): Likewise.
3007         (carg_test): Likewise.
3008         (casin_test): Likewise.
3009         (casinh_test): Likewise.
3010         (cbrt_test): Likewise.
3011         (csqrt_test): Likewise.
3012         (erf_test): Likewise.
3013         (erfc_test): Likewise.
3014         (pow10_test): Likewise.
3015         (exp2_test): Likewise.
3016         (hypot_test): Likewise.
3017         (j0_test): Likewise.
3018         (j1_test): Likewise.
3019         (lgamma_test): Likewise.
3020         (gamma_test): Likewise.
3021         (sincos_test): Likewise.
3022         (tanh_test): Likewise.
3023         (y0_test): Likewise.
3024         (y1_test): Likewise.
3025         * sysdeps/i386/fpu/libm-test-ulps: Update.
3026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3028 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3030         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3031         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
3032         and strcspn-ppc64 objects.
3033         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3034         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3035         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3036         multiarch strcspn for POWER7.
3037         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3038         multiarch strcspn for PPC64.
3039         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3040         ifunc selector.
3041         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3042         strcspn for POWER7.
3044 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
3046         * math/gen-libm-test.pl (generate_testfile): Expect only function
3047         name as argument to AUTO_TESTS_* and pass results for all rounding
3048         modes to parse_args.
3049         (parse_auto_input): Separate inputs of automatic tests from
3050         outputs before storing in %auto_tests.
3051         * math/libm-test.inc (acos_test_data): Update call to
3052         AUTO_TESTS_f_f.
3053         (acos_test): Use ALL_RM_TEST.
3054         (acos_tonearest_test_data): Remove.
3055         (acos_test_tonearest): Likewise.
3056         (acos_towardzero_test_data): Likewise.
3057         (acos_test_towardzero): Likewise.
3058         (acos_downward_test_data): Likewise.
3059         (acos_test_downward): Likewise.
3060         (acos_upward_test_data): Likewise.
3061         (acos_test_upward): Likewise.
3062         (acosh_test_data): Update call to AUTO_TESTS_f_f.
3063         (asin_test_data): Likewise.
3064         (asin_test): Use ALL_RM_TEST.
3065         (asin_tonearest_test_data): Remove.
3066         (asin_test_tonearest): Likewise.
3067         (asin_towardzero_test_data): Likewise.
3068         (asin_test_towardzero): Likewise.
3069         (asin_downward_test_data): Likewise.
3070         (asin_test_downward): Likewise.
3071         (asin_upward_test_data): Likewise.
3072         (asin_test_upward): Likewise.
3073         (asinh_test_data): Update call to AUTO_TESTS_f_f.
3074         (atan_test_data): Likewise.
3075         (atanh_test_data): Likewise.
3076         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3077         (cabs_test_data): Update call to AUTO_TESTS_c_f.
3078         (carg_test_data): Likewise.
3079         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3080         (ccos_test_data): Update call to AUTO_TESTS_c_c.
3081         (ccosh_test_data): Likewise.
3082         (cexp_test_data): Likewise.
3083         (clog_test_data): Likewise.
3084         (clog10_test_data): Likewise.
3085         (cos_test_data): Update call to AUTO_TESTS_f_f.
3086         (cos_test): Use ALL_RM_TEST.
3087         (cos_tonearest_test_data): Remove.
3088         (cos_test_tonearest): Likewise.
3089         (cos_towardzero_test_data): Likewise.
3090         (cos_test_towardzero): Likewise.
3091         (cos_downward_test_data): Likewise.
3092         (cos_test_downward): Likewise.
3093         (cos_upward_test_data): Likewise.
3094         (cos_test_upward): Likewise.
3095         (cosh_test_data): Update call to AUTO_TESTS_f_f.
3096         (cosh_test): Use ALL_RM_TEST.
3097         (cosh_tonearest_test_data): Remove.
3098         (cosh_test_tonearest): Likewise.
3099         (cosh_towardzero_test_data): Likewise.
3100         (cosh_test_towardzero): Likewise.
3101         (cosh_downward_test_data): Likewise.
3102         (cosh_test_downward): Likewise.
3103         (cosh_upward_test_data): Likewise.
3104         (cosh_test_upward): Likewise.
3105         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3106         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3107         (ctan_test_data): Likewise.
3108         (ctan_test): Use ALL_RM_TEST.
3109         (ctan_tonearest_test_data): Remove.
3110         (ctan_test_tonearest): Likewise.
3111         (ctan_towardzero_test_data): Likewise.
3112         (ctan_test_towardzero): Likewise.
3113         (ctan_downward_test_data): Likewise.
3114         (ctan_test_downward): Likewise.
3115         (ctan_upward_test_data): Likewise.
3116         (ctan_test_upward): Likewise.
3117         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3118         (ctanh_test): Use ALL_RM_TEST.
3119         (ctanh_tonearest_test_data): Remove.
3120         (ctanh_test_tonearest): Likewise.
3121         (ctanh_towardzero_test_data): Likewise.
3122         (ctanh_test_towardzero): Likewise.
3123         (ctanh_downward_test_data): Likewise.
3124         (ctanh_test_downward): Likewise.
3125         (ctanh_upward_test_data): Likewise.
3126         (ctanh_test_upward): Likewise.
3127         (erf_test_data): Update call to AUTO_TESTS_f_f.
3128         (erfc_test_data): Likewise.
3129         (exp_test_data): Likewise.
3130         (exp_test): Use ALL_RM_TEST.
3131         (exp_tonearest_test_data): Remove.
3132         (exp_test_tonearest): Likewise.
3133         (exp_towardzero_test_data): Likewise.
3134         (exp_test_towardzero): Likewise.
3135         (exp_downward_test_data): Likewise.
3136         (exp_test_downward): Likewise.
3137         (exp_upward_test_data): Likewise.
3138         (exp_test_upward): Likewise.
3139         (exp10_test_data): Update call to AUTO_TESTS_f_f.
3140         (exp10_test): Use ALL_RM_TEST.
3141         (exp10_tonearest_test_data): Remove.
3142         (exp10_test_tonearest): Likewise.
3143         (exp10_towardzero_test_data): Likewise.
3144         (exp10_test_towardzero): Likewise.
3145         (exp10_downward_test_data): Likewise.
3146         (exp10_test_downward): Likewise.
3147         (exp10_upward_test_data): Likewise.
3148         (exp10_test_upward): Likewise.
3149         (exp2_test_data): Update call to AUTO_TESTS_f_f.
3150         (expm1_test_data): Likewise.
3151         (expm1_test): Use ALL_RM_TEST.
3152         (expm1_tonearest_test_data): Remove.
3153         (expm1_test_tonearest): Likewise.
3154         (expm1_towardzero_test_data): Likewise.
3155         (expm1_test_towardzero): Likewise.
3156         (expm1_downward_test_data): Likewise.
3157         (expm1_test_downward): Likewise.
3158         (expm1_upward_test_data): Likewise.
3159         (expm1_test_upward): Likewise.
3160         (fma_test_data): Update call to AUTO_TESTS_fff_f.
3161         (fma_test): Use ALL_RM_TEST.
3162         (fma_towardzero_test_data): Remove.
3163         (fma_test_towardzero): Likewise.
3164         (fma_downward_test_data): Likewise.
3165         (fma_test_downward): Likewise.
3166         (fma_upward_test_data): Likewise.
3167         (fma_test_upward): Likewise.
3168         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3169         (j0_test_data): Update call to AUTO_TESTS_f_f.
3170         (j1_test_data): Likewise.
3171         (jn_test_data): Update call to AUTO_TESTS_if_f.
3172         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3173         (log_test_data): Update call to AUTO_TESTS_f_f.
3174         (log10_test_data): Likewise.
3175         (log1p_test_data): Likewise.
3176         (log2_test_data): Likewise.
3177         (pow_test_data): Update call to AUTO_TESTS_ff_f.
3178         (pow_tonearest_test_data): Likewise.
3179         (sin_test_data): Update call to AUTO_TESTS_f_f.
3180         (sin_test): Use ALL_RM_TEST.
3181         (sin_tonearest_test_data): Remove.
3182         (sin_test_tonearest): Likewise.
3183         (sin_towardzero_test_data): Likewise.
3184         (sin_test_towardzero): Likewise.
3185         (sin_downward_test_data): Likewise.
3186         (sin_test_downward): Likewise.
3187         (sin_upward_test_data): Likewise.
3188         (sin_test_upward): Likewise.
3189         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3190         (sinh_test_data): Update call to AUTO_TESTS_f_f.
3191         (sinh_test): Use ALL_RM_TEST.
3192         (sinh_tonearest_test_data): Remove.
3193         (sinh_test_tonearest): Likewise.
3194         (sinh_towardzero_test_data): Likewise.
3195         (sinh_test_towardzero): Likewise.
3196         (sinh_downward_test_data): Likewise.
3197         (sinh_test_downward): Likewise.
3198         (sinh_upward_test_data): Likewise.
3199         (sinh_test_upward): Likewise.
3200         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3201         (sqrt_test): Use ALL_RM_TEST.
3202         (sqrt_tonearest_test_data): Remove.
3203         (sqrt_test_tonearest): Likewise.
3204         (sqrt_towardzero_test_data): Likewise.
3205         (sqrt_test_towardzero): Likewise.
3206         (sqrt_downward_test_data): Likewise.
3207         (sqrt_test_downward): Likewise.
3208         (sqrt_upward_test_data): Likewise.
3209         (sqrt_test_upward): Likewise.
3210         (tan_test_data): Update call to AUTO_TESTS_f_f.
3211         (tan_test): Use ALL_RM_TEST.
3212         (tan_tonearest_test_data): Remove.
3213         (tan_test_tonearest): Likewise.
3214         (tan_towardzero_test_data): Likewise.
3215         (tan_test_towardzero): Likewise.
3216         (tan_downward_test_data): Likewise.
3217         (tan_test_downward): Likewise.
3218         (tan_upward_test_data): Likewise.
3219         (tan_test_upward): Likewise.
3220         (tanh_test_data): Update call to AUTO_TESTS_f_f.
3221         (tgamma_test_data): Likewise.
3222         (y0_test_data): Likewise.
3223         (y1_test_data): Likewise.
3224         (yn_test_data): Update call to AUTO_TESTS_if_f.
3225         (main): Do not call removed functions.
3227 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
3229         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3230         (ldexp_test_data): Remove.
3231         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
3232         scalbn_test_data.
3233         (scalb_test): Use ALL_RM_TEST.
3235 2014-03-19  Andreas Schwab  <schwab@suse.de>
3237         * nscd/nscd.service: Also invalidate netgroup cache on reload.
3239 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
3241         [BZ #16649]
3242         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3243         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3244         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3245         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3246         (__ASSUME_PREADV): Undefine.
3247         (__ASSUME_PWRITEV): Likewise.
3249 2014-03-18  Roland McGrath  <roland@hack.frob.com>
3251         * bits/mman-linux.h: Add comment about non-Linux use.
3252         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3253         bits/mman-linux.h resting place.
3255         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3256         * bits/mman-linux.h: ... here.
3258 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3260         * conform/conformtest.pl: Add standard definition when calling C
3261         preprocessor on data files.
3262         (checknamespace): Remove unused variable.
3264 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
3266         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3267         minus_oflow, plus_uflow and minus_uflow in expected results.
3268         * math/libm-test.inc (scalbn_test_data): Add more tests of
3269         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
3270         minus_uflow.
3271         (scalbn_test): Use ALL_RM_TEST.
3272         (scalbln_test_data): Add more tests of negative arguments.  Use
3273         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3274         (scalbln_test): Use ALL_RM_TEST.
3276 2014-03-18  Roland McGrath  <roland@hack.frob.com>
3278         * scripts/abilist.awk: Ignore symbols marked with .hidden.
3280 2014-03-18  Will Newton  <will.newton@linaro.org>
3282         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3283         inaccurate comment.
3285 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
3287         * Makerules [!subdir] (check-abi): Exit with error status if a
3288         test failed.
3290 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
3292         * math/libm-test.inc (nearbyint_test_data): Include all tests used
3293         for rint.  Include results for all rounding modes.
3294         (nearbyint_test): Use ALL_RM_TEST.
3295         (rint_test_data): Include all tests used for nearbyint.
3297 2014-03-17  Will Newton  <will.newton@linaro.org>
3299         * nptl/sysdeps/pthread/pthread.h: Revert previous
3300         change.
3302         * sysdeps/generic/ldsodefs.h: Revert previous
3303         change.
3305         * libio/genops.c: Revert previous change.
3306         * libio/libioP.h: Likewise.
3307         * stdio-common/vfprintf.c: Likewise.
3309         * sysdeps/generic/math_private.h: Revert previous
3310         change.
3312         * sysdeps/generic/math_private.h: Check whether
3313         HAVE_RM_CTX is defined with #ifdef rather
3314         than #if.
3316         * argp/argp-fmtstream.h: Check whether
3317         __STRICT_ANSI__ is defined with #ifdef rather
3318         than #if.
3319         * argp/argp.h: Likewise.
3321         * libio/genops.c: Check whether
3322         _IO_JUMPS_OFFSET is defined with #ifdef rather
3323         than #if.
3324         * libio/libioP.h: Likewise.
3325         * stdio-common/vfprintf.c: Likewise.
3327         * sysdeps/generic/ldsodefs.h: Check whether
3328         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3329         than #if.
3331         * nptl/sysdeps/pthread/pthread.h: Check
3332         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3333         its value.
3335 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3337         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3338         setting O_APPEND.
3339         * libio/tst-ftell-active-handler.c (do_append_test): Add a
3340         test case.
3342         [BZ #16680]
3343         * libio/fileops.c (_IO_file_open): Seek to end of file but
3344         don't cache the offset.
3345         (get_file_offset): Remove function.
3346         (do_ftell): Use cached offset when available.
3347         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3348         don't cache the offset.
3349         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3350         case.
3351         (do_one_test): Call it.
3352         (do_ftell_test): Fix up expected old offset for a+ mode.
3353         * libio/wfileops.c (do_ftell_wide): Used cached offset when
3354         available.
3356         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3357         up test status with function return status.
3358         (do_write_test): Likewise.
3359         (do_append_test): Likewise.
3361         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3362         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3363         Remove.
3365 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
3367         * math/gen-libm-test.pl (parse_args): Handle results specified for
3368         each rounding mode separately.
3369         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3370         tests and results from lrint_tonearest_test_data,
3371         lrint_towardzero_test_data, lrint_downward_test_data and
3372         lrint_upward_test_data.
3373         (lrint_test): Use ALL_RM_TEST.
3374         (lrint_tonearest_test_data): Remove.
3375         (lrint_test_tonearest): Likewise.
3376         (lrint_towardzero_test_data): Likewise.
3377         (lrint_test_towardzero): Likewise.
3378         (lrint_downward_test_data): Likewise.
3379         (lrint_test_downward): Likewise.
3380         (lrint_upward_test_data): Likewise.
3381         (lrint_test_upward): Likewise.
3382         (llrint_test_data): Merge in per-rounding-mode tests and results
3383         from llrint_tonearest_test_data, llrint_towardzero_test_data,
3384         llrint_downward_test_data and llrint_upward_test_data.
3385         (llrint_test): Use ALL_RM_TEST.
3386         (llrint_tonearest_test_data): Remove.
3387         (llrint_test_tonearest): Likewise.
3388         (llrint_towardzero_test_data): Likewise.
3389         (llrint_test_towardzero): Likewise.
3390         (llrint_downward_test_data): Likewise.
3391         (llrint_test_downward): Likewise.
3392         (llrint_upward_test_data): Likewise.
3393         (llrint_test_upward): Likewise.
3394         (rint_test_data): Merge in per-rounding-mode tests and results
3395         from rint_tonearest_test_data, rint_towardzero_test_data,
3396         rint_downward_test_data and rint_upward_test_data.  Add
3397         per-rounding-mode results for tests not in those arrays.
3398         (rint_test): Use ALL_RM_TEST.
3399         (rint_tonearest_test_data): Remove.
3400         (rint_test_tonearest): Likewise.
3401         (rint_towardzero_test_data): Likewise.
3402         (rint_test_towardzero): Likewise.
3403         (rint_downward_test_data): Likewise.
3404         (rint_test_downward): Likewise.
3405         (rint_upward_test_data): Likewise.
3406         (rint_test_upward): Likewise.
3407         (main): Don't call removed functions.
3409 2014-03-14  Roland McGrath  <roland@hack.frob.com>
3411         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3412         "Compiled on ..." crapola.  It is anti-useful.
3414 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
3416         * scripts/evaluate-test.sh: Handle fourth argument to determine
3417         whether test run should stop on failure.
3418         * Makeconfig (stop-on-test-failure): New variable.
3419         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3420         $(stop-on-test-failure).
3421         * Makefile (tests): Give a summary of results from testing and
3422         exit with failure status if they include an ERROR or FAIL.
3423         (xtests): Likewise.
3424         * manual/install.texi (Configuring and compiling): Mention
3425         stop-on-test-failure=y.
3426         * INSTALL: Regenerated.
3428 2014-03-14  Roland McGrath  <roland@hack.frob.com>
3430         * scripts/versionlist.awk: New file.
3431         * Makerules [$(build-shared) = yes]
3432         (postclean-generated): Add Versions.def, not Versions.def.v and
3433         Versions.def.v.i.
3434         ($(common-objpfx)Versions.def.v.i): Target removed.
3435         ($(common-objpfx)Versions.def): New target.
3436         ($(common-objpfx)Versions.all): Depend on that rather that
3437         $(common-objpfx)Versions.def.v.
3438         * Versions.def: File removed.
3440         * Makeconfig (+gccwarn): Add -Wundef.
3441         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3442         a dl-sysdep.h breaking its contract.
3443         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3444         * include/stackinfo.h: New file.
3445         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3446         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3447         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3448         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3449         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3450         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3451         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3452         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3453         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3454         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3455         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3456         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3457         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3458         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3459         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3461 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3463         [BZ #16707]
3464         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3465         implementation.
3466         * math/libm-test.inc (round_test_data): Add more tests.
3468         [BZ #16706]
3469         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3470         implementation.
3471         * math/libm-test.inc (nearbyint_test_data): Add more tests.
3473         [BZ #16701]
3474         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3475         implementation.
3476         * math/libm-test.inc (ceil_test_data): Add more tests.
3478         * math/libm-test.inc (trunc_test_data): Add more tests related to
3479         BZ#16414.
3481 2014-03-14  Roland McGrath  <roland@hack.frob.com>
3483         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3484         with #if rather than #ifdef.
3485         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3487 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
3489         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3490         first.  Disable AVX-512 GCC support if assembler doesn't support
3491         it.
3492         * sysdeps/x86_64/configure: Regenerated.
3494 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
3496         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3497         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3498         (__old_pthread_attr_setstack): Likewise.
3499         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3500         [!_STACK_GROWS_DOWN]: Likewise.
3502 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
3504         * config.make.in (have-bash2): Delete.
3505         * configure.ac (libc_cv_have_bash2): Delete.
3506         * configure: Regenerate.
3507         * elf/Makefile (common-ldd-rewrite): Rename to ...
3508         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
3509         (sh-ldd-rewrite): Delete.
3510         (bash-ldd-rewrite): Delete.
3511         (have-bash2): Delete checks.
3512         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3513         ldd-rewrite.
3515         * config.make.in (have-ksh): Delete.
3516         (KSH): Delete.
3517         * configure.ac (libc_cv_have_ksh): Delete.
3518         * configure: Regenerate.
3520         * elf/Makefile: Delete $(have-ksh) check.
3521         ($(objpfx)sotruss): Change KSH to BASH.
3522         * elf/sotruss.ksh: Rename to ...
3523         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
3524         function style to match POSIX.  Drop ksh vim mode setting.
3526         * manual/time.texi (Specifying the Time Zone with TZ): Change
3527         Tuesday to Thursday.
3529         * debug/tst-longjmp_chk2.c: Update header comment.
3530         (stackoverflow_handler): Add comment.  Call assert on pass value.
3532 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
3534         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3535         (HAVE_AVX512_ASM_SUPPORT): Likewise.
3536         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3537         (La_x86_64_vector): Add zmm.
3538         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3539         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3540         ($(objpfx)tst-audit10): New target.
3541         ($(objpfx)tst-audit10.out): Likewise.
3542         (tst-audit10-ENV): New.
3543         (AVX512-CFLAGS): Likewise.
3544         (CFLAGS-tst-audit10.c): Likewise.
3545         (CFLAGS-tst-auditmod10a.c): Likewise.
3546         (CFLAGS-tst-auditmod10b.c): Likewise.
3547         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3548         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3549         * sysdeps/x86_64/configure: Regenerated.
3550         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3551         AVX-512 zmm register support.
3552         (_dl_x86_64_save_sse): Likewise.
3553         (_dl_x86_64_restore_sse): Likewise.
3554         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3555         size vector registers.
3556         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3557         (ZMM_SIZE): Likewise.
3558         * sysdeps/x86_64/tst-audit10.c: New file.
3559         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3560         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3562 2014-03-13  Roland McGrath  <roland@hack.frob.com>
3564         * configure.ac (HAVE_EHDR_START): New check.
3565         * configure: Regenerated.
3566         * config.h.in (HAVE_EHDR_START): New #undef.
3567         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3568         assuming the lowest-addressed segment maps the start of the file.
3570 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
3572         * INSTALL: Regenerated.
3574 2014-03-13  Will Newton  <will.newton@linaro.org>
3576         * manual/setjmp.texi (System V contexts): Improve
3577         clarity and grammar of documentation.
3579 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
3581         [BZ #16381]
3582         * elf/Makefile (tests): Add tst-pie2.
3583         (tests-pie): Add tst-pie2.
3584         * elf/tst-pie2.c: New file.
3585         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3586         for ET_EXEC.
3587         * elf/rtld.c (map_doit): Load executable as lt_executable.
3588         (dl_main): Likewise.
3590 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
3592         [BZ #16642]
3593         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3594         (__ASSUME_PSELECT): Undefine.
3596 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3598         [BZ #16689]
3599         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3600         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3601         static build.
3602         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3603         selector for static builds.
3605 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3607         [BZ #16695]
3608         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3609         key in the buffer.
3611 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3613         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3614         IFUNC selector for static builds.
3616 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
3618         * sysdeps/mips/math_private.h [__mips_hard_float]
3619         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3620         libc_feresetround_mips_ctx.
3621         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3622         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3623         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3625         [BZ #16677]
3626         * math/s_nextafter.c (__nextafter): Do not return value from
3627         overflowing computation.
3628         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3629         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3630         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3631         Likewise.
3632         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3633         Likewise.
3634         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3635         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3637 2014-03-11  Roland McGrath  <roland@hack.frob.com>
3639         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3640         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3641         Move sfi_sp use from the load-multiple (that no longer sets sp) to
3642         the new mov targetting sp.
3644 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3646         [BZ #16683]
3647         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3648         Define it for static builds as well.
3649         (NO_BZERO_IMPL): Likewise.
3651 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3653         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3654         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3655         multiarch strspn for PPC64.
3656         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3657         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3658         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3659         (__libc_ifunc_impl_list): Likewise.
3660         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3661         multiarch optimizations
3662         * string/strspn.c (strspn): Using macro to redefine symbol name.
3664 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3665             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3667         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3668         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3669         multiarch strncat for PPC64.
3670         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3671         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3672         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3673         (__libc_ifunc_impl_list): Likewise.
3674         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3675         multiarch optimizations
3677 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3679         [BZ #16639]
3680         * nscd/nscd.service: Make service type forking.
3682 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3684         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3685         sign in non default rounding modes.
3686         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3688 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
3690         * math/libm-test.inc (ALL_RM_TEST): New macro.
3691         (ceil_test): Use ALL_RM_TEST.
3692         (cimag_test): Likewise.
3693         (conj_test): Likewise.
3694         (copysign_test): Likewise.
3695         (cproj_test): Likewise.
3696         (creal_test): Likewise.
3697         (fabs_test): Likewise.
3698         (floor_test): Likewise.
3699         (fmax_test): Likewise.
3700         (fmin_test): Likewise.
3701         (fmod_test): Likewise.
3702         (fpclassify_test): Likewise.
3703         (frexp_test): Likewise.
3704         (ilogb_test): Likewise.
3705         (isfinite_test): Likewise.
3706         (finite_test): Likewise.
3707         (isgreater_test): Likewise.
3708         (isgreaterequal_test): Likewise.
3709         (isinf_test): Likewise.
3710         (isless_test): Likewise.
3711         (islessequal_test): Likewise.
3712         (islessgreater_test): Likewise.
3713         (isnan_test): Likewise.
3714         (isnormal_test): Likewise.
3715         (issignaling_test): Likewise.
3716         (isunordered_test): Likewise.
3717         (logb_test): Likewise.
3718         (logb_downward_test_data): Remove.
3719         (logb_test_downward): Likewise.
3720         (lround_test): Use ALL_RM_TEST.
3721         (llround_test): Likewise.
3722         (modf_test): Likewise.
3723         (nexttoward_test): Likewise.
3724         (remainder_test): Likewise.
3725         (drem_test): Likewise.
3726         (remainder_tonearest_test_data): Likewise.
3727         (remainder_test_tonearest): Likewise.
3728         (drem_test_tonearest): Likewise.
3729         (remainder_towardzero_test_data): Likewise.
3730         (remainder_test_towardzero): Likewise.
3731         (drem_test_towardzero): Likewise.
3732         (remainder_downward_test_data): Likewise.
3733         (remainder_test_downward): Likewise.
3734         (drem_test_downward): Likewise.
3735         (remainder_upward_test_data): Likewise.
3736         (remainder_test_upward): Likewise.
3737         (drem_test_upward): Likewise.
3738         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
3739         (round_test): Use ALL_RM_TEST.
3740         (signbit_test): Likewise.
3741         (trunc_test): Likewise.
3742         (significand_test): Likewise.
3743         (main): Don't call removed functions.
3745 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
3747         [BZ #16674]
3748         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3749         || __USE_XOPEN2K8].
3750         (ILL_ILLOPN): Likewise.
3751         (ILL_ILLADR): Likewise.
3752         (ILL_ILLTRP): Likewise.
3753         (ILL_PRVOPC): Likewise.
3754         (ILL_PRVREG): Likewise.
3755         (ILL_COPROC): Likewise.
3756         (ILL_BADSTK): Likewise.
3757         (FPE_INTDIV): Likewise.
3758         (FPE_INTOVF): Likewise.
3759         (FPE_FLTDIV): Likewise.
3760         (FPE_FLTOVF): Likewise.
3761         (FPE_FLTUND): Likewise.
3762         (FPE_FLTRES): Likewise.
3763         (FPE_FLTINV): Likewise.
3764         (FPE_FLTSUB): Likewise.
3765         (SEGV_MAPERR): Likewise.
3766         (SEGV_ACCERR): Likewise.
3767         (BUS_ADRALN): Likewise.
3768         (BUS_ADRERR): Likewise.
3769         (BUS_OBJERR): Likewise.
3770         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3771         (TRAP_TRACE): Likewise.
3772         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3773         __USE_XOPEN2K8].
3774         (CLD_KILLED): Likewise.
3775         (CLD_DUMPED): Likewise.
3776         (CLD_TRAPPED): Likewise.
3777         (CLD_STOPPED): Likewise.
3778         (CLD_CONTINUED): Likewise.
3779         (POLL_IN): Likewise.
3780         (POLL_OUT): Likewise.
3781         (POLL_MSG): Likewise.
3782         (POLL_ERR): Likewise.
3783         (POLL_PRI): Likewise.
3784         (POLL_HUP): Likewise.
3785         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3786         Likewise.
3787         (ILL_ILLOPN): Likewise.
3788         (ILL_ILLADR): Likewise.
3789         (ILL_ILLTRP): Likewise.
3790         (ILL_PRVOPC): Likewise.
3791         (ILL_PRVREG): Likewise.
3792         (ILL_COPROC): Likewise.
3793         (ILL_BADSTK): Likewise.
3794         (FPE_INTDIV): Likewise.
3795         (FPE_INTOVF): Likewise.
3796         (FPE_FLTDIV): Likewise.
3797         (FPE_FLTOVF): Likewise.
3798         (FPE_FLTUND): Likewise.
3799         (FPE_FLTRES): Likewise.
3800         (FPE_FLTINV): Likewise.
3801         (FPE_FLTSUB): Likewise.
3802         (SEGV_MAPERR): Likewise.
3803         (SEGV_ACCERR): Likewise.
3804         (BUS_ADRALN): Likewise.
3805         (BUS_ADRERR): Likewise.
3806         (BUS_OBJERR): Likewise.
3807         (BUS_MCEERR_AR): Likewise.
3808         (BUS_MCEERR_AO): Likewise.
3809         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3810         (TRAP_TRACE): Likewise.
3811         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3812         __USE_XOPEN2K8].
3813         (CLD_KILLED): Likewise.
3814         (CLD_DUMPED): Likewise.
3815         (CLD_TRAPPED): Likewise.
3816         (CLD_STOPPED): Likewise.
3817         (CLD_CONTINUED): Likewise.
3818         (POLL_IN): Likewise.
3819         (POLL_OUT): Likewise.
3820         (POLL_MSG): Likewise.
3821         (POLL_ERR): Likewise.
3822         (POLL_PRI): Likewise.
3823         (POLL_HUP): Likewise.
3824         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3825         (ILL_ILLOPN): Likewise.
3826         (ILL_ILLADR): Likewise.
3827         (ILL_ILLTRP): Likewise.
3828         (ILL_PRVOPC): Likewise.
3829         (ILL_PRVREG): Likewise.
3830         (ILL_COPROC): Likewise.
3831         (ILL_BADSTK): Likewise.
3832         (FPE_INTDIV): Likewise.
3833         (FPE_INTOVF): Likewise.
3834         (FPE_FLTDIV): Likewise.
3835         (FPE_FLTOVF): Likewise.
3836         (FPE_FLTUND): Likewise.
3837         (FPE_FLTRES): Likewise.
3838         (FPE_FLTINV): Likewise.
3839         (FPE_FLTSUB): Likewise.
3840         (SEGV_MAPERR): Likewise.
3841         (SEGV_ACCERR): Likewise.
3842         (BUS_ADRALN): Likewise.
3843         (BUS_ADRERR): Likewise.
3844         (BUS_OBJERR): Likewise.
3845         (BUS_MCEERR_AR): Likewise.
3846         (BUS_MCEERR_AO): Likewise.
3847         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3848         (TRAP_TRACE): Likewise.
3849         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3850         __USE_XOPEN2K8].
3851         (CLD_KILLED): Likewise.
3852         (CLD_DUMPED): Likewise.
3853         (CLD_TRAPPED): Likewise.
3854         (CLD_STOPPED): Likewise.
3855         (CLD_CONTINUED): Likewise.
3856         (POLL_IN): Likewise.
3857         (POLL_OUT): Likewise.
3858         (POLL_MSG): Likewise.
3859         (POLL_ERR): Likewise.
3860         (POLL_PRI): Likewise.
3861         (POLL_HUP): Likewise.
3862         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3863         Likewise.
3864         (ILL_ILLOPN): Likewise.
3865         (ILL_ILLADR): Likewise.
3866         (ILL_ILLTRP): Likewise.
3867         (ILL_PRVOPC): Likewise.
3868         (ILL_PRVREG): Likewise.
3869         (ILL_COPROC): Likewise.
3870         (ILL_BADSTK): Likewise.
3871         (ILL_BADIADDR): Likewise.
3872         (ILL_BREAK): Likewise.
3873         (FPE_INTDIV): Likewise.
3874         (FPE_INTOVF): Likewise.
3875         (FPE_FLTDIV): Likewise.
3876         (FPE_FLTOVF): Likewise.
3877         (FPE_FLTUND): Likewise.
3878         (FPE_FLTRES): Likewise.
3879         (FPE_FLTINV): Likewise.
3880         (FPE_FLTSUB): Likewise.
3881         (FPE_DECOVF): Likewise.
3882         (FPE_DECDIV): Likewise.
3883         (FPE_DECERR): Likewise.
3884         (FPE_INVASC): Likewise.
3885         (FPE_INVDEC): Likewise.
3886         (SEGV_MAPERR): Likewise.
3887         (SEGV_ACCERR): Likewise.
3888         (SEGV_PSTKOVF): 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         (TRAP_BRANCH): Likewise.
3897         (TRAP_HWBKPT): Likewise.
3898         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3899         __USE_XOPEN2K8].
3900         (CLD_KILLED): Likewise.
3901         (CLD_DUMPED): Likewise.
3902         (CLD_TRAPPED): Likewise.
3903         (CLD_STOPPED): Likewise.
3904         (CLD_CONTINUED): Likewise.
3905         (POLL_IN): Likewise.
3906         (POLL_OUT): Likewise.
3907         (POLL_MSG): Likewise.
3908         (POLL_ERR): Likewise.
3909         (POLL_PRI): Likewise.
3910         (POLL_HUP): Likewise.
3911         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3912         (ILL_ILLOPN): Likewise.
3913         (ILL_ILLADR): Likewise.
3914         (ILL_ILLTRP): Likewise.
3915         (ILL_PRVOPC): Likewise.
3916         (ILL_PRVREG): Likewise.
3917         (ILL_COPROC): Likewise.
3918         (ILL_BADSTK): Likewise.
3919         (FPE_INTDIV): Likewise.
3920         (FPE_INTOVF): Likewise.
3921         (FPE_FLTDIV): Likewise.
3922         (FPE_FLTOVF): Likewise.
3923         (FPE_FLTUND): Likewise.
3924         (FPE_FLTRES): Likewise.
3925         (FPE_FLTINV): Likewise.
3926         (FPE_FLTSUB): Likewise.
3927         (SEGV_MAPERR): Likewise.
3928         (SEGV_ACCERR): Likewise.
3929         (BUS_ADRALN): Likewise.
3930         (BUS_ADRERR): Likewise.
3931         (BUS_OBJERR): Likewise.
3932         (BUS_MCEERR_AR): Likewise.
3933         (BUS_MCEERR_AO): Likewise.
3934         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3935         (TRAP_TRACE): Likewise.
3936         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3937         __USE_XOPEN2K8].
3938         (CLD_KILLED): Likewise.
3939         (CLD_DUMPED): Likewise.
3940         (CLD_TRAPPED): Likewise.
3941         (CLD_STOPPED): Likewise.
3942         (CLD_CONTINUED): Likewise.
3943         (POLL_IN): Likewise.
3944         (POLL_OUT): Likewise.
3945         (POLL_MSG): Likewise.
3946         (POLL_ERR): Likewise.
3947         (POLL_PRI): Likewise.
3948         (POLL_HUP): Likewise.
3949         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3950         (ILL_ILLOPN): Likewise.
3951         (ILL_ILLADR): Likewise.
3952         (ILL_ILLTRP): Likewise.
3953         (ILL_PRVOPC): Likewise.
3954         (ILL_PRVREG): Likewise.
3955         (ILL_COPROC): Likewise.
3956         (ILL_BADSTK): 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/sparc/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         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4026         (ILL_ILLOPN): Likewise.
4027         (ILL_ILLADR): Likewise.
4028         (ILL_ILLTRP): Likewise.
4029         (ILL_PRVOPC): Likewise.
4030         (ILL_PRVREG): Likewise.
4031         (ILL_COPROC): Likewise.
4032         (ILL_BADSTK): Likewise.
4033         (ILL_DBLFLT): Likewise.
4034         (ILL_HARDWALL): Likewise.
4035         (FPE_INTDIV): Likewise.
4036         (FPE_INTOVF): Likewise.
4037         (FPE_FLTDIV): Likewise.
4038         (FPE_FLTOVF): Likewise.
4039         (FPE_FLTUND): Likewise.
4040         (FPE_FLTRES): Likewise.
4041         (FPE_FLTINV): Likewise.
4042         (FPE_FLTSUB): Likewise.
4043         (SEGV_MAPERR): Likewise.
4044         (SEGV_ACCERR): Likewise.
4045         (BUS_ADRALN): Likewise.
4046         (BUS_ADRERR): Likewise.
4047         (BUS_OBJERR): Likewise.
4048         (BUS_MCEERR_AR): Likewise.
4049         (BUS_MCEERR_AO): Likewise.
4050         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4051         (TRAP_TRACE): Likewise.
4052         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4053         __USE_XOPEN2K8].
4054         (CLD_KILLED): Likewise.
4055         (CLD_DUMPED): Likewise.
4056         (CLD_TRAPPED): Likewise.
4057         (CLD_STOPPED): Likewise.
4058         (CLD_CONTINUED): Likewise.
4059         (POLL_IN): Likewise.
4060         (POLL_OUT): Likewise.
4061         (POLL_MSG): Likewise.
4062         (POLL_ERR): Likewise.
4063         (POLL_PRI): Likewise.
4064         (POLL_HUP): Likewise.
4065         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4066         (ILL_ILLOPN): Likewise.
4067         (ILL_ILLADR): Likewise.
4068         (ILL_ILLTRP): Likewise.
4069         (ILL_PRVOPC): Likewise.
4070         (ILL_PRVREG): Likewise.
4071         (ILL_COPROC): Likewise.
4072         (ILL_BADSTK): Likewise.
4073         (FPE_INTDIV): Likewise.
4074         (FPE_INTOVF): Likewise.
4075         (FPE_FLTDIV): Likewise.
4076         (FPE_FLTOVF): Likewise.
4077         (FPE_FLTUND): Likewise.
4078         (FPE_FLTRES): Likewise.
4079         (FPE_FLTINV): Likewise.
4080         (FPE_FLTSUB): Likewise.
4081         (SEGV_MAPERR): Likewise.
4082         (SEGV_ACCERR): Likewise.
4083         (BUS_ADRALN): Likewise.
4084         (BUS_ADRERR): Likewise.
4085         (BUS_OBJERR): Likewise.
4086         (BUS_MCEERR_AR): Likewise.
4087         (BUS_MCEERR_AO): Likewise.
4088         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4089         (TRAP_TRACE): Likewise.
4090         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4091         __USE_XOPEN2K8].
4092         (CLD_KILLED): Likewise.
4093         (CLD_DUMPED): Likewise.
4094         (CLD_TRAPPED): Likewise.
4095         (CLD_STOPPED): Likewise.
4096         (CLD_CONTINUED): Likewise.
4097         (POLL_IN): Likewise.
4098         (POLL_OUT): Likewise.
4099         (POLL_MSG): Likewise.
4100         (POLL_ERR): Likewise.
4101         (POLL_PRI): Likewise.
4102         (POLL_HUP): Likewise.
4103         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4104         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4106         [BZ #16670]
4107         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4108         before #include of <time.h>.
4109         [!__USE_XOPEN2K] (__need_timespec): Likewise.
4110         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4111         (test-xfail-UNIX98/sched.h/conform): Likewise.
4113 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4115         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4116         error absence of trapping exception support.
4117         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4119 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
4121         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4122         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4123         * timezone/Makefile (testdata): Move definition above include of
4124         Rules.
4125         (test-zones): New variable.
4126         (tests-special): Add zone files.
4127         (build-testdata): Use $(evaluate-test).
4129         * elf/Makefile (tests-special): Rename tests to end with .out.
4130         ($(objpfx)noload-mem): Likewise.
4131         ($(objpfx)tst-leaks1-mem): Likewise.
4132         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4133         * iconv/Makefile (xtests-special): Change test-iconvconfig to
4134         $(objpfx)test-iconvconfig.out.
4135         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
4136         set -e inside subshell and redirect output to file.
4137         * iconvdata/Makefile (generated): Rename tests to end with .out.
4138         Correct type.
4139         (tests-special): Rename tests to end with .out.
4140         ($(objpfx)mtrace-tst-loading): Likewise.
4141         * intl/Makefile (generated): Likewise.
4142         (tests-special): Likewise.
4143         ($(objpfx)mtrace-tst-gettext): Likewise.
4144         * misc/Makefile (generated): Likewise.
4145         (tests-special): Likewise.
4146         ($(objpfx)tst-error1-mem): Likewise.
4147         * nptl/Makefile (tests-special): Likewise.
4148         ($(objpfx)tst-stack3-mem): Likewise.
4149         (generated): Likewise.
4150         * posix/Makefile (generated): Likewise.
4151         (tests-special): Likewise.
4152         (xtests-special): Likewise.
4153         ($(objpfx)tst-fnmatch-mem): Likewise.
4154         ($(objpfx)bug-regex2-mem): Likewise.
4155         ($(objpfx)bug-regex14-mem): Likewise.
4156         ($(objpfx)bug-regex21-mem): Likewise.
4157         ($(objpfx)bug-regex31-mem): Likewise.
4158         ($(objpfx)tst-vfork3-mem): Likewise.
4159         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4160         ($(objpfx)tst-pcre-mem): Likewise.
4161         ($(objpfx)tst-boost-mem): Likewise.
4162         ($(objpfx)bug-ga2-mem): Likewise.
4163         ($(objpfx)bug-glob2-mem): Likewise.
4164         * resolv/Makefile (generate): Likewise.
4165         (tests-special): Likewise.
4166         (xtests-special): Likewise.
4167         (generated): Likewise.
4168         ($(objpfx)mtrace-tst-leaks): Likewise.
4169         ($(objpfx)mtrace-tst-leaks2): Likewise.
4171         * scripts/merge-test-results.sh: New file.
4172         * Makefile (tests-special-notdir): New variable.
4173         (tests): Run merge-test-results.sh.
4174         (xtests): Likewise.
4175         * Rules (tests-special-notdir): New variable.
4176         (xtests-special-notdir): Likewise.
4177         (tests): Run merge-test-results.sh
4178         (xtests): Likewise.
4180         * Makeconfig (test-xfail-name): New variable.
4181         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4182         compute variable name for expected failures.
4183         * conform/Makefile (conformtest-headers-data): New variable.
4184         (conformtest-standards): Likewise.
4185         (conformtest-headers-ISO): Likewise.
4186         (conformtest-headers-ISO99): Likewise.
4187         (conformtest-headers-ISO11): Likewise.
4188         (conformtest-headers-POSIX): Likewise.
4189         (conformtest-headers-XPG3): Likewise.
4190         (conformtest-headers-XPG4): Likewise.
4191         (conformtest-headers-UNIX98): Likewise.
4192         (conformtest-headers-XOPEN2K): Likewise.
4193         (conformtest-headers-POSIX2008): Likewise.
4194         (conformtest-headers-XOPEN2K8): Likewise.
4195         (conformtest-header-list-base): Likewise.
4196         (conformtest-header-list-tests): Likewise.
4197         (conformtest-header-base): Likewise.
4198         (conformtest-header-tests): Likewise.
4199         (tests-special): Add $(conformtest-header-list-tests).  If
4200         [$(fast-check) && !$(cross-compiling)], add
4201         $(conformtest-header-tests) instead of
4202         $(objpfx)run-conformtest.out.
4203         (generated): Add $(conformtest-header-list-base).  If
4204         [$(fast-check) && !$(cross-compiling)], add
4205         $(conformtest-header-base).  Remove previous setting.
4206         ($(conformtest-header-list-tests)): New target.
4207         (test-xfail-run-conformtest): Remove variable.
4208         ($(objpfx)run-conformtest.out): Remove target.
4209         (test-xfail-ISO11/complex.h/conform): New variable.
4210         (test-xfail-ISO11/stdalign.h/conform): Likewise.
4211         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4212         (test-xfail-XPG3/varargs.h/conform): Likewise.
4213         (test-xfail-XPG4/varargs.h/conform): Likewise.
4214         (test-xfail-UNIX98/varargs.h/conform): Likewise.
4215         (test-xfail-XPG4/ndbm.h/conform): Likewise.
4216         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4217         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4218         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4219         (test-xfail-XPG3/fcntl.h/conform): Likewise.
4220         (test-xfail-XPG3/ftw.h/conform): Likewise.
4221         (test-xfail-XPG3/grp.h/conform): Likewise.
4222         (test-xfail-XPG3/langinfo.h/conform): Likewise.
4223         (test-xfail-XPG3/limits.h/conform): Likewise.
4224         (test-xfail-XPG3/pwd.h/conform): Likewise.
4225         (test-xfail-XPG3/search.h/conform): Likewise.
4226         (test-xfail-XPG3/signal.h/conform): Likewise.
4227         (test-xfail-XPG3/stdio.h/conform): Likewise.
4228         (test-xfail-XPG3/stdlib.h/conform): Likewise.
4229         (test-xfail-XPG3/string.h/conform): Likewise.
4230         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4231         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4232         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4233         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4234         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4235         (test-xfail-XPG3/sys/types.h/conform): Likewise.
4236         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4237         (test-xfail-XPG3/termios.h/conform): Likewise.
4238         (test-xfail-XPG3/time.h/conform): Likewise.
4239         (test-xfail-XPG3/unistd.h/conform): Likewise.
4240         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4241         (test-xfail-XPG4/fcntl.h/conform): Likewise.
4242         (test-xfail-XPG4/langinfo.h/conform): Likewise.
4243         (test-xfail-XPG4/netdb.h/conform): Likewise.
4244         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4245         (test-xfail-XPG4/signal.h/conform): Likewise.
4246         (test-xfail-XPG4/stdio.h/conform): Likewise.
4247         (test-xfail-XPG4/stdlib.h/conform): Likewise.
4248         (test-xfail-XPG4/stropts.h/conform): Likewise.
4249         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4250         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4251         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4252         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4253         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4254         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4255         (test-xfail-XPG4/sys/time.h/conform): Likewise.
4256         (test-xfail-XPG4/sys/types.h/conform): Likewise.
4257         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4258         (test-xfail-XPG4/termios.h/conform): Likewise.
4259         (test-xfail-XPG4/ucontext.h/conform): Likewise.
4260         (test-xfail-XPG4/unistd.h/conform): Likewise.
4261         (test-xfail-XPG4/utmpx.h/conform): Likewise.
4262         (test-xfail-POSIX/sched.h/conform): Likewise.
4263         (test-xfail-POSIX/signal.h/conform): Likewise.
4264         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4265         (test-xfail-POSIX/tar.h/conform): Likewise.
4266         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4267         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4268         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4269         (test-xfail-UNIX98/netdb.h/conform): Likewise.
4270         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4271         (test-xfail-UNIX98/sched.h/conform): Likewise.
4272         (test-xfail-UNIX98/signal.h/conform): Likewise.
4273         (test-xfail-UNIX98/stdio.h/conform): Likewise.
4274         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4275         (test-xfail-UNIX98/stropts.h/conform): Likewise.
4276         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4277         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4278         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4279         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4280         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4281         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4282         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4283         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4284         (test-xfail-UNIX98/unistd.h/conform): Likewise.
4285         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4286         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4287         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4288         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4289         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4290         (test-xfail-XOPEN2K/math.h/conform): Likewise.
4291         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4292         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4293         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4294         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4295         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4296         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4297         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4298         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4299         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4300         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4301         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4302         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4303         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4304         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4305         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4306         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4307         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4308         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4309         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4310         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4311         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4312         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4313         (test-xfail-POSIX2008/signal.h/conform): Likewise.
4314         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4315         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4316         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4317         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4318         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4319         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4320         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4321         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4322         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4323         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4324         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4325         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4326         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4327         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4328         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4329         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4330         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4331         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4332         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4333         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4334         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4335         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4336         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4337         (conformtest-cc-flags): Likewise.
4338         ($(conformtest-header-tests): New target.
4339         * conform/check-header-lists.sh: New file.
4340         * conform/run-conformtest.sh: Remove.
4342         * conform/conformtest.pl: Allow ' and \ in values given for
4343         constants.
4344         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4345         inclusion.
4346         [POSIX] (sys/types.h): Likewise.
4347         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4348         inclusion.
4349         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4350         inclusion.
4351         * conform/data/signal.h-data (SIGIO): Remove expectation.
4352         [XPG3] (SIGBUS): Do not expect.
4353         [POSIX || XPG3] (SIGPOLL): Likewise.
4354         [POSIX || XPG3] (SIGPROF): Likewise.
4355         [POSIX || XPG3] (SIGSYS): Likewise.
4356         [XPG3] (SIGTRAP): Likewise.
4357         [POSIX || XPG3] (SIGURG): Likewise.
4358         [POSIX || XPG3] (SIGVTALRM): Likewise.
4359         [POSIX || XPG3] (SIGXCPU): Likewise.
4360         [POSIX || XPG3] (SIGXFSZ): Likewise.
4361         [POSIX] (SA_SIGINFO): Expect.
4362         [XPG3] (siginfo_t): Do not expect type or contents.
4363         [POSIX] (si_pid): Do not expect element.
4364         [POSIX] (si_uid): Likewise.
4365         [POSIX] (si_addr): Likewise.
4366         [POSIX] (si_status): Likewise.
4367         [POSIX] (si_band): Likewise.
4368         [XPG4] (si_value): Likewise.
4369         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4370         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4371         [POSIX || XPG3] (ILL_ILLADR): Likewise.
4372         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4373         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4374         [POSIX || XPG3] (ILL_PRVREG): Likewise.
4375         [POSIX || XPG3] (ILL_COPROC): Likewise.
4376         [POSIX || XPG3] (ILL_BADSTK): Likewise.
4377         [POSIX || XPG3] (FPE_INTDIV): Likewise.
4378         [POSIX || XPG3] (FPE_INTOVF): Likewise.
4379         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4380         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4381         [POSIX || XPG3] (FPE_FLTUND): Likewise.
4382         [POSIX || XPG3] (FPE_FLTRES): Likewise.
4383         [POSIX || XPG3] (FPE_FLTINV): Likewise.
4384         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4385         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4386         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4387         [POSIX || XPG3] (BUS_ADRALN): Likewise.
4388         [POSIX || XPG3] (BUS_ADRERR): Likewise.
4389         [POSIX || XPG3] (BUS_OBJERR): Likewise.
4390         [POSIX || XPG3] (CLD_EXITED): Likewise.
4391         [POSIX || XPG3] (CLD_KILLED): Likewise.
4392         [POSIX || XPG3] (CLD_DUMPED): Likewise.
4393         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4394         [POSIX || XPG3] (CLD_STOPPED): Likewise.
4395         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4396         [POSIX || XPG3] (POLL_IN): Likewise.
4397         [POSIX || XPG3] (POLL_OUT): Likewise.
4398         [POSIX || XPG3] (POLL_MSG): Likewise.
4399         [POSIX || XPG3] (POLL_ERR): Likewise.
4400         [POSIX || XPG3] (POLL_PRI): Likewise.
4401         [POSIX || XPG3] (POLL_HUP): Likewise.
4402         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4403         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4404         (SIG*): Do not allow.
4405         [XPG3] (si_*): Likewise.
4406         [XPG3] (SI_*): Likewise.
4407         [XPG3 || XPG4] (sigev_*): Likewise.
4408         [XPG3 || XPG4] (SIGEV_*): Likewise.
4409         [XPG3 || XPG4] (sival_*): Likewise.
4410         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4411         [POSIX || XPG3] (BUS_*): Likewise.
4412         [POSIX || XPG3] (CLD_*): Likewise.
4413         [POSIX || XPG3] (FPE_*): Likewise.
4414         [POSIX || XPG3] (ILL_*): Likewise.
4415         [POSIX || XPG3] (POLL_*): Likewise.
4416         [POSIX || XPG3] (SEGV_*): Likewise.
4417         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4418         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4419         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4420         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4421         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4422         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4423         Specify type and value.
4424         (TVERSLEN): Likewise.
4425         (REGTYPE): Likewise.
4426         (AREGTYPE): Likewise.
4427         (LNKTYPE): Likewise.
4428         (SYMTYPE): Likewise.
4429         (CHRTYPE): Likewise.
4430         (BLKTYPE): Likewise.
4431         (DIRTYPE): Likewise.
4432         (FIFOTYPE): Likewise.
4433         (CONTTYPE): Likewise.
4434         (TSUID): Likewise.
4435         (TSGID): Likewise.
4436         (TSVTX): Likewise.
4437         (TUREAD): Likewise.
4438         (TUWRITE): Likewise.
4439         (TUEXEC): Likewise.
4440         (TGREAD): Likewise.
4441         (TGWRITE): Likewise.
4442         (TGEXEC): Likewise.
4443         (TOREAD): Likewise.
4444         (TOWRITE): Likewise.
4445         (TOEXEC): Likewise.
4446         [POSIX] (TSVTX): Expect constant.
4448 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
4450         * Makefile (tests): Change dependencies to ....
4451         (tests-special): ... additions to this variable.
4452         (tests): Depend on $(tests-special).
4453         * Makerules (check-abi-list): New variable.
4454         (check-abi): Depend on $(check-abi-list).
4455         [$(subdir) = elf] (tests-special): Add
4456         $(objpfx)check-abi-libc.out.
4457         [$(build-shared) = yes && subdir] (tests-special): Add
4458         $(check-abi-list).
4459         [$(build-shared) = yes && subdir] (tests): Do not depend on
4460         check-abi.
4461         * Rules (tests): Depend on $(tests-special).
4462         (xtests): Depend on $(xtests-special).
4463         * catgets/Makefile (tests): Change dependencies to ....
4464         (tests-special): ... additions to this variable.
4465         * conform/Makefile (tests): Change dependencies to ....
4466         (tests-special): ... additions to this variable.
4467         * elf/Makefile (tests): Change dependencies to ....
4468         (tests-special): ... additions to this variable.
4469         * grp/Makefile (tests): Change dependencies to ....
4470         (tests-special): ... additions to this variable.
4471         * iconv/Makefile (xtests): Change dependencies to ....
4472         (xtests-special): ... additions to this variable.
4473         * iconvdata/Makefile (tests): Change dependencies to ....
4474         (tests-special): ... additions to this variable.
4475         * intl/Makefile (tests): Change dependencies to ....
4476         (tests-special): ... additions to this variable.  Also add
4477         $(objpfx)tst-gettext.out.
4478         * io/Makefile (tests): Change dependencies to ....
4479         (tests-special): ... additions to this variable.
4480         * libio/Makefile (tests): Change dependencies to ....
4481         (tests-special): ... additions to this variable.
4482         * malloc/Makefile (tests): Change dependencies to ....
4483         (tests-special): ... additions to this variable.
4484         * misc/Makefile (tests): Change dependencies to ....
4485         (tests-special): ... additions to this variable.
4486         * nptl/Makefile (tests): Change dependencies to ....
4487         (tests-special): ... additions to this variable.
4488         * nptl_db/Makefile (tests): Change dependencies to ....
4489         (tests-special): ... additions to this variable.
4490         * posix/Makefile (tests): Change dependencies to ....
4491         (tests-special): ... additions to this variable.
4492         (xtests): Change dependencies to ....
4493         (xtests-special): ... additions to this variable.
4494         * resolv/Makefile (tests): Change dependencies to ....
4495         (tests-special): ... additions to this variable.
4496         (xtests): Change dependencies to ....
4497         (xtests-special): ... additions to this variable.
4498         * stdio-common/Makefile (tests): Change dependencies to ....
4499         (tests-special): ... additions to this variable.
4500         (do-tst-unbputc): Remove target.
4501         (do-tst-printf): Likewise.
4502         * stdlib/Makefile (tests): Change dependencies to ....
4503         (tests-special): ... additions to this variable.
4504         * string/Makefile (tests): Change dependencies to ....
4505         (tests-special): ... additions to this variable.
4506         * sysdeps/x86/Makefile (tests): Change dependencies to ....
4507         (tests-special): ... additions to this variable.
4509         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4510         whole file.
4511         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4512         whole file.
4513         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4514         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4516         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4517         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4518         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4519         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4520         * conform/data/libgen.h-data [XPG3]: Likewise.
4521         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4522         * conform/data/ndbm.h-data [XPG3]: Likewise.
4523         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4524         * conform/data/netdb.h-data [XPG3]: Likewise.
4525         * conform/data/netinet/in.h-data [XPG3]: Likewise.
4526         * conform/data/poll.h-data [XPG3]: Likewise.
4527         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4528         * conform/data/strings.h-data [XPG3]: Likewise.
4529         * conform/data/stropts.h-data [XPG3]: Likewise.
4530         * conform/data/sys/mman.h-data [XPG3]: Likewise.
4531         * conform/data/sys/resource.h-data [XPG3]: Likewise.
4532         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4533         Likewise.
4534         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4535         * conform/data/sys/time.h-data [XPG3]: Likewise.
4536         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4537         * conform/data/sys/uio.h-data [XPG3]: Likewise.
4538         * conform/data/sys/un.h-data [XPG3]: Likewise.
4539         * conform/data/syslog.h-data [XPG3]: Likewise.
4540         * conform/data/ucontext.h-data [XPG3]: Likewise.
4541         * conform/data/utmpx.h-data [XPG3]: Likewise.
4542         * conform/data/varargs.h-data [UNIX98]: Enable file.
4544         * manual/Makefile (INSTALL_INFO): Remove variable setting.
4546         * math/libm-test.inc (struct test_f_f_data): Move expected results
4547         into structure for each rounding mode.
4548         (struct test_ff_f_data): Likewise.
4549         (struct test_ff_f_data_nexttoward): Likewise.
4550         (struct test_fi_f_data): Likewise.
4551         (struct test_fl_f_data): Likewise.
4552         (struct test_if_f_data): Likewise.
4553         (struct test_fff_f_data): Likewise.
4554         (struct test_c_f_data): Likewise.
4555         (struct test_f_f1_data): Likewise.
4556         (struct test_fF_f1_data): Likewise.
4557         (struct test_ffI_f1_data): Likewise.
4558         (struct test_c_c_data): Likewise.
4559         (struct test_cc_c_data): Likewise.
4560         (struct test_f_i_data): Likewise.
4561         (struct test_ff_i_data): Likewise.
4562         (struct test_f_l_data): Likewise.
4563         (struct test_f_L_data): Likewise.
4564         (struct test_fFF_11_data): Likewise.
4565         (RM_): New macro.
4566         (RM_FE_DOWNWARD): Likewise.
4567         (RM_FE_TONEAREST): Likewise.
4568         (RM_FE_TOWARDZERO): Likewise.
4569         (RM_FE_UPWARD): Likewise.
4570         (RUN_TEST_LOOP_f_f): Update references to expected results.
4571         (RUN_TEST_LOOP_2_f): Likewise.
4572         (RUN_TEST_LOOP_fff_f): Likewise.
4573         (RUN_TEST_LOOP_c_f): Likewise.
4574         (RUN_TEST_LOOP_f_f1): Likewise.
4575         (RUN_TEST_LOOP_fF_f1): Likewise.
4576         (RUN_TEST_LOOP_fI_f1): Likewise.
4577         (RUN_TEST_LOOP_ffI_f1): Likewise.
4578         (RUN_TEST_LOOP_c_c): Likewise.
4579         (RUN_TEST_LOOP_cc_c): Likewise.
4580         (RUN_TEST_LOOP_f_i): Likewise.
4581         (RUN_TEST_LOOP_f_i_tg): Likewise.
4582         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4583         (RUN_TEST_LOOP_f_b): Likewise.
4584         (RUN_TEST_LOOP_f_b_tg): Likewise.
4585         (RUN_TEST_LOOP_f_l): Likewise.
4586         (RUN_TEST_LOOP_f_L): Likewise.
4587         (RUN_TEST_LOOP_fFF_11): Likewise.
4588         * math/gen-libm-test.pl (parse_args): Output four copies of
4589         expected results for each test.
4591         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4592         (__ASSUME_UTIMES): Remove.
4593         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4594         (__ASSUME_UTIMES): Likewise.
4596         * math/gen-auto-libm-tests.c: Update comment on output format.
4597         (output_for_one_input_case): Generate before-rounding and
4598         after-rounding information as conditions on output flags not
4599         floating-point format.
4600         * math/auto-libm-test-out: Regenerated.
4601         * math/gen-libm-test.pl (cond_value): New function.
4602         (or_cond_value): Use cond_value.
4603         (generate_testfile): Handle conditional exceptions.
4605 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
4607         * math/libm-test.inc (max_valid_error): New variable.
4608         (init_max_error): Take new argument specifying whether function
4609         results are exactly determined.  Set max_valid_error and bound
4610         other variables for errors based on this argument.
4611         (set_max_error): Do not record results above max_valid_error.
4612         (check_float_internal): Only accept errors of up to 0.5ulps if
4613         also at most max_valid_error.
4614         (START): Take new argument EXACT and pass it to init_max_error.
4615         (acos_test): Update call to START.
4616         (acos_test_tonearest): Likewise.
4617         (acos_test_towardzero): Likewise.
4618         (acos_test_downward): Likewise.
4619         (acos_test_upward): Likewise.
4620         (acosh_test): Likewise.
4621         (asin_test): Likewise.
4622         (asin_test_tonearest): Likewise.
4623         (asin_test_towardzero): Likewise.
4624         (asin_test_downward): Likewise.
4625         (asin_test_upward): Likewise.
4626         (asinh_test): Likewise.
4627         (atan_test): Likewise.
4628         (atanh_test): Likewise.
4629         (atan2_test): Likewise.
4630         (cabs_test): Likewise.
4631         (cacos_test): Likewise.
4632         (cacosh_test): Likewise.
4633         (carg_test): Likewise.
4634         (casin_test): Likewise.
4635         (casinh_test): Likewise.
4636         (catan_test): Likewise.
4637         (catanh_test): Likewise.
4638         (cbrt_test): Likewise.
4639         (ccos_test): Likewise.
4640         (ccosh_test): Likewise.
4641         (ceil_test): Likewise.
4642         (cexp_test): Likewise.
4643         (cimag_test): Likewise.
4644         (clog_test): Likewise.
4645         (clog10_test): Likewise.
4646         (conj_test): Likewise.
4647         (copysign_test): Likewise.
4648         (cos_test): Likewise.
4649         (cos_test_tonearest): Likewise.
4650         (cos_test_towardzero): Likewise.
4651         (cos_test_downward): Likewise.
4652         (cos_test_upward): Likewise.
4653         (cosh_test): Likewise.
4654         (cosh_test_tonearest): Likewise.
4655         (cosh_test_towardzero): Likewise.
4656         (cosh_test_downward): Likewise.
4657         (cosh_test_upward): Likewise.
4658         (cpow_test): Likewise.
4659         (cproj_test): Likewise.
4660         (creal_test): Likewise.
4661         (csin_test): Likewise.
4662         (csinh_test): Likewise.
4663         (csqrt_test): Likewise.
4664         (ctan_test): Likewise.
4665         (ctan_test_tonearest): Likewise.
4666         (ctan_test_towardzero): Likewise.
4667         (ctan_test_downward): Likewise.
4668         (ctan_test_upward): Likewise.
4669         (ctanh_test): Likewise.
4670         (ctanh_test_tonearest): Likewise.
4671         (ctanh_test_towardzero): Likewise.
4672         (ctanh_test_downward): Likewise.
4673         (ctanh_test_upward): Likewise.
4674         (erf_test): Likewise.
4675         (erfc_test): Likewise.
4676         (exp_test): Likewise.
4677         (exp_test_tonearest): Likewise.
4678         (exp_test_towardzero): Likewise.
4679         (exp_test_downward): Likewise.
4680         (exp_test_upward): Likewise.
4681         (exp10_test): Likewise.
4682         (exp10_test_tonearest): Likewise.
4683         (exp10_test_towardzero): Likewise.
4684         (exp10_test_downward): Likewise.
4685         (exp10_test_upward): Likewise.
4686         (pow10_test): Likewise.
4687         (exp2_test): Likewise.
4688         (expm1_test): Likewise.
4689         (expm1_test_tonearest): Likewise.
4690         (expm1_test_towardzero): Likewise.
4691         (expm1_test_downward): Likewise.
4692         (expm1_test_upward): Likewise.
4693         (fabs_test): Likewise.
4694         (fdim_test): Likewise.
4695         (floor_test): Likewise.
4696         (fma_test): Likewise.
4697         (fma_test_towardzero): Likewise.
4698         (fma_test_downward): Likewise.
4699         (fma_test_upward): Likewise.
4700         (fmax_test): Likewise.
4701         (fmin_test): Likewise.
4702         (fmod_test): Likewise.
4703         (fpclassify_test): Likewise.
4704         (frexp_test): Likewise.
4705         (hypot_test): Likewise.
4706         (ilogb_test): Likewise.
4707         (isfinite_test): Likewise.
4708         (finite_test): Likewise.
4709         (isgreater_test): Likewise.
4710         (isgreaterequal_test): Likewise.
4711         (isinf_test): Likewise.
4712         (isless_test): Likewise.
4713         (islessequal_test): Likewise.
4714         (islessgreater_test): Likewise.
4715         (isnan_test): Likewise.
4716         (isnormal_test): Likewise.
4717         (issignaling_test): Likewise.
4718         (isunordered_test): Likewise.
4719         (j0_test): Likewise.
4720         (j1_test): Likewise.
4721         (jn_test): Likewise.
4722         (ldexp_test): Likewise.
4723         (lgamma_test): Likewise.
4724         (gamma_test): Likewise.
4725         (lrint_test): Likewise.
4726         (lrint_test_tonearest): Likewise.
4727         (lrint_test_towardzero): Likewise.
4728         (lrint_test_downward): Likewise.
4729         (lrint_test_upward): Likewise.
4730         (llrint_test): Likewise.
4731         (llrint_test_tonearest): Likewise.
4732         (llrint_test_towardzero): Likewise.
4733         (llrint_test_downward): Likewise.
4734         (llrint_test_upward): Likewise.
4735         (log_test): Likewise.
4736         (log10_test): Likewise.
4737         (log1p_test): Likewise.
4738         (log2_test): Likewise.
4739         (logb_test): Likewise.
4740         (logb_test_downward): Likewise.
4741         (lround_test): Likewise.
4742         (llround_test): Likewise.
4743         (modf_test): Likewise.
4744         (nearbyint_test): Likewise.
4745         (nextafter_test): Likewise.
4746         (nexttoward_test): Likewise.
4747         (pow_test): Likewise.
4748         (pow_test_tonearest): Likewise.
4749         (pow_test_towardzero): Likewise.
4750         (pow_test_downward): Likewise.
4751         (pow_test_upward): Likewise.
4752         (remainder_test): Likewise.
4753         (drem_test): Likewise.
4754         (remainder_test_tonearest): Likewise.
4755         (drem_test_tonearest): Likewise.
4756         (remainder_test_towardzero): Likewise.
4757         (drem_test_towardzero): Likewise.
4758         (remainder_test_downward): Likewise.
4759         (drem_test_downward): Likewise.
4760         (remainder_test_upward): Likewise.
4761         (drem_test_upward): Likewise.
4762         (remquo_test): Likewise.
4763         (rint_test): Likewise.
4764         (rint_test_tonearest): Likewise.
4765         (rint_test_towardzero): Likewise.
4766         (rint_test_downward): Likewise.
4767         (rint_test_upward): Likewise.
4768         (round_test): Likewise.
4769         (scalb_test): Likewise.
4770         (scalbn_test): Likewise.
4771         (scalbln_test): Likewise.
4772         (signbit_test): Likewise.
4773         (sin_test): Likewise.
4774         (sin_test_tonearest): Likewise.
4775         (sin_test_towardzero): Likewise.
4776         (sin_test_downward): Likewise.
4777         (sin_test_upward): Likewise.
4778         (sincos_test): Likewise.
4779         (sinh_test): Likewise.
4780         (sinh_test_tonearest): Likewise.
4781         (sinh_test_towardzero): Likewise.
4782         (sinh_test_downward): Likewise.
4783         (sinh_test_upward): Likewise.
4784         (sqrt_test): Likewise.
4785         (sqrt_test_tonearest): Likewise.
4786         (sqrt_test_towardzero): Likewise.
4787         (sqrt_test_downward): Likewise.
4788         (sqrt_test_upward): Likewise.
4789         (tan_test): Likewise.
4790         (tan_test_tonearest): Likewise.
4791         (tan_test_towardzero): Likewise.
4792         (tan_test_downward): Likewise.
4793         (tan_test_upward): Likewise.
4794         (tanh_test): Likewise.
4795         (tgamma_test): Likewise.
4796         (trunc_test): Likewise.
4797         (y0_test): Likewise.
4798         (y1_test): Likewise.
4799         (yn_test): Likewise.
4800         (significand_test): Likewise.
4802         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4803         individual tests in comment.
4804         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4805         (prev_max_error): New variable.
4806         (prev_real_max_error): Likewise.
4807         (prev_imag_max_error): Likewise.
4808         (compare_ulp_data): Don't refer to test names in comment.
4809         (find_test_ulps): Remove function.
4810         (find_function_ulps): Likewise.
4811         (find_complex_function_ulps): Likewise.
4812         (init_max_error): Take function name as argument.  Look up ulps
4813         for that function.
4814         (print_ulps): Remove function.
4815         (print_max_error): Use prev_max_error instead of calling
4816         find_function_ulps.
4817         (print_complex_max_error): Use prev_real_max_error and
4818         prev_imag_max_error instead of calling find_complex_function_ulps.
4819         (check_float_internal): Take max_ulp parameter instead of calling
4820         find_test_ulps.  Don't call print_ulps.
4821         (check_float): Update call to check_float_internal.
4822         (check_complex): Update calls to check_float_internal.
4823         (START): Pass argument to init_max_error.
4824         * math/gen-libm-test.pl (%results): Don't include "kind"
4825         information.
4826         (parse_ulps): Don't handle ulps of individual tests.
4827         (print_ulps_file): Likewise.
4828         (output_ulps): Likewise.
4829         * math/README.libm-test: Update.
4830         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4831         individual tests.
4832         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4833         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4834         * sysdeps/arm/libm-test-ulps: Likewise.
4835         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4836         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4837         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4838         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4839         * sysdeps/microblaze/libm-test-ulps: Likewise.
4840         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4841         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4842         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4843         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4844         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4845         * sysdeps/sh/libm-test-ulps: Likewise.
4846         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4847         * sysdeps/tile/libm-test-ulps: Likewise.
4848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4850 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
4852         * math/libm-test.inc (print_complex_max_error): Check separately
4853         whether real and imaginary errors are within allowed range and
4854         pass 0 to print_complex_function_ulps instead of value within
4855         allowed range.
4857 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4859         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4860         formatting.
4861         (get_handles_fopen): Likewise.
4862         (do_write_test): Likewise.
4864         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4866         * libio/fileops.c (do_ftell): Use cached offset when
4867         available.
4868         * libio/iofwide.c (do_ftell_wide): Likewise.
4869         * libio/iofdopen.c (_IO_new_fdopen): Don't use
4870         _IO_file_attach.
4871         * libio/wfileops.c (_IO_fwide): Don't cache offset.
4873         [BZ #16532]
4874         * libio/libioP.h (get_file_offset): New function.
4875         * libio/fileops.c (get_file_offset): Likewise.
4876         (do_ftell): Likewise.
4877         (_IO_new_file_seekoff): Split out ftell logic.
4878         * libio/wfileops.c (do_ftell_wide): Likewise.
4879         (_IO_wfile_seekoff): Split out ftell logic.
4880         * libio/tst-ftell-active-handler.c: New test case.
4881         * libio/Makefile (tests): Add it.
4883 2014-03-03  Roland McGrath  <roland@hack.frob.com>
4885         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4886         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4888 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4890         [BZ #16639]
4891         * nscd/connections.c (nscd_init): Call do_exit.
4892         (start_threads): Call do_exit and notify_parent.
4893         (begin_drop_privileges): Call do_exit.
4894         (finish_drop_privileges): Likewise.
4895         * nscd/selinux.c (preserve_capabilities): Likewise.
4896         (install_real_capabilities): Likewise.
4897         (nscd_selinux_enabled): Likewise.
4898         (avc_create_thread): Likewise.
4899         (avc_alloc_lock): Likewise.
4900         (nscd_avc_init): Likewise.
4901         * nscd/nscd.c (parent_fd): New static variable.
4902         (main): Create a pipe between parent and child processes.
4903         Skip closing parent_fd.
4904         (monitor_child): New function.
4905         (do_exit): Likewise.
4906         (notify_parent): Likewise.
4907         * nscd/nscd.h (notify_parent): Likewise.
4908         (do_exit): Likewise.
4910 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
4912         * malloc/malloc.c (__libc_calloc): Revert last change.
4914 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4918 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4920         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4921         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4922         implementation.
4923         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4924         (__libc_ifunc_impl_list): Likewise.
4925         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4926         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4927         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4928         * string/strrchr.c: Define STRRCHR.
4930 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
4932         * benchtest/bench-strtok.c (simple_strtok): Delete.
4933         (strtok_string): Use as benchmark.
4934         * string/strtok (STRTOK): New macro.
4936 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
4938         * manual/threads.texi: Add header and standard comments to all
4939         functions.
4941         * elf/dl-lookup.c (check_match): New function.
4942         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4943         (do_lookup_x): Remove nested function check_match. Use non-nested
4944         function check_match.
4946 2014-02-28  Roland McGrath  <roland@hack.frob.com>
4948         * csu/Makefile (generated, before-compile): Use += rather than =.
4949         * catgets/Makefile (generated, generated-dirs): Likewise.
4950         * debug/Makefile (generated): Likewise.
4951         * dlfcn/Makefile (generated): Likewise.
4952         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4953         * iconvdata/Makefile (before-compile, generated): Likewise.
4954         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4955         * libio/Makefile (generated): Likewise.
4956         * malloc/Makefile (generated): Likewise.
4957         * manual/Makefile (generated, generated-dirs): Likewise.
4958         * misc/Makefile (generated): Likewise.
4959         * posix/Makefile (generated): Likewise.
4960         * resolv/Makefile (generated): Likewise.
4961         * sunrpc/Makefile (generated, generated-dirs): Likewise.
4962         * timezone/Makefile (generated, generated-dirs): Likewise.
4964         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4966 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4968         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4969         power8 implementation.
4970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4971         file: POWER8 llround ifunc implementation.
4972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4973         (__lllround): Add POWER8 implementation.
4974         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4975         POWER8 llround implementation.
4977         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4978         power8 implementation.
4979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4980         file: POWER8 llrint ifunc implementation.
4981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4982         Add POWER8 implementation.
4983         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4984         POWER8 llrint implementation.
4986         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4987         power8 implementation.
4988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4989         file: POWER8 finite ifunc implementation.
4990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4991         Add POWER8 implementation.
4992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4993         Likewise.
4994         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4995         POWER8 finite implementation.
4996         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4998         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4999         power8 implementation.
5000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5001         file: POWER8 isinf ifunc implementation.
5002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5003         POWER8 implementation.
5004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5005         Likewise.
5006         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5007         isinf implementation.
5008         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5010         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5011         (INIT_ARCH): Add hwcap2 initialization.
5012         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5013         power8 implementation.
5014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5015         file: POWER8 isnan ifunc implementation.
5016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5017         POWER8 implementation.
5018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5019         Likewise.
5020         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5021         isnan implementation.
5022         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5024 2014-02-27  Joey Ye  <joey.ye@arm.com>
5026         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5027         (_FP_NANFRAC_Q): Set to zero.
5029 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5031         [BZ #16623]
5032         * math/auto-libm-test-in: New test inputs.
5033         * math/auto-libm-test-out: Regenerate.
5034         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5035         and DA.
5036         (__cos): Likewise.
5037         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5039 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
5041         * scripts/evaluate-test.sh: Take new argument indicating whether
5042         failure is expected.
5043         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5044         indicating whether failure is expected.
5045         * conform/Makefile (test-xfail-run-conformtest): New variable.
5046         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5047         level.
5048         * posix/Makefile (test-xfail-annexc): New variable.
5049         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5051 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
5053         * argp/Makefile: Include Makeconfig immediately after defining
5054         subdir.
5055         * assert/Makefile: Likewise.
5056         * benchtests/Makefile: Likewise.
5057         * catgets/Makefile: Likewise.
5058         * conform/Makefile: Likewise.
5059         * crypt/Makefile: Likewise.
5060         * csu/Makefile: Likewise.
5061         (all): Remove target.
5062         * ctype/Makefile: Include Makeconfig immediately after defining
5063         subdir.
5064         * debug/Makefile: Likewise.
5065         * dirent/Makefile: Likewise.
5066         * dlfcn/Makefile: Likewise.
5067         * gmon/Makefile: Likewise.
5068         * gnulib/Makefile: Likewise.
5069         * grp/Makefile: Likewise.
5070         * gshadow/Makefile: Likewise.
5071         * hesiod/Makefile: Likewise.
5072         * hurd/Makefile: Likewise.
5073         (all): Remove target.
5074         * iconvdata/Makefile: Include Makeconfig immediately after
5075         defining subdir.
5076         * inet/Makefile: Likewise.
5077         * intl/Makefile: Likewise.
5078         * io/Makefile: Likewise.
5079         * libio/Makefile: Likewise.
5080         (all): Remove target.
5081         * locale/Makefile: Include Makeconfig immediately after defining
5082         subdir.
5083         * login/Makefile: Likewise.
5084         * mach/Makefile: Likewise.
5085         (all): Remove target.
5086         * malloc/Makefile: Include Makeconfig immediately after defining
5087         subdir.
5088         (all): Remove target.
5089         * manual/Makefile: Include Makeconfig immediately after defining
5090         subdir.
5091         * math/Makefile: Likewise.
5092         * misc/Makefile: Likewise.
5093         * nis/Makefile: Likewise.
5094         * nss/Makefile: Likewise.
5095         * po/Makefile: Likewise.
5096         (all): Remove target.
5097         * posix/Makefile: Include Makeconfig immediately after defining
5098         subdir.
5099         * pwd/Makefile: Likewise.
5100         * resolv/Makefile: Likewise.
5101         * resource/Makefile: Likewise.
5102         * rt/Makefile: Likewise.
5103         * setjmp/Makefile: Likewise.
5104         * shadow/Makefile: Likewise.
5105         * signal/Makefile: Likewise.
5106         * socket/Makefile: Likewise.
5107         * soft-fp/Makefile: Likewise.
5108         * stdio-common/Makefile: Likewise.
5109         * stdlib/Makefile: Likewise.
5110         * streams/Makefile: Likewise.
5111         * string/Makefile: Likewise.
5112         * sunrpc/Makefile: Likewise.
5113         (all): Remove target.
5114         * sysvipc/Makefile: Include Makeconfig immediately after defining
5115         subdir.
5116         * termios/Makefile: Likewise.
5117         * time/Makefile: Likewise.
5118         * timezone/Makefile: Likewise.
5119         (all): Remove target.
5120         * wcsmbs/Makefile: Include Makeconfig immediately after defining
5121         subdir.
5122         * wctype/Makefile: Likewise.
5124 2014-02-26  Steve Ellcey  <sellcey@mips.com>
5126         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5127         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5128         (libc_feholdexcept_setround_mips): Ditto.
5129         (libc_feholdsetround): New.
5130         (libc_feholdsetroundf): New.
5131         (libc_feholdsetroundl): New.
5132         (libc_feupdateenv_test_mips): New.
5133         (libc_feupdateenv_test): New.
5134         (libc_feupdateenv_testf): New.
5135         (libc_feupdateenv_testl): New.
5136         (libc_feresetround): New.
5137         (libc_feresetroundf): New.
5138         (libc_feresetroundl): New.
5139         (libc_fetestexcept_mips): New.
5140         (libc_fetestexcept): New.
5141         (libc_fetestexceptf): New.
5142         (libc_fetestexceptl): New.
5143         (HAVE_RM_CTX): New.
5144         (libc_feholdexcept_setround_mips_ctx): New.
5145         (libc_feholdexcept_setround_ctx): New.
5146         (libc_feholdexcept_setroundf_ctx): New.
5147         (libc_feholdexcept_setroundl_ctx): New.
5148         (libc_fesetenv_mips_ctx): New.
5149         (libc_fesetenv_ctx): New.
5150         (libc_fesetenv_ctxf): New.
5151         (libc_fesetenv_ctxl): New.
5152         (libc_feupdateenv_mips_ctx): New.
5153         (libc_feupdateenv_ctx): New.
5154         (libc_feupdateenvf_ctx): New.
5155         (libc_feupdateenvl_ctx): New.
5156         (libc_feholdsetround_mips_ctx): New.
5157         (libc_feholdsetround_ctx): New.
5158         (libc_feholdsetroundf_ctx): New.
5159         (libc_feholdsetroundl_ctx): New.
5160         (libc_feresetround_mips_ctx): New.
5161         (libc_feresetround_ctx): New.
5162         (libc_feresetroundf_ctx): New.
5163         (libc_feresetroundl_ctx): New.
5165 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
5167         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5169         * manual/ipc.texi: New file.
5170         * manual/Makefile (chapters): Add ipc.
5171         * manual/job.texi: Add "Inter-Process Communication" to next.
5172         * manual/process.texi: Add "Inter-Process Communication" to prev.
5174 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5178 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
5180         * malloc/malloc.c (__libc_calloc): Simplify implementation.
5182         * manual/arith.texi: Fix spaces after sentences.
5183         * manual/charset.texi: Likewise.
5184         * manual/errno.texi: Likewise.
5185         * manual/install.texi: Likewise.
5186         * manual/llio.texi: Likewise.
5187         * manual/locale.texi: Likewise.
5188         * manual/maint.texi: Likewise.
5189         * manual/math.texi: Likewise.
5190         * manual/memory.texi: Likewise.
5191         * manual/message.texi: Likewise.
5192         * manual/probes.texi: Likewise.
5193         * manual/resource.texi: Likewise.
5194         * manual/signal.texi: Likewise.
5195         * manual/socket.texi: Likewise.
5196         * manual/stdio.texi: Likewise.
5197         * manual/string.texi: Likewise.
5198         * manual/time.texi: Likewise.
5199         * manual/users.texi: Likewise.
5201 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
5203         [BZ #16632]
5204         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5205         _DEFAULT_SOURCE is defined.
5207 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
5208             Carlos O'Donell  <carlos@redhat.com>
5210         [BZ #16613]
5211         * elf/dl-tls.c (_dl_count_modids): New function.
5212         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5213         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5214         audit library and increment generation counter.
5215         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5216         * elf/tst-audit9.c: New file.
5217         * elf/tst-auditmod9a.c: New file.
5218         * elf/tst-auditmod9b.c: New file.
5219         * elf/Makefile: Add rules to build and run tst-audit9.
5221 2014-02-25  Florian Weimer  <fweimer@redhat.com>
5223         [BZ #15347]
5224         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5226 2014-02-25  Will Newton  <will.newton@linaro.org>
5228         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5229         (__longjmp): Restore sp and lr before restoring callee
5230         saved registers.  Add longjmp and longjmp_target
5231         SystemTap probe point.
5232         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5233         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5234         Define to zero to match jmpbuf layout.
5235         * sysdeps/arm/setjmp.S: Include stap-probe.h.
5236         (__sigsetjmp): Save sp and lr before saving callee
5237         saved registers.  Add setjmp SystemTap probe point.
5239 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5241         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5243 2014-02-24  Andreas Schwab  <schwab@suse.de>
5245         [BZ #15804]
5246         * elf/pldd.c (wait_for_ptrace_stop): New function.
5247         (main): Call it after attaching.
5249 2014-02-22  Roland McGrath  <roland@hack.frob.com>
5251         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5252         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5253         Versions files is now verboten.
5254         * hurd/Versions (libc: GLIBC_2.0):
5255         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5256         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5257         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5258         * mach/Versions: Likewise.
5260         * csu/Versions: Remove unused %include.
5261         * resolv/Versions: Likewise.
5263 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
5265         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5266         ($(objpfx)check-local-headers.out): Likewise.
5267         ($(objpfx)begin-end-check.out): Likewise.
5268         * Makerules (check-abi-%.out): Likewise.
5269         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5270         ($(objpfx)test2.cat): Likewise.
5271         ($(objpfx)de/libc.cat): Likewise.
5272         ($(objpfx)test-gencat.out): Likewise.
5273         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5274         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5275         ($(objpfx)noload-mem): Likewise.
5276         ($(objpfx)tst-pathopt.out): Likewise.
5277         ($(objpfx)tst-rtld-load-self.out): Likewise.
5278         ($(objpfx)tst-array1-cmp.out): Likewise.
5279         ($(objpfx)tst-array1-static-cmp.out): Likewise.
5280         ($(objpfx)tst-array2-cmp.out): Likewise.
5281         ($(objpfx)tst-array3-cmp.out): Likewise.
5282         ($(objpfx)tst-array4-cmp.out): Likewise.
5283         ($(objpfx)tst-array5-cmp.out): Likewise.
5284         ($(objpfx)tst-array5-static-cmp.out): Likewise.
5285         ($(objpfx)check-textrel.out): Likewise.
5286         ($(objpfx)check-execstack.out): Likewise.
5287         ($(objpfx)check-localplt.out): Likewise.
5288         ($(objpfx)order2-cmp.out): Likewise.
5289         ($(objpfx)tst-leaks1-mem): Likewise.
5290         ($(objpfx)tst-leaks1-static-mem): Likewise.
5291         ($(objpfx)tst-initorder-cmp.out): Likewise.
5292         ($(objpfx)tst-initorder2-cmp.out): Likewise.
5293         ($(objpfx)tst-unused-dep.out): Likewise.
5294         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5295         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5296         * iconv/Makefile (test-iconvconfig): Likewise.
5297         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5298         ($(objpfx)iconv-test.out): Likewise.
5299         ($(objpfx)tst-tables.out): Likewise.
5300         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5301         ($(objpfx)tst-gettext.out): Likewise.
5302         ($(objpfx)tst-translit.out): Likewise.
5303         ($(objpfx)tst-gettext2.out): Likewise.
5304         ($(objpfx)tst-gettext4.out): Likewise.
5305         ($(objpfx)tst-gettext6.out): Likewise.
5306         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5307         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5308         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5309         ($(objpfx)tst-fopenloc-mem.out): Likewise.
5310         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5311         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5312         * posix/Makefile ($(objpfx)globtest.out): Likewise.
5313         ($(objpfx)wordexp-tst.out): Likewise.
5314         ($(objpfx)annexc.out): Likewise.
5315         ($(objpfx)tst-fnmatch-mem): Likewise.
5316         ($(objpfx)bug-regex2-mem): Likewise.
5317         ($(objpfx)bug-regex14-mem): Likewise.
5318         ($(objpfx)bug-regex21-mem): Likewise.
5319         ($(objpfx)bug-regex31-mem): Likewise.
5320         ($(objpfx)tst-vfork3-mem): Likewise.
5321         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5322         ($(objpfx)tst-pcre-mem): Likewise.
5323         ($(objpfx)tst-boost-mem): Likewise.
5324         ($(objpfx)tst-getconf.out): Likewise.
5325         ($(objpfx)bug-ga2-mem): Likewise.
5326         ($(objpfx)bug-glob2-mem): Likewise.
5327         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5328         ($(objpfx)mtrace-tst-leaks2): Likewise.
5329         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5330         ($(objpfx)tst-printf.out): Likewise.
5331         ($(objpfx)tst-setvbuf1.out): Likewise.
5332         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5333         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5334         ($(objpfx)tst-fmtmsg.out): Likewise.
5335         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5336         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5338         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5339         * bits/sigaction.h [__USE_MISC]: Likewise.
5340         * bits/waitstatus.h: Update #endif comments.
5341         * ctype/ctype.h: Likewise.
5342         * dirent/dirent.h: Likewise.
5343         [__USE_MISC]: Remove redundant conditionals.
5344         * grp/grp.h: Update #endif comments.
5345         [__USE_GNU]: Remove redundant conditionals.
5346         [__USE_MISC]: Likewise.
5347         * inet/netinet/in.h [__USE_GNU]: Likewise.
5348         * io/sys/stat.h [__USE_MISC]: Likewise.
5349         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5350         * libio/bits/stdio.h: Update #endif comments.
5351         [__USE_MISC]: Remove redundant conditionals.
5352         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5353         * libio/stdio.h: Update #endif comments.
5354         [__USE_MISC]: Remove redundant conditionals.
5355         * math/bits/math-finite.h [__USE_MISC]: Likewise.
5356         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5357         * math/math.h: Update #else and #endif comments.
5358         [__USE_MISC]: Remove redundant conditionals.
5359         * misc/sys/uio.h: Update #endif comments.
5360         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5361         * posix/glob.h [__USE_MISC]: Likewise.
5362         * posix/sys/types.h: Update #endif comments.
5363         [__USE_MISC]: Remove redundant conditionals.
5364         * posix/sys/wait.h: Update #endif comments.
5365         [__USE_MISC]: Remove redundant conditionals.
5366         * posix/unistd.h: Update #endif comments.
5367         [__USE_MISC]: Remove redundant conditionals.
5368         * pwd/pwd.h [__USE_GNU]: Likewise.
5369         [__USE_MISC]: Likewise.
5370         * resolv/netdb.h [__USE_GNU]: Likewise.
5371         * signal/signal.h: Update #endif comments.
5372         [__USE_MISC]: Remove redundant conditionals.
5373         * stdlib/stdlib.h: Update #else and #endif comments.
5374         [__USE_MISC]: Remove redundant conditionals.
5375         [__USE_GNU]: Likewise.
5376         * string/bits/string2.h [__USE_MISC]: Likewise.
5377         * string/string.h: Update #endif comments.
5378         [__USE_MISC]: Remove redundant conditionals.
5379         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5380         Likewise.
5381         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5382         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5383         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5384         Likewise.
5385         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5386         Likewise.
5387         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5388         comments.
5389         [__USE_MISC]: Remove redundant conditionals.
5390         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5391         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5392         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5393         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5394         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5395         Likewise.
5396         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5397         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5398         Likewise.
5399         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5400         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5401         Likewise.
5402         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5403         Likewise.
5404         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5405         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5406         Likewise.
5407         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5408         Likewise.
5409         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5410         * sysdeps/x86/bits/string.h: Update #endif comments.
5411         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5412         conditionals.
5413         * time/sys/time.h: Update #endif comments.
5414         * time/time.h: Likewise.
5415         [__USE_MISC]: Remove redundant conditionals.
5417 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
5419         [BZ #16600]
5420         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5422 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
5424         * Versions.def (librt): Add GLIBC_2.17.
5426 2014-02-21  Adam Conrad  <adconrad@0c3.net>
5428         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5429         synonym for _SYS_AUXV_H to allow direct inclusion.
5430         * sysdeps/sparc/bits/hwcap.h: Likewise.
5431         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5432         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5433         * sysdeps/sparc/sysdep.h: Likewise.
5435 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5437         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5439 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5441         * benchtests/bench-strrchr.c: Print length instead of position.
5443 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
5445         [BZ #16611]
5446         * sysdeps/unix/sysv/linux/kernel-features.h
5447         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5448         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5449         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5450         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5451         Likewise.
5452         [__i386__ || __powerpc__ || __sh__ || __sparc__]
5453         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5454         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5455         (__ASSUME_SENDMMSG): Define instead of using previous
5456         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5457         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5458         (__ASSUME_SENDMMSG_SYSCALL): Define.
5459         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5460         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5461         Likewise.
5462         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5463         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5464         Likewise.
5465         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5466         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5467         Likewise.
5468         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5469         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5470         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5471         [__ASSUME_SENDMMSG]: Change conditionals to
5472         [__ASSUME_SENDMMSG_SOCKETCALL].
5473         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5474         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5475         Define.
5476         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5477         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5478         Likewise.
5479         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5480         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5481         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5482         [!__ASSUME_SENDMMSG]: Change conditional to
5483         [!__ASSUME_SENDMMSG_SOCKETCALL].
5484         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5485         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5486         Define.
5488         [BZ #16610]
5489         * sysdeps/unix/sysv/linux/kernel-features.h
5490         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5491         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5492         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5493         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5494         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5495         [__i386__ || __sparc__]
5496         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5497         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5498         (__ASSUME_RECVMMSG): Define instead of using previous
5499         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5500         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5501         (__ASSUME_RECVMMSG_SYSCALL): Define.
5502         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5503         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5504         Likewise.
5505         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5506         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5507         Likewise.
5508         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5509         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5510         Likewise.
5511         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5512         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5513         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5514         [__ASSUME_RECVMMSG]: Change condition to
5515         [__ASSUME_RECVMMSG_SOCKETCALL].
5516         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5517         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5518         Define.
5519         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5520         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5521         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5522         Likewise.
5523         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5524         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5525         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5526         [!__ASSUME_RECVMMSG]: Change condition to
5527         [!__ASSUME_RECVMMSG_SOCKETCALL].
5528         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5529         (__ASSUME_RECVMMSG_SYSCALL): Define.
5531         [BZ #16609]
5532         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5533         __powerpc__ || __s390__ || __sh__ || __sparc__]
5534         (__ASSUME_SOCKETCALL): Define.
5535         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5536         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5537         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5538         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5539         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5540         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5541         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5542         (__ASSUME_ACCEPT4): Define instead of using previous
5543         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5544         __powerpc__ || __sparc__ || __s390__)] condition.
5545         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5546         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5547         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5548         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5549         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5550         [!__ASSUME_ACCEPT4]: Change condition to
5551         [!__ASSUME_ACCEPT4_SOCKETCALL].
5552         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5553         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
5554         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5555         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5556         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5557         __ASSUME_ACCEPT4_SYSCALL.
5558         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5559         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5560         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5561         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5562         __ASSUME_ACCEPT4_SYSCALL.
5563         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5564         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5565         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5566         [__ASSUME_ACCEPT4]: Change condition to
5567         [__ASSUME_ACCEPT4_SOCKETCALL].
5568         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5569         (__ASSUME_SOCKETCALL): Define.
5570         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5571         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5572         (__ASSUME_SOCKETCALL): Define.
5573         (__ASSUME_ACCEPT4): Remove.
5574         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5575         Define.
5576         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5577         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5578         Likewise.
5579         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5580         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5582         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5583         macro.
5584         (HWCAP_ARM_LPAE): Likewise.
5585         (HWCAP_ARM_EVTSTRM): Likewise.
5586         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5587         Add vpfd32, lpae and evtstrm.
5588         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5589         Increase to 22.
5591 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
5593         * math/auto-libm-test-in: Add tests of clog10.
5594         * math/auto-libm-test-out: Regenerated.
5595         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5596         * sysdeps/i386/fpu/libm-test-ulps: Update.
5597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5599 2014-02-18  Andreas Schwab  <schwab@suse.de>
5601         [BZ #16574]
5602         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5603         Store non-zero if the second buffer was newly allocated.
5604         (send_dg): Likewise.
5605         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5606         to send_vc and send_dg.
5607         (res_nsend): Pass NULL for ansp2_malloced.
5608         * resolv/res_query.c (__libc_res_nquery): Add parameter
5609         answerp2_malloced and pass it down to __libc_res_nsend.
5610         (res_nquery): Pass additional NULL to __libc_res_nquery.
5611         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5612         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
5613         second answer buffer if answerp2_malloced was set.
5614         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5615         (__libc_res_nquerydomain): Add parameter
5616         answerp2_malloced and pass it down to __libc_res_nquery.
5617         (res_nquerydomain): Pass additional NULL to
5618         __libc_res_nquerydomain.
5619         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5620         additional NULL to __libc_res_nsend and __libc_res_nquery.
5621         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5622         additional NULL to __libc_res_nsearch.
5623         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
5624         parameter of __libc_res_nsearch to check for separately allocated
5625         second buffer.
5626         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5627         __libc_res_nquery.
5628         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5629         additional NULL to __libc_res_nquery.
5630         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5631         __libc_res_nsearch.
5632         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5633         * include/resolv.h: Update prototypes of __libc_res_nquery,
5634         __libc_res_nsearch, __libc_res_nsend.
5636 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
5638         * math/auto-libm-test-in: Add tests of fma.
5639         * math/auto-libm-test-out: Regenerated.
5640         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5641         (fma_towardzero_test_data): Likewise.
5642         (fma_downward_test_data): Likewise.
5643         (fma_upward_test_data): Likewise.
5644         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5645         mpc_mode.
5646         (rounding_modes): Add values for new field.
5647         (func_calc_method): Add value mpfr_fff_f.
5648         (func_calc_desc): Add mpfr_fff_f union field.
5649         (test_function): Add field exact_args.
5650         (FUNC): Add macro argument EXACT_ARGS.
5651         (FUNC_mpfr_f_f): Update call to FUNC.
5652         (FUNC_mpfr_f_f): Likewise.
5653         (FUNC_mpfr_ff_f): Likewise.
5654         (FUNC_mpfr_if_f): Likewise.
5655         (FUNC_mpc_c_f): Likewise.
5656         (FUNC_mpc_c_c): Likewise.
5657         (test_functions): Add fma.  Update calls to FUNC.
5658         (handle_input_arg): Add argument exact_args.
5659         (add_test): Update call to handle_input_arg.
5660         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
5661         (output_for_one_input_case): Update call to calc_generic_results.
5662         Recalculate exact zero results in each rounding mode.
5664         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5665         non-negative before setting low bit.
5666         * math/auto-libm-test-in: Mark one asin test possibly having
5667         spurious underflow.
5668         * math/auto-libm-test-out: Regenerated.
5669         * sysdeps/i386/fpu/libm-test-ulps: Update.
5670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5672 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
5674         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5675         * sysdeps/unix/sysv/linux/microblaze: Move directory from
5676         ports/sysdeps/unix/sysv/linux/microblaze.
5677         * README: Add missing listing for microblaze*-*-linux-gnu.
5679 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
5681         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5682         * sysdeps/unix/sysv/linux/ia64: Move directory from
5683         ports/sysdeps/unix/sysv/linux/ia64.
5684         * README: Update listing for ia64-*-linux-gnu.
5686 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
5687             Joseph Myers  <joseph@codesourcery.com>
5689         * Makeconfig (test-name): New variable.
5690         (evaluate-test): Likewise.
5691         * Makerules (do-test-clean): Remove .test-result files.
5692         (common-mostlyclean): Likewise.
5693         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5694         * scripts/evaluate-test.sh: New file.
5696 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
5698         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5699         separate $(objpfx)tst-fopenloc-cmp.out and
5700         $(objpfx)tst-fopenloc-mem.out targets.
5701         (tests): Update dependencies.
5702         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5703         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5704         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5705         (tst-rxspencer-no-utf8-ARGS): New variable.
5706         (tst-rxspencer-no-utf8-ENV): Likewise.
5707         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5708         instead of $(objpfx)tst-rxspencer-mem.
5709         ($(objpfx)tst-rxspencer-mem): Change target to
5710         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
5711         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5712         * posix/tst-rxspencer-no-utf8.c: New file.
5714         * elf/Makefile ($(objpfx)order.out): Remove rule.
5715         [$(run-built-tests) = yes] (tests): Depend on
5716         $(objpfx)order-cmp.out.
5717         ($(objpfx)order-cmp.out): New rule.
5718         [$(run-built-tests) = yes] (tests): Depend on
5719         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5720         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5721         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5722         $(objpfx)tst-array5-static-cmp.out.
5723         ($(objpfx)tst-array1.out): Remove rule.
5724         ($(objpfx)tst-array1-cmp.out): New rule.
5725         ($(objpfx)tst-array1-static.out): Remove rule.
5726         ($(objpfx)tst-array1-static-cmp.out): New rule.
5727         ($(objpfx)tst-array2.out): Remove rule.
5728         ($(objpfx)tst-array2-cmp.out): New rule.
5729         ($(objpfx)tst-array3.out): Remove rule.
5730         ($(objpfx)tst-array3-cmp.out): New rule.
5731         ($(objpfx)tst-array4.out): Remove rule.
5732         ($(objpfx)tst-array4-cmp.out): New rule.
5733         ($(objpfx)tst-array5.out): Remove rule.
5734         ($(objpfx)tst-array5-cmp.out): New rule.
5735         ($(objpfx)tst-array5-static.out): Remove rule.
5736         ($(objpfx)tst-array5-static-cmp.out): New rule.
5737         [$(run-built-tests) = yes] (tests): Depend on
5738         $(objpfx)order2-cmp.out.
5739         ($(objpfx)order2.out): Remove rule.
5740         ($(objpfx)order2-cmp.out): New rule.
5741         ($(objpfx)tst-initorder.out): Remove rule.
5742         [$(run-built-tests) = yes] (tests): Depend on
5743         $(objpfx)tst-initorder-cmp.out.
5744         ($(objpfx)tst-initorder-cmp.out): New rule.
5745         ($(objpfx)tst-initorder2.out): Remove rule.
5746         [$(run-built-tests) = yes] (tests): Depend on
5747         $(objpfx)tst-initorder2-cmp.out.
5748         ($(objpfx)tst-initorder2-cmp.out): New rule.
5749         [$(run-built-tests) = yes] (tests): Depend on
5750         $(objpfx)tst-unused-dep-cmp.out.
5751         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5752         ($(objpfx)tst-unused-dep-cmp.out): New rule.
5753         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5754         on $(objpfx)tst-setvbuf1-cmp.out.
5755         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5756         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5757         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5758         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5759         ($(objpfx)tst-svc.out): Remove rule.
5760         ($(objpfx)tst-svc-cmp.out): New rule.
5762 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
5764         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5765         * ctype/ctype.h [__USE_MISC]: Likewise.
5766         * dirent/dirent.h [__USE_MISC]: Likewise.
5767         * grp/grp.h [__USE_MISC]: Likewise.
5768         * io/fcntl.h [__USE_MISC]: Likewise.
5769         * io/sys/stat.h [__USE_MISC]: Likewise.
5770         * libio/stdio.h [__USE_MISC]: Likewise.
5771         * posix/unistd.h [__USE_MISC]: Likewise.
5772         * pwd/pwd.h [__USE_MISC]: Likewise.
5773         * stdlib.h [__USE_MISC]: Likewise.
5774         * string/bits/string2.h [__USE_MISC]: Likewise.
5775         * string/string.h [__USE_MISC]: Likewise.
5776         * time/time.h [__USE_MISC]: Likewise.
5778 2014-02-13  Andreas Schwab  <schwab@suse.de>
5780         [BZ #16574]
5781         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5782         second answer buffer if it was separately allocated.
5784 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
5786         * sysdeps/mips/math-tests.h: Include <features.h>.
5787         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5788         (ROUNDING_TESTS_long_double): Do not define.
5789         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5790         (EXCEPTION_TESTS_long_double): Likewise.
5791         * sysdeps/mips/mips64/libm-test-ulps: Update.
5793         * include/features.h (__USE_BSD): Remove macro definitions.
5794         (__USE_SVID): Likewise.
5795         (_BSD_SOURCE): Likewise.
5796         (_SVID_SOURCE): Likewise.
5797         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5798         from definition of _DEFAULT_SOURCE.
5799         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5800         [_DEFAULT_SOURCE].
5801         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5802         * bits/mman.h [__USE_BSD]: Likewise.
5803         * bits/termios.h [__USE_BSD]: Likewise.
5804         * bits/waitstatus.h [__USE_BSD]: Likewise.
5805         * ctype/ctype.h [__USE_SVID]: Likewise.
5806         * dirent/dirent.h [__USE_BSD]: Likewise.
5807         * grp/grp.h [__USE_SVID]: Likewise.
5808         [__USE_BSD]: Likewise.
5809         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5810         * io/fcntl.h [__USE_BSD]: Likewise.
5811         * io/ftw.h [__USE_BSD]: Likewise.
5812         * io/sys/stat.h [__USE_BSD]: Likewise.
5813         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5814         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5815         * libio/stdio.h [__USE_SVID]: Likewise.
5816         [__USE_BSD]: Likewise.
5817         * math/math.h [__USE_SVID]: Likewise.
5818         [__USE_BSD]: Likewise.
5819         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5820         * misc/bits/syslog.h [__USE_BSD]: Likewise.
5821         * misc/search.h [__USE_SVID]: Likewise.
5822         * misc/sys/mman.h [__USE_BSD]: Likewise.
5823         * misc/sys/syslog.h [__USE_BSD]: Likewise.
5824         * misc/sys/uio.h [__USE_BSD]: Likewise.
5825         * posix/bits/unistd.h [__USE_BSD]: Likewise.
5826         * posix/glob.h [__USE_BSD]: Likewise.
5827         * posix/regex.h [__USE_BSD]: Likewise.
5828         * posix/sys/types.h [__USE_BSD]: Likewise.
5829         [__USE_SVID]: Likewise.
5830         * posix/sys/utsname.h [__USE_SVID]: Likewise.
5831         * posix/sys/wait.h [__USE_BSD]: Likewise.
5832         [__USE_SVID]: Likewise.
5833         * posix/unistd.h [__USE_BSD]: Likewise.
5834         [__USE_SVID]: Likewise.
5835         * pwd/pwd.h [__USE_SVID]: Likewise.
5836         * resolv/netdb.h [__USE_BSD]: Likewise.
5837         * setjmp/setjmp.h [__USE_BSD]: Likewise.
5838         * signal/signal.h [__USE_BSD]: Likewise.
5839         [__USE_SVID]: Likewise.
5840         * socket/sys/socket.h [__USE_BSD]: Likewise.
5841         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5842         * stdlib/stdlib.h [__USE_BSD]: Likewise.
5843         [__USE_SVID]: Likewise.
5844         * string/bits/string2.h [__USE_BSD]: Likewise.
5845         [__USE_SVID]: Likewise.
5846         * string/bits/string3.h [__USE_BSD]: Likewise.
5847         * string/endian.h [__USE_BSD]: Likewise.
5848         * string/string.h [__USE_SVID]: Likewise.
5849         [__USE_BSD]: Likewise.
5850         * string/strings.h [__USE_BSD]: Likewise.
5851         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5852         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5853         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5854         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5855         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5856         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5857         Likewise.
5858         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5859         Likewise.
5860         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5861         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5862         Likewise.
5863         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5864         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5865         Likewise.
5866         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5867         Likewise.
5868         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5869         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5870         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5871         Likewise.
5872         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5873         Likewise.
5874         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5875         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5876         * termios/termios.h [__USE_BSD]: Likewise.
5877         * time/sys/time.h [__USE_BSD]: Likewise.
5878         * time/time.h [__USE_BSD]: Likewise.
5879         [__USE_SVID]: Likewise.
5881         * Makefile (subdir_targets): Remove subdir_lint.out.
5883         * stdio-common/Makefile (do-tst-unbputc): Remove target.
5884         (do-tst-printf): Likewise.
5885         (tests): Depend directly on $(objpfx)tst-unbputc.out and
5886         $(objpfx)tst-printf.out.
5888         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5890         * Makerules (check-abi-%): Change target to
5891         $(objpfx)check-abi-%.out.
5892         (check-abi target): Update dependencies.
5893         (check-abi-pattern variable): Redirect output of diff to $@.
5894         (check-abi variable): Likewise.
5895         * elf/Makefile (check-abi): Update dependencies.
5897         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5898         unused.
5899         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5900         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5901         subnormal range.
5902         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5903         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5904         value has largest subnormal exponent.
5905         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5906         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5907         * sysdeps/aarch64/soft-fp/sfp-machine.h
5908         (_FP_TININESS_AFTER_ROUNDING): New macro.
5909         * sysdeps/alpha/soft-fp/sfp-machine.h
5910         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5911         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5912         Likewise.
5913         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5914         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5915         * sysdeps/mips/soft-fp/sfp-machine.h
5916         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5917         * sysdeps/powerpc/soft-fp/sfp-machine.h
5918         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5919         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5920         Likewise.
5921         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5922         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5923         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5924         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5925         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5926         Likewise.
5928 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
5930         [BZ #16545]
5931         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5932         model 1.
5934 2014-02-12  Richard Henderson  <rth@redhat.com>
5936         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5937         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5938         * sysdeps/unix/sysv/linux/alpha: Move directory from
5939         ports/sysdeps/unix/sysv/linux/alpha.
5940         * README: Update listing for alpha-*-linux-gnu.
5942 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
5944         * include/features.h: Update comment documenting feature test
5945         macros.
5946         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
5947         _DEFAULT_SOURCE.
5948         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5949         (_SVID_SOURCE): Likewise.
5950         (_DEFAULT_SOURCE): Update description of default features.
5951         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5952         with _GNU_SOURCE.
5953         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5954         (S_ISVTX): Likewise.
5955         * manual/math.texi (Mathematical Constants): Likewise.
5956         * manual/signal.texi (Interrupted Primitives): Likewise.
5957         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5958         * math/test-matherr.c (_SVID_SOURCE): Do not define.
5959         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5960         Don't refer to _SVID_SOURCE in warning text.
5962         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5964         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5965         already defined.
5966         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5967         * sysdeps/mips/dl-lookup.c: Remove.
5968         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5970 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5972         [BZ #16447]
5973         * math/auto-libm-test-in: Add testcase for expl.
5974         * math/auto-libm-test-out: Regenerate.
5975         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5976         calculation of unsafe.
5977         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5979 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5981         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5982         * sysdeps/unix/sysv/linux/aarch64: Move directory from
5983         ports/sysdeps/unix/sysv/linux/aarch64.
5984         * README: Update listing for aarch64*-*-linux-gnu.
5986 2014-02-11  Will Newton  <will.newton@linaro.org>
5988         * manual/probes.texi (Mathematical Function Probes): Use
5989         "triggered" instead of "hit".
5991         * manual/probes.texi (Internal Probes): Add documentation
5992         of setjmp, longjmp and longjmp_target probes.
5994         * include/stap-probe.h: Add comment about probe argument
5995         format.
5997         * malloc/mtrace.c (attribute_hidden): Remove unused macro
5998         definition.  (tr_where, tr_freehook, tr_mallochook,
5999         tr_reallochook, tr_memalignhook): Use ANSI protoype.
6001 2014-02-11  David S. Miller  <davem@davemloft.net>
6003         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6004         processing int_tests.
6006 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
6008         * sysdeps/mips: Move directory from ports/sysdeps/mips.
6009         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6010         * sysdeps/unix/sysv/linux/mips: Move directory from
6011         ports/sysdeps/unix/sysv/linux/mips.
6012         * README: Update listing for mips-*-linux-gnu and
6013         mips64-*-linux-gnu.
6015 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
6017         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6018         * sysdeps/unix/sysv/linux/m68k: Move directory from
6019         ports/sysdeps/unix/sysv/linux/m68k.
6020         * README: Update listing for m68k-*-linux-gnu.
6022 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
6024         * sysdeps/tile: Move directory from ports/sysdeps/tile.
6025         * sysdeps/unix/sysv/linux/generic: Move directory from
6026         ports/sysdeps/unix/sysv/linux/generic.
6027         * sysdeps/unix/sysv/linux/tile: Move directory from
6028         ports/sysdeps/unix/sysv/linux/tile.
6029         * README: Update listing for tile*-*-linux-gnu.
6031 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
6033         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6034         __builtin_expect.
6035         * benchtests/bench-memmem.c (simple_memmem): Likewise.
6036         * catgets/open_catalog.c (__open_catalog): Likewise.
6037         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6038         * debug/confstr_chk.c: Likewise.
6039         * debug/fread_chk.c (__fread_chk): Likewise.
6040         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6041         * debug/getgroups_chk.c: Likewise.
6042         * debug/mbsnrtowcs_chk.c: Likewise.
6043         * debug/mbsrtowcs_chk.c: Likewise.
6044         * debug/mbstowcs_chk.c: Likewise.
6045         * debug/memcpy_chk.c: Likewise.
6046         * debug/memmove_chk.c: Likewise.
6047         * debug/mempcpy_chk.c: Likewise.
6048         * debug/memset_chk.c: Likewise.
6049         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6050         * debug/strcat_chk.c (__strcat_chk): Likewise.
6051         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6052         * debug/strncat_chk.c (__strncat_chk): Likewise.
6053         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6054         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6055         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6056         * debug/wcpncpy_chk.c: Likewise.
6057         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6058         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6059         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6060         * debug/wcsncpy_chk.c: Likewise.
6061         * debug/wcsnrtombs_chk.c: Likewise.
6062         * debug/wcsrtombs_chk.c: Likewise.
6063         * debug/wcstombs_chk.c: Likewise.
6064         * debug/wmemcpy_chk.c: Likewise.
6065         * debug/wmemmove_chk.c: Likewise.
6066         * debug/wmempcpy_chk.c: Likewise.
6067         * debug/wmemset_chk.c: Likewise.
6068         * dirent/scandirat.c (SCANDIRAT): Likewise.
6069         * dlfcn/dladdr1.c (dladdr1): Likewise.
6070         * dlfcn/dladdr.c (dladdr): Likewise.
6071         * dlfcn/dlclose.c (dlclose_doit): Likewise.
6072         * dlfcn/dlerror.c (__dlerror): Likewise.
6073         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6074         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6075         * dlfcn/dlopen.c (dlopen_doit): Likewise.
6076         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6077         * dlfcn/dlsym.c (dlsym_doit): Likewise.
6078         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6079         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6080         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6081         Likewise.
6082         * elf/dl-conflict.c: Likewise.
6083         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6084         * elf/dl-dst.h: Likewise.
6085         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6086         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6087         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6088         * elf/dl-init.c (call_init, _dl_init): Likewise.
6089         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
6090         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6091         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6092         Likewise.
6093         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6094         Likewise.
6095         * elf/dl-minimal.c (__libc_memalign): Likewise.
6096         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6097         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6098         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6099         * elf/dl-sym.c (do_sym): Likewise.
6100         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6101         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
6102         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6103         * elf/dl-writev.h (_dl_writev): Likewise.
6104         * elf/ldconfig.c (search_dir): Likewise.
6105         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6106         (dl_main): Likewise.
6107         * elf/setup-vdso.h (setup_vdso): Likewise.
6108         * grp/compat-initgroups.c (compat_call): Likewise.
6109         * grp/fgetgrent.c (fgetgrent): Likewise.
6110         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6111         * grp/putgrent.c (putgrent): Likewise.
6112         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6113         Likewise.
6114         * hurd/hurdinit.c: Likewise.
6115         * iconvdata/8bit-gap.c (struct): Likewise.
6116         * iconvdata/ansi_x3.110.c : Likewise.
6117         * iconvdata/big5.c : Likewise.
6118         * iconvdata/big5hkscs.c : Likewise.
6119         * iconvdata/cp1255.c: Likewise.
6120         * iconvdata/cp1258.c : Likewise.
6121         * iconvdata/cp932.c : Likewise.
6122         * iconvdata/euc-cn.c: Likewise.
6123         * iconvdata/euc-jisx0213.c : Likewise.
6124         * iconvdata/euc-jp.c: Likewise.
6125         * iconvdata/euc-jp-ms.c : Likewise.
6126         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6127         * iconvdata/gb18030.c : Likewise.
6128         * iconvdata/gbbig5.c (const): Likewise.
6129         * iconvdata/gbgbk.c: Likewise.
6130         * iconvdata/gbk.c : Likewise.
6131         * iconvdata/ibm1364.c : Likewise.
6132         * iconvdata/ibm930.c : Likewise.
6133         * iconvdata/ibm932.c: Likewise.
6134         * iconvdata/ibm933.c : Likewise.
6135         * iconvdata/ibm935.c : Likewise.
6136         * iconvdata/ibm937.c : Likewise.
6137         * iconvdata/ibm939.c : Likewise.
6138         * iconvdata/ibm943.c: Likewise.
6139         * iconvdata/iso_11548-1.c: Likewise.
6140         * iconvdata/iso-2022-cn.c : Likewise.
6141         * iconvdata/iso-2022-cn-ext.c : Likewise.
6142         * iconvdata/iso-2022-jp-3.c: Likewise.
6143         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6144         * iconvdata/iso-2022-kr.c : Likewise.
6145         * iconvdata/iso646.c (gconv_end): Likewise.
6146         * iconvdata/iso_6937-2.c : Likewise.
6147         * iconvdata/iso_6937.c : Likewise.
6148         * iconvdata/iso8859-1.c: Likewise.
6149         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6150         * iconvdata/shift_jisx0213.c : Likewise.
6151         * iconvdata/sjis.c : Likewise.
6152         * iconvdata/t.61.c : Likewise.
6153         * iconvdata/tcvn5712-1.c : Likewise.
6154         * iconvdata/tscii.c: Likewise.
6155         * iconvdata/uhc.c : Likewise.
6156         * iconvdata/unicode.c (gconv_end): Likewise.
6157         * iconvdata/utf-16.c (gconv_end): Likewise.
6158         * iconvdata/utf-32.c (gconv_end): Likewise.
6159         * iconvdata/utf-7.c (base64): Likewise.
6160         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6161         * iconv/gconv_close.c (__gconv_close): Likewise.
6162         * iconv/gconv_open.c (__gconv_open): Likewise.
6163         * iconv/gconv_simple.c (internal_ucs4_loop_single)
6164         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6165         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6166         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6167         (ucs4le_internal_loop_single): Likewise.
6168         * iconv/iconv.c (iconv): Likewise.
6169         * iconv/iconv_close.c: Likewise.
6170         * iconv/loop.c (SINGLE): Likewise.
6171         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6172         * include/atomic.h: Likewise.
6173         * inet/inet6_option.c (option_alloc): Likewise.
6174         * intl/bindtextdom.c (set_binding_values): Likewise.
6175         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6176         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6177         * intl/localealias.c (read_alias_file): Likewise.
6178         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6179         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6180         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
6181         * libio/fmemopen.c (fmemopen): Likewise.
6182         * libio/iofgets.c (_IO_fgets): Likewise.
6183         * libio/iofgets_u.c (fgets_unlocked): Likewise.
6184         * libio/iofgetws.c (fgetws): Likewise.
6185         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6186         * libio/iogetdelim.c (_IO_getdelim): Likewise.
6187         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6188         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
6189         * locale/findlocale.c (_nl_find_locale): Likewise.
6190         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6191         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6192         Likewise.
6193         * locale/setlocale.c (setlocale): Likewise.
6194         * login/programs/pt_chown.c (main): Likewise.
6195         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6196         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
6197         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6198         (mmap, mmap64, mremap, munmap): Likewise.
6199         * math/e_exp2l.c: Likewise.
6200         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6201         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6202         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6203         * math/s_catan.c (__catan): Likewise.
6204         * math/s_catanf.c (__catanf): Likewise.
6205         * math/s_catanh.c (__catanh): Likewise.
6206         * math/s_catanhf.c (__catanhf): Likewise.
6207         * math/s_catanhl.c (__catanhl): Likewise.
6208         * math/s_catanl.c (__catanl): Likewise.
6209         * math/s_ccosh.c (__ccosh): Likewise.
6210         * math/s_ccoshf.c (__ccoshf): Likewise.
6211         * math/s_ccoshl.c (__ccoshl): Likewise.
6212         * math/s_cexp.c (__cexp): Likewise.
6213         * math/s_cexpf.c (__cexpf): Likewise.
6214         * math/s_cexpl.c (__cexpl): Likewise.
6215         * math/s_clog10.c (__clog10): Likewise.
6216         * math/s_clog10f.c (__clog10f): Likewise.
6217         * math/s_clog10l.c (__clog10l): Likewise.
6218         * math/s_clog.c (__clog): Likewise.
6219         * math/s_clogf.c (__clogf): Likewise.
6220         * math/s_clogl.c (__clogl): Likewise.
6221         * math/s_csin.c (__csin): Likewise.
6222         * math/s_csinf.c (__csinf): Likewise.
6223         * math/s_csinh.c (__csinh): Likewise.
6224         * math/s_csinhf.c (__csinhf): Likewise.
6225         * math/s_csinhl.c (__csinhl): Likewise.
6226         * math/s_csinl.c (__csinl): Likewise.
6227         * math/s_csqrt.c (__csqrt): Likewise.
6228         * math/s_csqrtf.c (__csqrtf): Likewise.
6229         * math/s_csqrtl.c (__csqrtl): Likewise.
6230         * math/s_ctan.c (__ctan): Likewise.
6231         * math/s_ctanf.c (__ctanf): Likewise.
6232         * math/s_ctanh.c (__ctanh): Likewise.
6233         * math/s_ctanhf.c (__ctanhf): Likewise.
6234         * math/s_ctanhl.c (__ctanhl): Likewise.
6235         * math/s_ctanl.c (__ctanl): Likewise.
6236         * math/w_pow.c: Likewise.
6237         * math/w_powf.c: Likewise.
6238         * math/w_powl.c: Likewise.
6239         * math/w_scalb.c (sysv_scalb): Likewise.
6240         * math/w_scalbf.c (sysv_scalbf): Likewise.
6241         * math/w_scalbl.c (sysv_scalbl): Likewise.
6242         * misc/error.c (error_tail): Likewise.
6243         * misc/pselect.c (__pselect): Likewise.
6244         * nis/nis_callback.c (__nis_create_callback): Likewise.
6245         * nis/nis_call.c (__nisfind_server): Likewise.
6246         * nis/nis_creategroup.c (nis_creategroup): Likewise.
6247         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6248         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6249         * nis/nis_getservlist.c (nis_getservlist): Likewise.
6250         * nis/nis_lookup.c (nis_lookup): Likewise.
6251         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
6252         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6253         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
6254         * nis/nis_xdr.c (xdr_endpoint): Likewise.
6255         * nis/nss_compat/compat-grp.c (getgrent_next_file)
6256         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6257         * nis/nss_compat/compat-initgroups.c (add_group)
6258         (internal_getgrent_r): Likewise.
6259         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6260         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6261         * nis/nss_compat/compat-spwd.c (getspent_next_file)
6262         (internal_getspnam_r): Likewise.
6263         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6264         (_nss_nis_getaliasbyname_r): Likewise.
6265         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6266         (_nss_nis_getntohost_r): Likewise.
6267         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6268         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6269         (_nss_nis_getgrgid_r): Likewise.
6270         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6271         (internal_nis_gethostent_r, internal_gethostbyname2_r)
6272         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6273         (_nss_nis_gethostbyname4_r): Likewise.
6274         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6275         (initgroups_netid): Likewise.
6276         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6277         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6278         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6279         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6280         (_nss_nis_getprotobynumber_r): Likewise.
6281         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6282         (_nss_nis_getsecretkey): Likewise.
6283         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6284         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6285         (_nss_nis_getpwuid_r): Likewise.
6286         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6287         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6288         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6289         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6290         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6291         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
6292         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6293         Likewise.
6294         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6295         (_nss_nisplus_getntohost_r): Likewise.
6296         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6297         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6298         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6299         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
6300         Likewise.
6301         * nis/nss_nisplus/nisplus-initgroups.c
6302         (_nss_nisplus_initgroups_dyn): Likewise.
6303         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6304         (_nss_nisplus_getnetbyaddr_r): Likewise.
6305         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6306         (_nss_nisplus_getprotobynumber_r): Likewise.
6307         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6308         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
6309         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6310         Likewise.
6311         * nis/nss_nisplus/nisplus-service.c
6312         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6313         (_nss_nisplus_getservbyport_r): Likewise.
6314         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6315         (_nss_nisplus_getspnam_r): Likewise.
6316         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6317         Likewise.
6318         * nscd/aicache.c (addhstaiX): Likewise.
6319         * nscd/cache.c (cache_search, prune_cache): Likewise.
6320         * nscd/connections.c (register_traced_file, send_ro_fd)
6321         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6322         (main_loop_epoll): Likewise.
6323         * nscd/grpcache.c (addgrbyX): Likewise.
6324         * nscd/hstcache.c (addhstbyX): Likewise.
6325         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6326         * nscd/mem.c (gc, mempool_alloc): Likewise.
6327         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6328         (addinnetgrX): Likewise.
6329         * nscd/nscd-client.h (__nscd_acquire_maplock)
6330         (__nscd_drop_map_ref): Likewise.
6331         * nscd/nscd_getai.c (__nscd_getai): Likewise.
6332         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6333         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6334         Likewise.
6335         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6336         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6337         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6338         (__nscd_get_map_ref): Likewise.
6339         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6340         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6341         Likewise.
6342         * nscd/pwdcache.c (addpwbyX): Likewise.
6343         * nscd/selinux.c (preserve_capabilities): Likewise.
6344         * nscd/servicescache.c (addservbyX): Likewise.
6345         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6346         * posix/fnmatch.c (fnmatch): Likewise.
6347         * posix/getopt.c (_getopt_internal_r): Likewise.
6348         * posix/glob.c (glob, glob_in_dir): Likewise.
6349         * posix/wordexp.c (exec_comm_child): Likewise.
6350         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6351         (getanswer_r, gaih_getanswer_slice): Likewise.
6352         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6353         * resolv/res_init.c: Likewise.
6354         * resolv/res_mkquery.c (res_nmkquery): Likewise.
6355         * resolv/res_query.c (__libc_res_nquery): Likewise.
6356         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6357         Likewise.
6358         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6359         * stdio-common/perror.c (perror): Likewise.
6360         * stdio-common/printf_fp.c (___printf_fp): Likewise.
6361         * stdio-common/tmpnam.c (tmpnam): Likewise.
6362         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6363         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
6364         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6365         Likewise.
6366         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6367         * stdlib/putenv.c (putenv): Likewise.
6368         * stdlib/setenv.c (__add_to_environ): Likewise.
6369         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6370         * stdlib/strtol_l.c (INTERNAL): Likewise.
6371         * string/memmem.c (memmem): Likewise.
6372         * string/strerror.c (strerror): Likewise.
6373         * string/strnlen.c (__strnlen): Likewise.
6374         * string/test-memmem.c (simple_memmem): Likewise.
6375         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6376         * sunrpc/pm_getport.c (__get_socket): Likewise.
6377         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6378         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6379         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6380         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
6381         Likewise.
6382         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6383         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6384         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6385         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6386         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
6387         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6388         Likewise.
6389         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6390         Likewise.
6391         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6392         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6393         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6394         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6395         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6396         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6397         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6398         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6399         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6400         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6401         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6402         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6403         Likewise.
6404         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6405         Likewise.
6406         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6407         Likewise.
6408         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6409         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6410         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6411         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6412         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6413         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6414         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6415         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6416         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6417         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6418         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6419         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6420         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6421         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6422         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6423         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6424         Likewise.
6425         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6426         Likewise.
6427         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6428         Likewise.
6429         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6430         Likewise.
6431         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6432         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6433         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6434         Likewise.
6435         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6436         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6437         * sysdeps/posix/opendir.c (__opendirat): Likewise.
6438         * sysdeps/posix/sleep.c: Likewise.
6439         * sysdeps/posix/tempname.c: Likewise.
6440         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6441         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6442         Likewise.
6443         * sysdeps/powerpc/powerpc32/dl-machine.h
6444         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
6445         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6446         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6447         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6448         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6449         Likewise.
6450         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
6451         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6452         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6453         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6454         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6455         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6456         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6457         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6458         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6459         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
6460         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6461         (elf_machine_lazy_rel): Likewise.
6462         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6463         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6464         (elf_machine_lazy_rel): Likewise.
6465         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6466         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6467         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6468         * sysdeps/unix/grantpt.c (grantpt): Likewise.
6469         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6470         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6471         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6472         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6473         Likewise.
6474         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6475         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6476         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6477         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6478         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6479         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6480         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6481         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6482         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6483         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6484         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6485         Likewise.
6486         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6487         (__posix_fallocate64_l64): Likewise.
6488         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6489         (posix_fallocate): Likewise.
6490         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6491         Likewise.
6492         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6493         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6494         (getifaddrs_internal): Likewise.
6495         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6496         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6497         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6498         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6499         * sysdeps/unix/sysv/linux/posix_fallocate64.c
6500         (__posix_fallocate64_l64): Likewise.
6501         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6502         Likewise.
6503         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
6504         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6505         (__get_clockfreq): Likewise.
6506         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6507         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6508         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6509         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6510         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6511         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6512         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6513         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6514         Likewise.
6515         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6516         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6517         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6518         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6519         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6520         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6521         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6522         Likewise.
6523         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6524         (posix_fallocate): Likewise.
6525         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6526         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6527         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
6528         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6529         (elf_machine_rela, elf_machine_rela_relative)
6530         (elf_machine_lazy_rel): Likewise.
6531         * time/asctime.c (asctime_internal): Likewise.
6532         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6533         * time/tzset.c (__tzset_parse_tz): Likewise.
6534         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6535         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6536         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6537         * wcsmbs/wcsmbsload.h: Likewise.
6539         [BZ #15894]
6540         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6542         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6543         (arena_get2): Remove THREAD_STATS conditionals.
6544         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6545         (__malloc_stats, int): Likewise.
6547 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
6549         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6550         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
6552         * manual/setjmp.texi: Fix typos/grammar errors.
6554         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6555         Only return early when n is <= 0.  Delete unused return statement.
6557         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6558         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6559         * debug/tst-longjmp_chk3.c: New file.
6561         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6562         (test_main): Replace code with set_fortify_handler call.
6563         * debug/test-strcpy_chk.c: Likewise.
6564         * debug/tst-chk1.c: Likewise.
6565         * debug/tst-longjmp_chk.c: Likewise.
6566         * test-skeleton.c: Include fcntl.h & paths.h
6567         (set_fortify_handler): Define.
6569         * debug/tst-longjmp_chk.c: Add header comment and include
6570         ../test-skeleton.c.
6571         (do_test): Mark static.
6572         (TEST_FUNCTION): Define.
6574         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6575         (IP_PMTUDISC_INTERFACE): Likewise.
6576         (IP_MULTICAST_IF): Likewise.
6577         (IP_MULTICAST_TTL): Likewise.
6578         (IP_MULTICAST_LOOP): Likewise.
6579         (IP_ADD_MEMBERSHIP): Likewise.
6580         (IP_DROP_MEMBERSHIP): Likewise.
6581         (IP_UNBLOCK_SOURCE): Likewise.
6582         (IP_BLOCK_SOURCE): Likewise.
6583         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6584         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6585         (IP_MSFILTER): Likewise.
6586         (MCAST_JOIN_GROUP): Likewise.
6587         (MCAST_BLOCK_SOURCE): Likewise.
6588         (MCAST_UNBLOCK_SOURCE): Likewise.
6589         (MCAST_LEAVE_GROUP): Likewise.
6590         (MCAST_JOIN_SOURCE_GROUP): Likewise.
6591         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6592         (MCAST_MSFILTER): Likewise.
6593         (IP_MULTICAST_ALL): Likewise.
6594         (IP_UNICAST_IF): Likewise.
6596         * timezone/Makefile: Delete $(have-ksh) check.
6597         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6598         * timezone/tzselect.ksh: Add +x mode bits.
6600         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6601         (ANON_INODE_FS_MAGIC): Likewise.
6602         (BDEVFS_MAGIC): Likewise.
6603         (BINFMTFS_MAGIC): Likewise.
6604         (BTRFS_TEST_MAGIC): Likewise.
6605         (CRAMFS_MAGIC_WEND): Likewise.
6606         (DEBUGFS_MAGIC): Likewise.
6607         (ECRYPTFS_SUPER_MAGIC): Likewise.
6608         (EXT3_SUPER_MAGIC): Likewise.
6609         (EXT4_SUPER_MAGIC): Likewise.
6610         (FUTEXFS_SUPER_MAGIC): Likewise.
6611         (HOSTFS_SUPER_MAGIC): Likewise.
6612         (HUGETLBFS_MAGIC): Likewise.
6613         (MINIX3_SUPER_MAGIC): Likewise.
6614         (MTD_INODE_FS_MAGIC): Likewise.
6615         (NILFS_SUPER_MAGIC): Likewise.
6616         (OPENPROM_SUPER_MAGIC): Likewise.
6617         (PIPEFS_MAGIC): Likewise.
6618         (PSTOREFS_MAGIC): Likewise.
6619         (QNX6_SUPER_MAGIC): Likewise.
6620         (RAMFS_MAGIC): Likewise.
6621         (REISERFS_SUPER_MAGIC_STRING): Likewise.
6622         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6623         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6624         (SECURITYFS_MAGIC): Likewise.
6625         (SELINUX_MAGIC): Likewise.
6626         (SMACK_MAGIC): Likewise.
6627         (SOCKFS_MAGIC): Likewise.
6628         (SQUASHFS_MAGIC): Likewise.
6629         (STACK_END_MAGIC): Likewise.
6630         (TMPFS_MAGIC): Likewise.
6631         (USBDEVICE_SUPER_MAGIC): Likewise.
6632         (V9FS_MAGIC): Likewise.
6633         (XENFS_SUPER_MAGIC): Likewise.
6634         (CRAMFS_MAGIC): Fix typo in comment.
6635         (EXT2_SUPER_MAGIC): Update comment.
6636         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6638 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
6640         * sysdeps/arm: Move directory from ports/sysdeps/arm.
6641         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6642         * sysdeps/unix/sysv/linux/arm: Move directory from
6643         ports/sysdeps/unix/sysv/linux/arm.
6644         * README: Update listing for arm-*-linux-gnueabi.
6646         * README: Remove mention of am33.
6648 2014-02-07  Roland McGrath  <roland@hack.frob.com>
6650         * bits/sigset.h (__sigemptyset): Use a statement expression rather
6651         than the comma operator, to avoid "rhs of comma has no effect"
6652         compiler warnings.
6653         (__sigfillset, __sigandset, __sigorset): Likewise.
6654         * include/signal.h (__sigemptyset): Likewise.
6655         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6657 2014-02-07  Allan McRae  <allan@archlinux.org>
6659         * version.h (RELEASE): Set to "development".
6660         (VERSION): Set to "2.19.90"
6661         * NEWS: Add 2.20 section.
6663 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
6665         [BZ #16529]
6666         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6668 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
6670         * manual/contrib.texi: Update entry for Carlos O'Donell,
6671         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6673 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
6675         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6677         * sysdeps/unix/sysv/linux/kernel-features.h
6678         [__LINUX_KERNEL_VERSION >= 0x020621]
6679         (__ASSUME_PROC_PID_TASK_COMM): Define.
6681 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6683         [BZ #16398]
6684         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6685         conversion when destination buffer does not have enough space.
6686         * libio/tst-ftell-partial-wide.c: New test case.
6687         * libio/Makefile (tests): Add tst-ftell-partial-wide.
6689         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6690         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
6691         Leonard and Allan McRae.
6693 2014-02-04  David S. Miller  <davem@davemloft.net>
6695         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6696         32-bit.
6698 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6701         New file
6702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6703         New file
6704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6705         New file.
6706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6707         New file.
6708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6709         New file.
6710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6711         New file.
6712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6713         New file.
6714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6715         New file.
6716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6717         New file.
6718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6719         New file.
6720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6721         New file.
6722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6723         New file.
6724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6725         New file.
6727 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6729         * nptl/shlib-versions: Change powerpc*le start to 2.17.
6730         * shlib-versions: Likewise.
6732 2014-02-04  Roland McGrath  <roland@hack.frob.com>
6733             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6735         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6736         (abilist-pattern): New variable, set to %-le.abilist.
6738         * Makerules (abilist-pattern): New variable.
6739         (vpath): Use $(abilist-pattern) in place of %.abilist.
6740         (check-abi-% pattern rule): Likewise.
6741         (check-abi, update-abi): Likewise.
6743 2014-02-04  Eric Wong  <normalperson@yhbt.net>
6745         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6747 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
6749         * manual/startup.texi: Add next, previous, and top entries for
6750         the `Program Arguments' and `Environment Variables' nodes.
6752 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
6754         * manual/macros.texi: Add comments before MTASC-safety macros.
6756         * manual/users.texi: Document MTASC-safety properties.
6758         * manual/threads.texi (pthread_key_create, pthread_key_delete)
6759         (pthread_getspecific, pthread_setspecific): Format with
6760         @deftypefun, and add @safety note.
6761         * manual/signal.texi: Move comments that analyze the above
6762         functions to their home place.
6764 2014-02-03  Allan McRae  <allan@archlinux.org>
6766         * po/sl.po: Update Slovenian translation from translation project.
6768 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
6770         * manual/time.texi (timegm): Add missing blank after @c.
6771         Reported by Joseph Myers <joseph@codesourcery.com>.
6773 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
6775         * manual/check-safety.sh: New.
6776         * manual/Makefile ($(objpfx)stamp-summary): Run it.
6778         * manual/terminal.texi: Document MTASC-safety properties.
6780         * manual/filesys.texi: Document MTASC-safety properties.
6782         * manual/errno.texi: Document MTASC-safety properties.
6784         * manual/intro.texi: Document safety identifiers and
6785         conditionals.
6787         * manual/string.texi (wcstok): Fix prototype.
6788         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6790         * manual/time.texi: Document MTASC-safety properties.
6792         * manual/string.texi: Document MTASC-safety properties.
6794         * manual/threads.texi: Document MTASC-safety properties.
6796         * manual/stdio.texi: Document MTASC-safety properties.
6798         * manual/syslog.texi: Document MTASC-safety properties.
6800         * manual/sysinfo.texi: Document MTASC-safety properties.
6802         * manual/startup.texi: Document MTASC-safety properties.
6804         * manual/socket.texi: Document MTASC-safety properties.
6806         * manual/signal.texi: Document MTASC-safety properties.
6808 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
6810         * manual/setjmp.texi: Document MTASC-safety properties.
6812         * manual/search.texi: Document MTASC-safety properties.
6814         * manual/resource.texi: Document MTASC-safety properties.
6816         * manual/process.texi: Document MTASC-safety properties.
6818         * manual/platform.texi: Document MTASC-safety properties.
6820         * manual/pipe.texi: Document MTASC-safety properties.
6822         * manual/pattern.texi: Document MTASC-safety properties.
6824         * manual/message.texi: Document MTASC-safety properties.
6826         [BZ #12751]
6827         * manual/memory.texi: Document MTASC-safety properties.
6829         * manual/math.texi: Document MTASC-safety properties.
6831         * manual/locale.texi: Document MTASC-safety properties.
6833         * manual/llio.texi: Document MTASC-safety properties.
6835         * manual/libdl.texi: New.
6837         * manual/lang.texi: Document MTASC-safety properties.
6839         * manual/job.texi: Document MTASC-safety properties.
6841         * manual/getopt.texi: Document MTASC-safety properties.
6843         * manual/ctype.texi: Document MTASC-safety properties.
6845 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
6847         [BZ #16046]
6848         * csu/libc-tls.c (static_map): Remove variable.
6849         (__libc_setup_tls): Use main executable's link map for TLS data.
6850         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6851         casing for LM_ID_BASE and GL(dl_nns).
6852         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6853         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
6854         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6855         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6856         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6857         member.
6858         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6859         l_phnum members.
6861 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
6863         * manual/debug.texi: Document MTASC-safety properties.
6865 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
6867         [BZ #16510]
6868         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6869         of __x86_64__ when disabling x87 inline functions.
6871 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
6873         * manual/charset.texi: Document MTASC-safety properties.
6875         * manual/crypt.texi: Document MTASC-safety properties.
6877         * manual/conf.texi: Document MTASC-safety properties.
6879         * manual/arith.texi: Document MTASC-safety properties.
6881         * manual/argp.texi: Document MTASC-safety properties.
6883         * manual/macros.texi: Introduce macros to document multi
6884         thread, asynchronous signal and asynchronous cancellation
6885         safety properties.
6886         * manual/intro.texi: Introduce the properties themselves.
6888 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6890         * sysdeps/sh/sh4/Makefile: New file.
6892 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
6894         * math/gen-libm-test.pl ($srcdir): New variable.
6895         ($auto_input): Use it.
6897 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6899         [BZ #16506]
6900         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6901         access beyond array bounds when parsing netgroups file.
6903         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6904         the old buffer before realloc.
6906 2014-01-27  Allan McRae  <allan@archlinux.org>
6908         * po/fr.po: Update French translation from translation project.
6910 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6912         * sysdeps/sh/libm-test-ulps: Regenerate.
6914 2014-01-24  David S. Miller  <davem@davemloft.net>
6916         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6918 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6920         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6921         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6923 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6925         [BZ #16474]
6926         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6927         string pointers after reallocation.
6929 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6931         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6932         __SH4A__ instead of __SH_FPU_ANY__.
6934 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6936         * sysdeps/sh/fpu_control.h: New file.
6937         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6938         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6939         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6940         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6941         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6942         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6943         * sysdeps/sh/sys/ucontext.h: Remove.
6944         * sysdeps/sh/sys: Remove directory.
6946 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6948         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6949         s390/sys/ucontext.h.
6950         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6951         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6953 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
6955         [BZ #15605]
6956         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6958 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6960         [BZ#16431]
6961         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6962         Adjust the vDSO correctly for internal calls.
6963         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6965 2014-01-20  Allan McRae  <allan@archlinux.org>
6967         * po/ca.po: Update Catalan translation from translation project.
6969 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
6971         * sysdeps/s390/sotruss-lib.c: New file.
6973 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6975         [BZ#16430]
6976         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6977         (__GI___gettimeofday): Alias for a different internal symbol to avoid
6978         local calls issues by not having a PLT stub required for IFUNC calls.
6979         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6981 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
6983         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6984         * math/test-fpucw-static.c: Likewise.
6986 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6988         [BZ #16453]
6989         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6991 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6993         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6994         implementation for powerpc.
6996 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
6998         [BZ #14782]
6999         * sysdeps/posix/system.c (__libc_system): Do not enable
7000         asynchronous cancellation.
7002 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7004         [BZ #16427]
7005         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7006         handling only for numbers special also in the IEEE case.
7008 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7010         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7012 2014-01-11  Allan McRae  <allan@archlinux.org>
7014         * po/bg.po: Update Bulgarian translation from translation project.
7016         * po/de.po: Update German translation from translation project.
7018 2014-01-10  Roland McGrath  <roland@hack.frob.com>
7020         * sysdeps/generic/gcc-compat.h: New file.
7022 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7024         * benchtests/asin-inputs: Correct slow inputs.
7025         * benchtests/acos-inputs: Likewise.
7027 2014-01-10  Allan McRae  <allan@archlinux.org>
7029         * po:sv.po: Update Swedish translation from translation project.
7031         * po/vi.po: Update Vietnamese translation from translation project.
7033         * po/eo.po: Update Esperanto translation from translation project.
7035         * po/cs.po: Update Czech translation from translation project.
7037         * po/nl.po: Update Dutch translation from translation project.
7039         * po/pl.po: Update Polish translation from translation project.
7041         * po/ru.po: Update Russian translation from translation project.
7043         * po/uk.po: Update Ukrainian translation from translation project.
7045 2014-01-08  Brooks Moses  <bmoses@google.com>
7047         * elf/dl-load.c: Fix comment typo.
7049 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
7051         * po/header.pot: Rename to...
7052         * po/pot.header: ... this.
7053         * po/Makefile: Use pot.header.
7055 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
7056             Maxim Kuvyrkov  <maxim@kugelworks.com>
7058         [BZ #16394]
7059         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7060         SRC and DEST against LEN.
7062 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7064         [BZ #16414]
7065         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7066         implementation.
7067         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7069 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7073 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
7075         [BZ #16408]
7076         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7077         for large positive arguments.
7079 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
7081         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7083         * math/auto-libm-test-in: Mark various tests with
7084         xfail-rounding:ldbl-128ibm.
7085         * math/auto-libm-test-out: Regenerated.
7087         [BZ #16407]
7088         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7089         Increase overflow threshold.
7091 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
7093         [BZ #14286]
7094         * stdio-common/vfprintf.c: Check for integer overflow.
7096 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7098         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7099         the first argument and return value of __tls_get_addr_internal.
7101 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7103         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7104         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7106 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7108         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7109         * sysdeps/s390/rtld-global-offsets.sym: New file.
7110         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7111         GLIBC_2.19 symbol.
7112         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7113         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7114         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7115         ... this.
7116         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7117         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7118         ... this.
7119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7120         Regenerate.
7121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7122         Regenerate.
7123         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7124         halfs of GPRs for high_gprs contexts.
7125         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7126         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
7127         field.
7128         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7129         uc_flags field.
7130         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7131         64 bit versions:
7132         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7133         for high GPRs (uc_high_gprs) and for future extensions
7134         (__reserved).
7135         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7136         for future extensions (__reserved).
7137         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7138         64 bit versions:
7139         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7140         SC_HIGHGPRS offset definition.
7141         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7142         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7144         * Versions.def: Add GLIBC_2.19 for libpthread.
7145         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7146         siglongjmp for libpthread with GLIBC_2.19 symver.
7147         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7148         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7149         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7150         * sysdeps/s390/__longjmp.c: New file.
7151         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7152         * sysdeps/s390/longjmp.c: New file.
7153         * sysdeps/s390/setjmp.S: New file.
7154         * sysdeps/s390/sigjmp.S: New file.
7155         * sysdeps/s390/v1-longjmp.c: New file.
7156         * sysdeps/s390/v1-setjmp.h: New file.
7157         * sysdeps/s390/v1-sigjmp.c: New file.
7158         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7159         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7160         GLIBC_2.19 version.
7161         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7162         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7163         versioned symbols for ____longjmp_chk.
7164         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7165         Likewise.
7166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7167         Regenerate.
7168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7169         Regenerate.
7170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7171         Regenerate.
7172         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7173         Regenerate.
7174         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7175         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7176         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7177         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7178         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7179         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7180         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7181         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7182         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7183         * sysdeps/s390/rtld-__longjmp.c: New file.
7184         * sysdeps/s390/rtld-setjmp.S: New file.
7186 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
7188         [BZ #16400]
7189         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7190         Return -__logl (x) for small positive arguments without evaluating
7191         a polynomial.
7193 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
7195         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7196         Rename to ...
7197         (__ptrace_peeksiginfo_args): ... this.
7198         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7199         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7200         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7202 2014-01-06  Allan McRae  <allan@archlinux.org>
7204         * inet/netinet/in.h: Fix typo in comment.
7206 2014-01-05  Andreas Jaeger  <aj@suse.de>
7208         * sysdeps/i386/fpu/libm-test-ulps: Update.
7210 2014-01-05  Allan McRae  <allan@archlinux.org>
7212         * po/libc.pot: Regenerated.
7214         * malloc/memusagestat.c: Fix gettext call formatting.
7216 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
7218         * nscd/nscd.c: Improve usage() output.
7220 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
7222         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7223         * sysdeps/unix/sysv/linux/configure: Regenerated.
7224         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7225         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7227 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
7229         [BZ #16390]
7230         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7231         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7233 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7235         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7236         extra tokens at end of #undef directive.
7237         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7238         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7239         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7241 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
7243         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7245         * math/auto-libm-test-in: Mark various tests with
7246         xfail-rounding:ldbl-128ibm.
7247         * math/auto-libm-test-out: Regenerated.
7249 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
7251         [BZ #16386]
7252         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7253         numbers with subnormal high part when calculating exponent.
7255         [BZ #16385]
7256         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7257         fabs.
7259         [BZ #16384]
7260         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7261         M_LN2l.
7262         (__ieee754_acoshl): Use __log1pl not __log1p.
7264 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
7266         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7267         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7268         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7269         (grow_heap, heap_trim, _int_new_arena, get_free_list)
7270         (reused_arena, arena_get2): Convert to GNU style.
7271         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7272         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7273         (memalign_check, __malloc_set_state): Likewise.
7274         * malloc/mallocbug.c (main): Likewise.
7275         * malloc/malloc.c (__malloc_assert, malloc_init_state)
7276         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7277         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7278         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7279         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7280         (__posix_memalign, malloc_info): Likewise.
7281         * malloc/malloc.h: Likewise.
7282         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7283         (mallochook, memalignhook, reallochook, mabort): Likewise.
7284         * malloc/mcheck.h: Likewise.
7285         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7286         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
7287         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7288         * malloc/morecore.c (__default_morecore): Likewise.
7289         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
7290         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7291         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7292         (print_and_abort): Likewise.
7293         * malloc/obstack.h: Likewise.
7294         * malloc/set-freeres.c (__libc_freeres): Likewise.
7295         * malloc/tst-mallocstate.c (main): Likewise.
7296         * malloc/tst-mtrace.c (main): Likewise.
7297         * malloc/tst-realloc.c (do_test): Likewise.
7299 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7301         [BZ #16366]
7302         * nscd/netgroupcache.c (do_notfound): New function.
7303         (addgetnetgrentX): Use it.
7305         [BZ # 16365]
7306         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7307         NSS_STATUS_NOTFOUND.
7309 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
7311         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7314 2014-01-01  Allan McRae  <allan@archlinux.org>
7316         * scripts/update-copyrights: Update configure input file suffix.
7318         * NEWS: Update copyright year.
7319         * catgets/gencat.c: Likewise.
7320         * csu/version.c: Likewise.
7321         * debug/catchsegv.sh: Likewise.
7322         * debug/pcprofiledump.c: Likewise.
7323         * debug/xtrace.sh: Likewise.
7324         * elf/ldconfig.c: Likewise.
7325         * elf/ldd.bash.in: Likewise.
7326         * elf/pldd.c: Likewise.
7327         * elf/sotruss.ksh: Likewise.
7328         * elf/sprof.c: Likewise.
7329         * iconv/iconv_prog.c: Likewise.
7330         * iconv/iconvconfig.c: Likewise.
7331         * locale/programs/locale.c: Likewise.
7332         * locale/programs/localedef.c: Likewise.
7333         * login/programs/pt_chown.c: Likewise.
7334         * malloc/memusage.sh: Likewise.
7335         * malloc/memusagestat.c: Likewise.
7336         * malloc/mtrace.pl: Likewise.
7337         * manual/libc.texinfo: Likewise.
7338         * nscd/nscd.c: Likewise.
7339         * nss/getent.c: Likewise.
7340         * nss/makedb.c: Likewise.
7341         * posix/getconf.c: Likewise.
7342         * scripts/test-installation.pl: Likewise.
7344         * All files with FSF copyright notices: Update copyright dates
7345         using scripts/update-copyrights.
7346         * intl/plural.c: Regenerated.
7347         * locale/programs/charmap-kw.h: Likewise.
7348         * locale/programs/locfile-kw.h: Likewise.
7350 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
7352         * sysdeps/unix/sysv/linux/configure: Regenerated.
7353         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7354         the linux/fanotify.h header.
7355         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7356         HAVE_LINUX_FANOTIFY_H is defined.
7358 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7360         * benchtests/cos-inputs: New inputs.
7361         * benchtests/sin-inputs: Likewise.
7363         * benchtests/atan-inputs: New inputs. Fix name of multiple
7364         precision fallback inputs.
7366         * benchtests/atanh-inputs: New inputs.
7367         * benchtests/tanh-inputs: Likewise.
7369         * benchtests/acosh-inputs: New inputs.
7370         * benchtests/asinh-inputs: Likewise.
7372         * benchtests/cosh-inputs: New inputs.
7373         * benchtests/sinh-inputs: Likewise.
7375         * benchtests/acos-inputs: Add more inputs.
7376         * benchtests/asin-inputs: Likewise.
7378 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
7380         [BZ #16375]
7381         * manual/arith.texi: Fix spelling.
7382         * manual/charset.texi: Likewise.
7383         * manual/errno.texi: Likewise.
7384         * manual/filesys.texi: Likewise.
7385         * manual/lang.texi: Likewise.
7386         * manual/llio.texi: Likewise.
7387         * manual/locale.texi: Likewise.
7388         * manual/message.texi: Likewise.
7389         * manual/resource.texi: Likewise.
7390         * manual/search.texi: Likewise.
7391         * manual/setjmp.texi: Likewise.
7392         * manual/stdio.texi: Likewise.
7393         * manual/string.texi: Likewise.
7394         * manual/sysinfo.texi: Likewise.
7395         * manual/time.texi: Likewise.
7397 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
7399         * po/sl.po: New file.
7401 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
7403         * .gitignore: Add core/.gdbinit/.gdb_history.
7405 2013-12-27  Allan McRae  <allan@archlinux.org>
7407         [BZ #16369]
7408         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7409         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7411 2013-12-24  Brooks Moses  <bmoses@google.com>
7413         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7414         all compilers that claim C++98 compliance, not just GCC.
7415         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7416         Likewise.
7418 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
7420         * NEWS: Restore accidentally deleted bug-fix entries.
7422 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
7423             Ondřej Bílka  <neleai@seznam.cz>
7425         [BZ #15073]
7426         * malloc/malloc.c (_int_free): Perform sanity check only if we
7427         have_lock.
7429 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
7431         [BZ #12986]
7432         * manual/stdio.texi (String Input Conversions): Clarify that character
7433         classes are not supported.
7435 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7439 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
7441         [BZ #16337]
7442         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7443         Calculate results for small negative arguments directly rather
7444         than using reflection formula with special underflow handling.
7446         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7447         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7448         sysdeps/unix/bsd/bsd4.4/syscalls.list.
7449         (fchflags): Likewise.
7450         (revoke): Likewise.
7451         (setlogin): Likewise.
7452         (sigaltstack): Likewise.
7453         (wait4): Likewise.
7454         (sigblock): Remove.
7455         (sigsetmask): Likewise.
7456         (wait3): Likewise.
7457         (waitpid): Likewise.
7458         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7459         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7460         file.
7461         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7462         * sysdeps/unix/bsd/Makefile: ... here.
7463         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7464         * sysdeps/unix/bsd/Versions: ... here.
7465         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7466         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7467         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7468         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7469         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7470         * sysdeps/unix/bsd/sigblock.c: ... here.
7471         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7472         * sysdeps/unix/bsd/sigsetmask.c: ... here.
7473         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7474         * sysdeps/unix/bsd/sigvec.c: ... here.
7475         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7476         * sysdeps/unix/bsd/tcdrain.c: ... here.
7477         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7478         * sysdeps/unix/bsd/tcgetattr.c: ... here.
7479         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7480         * sysdeps/unix/bsd/tcsetattr.c: ... here.
7481         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7482         * sysdeps/unix/bsd/wait.c: ... here.
7483         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7484         * sysdeps/unix/bsd/wait3.c: ... here.
7485         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7486         * sysdeps/unix/bsd/waitpid.c: ... here.
7488 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
7490         [BZ #16356]
7491         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7492         round-to-nearest for [!USE_AS_EXPM1L].
7493         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7494         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
7495         more tests of exp and exp10.  Expect some exp10 tests to miss
7496         exceptions or fail in directed rounding modes.
7497         * math/auto-libm-test-out: Regenerated.
7498         * math/libm-test.inc (exp10_tonearest_test_data): New array.
7499         (exp10_test_tonearest): New function.
7500         (exp10_towardzero_test_data): New array.
7501         (exp10_test_towardzero): New function.
7502         (exp10_downward_test_data): New array.
7503         (exp10_test_downward): New function.
7504         (exp10_upward_test_data): New array.
7505         (exp10_test_upward): New function.
7506         (main): Call the new functions.
7507         * sysdeps/i386/fpu/libm-test-ulps: Update.
7508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7510 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
7512         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7513         asinh, atan, atan2, atanh, cbrt, cos and cosh.
7514         * math/auto-libm-test-out: Regenerated.
7515         * math/libm-test.inc (acosh_test_data): Add more tests.
7516         (atanh_test_data): Likewise.
7517         (ceil_test_data): Likewise.
7518         (copysign_test_data): Likewise.
7519         * sysdeps/i386/fpu/libm-test-ulps: Update.
7520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7522         * timezone/checktab.awk: Update from tzcode 2013i.
7523         * timezone/private.h: Likewise.
7524         * timezone/scheck.c: Likewise.
7525         * timezone/tzfile.h: Likewise.
7526         * timezone/tzselect.ksh: Likewise.
7527         * timezone/zdump.c: Likewise.
7528         * timezone/zic.c: Likewise.
7530         * math/auto-libm-test-in: Add tests of cpow.
7531         * math/auto-libm-test-out: Regenerated.
7532         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
7533         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7534         mpc_cc_c.
7535         (func_calc_desc): Add mpc_cc_c union field.
7536         (test_functions): Add cpow.
7537         (special_fill_2pi): New function.
7538         (special_real_inputs): Add 2pi.
7539         (calc_generic_results): Handle mpc_cc_c.
7540         * sysdeps/i386/fpu/libm-test-ulps: Update.
7541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7543         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7544         csqrt, ctan and ctanh.
7545         * math/auto-libm-test-out: Regenerated.
7546         * math/libm-test.inc (TEST_COND_x86_64): New macro.
7547         (TEST_COND_x86): Likewise.
7548         (ccos_test_data): Use AUTO_TESTS_c_c.
7549         (ccosh_test_data): Likewise.
7550         (cexp_test_data): Likewise.
7551         (clog_test_data): Likewise.
7552         (csqrt_test_data): Likewise.
7553         (ctan_test_data): Likewise.
7554         (ctan_tonearest_test_data): Likewise.
7555         (ctan_towardzero_test_data): Likewise.
7556         (ctan_downward_test_data): Likewise.
7557         (ctan_upward_test_data): Likewise.
7558         (ctanh_test_data): Likewise.
7559         (ctanh_tonearest_test_data): Likewise.
7560         (ctanh_towardzero_test_data): Likewise.
7561         (ctanh_downward_test_data): Likewise.
7562         (ctanh_upward_test_data): Likewise.
7563         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7564         mpc_c_c.
7565         (func_calc_desc): Add mpc_c_c union field.
7566         (FUNC_mpc_c_c): New macro.
7567         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7568         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7569         ctanh.
7570         (special_fill_min_subnorm_p120): New function.
7571         (special_real_inputs): Add min_subnorm_p120.
7572         (calc_generic_results): Handle mpc_c_c.
7573         * sysdeps/i386/fpu/libm-test-ulps: Update.
7574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7576 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7578         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7579         (do_sin_slow): New functions.
7580         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7581         (cslow2, csloww1, csloww2): Use the new functions.
7583         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7584         Use M to change sign of result instead of X.  Assume X is
7585         positive.
7586         (csloww1): Likewise.
7587         (__sin): Adjust.
7588         (__cos): Adjust.
7590         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7591         arguments A and DA.
7592         (__sin): Adjust.
7593         (__cos): Likewise.
7595         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7596         (__cos): Likewise.
7597         (sloww1): Don't adjust sign of DX.
7598         (csloww1): Likewise.
7599         (sloww2): Use X directly and don't adjust sign of DX.
7600         (csloww2): Likewise.
7602 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7604         * math/auto-libm-test-in: Add tests of cabs and carg.
7605         * math/auto-libm-test-out: Regenerated.
7606         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7607         (carg_test_data): Likewise.
7608         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7609         mpc_c_f.
7610         (func_calc_desc): Add mpc_c_f union field.
7611         (test_functions): Add cabs and carg.
7612         (calc_generic_results): Handle mpc_c_f.
7614         * sysdeps/powerpc/powerpc32/libgcc-compat.S
7615         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7616         as a macro and a compat symbol.
7617         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7618         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7619         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7620         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7621         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7622         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7623         not use .hidden.
7624         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7625         Likewise.
7626         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7627         Likewise.
7628         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7629         Likewise.
7630         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7631         Likewise.
7632         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7633         Likewise.
7634         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7635         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7636         from GLIBC_2.3.2.
7638 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7642 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7644         * manual/texinfo.tex: Update to version 2013-11-26.10 with
7645         trailing whitespace removed.
7646         * scripts/config.guess: Update to version 2013-11-29.
7647         * scripts/config.sub: Update to version 2013-10-01.
7649         * math/auto-libm-test-in: Add tests of sincos.
7650         * math/auto-libm-test-out: Regenerated.
7651         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7652         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7653         mpfr_f_11.
7654         (func_calc_desc): Add mpfr_f_11 union field.
7655         (test_functions): Add sincos.
7656         (calc_generic_results): Handle mpfr_f_11.
7657         * sysdeps/i386/fpu/libm-test-ulps: Update.
7658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7660 2013-12-19  Andreas Schwab  <schwab@suse.de>
7662         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7663         CALL_MCOUNT.
7664         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7665         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7666         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7668 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7670         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7671         * sysdeps/i386/fpu/libm-test-ulps: Update.
7672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7674         [BZ #16293]
7675         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7676         round-to-nearest mode when using frndint.
7677         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7678         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7679         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7680         Likewise.
7681         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
7682         sinh test to fail.
7683         * math/auto-libm-test-out: Regenerated.
7684         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7685         (TEST_COND_x86): Likewise.
7686         (expm1_tonearest_test_data): New array.
7687         (expm1_test_tonearest): New function.
7688         (expm1_towardzero_test_data): New array.
7689         (expm1_test_towardzero): New function.
7690         (expm1_downward_test_data): New array.
7691         (expm1_test_downward): New function.
7692         (expm1_upward_test_data): New array.
7693         (expm1_test_upward): New function.
7694         (main): Run the new test functions.
7695         * sysdeps/i386/fpu/libm-test-ulps: Update.
7696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7698         * include/features.h: Update comment documenting feature test
7699         macros.  Mention _DEFAULT_SOURCE in comment.
7700         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7701         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7702         _BSD_SOURCE and _SVID_SOURCE.
7703         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7704         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7705         !_SVID_SOURCE]: Likewise.
7706         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7707         (__USE_POSIX_IMPLICITLY): Define.
7708         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7709         (_POSIX_SOURCE): Undefine and redefine.
7710         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7711         (_POSIX_C_SOURCE): Likewise.
7712         * manual/creature.texi (_DEFAULT_SOURCE): Document.
7713         (Feature Test Macros): Update documentation of default features.
7715 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7717         * benchtests/Makefile: Add bench-strtok.
7718         * benchtests/bench-strtok.c: New file: strtok benchtest.
7720 2013-12-19  Allan McRae  <allan@archlinux.org>
7722         * manual/install.texi: Suppress menu for plain text output.
7723         * INSTALL: Regenerated.
7725 2013-12-18  Brooks Moses  <bmoses@google.com>
7727         [BZ #15846]
7728         * misc/getauxval.c: Include errno.h.
7729         (__getauxval): Set errno to ENOENT if the requested type is not
7730         found.
7731         * misc/sys/auxv.h (getauxval): Document that it may set errno;
7732         don't declare with __attribute_const__.
7733         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7734         * manual/startup.texi: Document that getauxval sets errno.
7736 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
7738         * math/auto-libm-test-in: Add tests of jn and yn.
7739         * math/auto-libm-test-out: Regenerated.
7740         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7741         (yn_test_data): Likewise.
7742         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7743         mpfr_if_f.
7744         (func_calc_desc): Add mpfr_if_f union field.
7745         (FUNC_mpfr_if_f): New macro.
7746         (test_functions): Add jn and yn.
7747         (calc_generic_results): Assert type of second input for
7748         mpfr_ff_f.  Handle mpfr_if_f.
7749         (output_for_one_input_case): Disable all checking for arguments
7750         fitting floating-point types in case of an integer argument.
7751         * sysdeps/i386/fpu/libm-test-ulps: Update.
7752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7755         Don't expect fegetround reference in libm.so.
7757 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7759         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7760         $(config-cflags-nofma).
7762 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
7764         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7765         * math/auto-libm-test-out: Regenerated.
7767         [BZ #16338]
7768         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7769         to determine exponent and adjust argument to have exponent of -1.
7770         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7771         log2.
7772         * math/auto-libm-test-out: Regenerated.
7773         * sysdeps/i386/fpu/libm-test-ulps: Update.
7774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7776 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
7778         * manual/probes.texi: Remove cases when per-thread arenas are
7779         disabled.
7781 2013-12-18  Andreas Schwab  <schwab@suse.de>
7783         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7784         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7785         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7786         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7787         * sysdeps/i386/i686/multiarch/Makefile: Update.
7788         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7790 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7792         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7793         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7795 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
7797         [BZ #15968]
7798         Support TZ transition times < 00:00:00.
7799         This is needed for version-3 tz-format files; it supports time
7800         stamps past 2037 for America/Godthab (the only entry in the tz
7801         database for which this change is relevant).
7802         * manual/time.texi (TZ Variable): Document transition times
7803         from -167:59:59 through -00:00:01.
7804         * time/tzset.c (tz_rule): Time of day is now signed.
7805         (__tzset_parse_tz): Parse negative time of day.
7807         Document TZ transition times >= 25:00:00.
7808         * manual/time.texi (TZ Variable): Document transition times from
7809         25:00:00 through 167:59:59.  These are already supported, and this
7810         support will help with version-3 tz-format files.
7812         * manual/time.texi (TZ Variable): Modernize North America example
7813         to reflect current (i.e., 2007-and-later) daylight saving rules.
7815         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7817 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7819         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7820         * sysdeps/unix/bsd/bits/stat.h: Likewise.
7821         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7822         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7823         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7824         * sysdeps/unix/bsd/bsdstat.h: Likewise.
7825         * sysdeps/unix/bsd/clock.c: Likewise.
7826         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7827         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7828         * sysdeps/unix/bsd/init-posix.c: Likewise.
7829         * sysdeps/unix/bsd/poll.c: Likewise.
7830         * sysdeps/unix/bsd/ptsname.c: Likewise.
7831         * sysdeps/unix/bsd/seekdir.c: Likewise.
7832         * sysdeps/unix/bsd/setegid.c: Likewise.
7833         * sysdeps/unix/bsd/seteuid.c: Likewise.
7834         * sysdeps/unix/bsd/setgid.c: Likewise.
7835         * sysdeps/unix/bsd/setrgid.c: Likewise.
7836         * sysdeps/unix/bsd/setruid.c: Likewise.
7837         * sysdeps/unix/bsd/setsid.c: Likewise.
7838         * sysdeps/unix/bsd/setuid.c: Likewise.
7839         * sysdeps/unix/bsd/sigaction.c: Likewise.
7840         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7841         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7842         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7843         * sysdeps/unix/bsd/telldir.c: Likewise.
7844         * sysdeps/unix/bsd/times.c: Likewise.
7845         * sysdeps/unix/bsd/usleep.c: Likewise.
7847         * misc/Makefile (install-lib): Remove libbsd-compat.a.
7848         ($(objpfx)libbsd-compat.a): Remove rule.
7850         * include/features.h (__FAVOR_BSD): Do not define.
7851         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7852         features conflicting with POSIX.
7853         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7854         (_BSD_SOURCE): Remove description of not being a subset of other
7855         feature test macros.
7856         * manual/job.texi (getpgrp): Do not document BSD version.
7857         (getpgid): Do not document by reference to BSD getpgrp.
7858         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7859         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7860         * signal/signal.h [__FAVOR_BSD]: Likewise.
7861         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7862         instead of making contents conditional on [__FAVOR_BSD].
7863         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7865 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7869 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7871         [BZ #16314]
7872         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7873         values below 2**-450, not 2**-500.
7874         * math/auto-libm-test-in: Don't allow spurious underflow from
7875         hypot.
7876         * math/auto-libm-test-out: Regenerated.
7878         [BZ #16316]
7879         [BZ #16330]
7880         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7881         values of ha and hb and sort them after adjusting subnormal
7882         arguments.
7883         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7884         Likewise.
7885         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7886         values of ea and eb and sort them after adjusting subnormal
7887         arguments.
7888         * math/auto-libm-test-in: Do not expect some hypot tests of
7889         subnormals to fail.  Add more hypot tests.
7890         * math/auto-libm-test-out: Regenerated.
7892 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7894         [BZ #13304]
7895         * sysdeps/sh/s_fma.c: New file.
7896         * sysdeps/sh/s_fmaf.c: New file.
7897         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
7898         version.
7899         * sysdeps/sh/Implies: Add sh/soft-fp.
7901 2013-12-16  Roland McGrath  <roland@hack.frob.com>
7903         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
7904         level of indirection to members `objname', `errstring', `malloced'.
7905         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7906         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
7907         it as the __longjmp argument (just pass 1 instead).
7908         (_dl_catch_error): Initialize C with argument pointers and address of
7909         volatile local ERRCODE rather than copying values out of C at return.
7911 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
7913         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7914         * math/auto-libm-test-out: Regenerated.
7915         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7916         (hypot_test_data): Likewise.
7917         (pow_test_data): Likewise.
7918         (pow_tonearest_test_data): Likewise.
7919         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7920         mpfr_ff_f.
7921         (func_calc_desc): Add mpfr_ff_f union field.
7922         (FUNC_mpfr_ff_f): New macro.
7923         (test_functions): Add atan2, hypot and pow.
7924         (special_fill_min): New function.
7925         (special_fill_minus_min): Likewise.
7926         (special_fill_min_subnorm): Likewise.
7927         (special_fill_minus_min_subnorm): Likewise.
7928         (special_real_inputs): Add min, -min, min_subnorm and
7929         -min_subnorm.
7930         (calc_generic_results): Handle mpfr_ff_f.
7931         * sysdeps/i386/fpu/libm-test-ulps: Update.
7932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7934 2013-12-16  Will Newton  <will.newton@linaro.org>
7936         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7937         (Aligned Memory Blocks): Add documentation for aligned_alloc
7938         and suggest it as an alternative to posix_memalign.
7939         (Hooks for Malloc): Document __memalign_hook is also called
7940         for aligned_alloc.  (Summary of Malloc): Add summary for
7941         aligned alloc.  Document __memalign_hook is also called
7942         for aligned_alloc.
7944 2013-12-16  Will Newton  <will.newton@linaro.org>
7946         * manual/memory.texi (Malloc Examples): Clarify default
7947         alignment documentation.  Suggest posix_memalign rather
7948         than memalign or valloc.
7949         (Aligned Memory Blocks): Remove suggestion to use memalign
7950         or valloc.  Remove obsolete comment about BSD.
7951         Document memalign errno values and mark the function obsolete.
7952         Document posix_memalign returned error codes.  Mark valloc
7953         as obsolete.  (Hooks for Malloc): __memalign_hook is also
7954         called for posix_memalign and valloc.
7955         (Summary of Malloc): Add posix_memalign to function summary.
7956         __memalign_hook is also called for posix_memalign and valloc.
7958 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7960         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7961         TAYLOR_SIN.
7962         (__sin): Adjust.
7963         (__cos): Likewise.
7964         (sloww): Use mynumber union.  Expand ternary operator into
7965         if-else statements.
7966         (cslow): use mynumber union.
7968 2013-12-16  Allan McRae  <allan@archlinux.org>
7970         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7971         * configure: Regenerated.
7973         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7975         [BZ #14120]
7976         * configure.ac: Added --enable-maintainer-mode. Check for
7977         autoconf when enabled.
7978         * configure: Regenerated.
7980         * nscd/nscd.service: New file.
7981         * nscd/nscd.tmpfiles: New file.
7983 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
7985         [BZ #12100]
7986         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7987         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7988         * sysdeps/x86_64/multiarch/strstr.c: ... here.
7989         (strstr): Add __strstr_sse2_unaligned ifunc.
7990         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7991         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7992         (strcasestr): Remove __strcasestr_sse42 ifunc.
7993         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7994         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7995         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7997 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7999         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8000         * sysdeps/sh/bits/fenv.h: ... here.
8001         * sysdeps/sh/sh4/fpu/bits: Remove directory.
8003 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8005         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8007         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8008         hypotf multiarch implementations.
8009         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8010         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8011         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8012         multiarch hypot for PPC64.
8013         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8014         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8015         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8016         multiarch hypotf for PPC64.
8018         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8019         modff multiarch implementations.
8020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8023         multiarch modf for PPC64.
8024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8027         multiarch modff for PPC64.
8029         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8030         and logl multiarch implementations.
8031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8034         multiarch logb for PPC64.
8035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8038         multiarch logb for PPC64.
8039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8042         multiarch logb for PPC64.
8044         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8045         isinff multiarch implementation.
8046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8047         file.
8048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8050         multiarch isinf for PPC64.
8051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8052         file.
8053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8054         multiarch isinff for PPC64.
8056         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8057         finitef multiarch implementation.
8058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8059         file.
8060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8062         multiarch finite for PPC64.
8063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8064         file.
8065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8066         multiarch finitef for PPC64.
8068         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8069         lrint multiarch implementation.
8070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8071         file.
8072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8074         multiarch llrint for PPC64.
8075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8076         multiarch lrint for PPC64.
8078         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8079         copysignf multiarch implementation.
8080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8081         file.
8082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8083         file.
8084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8085         multiarch copysign for PPC64.
8086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8087         multiarch copysignf for PPC64.
8089         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8090         multiarch implementation.
8091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8092         file.
8093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8094         file.
8095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8096         file.
8097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8098         file.
8099         multiarch llround for PPC64.
8100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8101         multiarch trunc for PPC64.
8102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8103         multiarch truncf for PPC64.
8105         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8106         multiarch implementation.
8107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8108         file.
8109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8110         file.
8111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8112         file.
8113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8114         file.
8115         multiarch llround for PPC64.
8116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8117         multiarch round for PPC64.
8118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8119         multiarch roundf for PPC64.
8121         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8122         multiarch implementation.
8123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8124         file.
8125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8126         file.
8127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8128         file.
8129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8130         file.
8131         multiarch llround for PPC64.
8132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8133         multiarch floor for PPC64.
8134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8135         multiarch floorf for PPC64.
8137         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8138         multiarch implementation.
8139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8140         file.
8141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8142         file.
8143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8144         file.
8145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8146         file.
8147         multiarch llround for PPC64.
8148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8149         multiarch ceil for PPC64.
8150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8151         multiarch ceilf for PPC64.
8153         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8154         multiarch implementation.
8155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8156         file.
8157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8158         file.
8159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8160         file.
8161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8162         multiarch llround for PPC64.
8163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8164         multiarch lround for PPC64.
8166         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8167         multiarch implementation.
8168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8171         file.
8172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8175         multiarch isnan for PPC64.
8176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8177         multiarch isnanf for PPC64.
8179         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8180         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8181         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8182         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8183         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8186         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8187         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8188         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8189         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8191         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8192         multiarch implementations.
8193         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8194         (__libc_ifunc_impl_list): Likewise.
8195         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8196         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8197         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8198         multiarch stpcpy for PPC64.
8200         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8201         multiarch implementations.
8202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8203         (__libc_ifunc_impl_list): Likewise.
8204         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8205         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8206         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8207         multiarch strcpy for PPC64.
8209         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8210         redefine function name.
8211         (_wordcopy_fwd_dest_aligned): Likewise.
8212         (_wordcopy_bwd_aligned): Likewise.
8213         (_wordcopy_bwd_dest_aligned): Likewise.
8214         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8215         multiarch implementations.
8216         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8217         (__libc_ifunc_impl_list): Likewise.
8218         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8219         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8220         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8221         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8222         multiarch wcscpy for PPC64.
8224         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8225         multiarch implementations.
8226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8227         (__libc_ifunc_impl_list): Likewise.
8228         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8229         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8230         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8231         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8232         multiarch wcscpy for PPC64.
8234         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8235         multiarch implementations.
8236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8237         (__libc_ifunc_impl_list): Likewise.
8238         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8239         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8240         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8241         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8242         multiarch wcsrchr for PPC64.
8244         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8245         multiarch implementations.
8246         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8247         (__libc_ifunc_impl_list): Likewise.
8248         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8249         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8250         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8251         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8252         multiarch wcschr for PPC64.
8254         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8255         multiarch implementations.
8256         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8257         (__libc_ifunc_impl_list): Likewise.
8258         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8259         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8260         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8261         multiarch strchrnul for PPC64.
8263         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8264         implementations.
8265         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8266         (__libc_ifunc_impl_list): Likewise.
8267         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8268         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8269         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8270         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8271         strchr for PPC64.
8273         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8274         implementations.
8275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8276         (__libc_ifunc_impl_list): Likewise.
8277         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8278         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8279         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8280         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8281         strncmp for PPC64.
8283         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8284         multiarch implementations.
8285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8286         (__libc_ifunc_impl_list): Likewise.
8287         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8288         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8289         strncasecmp for PPC64.
8290         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8291         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8292         multiarch strncasecmp_l for PPC64.
8294         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8295         multiarch implementations.
8296         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8297         (__libc_ifunc_impl_list): Likewise.
8298         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8299         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8300         multiarch strcasecmp for PPC64.
8301         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8302         file.
8303         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8304         multiarch strcasecmp_l for PPC64.
8306         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8307         implementations.
8308         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8309         (__libc_ifunc_impl_list): Likewise.
8310         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8311         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8312         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8313         strnlen for PPC64.
8315         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8316         implementations.
8317         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8318         (__libc_ifunc_impl_list): Likewise.
8319         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8320         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8321         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8322         strlen for PPC64.
8324         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8325         implementations.
8326         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8327         (__libc_ifunc_impl_list): Likewise.
8328         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8329         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8330         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8331         rawmemrchr for PPC64.
8333         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8334         implementation.
8335         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8336         (__libc_ifunc_impl_list): Likewise.
8337         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8338         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8339         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8340         memrchr for PPC64.
8342         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8343         implementation.
8344         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8345         (__libc_ifunc_impl_list): Likewise.
8346         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8347         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8348         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8349         memchr for PPC64.
8351         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8352         implementation.
8353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8354         (__libc_ifunc_impl_list): Likewise.
8355         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8356         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8357         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8358         mempcpy for PPC64.
8360         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8361         avoid cretion of __bzero symbol.
8362         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8363         Likewise.
8364         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8365         Likewise.
8366         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8367         Likewise.
8368         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8369         multiarch implementations.
8370         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8371         (__libc_ifunc_impl_list): Likewise.
8372         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8373         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8374         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8375         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8376         bzero for PPC32.
8377         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8378         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8379         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8380         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8381         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8382         memset for PPC64.
8383         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8385         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8386         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8387         implementations.
8388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8389         (__libc_ifunc_impl_list): Likewise.
8390         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8391         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8392         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8393         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8394         memcmp for PPC64.
8396         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8397         multiarch for POWER/PPC64.
8398         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8399         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8400         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8401         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8402         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8403         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8404         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8405         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8406         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8407         memcpy for PPC64.
8409         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8410         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8411         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8412         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8413         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8414         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8415         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8416         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8417         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8418         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8419         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8420         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8421         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8422         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8423         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8432 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8434         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8436 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8438         * benchtests/Makefile (bench): Add exp2 and log2.
8439         (LDLIBS-bench-exp2): Add -lm.
8440         (LDLIBS-bench-log2): Likewise.
8441         * benchtests/exp2-inputs: New inputs file.
8442         * benchtests/log2-inputs: New inputs file.
8443         * benchtests/log-inputs: Add new inputs.
8444         * benchtests/tan-inputs: Likewise.
8446 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8448         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8449         definition...
8450         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8451         (csloww2): ... from here.
8453         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8454         instead of structures.
8455         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8456         (POLYNOMIAL): Likewise.
8457         (TAYLOR_SLOW): Likewise.
8458         (__sin): Likewise.
8459         (__cos): Likewise.
8460         (slow1): Likewise.
8461         (slow2): Likewise.
8462         (sloww): Likewise.
8463         (sloww1); Likewise.
8464         (sloww2): Likewise.
8465         (bsloww1): Likewise.
8466         (bsloww2): Likewise.
8467         (cslow2): Likewise.
8468         (csloww): Likewise.
8469         (csloww1): Likewise.
8470         (csloww2): Likewise.
8472 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
8474         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
8475         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8476         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
8477         * malloc/hooks.c (realloc_check): Likewise.
8479         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8480         * malloc/arena.c: Remove PER_THREAD conditional.
8481         [!PER_THREAD]: Remove code.
8482         (ptmalloc_unlock_all2): Likewise.
8483         (ptmalloc_init): Likewise.
8484         (_int_new_arena): Likewise.
8485         (arena_get2): Likewise.
8486         * malloc/hooks.c (__malloc_get_state): Likewise.
8487         (__malloc_set_state): Likewise.
8488         * malloc/malloc.c: Likewise.
8489         (struct malloc_state): Likewise.
8490         (struct malloc_par): Likewise.
8491         (__libc_realloc): Likewise.
8492         (__libc_mallopt): Likewise.
8494 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8496         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8498 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
8500         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8501         macro to a function.  Check for zero perturb_byte.
8502         (_int_malloc, _int_free): Remove zero perturb_byte checks.
8504         * malloc/malloc.c: (force_reg): Remove.
8505         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8506         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
8507         force_reg by atomic_forced_read.
8508         * malloc/arena.c (ptmalloc_init): Likewise.
8509         * malloc/hooks.c (top_check): Likewise.
8511 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8515 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
8517         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8519 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
8521         * math/auto-libm-test-in: Add tests of lgamma.
8522         * math/auto-libm-test-out: Regenerated.
8523         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8524         (M_LOG_2_SQRT_PIl): Likewise.
8525         (lgamma_test_data): Use AUTO_TESTS_f_f1.
8526         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8527         mpfr_f_f1.
8528         (func_calc_desc): Add mpfr_f_f1 union field.
8529         (ARGS1): New macro.
8530         (ARGS2): Likewise.
8531         (ARGS3): Likewise.
8532         (ARGS4): Likewise.
8533         (RET1): Likewise.
8534         (RET2): Likewise.
8535         (CALC): Likewise.
8536         (FUNC): Likewise.
8537         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8538         (test_functions): Add lgamma.
8539         (calc_generic_results): Handle mpfr_f_f1.
8540         * sysdeps/i386/fpu/libm-test-ulps: Update.
8541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8543 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8545         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8546         __mpn_add_n for PowerPC64/POWER7.
8547         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8548         __mpn_sub_n for PowerPC64/POWER7.
8550         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8551         __mpn_addmul_1 for PowerPC64.
8552         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8553         __mpn_submul_1 for PowerPC64.
8554         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8555         for PowerPC64.
8556         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8557         for PowerPC64.
8559 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
8561         [BZ #15089]
8562         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8564 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8566         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8568         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8569         add multiarch folders.
8570         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8571         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8572         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8573         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8574         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8575         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8576         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8577         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8578         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8579         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8580         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8589         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8591         New file.
8592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8593         New file.
8594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8595         multiarch __ieee754_hypot for PowerPC32.
8596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8597         New file.
8598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8599         New file.
8600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8601         multiarch __ieee754_hypotf for PowerPC32.
8603         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8604         long_double_symbol only if __logbl is defined.
8605         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8606         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8607         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8608         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8609         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8610         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8611         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8612         path for implementation.
8613         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8614         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8616         logb, and logbl multiarch implementations for PowerPC32.
8617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8618         file.
8619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8620         file.
8621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8622         multiarch logb for PowerPC32.
8623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8624         file.
8625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8626         file.
8627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8628         multiarch logbf for PowerPC32.
8629         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8631         file.
8632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8633         multiarch logbl implementation for PowerPC32.
8635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8636         and modff multiarch implementations.
8637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8638         New file.
8639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8640         New file.
8641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8642         multiarch modf for PowerPC32.
8643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8644         New file.
8645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8646         New file.
8647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8648         multiarch modff for PowerPC32.
8650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8651         and lrintf multiarch implementations.
8652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8653         New file.
8654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8655         New file.
8656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8657         multiarch lrint for PowerPC32.
8658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8659         file: multiarch lrintf for PowerPC32.
8661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8662         and lroundf multiarch implementations.
8663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8664         New file.
8665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8666         New file.
8667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8668         New file.
8669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8670         multiarch lround for PowerPC32.
8671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8672         file: multiarch lroundf for PowerPC32.
8674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8675         copysign and copysignf multiarch implementations.
8676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8677         New file.
8678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8679         New file.
8680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8681         file: multiarch copysign for PowerPC32.
8682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8683         file: multiarch copysignf for PowerPC32.
8685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8686         and truncf multiarch implementations.
8687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8688         New file.
8689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8690         file.
8691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8692         multiarch trunc for PowerPC32.
8693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8694         New file.
8695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8696         New file.
8697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8698         multiarch truncf for PowerPC32.
8700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8701         and roundf multiarch implementations.
8702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8703         New file.
8704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8705         file.
8706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8707         multiarch round for PowerPC32.
8708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8709         New file.
8710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8711         New file.
8712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8713         multiarch roundf for PowerPC32.
8715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8716         and floorf multiarch implementations.
8717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8718         New file.
8719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8720         file.
8721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8722         multiarch floor for PowerPC32.
8723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8724         New file.
8725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8726         New file.
8727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8728         multiarch floorf for PowerPC32.
8730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8731         and ceilf multiarch implementations.
8732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8733         New file.
8734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8735         file.
8736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8737         multiarch ceil for PowerPC32.
8738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8739         New file.
8740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8741         file.
8742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8743         multiarch ceilf for PowerPC32.
8745         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8746         is defined.
8747         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8748         FINITEF is defined.
8749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8750         and finitef multiarch implementations.
8751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8752         New file.
8753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8754         file.
8755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8756         multiarch finite for PowerPC32.
8757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8758         New file.
8759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8760         file: multiarch finitef for PowerPC32.
8762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8763         and isinff multiarch implementations.
8764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8765         file.
8766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8767         file.
8768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8769         multiarch isinf for PowerPC32.
8770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8771         New file.
8772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8773         multiarch isinff for PowerPC32.
8775         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8776         alias when __isnan is defined.
8777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8778         and isnanf multiarch implementations.
8779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8780         file.
8781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8782         file.
8783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8784         file.
8785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8786         file.
8787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8788         multiarch isnan for PowerPC32.
8789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8790         New file.
8791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8792         New file.
8793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8794         multiarch isnanf for PowerPC32.
8796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8797         and sqrtf multiarch implementations.
8798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8799         file.
8800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8801         file.
8802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8803         multiarch sqrt for PowerPC32.
8804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8805         file.
8806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8807         file.
8808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8809         multiarch sqrtf for PowerPC32.
8811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8812         and llroundf multiarch implementations.
8813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8814         New file.
8815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8816         New file.
8817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8818         New file.
8819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8820         file: multiarch llround for PowerPC32.
8821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8822         file: multiarch llroundf for PowerPC32.
8824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8825         multiarch PowerPC32 fpu implementations.
8826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8827         New file.
8828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8829         New file.
8830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8831         multiarch llrint for PowerPC32.
8832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8833         New file.
8834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8835         New file.
8836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8837         file.
8839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8841         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8842         file.
8843         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8844         file.
8845         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8846         file.
8847         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8848         multiarch wordcopy for PPC32.
8849         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8850         wordcopy objects.
8851         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8852         (__libc_ifunc_impl_list): Likewise.
8853         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8854         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8855         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8856         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8857         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8858         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8860         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8861         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8862         file.
8863         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8864         file.
8865         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8866         file.
8867         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8868         multiarch wcscpy for PPC32.
8869         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8870         multiarch objects.
8871         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8872         (__libc_ifunc_impl_list): Likewise.
8873         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8874         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8875         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8876         sysdeps/powerpc/power6/wcscpy.c.
8878         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8879         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8880         file.
8881         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8882         file.
8883         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8884         file.
8885         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8886         multiarch wcsrchr for PPC32.
8887         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8888         multiarch objects.
8889         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8890         (__libc_ifunc_impl_list): Likewise.
8891         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8892         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8893         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8894         sysdeps/powerpc/power6/wcsrchr.c.
8896         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8897         file.
8898         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8899         file.
8900         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8901         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8902         multiarch wcschr for PPc32.
8903         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8904         multiarch objects.
8905         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8906         (__libc_ifunc_impl_list): Likewise.
8907         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8908         * sysdeps/powerpc/power6/wcschr.c: ... to here.
8909         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8910         sysdeps/powerpc/power6/wcschr.c.
8912         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8913         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8914         file.
8915         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8916         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8917         file: multiarch strchr for PPC32.
8918         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8919         multiarch objects.
8920         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8921         (__libc_ifunc_impl_list): Likewise.
8923         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8924         name.
8925         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8926         file.
8927         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8928         file.
8929         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8930         multiarch strchrnul for PPC32.
8931         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8932         multiarch objects.
8933         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8934         (__libc_ifunc_impl_list): Likewise.
8936         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8937         file.
8938         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8939         multiarch strncasecmp for PPC32.
8940         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8941         file.
8942         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8943         multiarch strncasecmp_l for PPC32.
8944         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8945         strncasecmp multiarch objects.
8946         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8947         (__libc_ifunc_impl_list): Likewise.
8949         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8950         file.
8951         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8952         multiarch strncasecmp for PPC32.
8953         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8954         New file.
8955         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8956         multiarch strcasecmp_l for PPC32.
8957         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8958         multiarch objects.
8959         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8960         (__libc_ifunc_impl_list): Likewise.
8962         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8963         file.
8964         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8965         file.
8966         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8967         multiarch strncmp for PPC32.
8968         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8969         multiarch objects.
8970         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8971         (__libc_ifunc_impl_list): Likewise.
8973         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8974         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8975         file.
8976         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8977         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8978         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8979         multiarch objects.
8980         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8981         (__libc_ifunc_impl_list): Likewise.
8983         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8984         file.
8985         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8986         file.
8987         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8988         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8989         multiarch objects.
8990         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8991         (__libc_ifunc_impl_list): Likewise.
8993         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8994         file.
8995         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8996         file.
8997         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8998         multiarch rawmemchr for PPC32.
8999         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9000         multiarch objects.
9001         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9002         (__libc_ifunc_impl_list): Likewise.
9004         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9005         file.
9006         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9007         file.
9008         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9009         file: memrchr multiarch for PPC32.
9010         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9011         multiarch objects.
9012         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9013         (__libc_ifunc_impl_list): Likewise.
9015         * string/memchr.c (__memchr): Using macro to redefine symbol name.
9016         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9017         file.
9018         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9019         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9020         multiarch memchr for PPC32.
9021         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9022         multiarch objects.
9023         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9024         (__libc_ifunc_impl_list): Likewise.
9026         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9027         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9028         file.
9029         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9030         file.
9031         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9032         file: multiarch mempcpy for PPC32.
9033         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9034         multiarch objects.
9035         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9036         (__libc_ifunc_impl_list): Likewise.
9038         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9039         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9040         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9041         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9042         multiarch bzero for PPC32.
9043         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9044         file.
9045         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9046         file.
9047         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9048         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9049         file: multiarch memset for PPC32.
9050         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9051         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9052         memset multiarch objects.
9053         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9054         (__libc_ifunc_impl_list): Likewise.
9056         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9057         file.
9058         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9059         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9060         memcmp for PPC32.
9061         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9062         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9063         multiarch objects.
9064         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9065         (__libc_ifunc_impl_list): Likewise.
9067         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9068         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9069         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9070         file.
9071         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9072         file.
9073         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9074         file.
9075         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9076         multiarch memcpy for PPC32.
9077         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9078         multiarch objects.
9079         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9080         (__libc_ifunc_impl_list): Likewise.
9082         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9083         support multiarch for POWER/PPC32.
9084         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9085         Likewise.
9086         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9088         Implies file to make multiarch folder appers before the fpu and
9089         default folder for power4 configuration.
9091 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9093         * scripts/bench.pl: Append volatile keyword to type.
9095 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9097         * sysdeps/sh/sotruss-lib.c: New file.
9098         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9100 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9102         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9104 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
9106         [BZ #6810]
9107         * math/w_tgamma.c: Include <errno.h>.
9108         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
9109         * math/w_tgammaf.c: Include <errno.h>.
9110         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
9111         * math/w_tgammal.c: Include <errno.h>.
9112         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
9113         * math/auto-libm-test-in: Do not allow missing errno on tgamma
9114         underflow.  Add more tgamma tests.
9115         * math/auto-libm-test-out: Regenerated.
9116         * sysdeps/i386/fpu/libm-test-ulps: Update.
9117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9119         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9120         sin, sinh, tan, tanh, tgamma, y0 and y1.
9121         * math/auto-libm-test-out: Regenerated.
9122         * math/libm-test.inc (TEST_COND_x86_64): New macro.
9123         (TEST_COND_x86): Likewise.
9124         (M_E2l): Remove macro.
9125         (M_E3l): Likewise.
9126         (M_2_SQRT_PIl): Likewise.
9127         (M_SQRT_PIl): Likewise.
9128         (M_1_DIV_El): Likewise.
9129         (log_test_data): Use AUTO_TESTS_f_f.
9130         (log10_test_data): Likewise.
9131         (log1p_test_data): Likewise.
9132         (log2_test_data): Likewise.
9133         (sin_test_data): Likewise.
9134         (sin_tonearest_test_data): Likewise.
9135         (sin_towardzero_test_data): Likewise.
9136         (sin_downward_test_data): Likewise.
9137         (sin_upward_test_data): Likewise.
9138         (sinh_test_data): Likewise.
9139         (sinh_tonearest_test_data): Likewise.
9140         (sinh_towardzero_test_data): Likewise.
9141         (sinh_downward_test_data): Likewise.
9142         (sinh_upward_test_data): Likewise.
9143         (tan_test_data): Likewise.
9144         (tan_tonearest_test_data): Likewise.
9145         (tan_towardzero_test_data): Likewise.
9146         (tan_downward_test_data): Likewise.
9147         (tan_upward_test_data): Likewise.
9148         (tanh_test_data): Likewise.
9149         (tgamma_test_data): Likewise.
9150         (y0_test_data): Likewise.
9151         (y1_test_data): Likewise.
9152         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9153         (special_real_inputs): Add pi/4.
9154         * sysdeps/i386/fpu/libm-test-ulps: Update.
9155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9157 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9159         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9160         "longjmp_target" static probes.
9161         (__longjmp): Rename to __longjmp_symbol.
9162         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9163         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9164         on which longjmp to generate.
9165         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9166         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9167         probe.
9168         (__sigsetjmp): Rename to __sigsetjmp_symbol.
9169         (__sigjmp_save): Rename to __sigjmp_save_symbol.
9170         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9171         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9172         and __sigjmp_save_symbol based on which sigsetjmp to generated.
9173         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9175         __longjmp_symbol based on which __longjmp to generate.
9176         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9177         probe.
9178         (setjmp): Rename to setjmp_symbol.
9179         (__sigsetjmp): Rename to __sigsetjmp_symbol.
9180         (_setjmp): Rename to _setjmp_symbol.
9181         (__sigsetjmp): Rename to __sigsetjmp_symbol.
9182         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9183         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9184         which setjmp to generate.
9185         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9186         "longjmp_target" static probes.
9188 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9190         * benchtests/README: Add note about output arguments.
9191         * benchtests/bench-sincos.c: Remove file.
9192         * benchtests/sincos-inputs: New file.
9193         * scripts/bench.pl: Identify output arguments and define
9194         static variables for them.
9196         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9198         [BZ #15941]
9199         * Makefile (INSTALL): Add install-plain.texi as the primary
9200         dependency.
9201         * manual/install-plain.texi: New file.
9202         * manual/install.texi: Include node directive only for
9203         non-plaintext output.
9205 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
9207         * stdlib/longlong.h: Update from GCC.
9209         [BZ #6807]
9210         [BZ #15901]
9211         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9212         * math/w_j0f.c (y0f): Likewise.
9213         * math/w_j0l.c (__y0l): Likewise.
9214         * math/w_j1.c (y1): Likewise.
9215         * math/w_j1f.c (y1f): Likewise.
9216         * math/w_j1l.c (__y1l): Likewise
9217         * math/w_jn.c (yn): Likewise.
9218         * math/w_jnf.c (ynf): Likewise.
9219         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9220         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
9221         value for Bessel function domain errors outside _SVID_ mode.
9222         Adjust sign of return value for yn (negative integer, 0).
9223         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9224         by zero in return for negative x and set sign appropriately for
9225         negative n.
9226         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9227         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9228         * math/libm-test.inc (y0_test_data): Add more tests and adjust
9229         expectations in error cases.
9230         (y1_test_data): Likewise.
9231         (yn_test_data): Likewise.
9232         * sysdeps/i386/fpu/libm-test-ulps: Update.
9233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9235 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9237         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9238         "64" to "64-v1".  Add "64-v2".
9239         (abi-64-options): Rename to ...
9240         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
9241         (abi-64-condition): Rename to ...
9242         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
9243         (abi-64-ld-soname): Rename to ...
9244         (abi-64-v1-ld-soname): ... this.
9245         (abi-64-v2-options): Define.
9246         (abi-64-v2-condition): Likewise.
9247         (abi-64-v2-ld-soname): Likewise.
9248         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9249         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9254 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9255             Alan Modra  <amodra@gmail.com>
9257         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9258         New versions for use with the ELFv2 ABI.
9259         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9260         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9261         declaration.
9262         (struct La_ppc64v2_retval): Likewise.
9263         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9264         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9265         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9266         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9267         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9268         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9269         Do not save or restore CR.
9270         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9271         (_dl_profile_resolve): Do no save or restore CR.  Support extended
9272         return values for ELFv2 ABI.  Fix location of FPR return registers.
9273         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9274         updated values for _CALL_ELF == 2.
9275         (La_regs, La_retval, int_retval): Likewise.
9277 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9279         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9280         (FRAME_MIN_SIZE_PARM): Likewise.
9281         (FRAME_BACKCHAIN): Likewise.
9282         (FRAME_CR_SAVE): Likewise.
9283         (FRAME_LR_SAVE): Likewise.
9284         (FRAME_TOC_SAVE): Likewise.
9285         (FRAME_PARM_SAVE): Likewise.
9286         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9287         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9288         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9289         (call_mcount_parm_offset): New macro.
9290         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9291         (PROF): Use symbolic stack frame offsets.
9292         (TAIL_CALL_SYSCALL_ERROR): Likewise.
9293         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9294         Redefine in terms of FRAME_MIN_SIZE.
9295         (_dl_runtime_resolve): Use symbolic stack frame offsets.
9296         (_dl_profile_resolve): Likewise.  Update comment.
9297         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9298         symbols stack frame offsets.
9299         (__sigsetjmp): Likewise.
9300         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9301         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9302         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9303         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9306         (FRAME_BACKCHAIN): Remove.
9307         (FRAME_CR_SAVE): Likewise.
9308         (FRAME_LR_SAVE): Likewise.
9309         (FRAME_COMPILER_DW): Likewise.
9310         (FRAME_LINKER_DW): Likewise.
9311         (FRAME_TOC_SAVE): Likewise.
9312         (FRAME_PARM_SAVE): Likewise.
9313         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9314         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9315         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9317         (CHECK_SP): Use symbolic stack frame offsets.
9318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9319         zone" instead of caller's parameter save area for temp storage.
9320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9321         Likewise.  Also, use symbolic stack frame offsets.
9322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9323         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9324         our own stack frame instead of the caller's.
9325         (__socket): Use symbolic stack frame offsets.
9327 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9328             Alan Modra  <amodra@gmail.com>
9330         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9331         Define.
9332         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9333         (PPC64_LOCAL_ENTRY_OFFSET): Define.
9334         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9335         New function.
9336         (elf_machine_fixup_plt): Call it.
9337         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
9338         reloc arguments.
9339         (elf_machine_rela): Update call to elf_machine_plt_conflict.
9340         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9341         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
9342         r2 before calling target.
9344 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9345             Alan Modra  <amodra@gmail.com>
9347         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9348         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9349         versions of macros to support ELFv2 ABI.
9350         (LOCALENTRY): New macro.
9351         (ENTRY, EALIGN): Use it.
9352         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9353         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9354         fall through into ENTRY entry point.
9355         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9356         Only define if _CALL_ELF != 2.
9358         (elf_machine_matches_host): Verify ABI version matches.
9359         (RTLD_START): Use LOCALENTRY.
9360         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9361         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9362         (PLT_ENTRY_WORDS): New macro.
9363         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9364         (elf_machine_runtime_setup): Support ELFv2 ABI.
9365         (elf_machine_fixup_plt): Likewise.
9366         (elf_machine_plt_conflict): Likewise.
9367         (resolve_ifunc): Likewise.
9368         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9369         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9370         Likewise.
9371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9372         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9374         (makecontext): Support ELFv2 ABI.
9375         * elf/elf.h (EF_PPC64_ABI): Define.
9377 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9379         * sysdeps/powerpc/powerpc64/sysdep.h
9380         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9381         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9382         (ENTRY) [ASSEMBLER]: ... but instead here ...
9383         (EALIGN) [ASSEMBLER]: ... and here.
9384         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9385         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9386         (ENTRY_2) [!ASSEMBLER]: Use it.
9387         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9388         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
9389         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9390         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
9391         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9393         Use PPC64_LOAD_FUNCPTR.
9395         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9397 2013-12-04  Alan Modra  <amodra@gmail.com>
9399         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9400         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9401         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9402         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9404         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9405         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9406         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9407         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9408         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9409         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9411 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9414         (__makecontext): Fix incorrect CFI when backtracing out of
9415         context created via makecontext.
9416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9417         (__setcontext): Fix incorrect CFI during switch to new context.
9418         (__novec_setcontext): Likewise.
9420 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
9422         [BZ #4772]
9423         * time/strptime_l.c (__strptime_internal): Allow modifiers
9424         in strptime.
9425         * time/tst-strptime.c (day_tests): Add testcase.
9427 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9429         * scripts/bench.pl: Skip over blank lines.
9431 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9433         [BZ #926]
9434         * manual/time.texi (Calendar Time): Clarify what timezone functions
9435         use.
9437 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9441 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
9443         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9444         implementation.
9445         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9446         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9447         * debug/memset_chk.c (__memset_chk): Likewise.
9448         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9449         * debug/strncpy_chk.c: Likewise.
9451 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
9453         [BZ #15268]
9454         [BZ #15425]
9455         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9456         (__ieee754_exp): For possibly underflowing results, check size of
9457         result and force underflow exception if required.
9458         * math/auto-libm-test-in: Add more tests of exp.
9459         * math/auto-libm-test-out: Regenerated.
9460         * sysdeps/i386/fpu/libm-test-ulps: Update.
9461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9463         [BZ #16283]
9464         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9465         * math/w_exp2f.c (__exp2f): Likewise.
9466         * math/w_exp2l.c (__exp2l): Likewise.
9467         * math/auto-libm-test-in: Do not allow missing errno on exp2
9468         underflow.
9469         * math/auto-libm-test-out: Regenerated.
9471 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
9473         [BZ #16274]
9474         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9475         handle filename validation.
9476         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9477         (do_open): Delete.
9479 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
9481         [BZ #6786]
9482         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9483         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9484         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9485         <float.h>.
9486         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9487         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9488         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9489         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9490         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9491         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9492         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9493         * math/auto-libm-test-in: Don't allow missing errno from erfc.
9494         Add more erfc tests.
9495         * math/auto-libm-test-out: Regenerated.
9496         * sysdeps/i386/fpu/libm-test-ulps: Update.
9497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9499         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9500         exp2, expm1, j0 and j1.
9501         * math/auto-libm-test-out: Regenerated.
9502         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9503         (erfc_test_data): Likewise.
9504         (exp_test_data): Likewise.
9505         (exp_tonearest_test_data): Likewise.
9506         (exp_towardzero_test_data): Likewise.
9507         (exp_downward_test_data): Likewise.
9508         (exp_upward_test_data): Likewise.
9509         (exp10_test_data): Likewise.
9510         (exp2_test_data): Likewise.
9511         (expm1_test_data): Likewise.
9512         (j0_test_data): Likewise.
9513         (j1_test_data): Likewise.
9514         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9515         (input_flag_type): Add flag_xfail_rounding.
9516         (input_flags): Add xfail-rounding.
9517         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9518         (output_for_one_input_case): Handle flag_xfail_rounding.
9519         * sysdeps/i386/fpu/libm-test-ulps: Update.
9520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9522 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
9524         [BZ #16289]
9525         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9526         division by 0.
9528 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9530         [BZ #16195]
9531         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9532         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9533         (STAP_PROBE0): New macro.
9534         (STAP_PROBE1): Likewise.
9535         (STAP_PROBE2): Likewise.
9536         (STAP_PROBE3): Likewise.
9537         (STAP_PROBE4): Likewise.
9539 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
9541         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9543 2013-12-02  Steve Ellcey  <sellcey@mips.com>
9545         * benchtests/Makefile (bench): Add sqrt.
9546         (LDLIBS-bench-sqrt): New.
9547         * benchtests/sqrt-input: New.
9549 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
9551         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9552         (GAIH_EAI): Likewise.
9553         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9554         (gaih_inet): Likewise.
9555         (getaddrinfo): Don't use GAIH_EAI.
9557         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9558         (struct gaih): Remove definition.
9560 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9562         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9563         Use HERRNOP directly.
9565 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9569 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
9571         * math/gen-auto-libm-tests.c (test_functions): Add more
9572         single-argument functions.
9573         (special_fill_pi_2): New function.
9574         (special_fill_minus_pi_2): Likewise.
9575         (special_fill_pi_6): Likewise.
9576         (special_fill_minus_pi_6): Likewise.
9577         (special_fill_pi_3): Likewise.
9578         (special_fill_2pi_3): Likewise.
9579         (special_fill_e): Likewise.
9580         (special_fill_1_e): Likewise.
9581         (special_fill_e_minus_1): Likewise.
9582         (special_real_inputs): Add more special inputs.
9583         (output_for_one_input_case): Do not require ERANGE on underflow to
9584         zero if round-to-nearest result does not underflow to zero, unless
9585         exact results required.
9586         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9587         atan, atanh, cbrt, cos and cosh.
9588         * math/auto-libm-test-out: Regenerated.
9589         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9590         (acos_tonearest_test_data): Likewise.
9591         (acos_towardzero_test_data): Likewise.
9592         (acos_downward_test_data): Likewise.
9593         (acos_upward_test_data): Likewise.
9594         (acosh_test_data): Likewise.
9595         (asin_test_data): Likewise.
9596         (asin_tonearest_test_data): Likewise.
9597         (asin_towardzero_test_data): Likewise.
9598         (asin_upward_test_data): Likewise.
9599         (asinh_test_data): Likewise.
9600         (atan_test_data): Likewise.
9601         (atanh_test_data): Likewise.
9602         (cbrt_test_data): Likewise.
9603         (cos_test_data): Likewise.
9604         (cos_tonearest_test_data): Likewise.
9605         (cos_towardzero_test_data): Likewise.
9606         (cos_downward_test_data): Likewise.
9607         (cos_upward_test_data): Likewise.
9608         (cosh_test_data): Likewise.
9609         (cosh_tonearest_test_data): Likewise.
9610         (cosh_towardzero_test_data): Likewise.
9611         (cosh_downward_test_data): Likewise.
9612         (cosh_upward_test_data): Likewise.
9613         * sysdeps/i386/fpu/libm-test-ulps: Update.
9614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9616 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
9618         [BZ #6787]
9619         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9620         * math/w_exp10f.c (__exp10f): Likewise.
9621         * math/w_exp10l.c (__exp10l): Likewise.
9622         * math/libm-test.inc (exp10_test_data): Add more tests and expect
9623         errno settings in existing tests.
9625         [BZ #14032]
9626         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9627         precision control set to double precision.
9628         * sysdeps/i386/fpu/w_sqrt.c: New file.
9629         * math/auto-libm-test-in: Add more tests.
9630         * math/auto-libm-test-out: Update.
9632         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9633         (sqrt_test_tonearest): New function.
9634         (sqrt_towardzero_test_data): New variable.
9635         (sqrt_test_towardzero): New function.
9636         (sqrt_downward_test_data): New variable.
9637         (sqrt_test_downward): New function.
9638         (sqrt_upward_test_data): New variable.
9639         (sqrt_test_upward): New function.
9640         (main): Call the new functions.
9642         * math/gen-auto-libm-tests.c: New file.
9643         * math/auto-libm-test-in: Likewise.
9644         * math/auto-libm-test-out: New generated file.
9645         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9646         variables.
9647         (%beautify): Add generated representations of zero.
9648         (top level): Set $auto_input and call parse_auto_input.
9649         (beautify): Remove trailing "f" from hex float constants.
9650         (parse_args): Handle XFAIL_TEST.
9651         (convert_condition): New function.
9652         (or_value): Likewise.
9653         (or_cond_value): Likewise.
9654         (generate_testfile): Handle AUTO_TESTS_* lines.
9655         (parse_auto_input): New function.
9656         * math/libm-test.inc (XFAIL_TEST): New macro.
9657         (ERRNO_UNCHANGED): Update value.
9658         (ERRNO_EDOM): Likewise.
9659         (ERRNO_ERANGE): Likewise.
9660         (IGNORE_RESULT): Likewise.
9661         (TEST_COND_flt_32): New macro.
9662         (TEST_COND_dbl_64): Likewise.
9663         (TEST_COND_ldbl_96_intel): Likewise.
9664         (TEST_COND_ldbl_96_m68k): Likewise.
9665         (TEST_COND_ldbl_128): Likewise.
9666         (TEST_COND_ldbl_128ibm): Likewise.
9667         (TEST_COND_long32): Likewise.
9668         (TEST_COND_long64): Likewise.
9669         (TEST_COND_before_rounding): Likewise.
9670         (TEST_COND_after_rounding): Likewise.
9671         (enable_test): Handle XFAIL_TEST flag.
9672         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9673         with finite results.
9674         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9675         auto-libm-test-out.
9677 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9678             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9680         [BZ #16214]
9681         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9682         __tls_get_addr_internal instead of __tls_get_offset in order to
9683         avoid GOT pointer dependency.  Make rtld export
9684         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9685         __tls_get_addr since we are a __tls_get_offset platform.
9686         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9687         GOT pointer being set up before.
9688         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9690 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
9692         * manual/math.texi (Errors in Math Functions): Document accuracy
9693         goals.
9695         [BZ #15004]
9696         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9697         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9698         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9699         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9700         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9701         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9702         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9703         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9704         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9705         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9706         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9707         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9708         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9709         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9710         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9711         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9713         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9714         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9715         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9716         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9717         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9718         Likewise.
9719         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9720         Likewise.
9721         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9722         Likewise.
9723         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9724         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9725         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9726         atomic-feupdateenv and flt-rounds.
9727         * sysdeps/powerpc/nofpu/Versions (libc): Add
9728         __atomic_feholdexcept, __atomic_feclearexcept,
9729         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9730         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9731         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9732         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9733         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9734         here.
9735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9736         Update.
9738         * manual/arith.texi (FP Exceptions): Document that exceptions may
9739         not be raised when matherr is used.
9740         (Math Error Reporting): Document overflow in directed rounding
9741         modes.  Document that errno may not be set when finite values are
9742         returned on overflow.  Document intent to set errno on underflow
9743         only for underflow to zero.
9745         [BZ #16271]
9746         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9747         round-to-nearest then adjust result for other rounding modes.
9748         * include/fenv.h (fegetround): Use libm_hidden_proto.
9749         * math/fegetround.c (fegetround): Use libm_hidden_def.
9750         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9751         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9752         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9753         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9754         Likewise.
9755         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9756         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9757         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9758         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9760 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9762         [BZ #16077]
9763         * nss/Versions (libnss_files): Add
9764         _nss_files_gethostbyname3_r.
9765         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9766         New function.
9767         (HOST_DB_LOOKUP): Remove macro.
9768         (_nss_files_gethostbyname_r): Implement function without the
9769         HOST_DB_LOOKUP macro.
9770         (_nss_files_gethostbyname2_r): Likewise.
9772 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
9774         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9776 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
9778         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9779         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9780         warning.
9782 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9784         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9785         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9786         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9787         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9788         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9789         __fe_nomask_env_priv and attribute_hidden.
9790         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9791         (libc_feupdateenv_test_ppc): Likewise.
9792         (libc_feresetround_ppc): Likewise.
9793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9794         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9795         compat_symbol macro.
9796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9797         (__fe_nomask_env): Likewise.
9798         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9800 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9802         * string/Makefile: Remove ifunc tests.
9803         * string/test-string.h: Define TEST_IFUNC.
9804         * string/test-bcopy-ifunc.c: Remove.
9805         * string/test-bzero-ifunc.c: Likewise.
9806         * string/test-memccpy-ifunc.c: Likewise.
9807         * string/test-memchr-ifunc.c: Likewise.
9808         * string/test-memcmp-ifunc.c: Likewise.
9809         * string/test-memcpy-ifunc.c: Likewise.
9810         * string/test-memmem-ifunc.c: Likewise.
9811         * string/test-memmove-ifunc.c: Likewise.
9812         * string/test-mempcpy-ifunc.c: Likewise.
9813         * string/test-memrchr-ifunc.c: Likewise.
9814         * string/test-memset-ifunc.c: Likewise.
9815         * string/test-rawmemchr-ifunc.c: Likewise.
9816         * string/test-stpcpy-ifunc.c: Likewise.
9817         * string/test-stpncpy-ifunc.c: Likewise.
9818         * string/test-strcasecmp-ifunc.c: Likewise.
9819         * string/test-strcasestr-ifunc.c: Likewise.
9820         * string/test-strcat-ifunc.c: Likewise.
9821         * string/test-strchr-ifunc.c: Likewise.
9822         * string/test-strchrnul-ifunc.c: Likewise.
9823         * string/test-strcmp-ifunc.c: Likewise.
9824         * string/test-strcpy-ifunc.c: Likewise.
9825         * string/test-strcspn-ifunc.c: Likewise.
9826         * string/test-strlen-ifunc.c: Likewise.
9827         * string/test-strncasecmp-ifunc.c: Likewise.
9828         * string/test-strncat-ifunc.c: Likewise.
9829         * string/test-strncmp-ifunc.c: Likewise.
9830         * string/test-strncpy-ifunc.c: Likewise.
9831         * string/test-strnlen-ifunc.c: Likewise.
9832         * string/test-strpbrk-ifunc.c: Likewise.
9833         * string/test-strrchr-ifunc.c: Likewise.
9834         * string/test-strspn-ifunc.c: Likewise.
9835         * string/test-strstr-ifunc.c: Likewise.
9837 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9839         * benchtests/Makefile: Remove ifunc tests.
9840         * benchtests/bench-string.h: Define TEST_IFUNC.
9841         * benchtests/bench-bcopy-ifunc.c: Remove.
9842         * benchtests/bench-bzero-ifunc.c: Likewise.
9843         * benchtests/bench-memccpy-ifunc.c: Likewise.
9844         * benchtests/bench-memchr-ifunc.c: Likewise.
9845         * benchtests/bench-memcmp-ifunc.c: Likewise.
9846         * benchtests/bench-memcpy-ifunc.c: Likewise.
9847         * benchtests/bench-memmem-ifunc.c: Likewise.
9848         * benchtests/bench-memmove-ifunc.c: Likewise.
9849         * benchtests/bench-mempcpy-ifunc.c: Likewise.
9850         * benchtests/bench-memrchr-ifunc.c: Likewise.
9851         * benchtests/bench-memset-ifunc.c: Likewise.
9852         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9853         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9854         * benchtests/bench-stpcpy-ifunc.c: Likewise.
9855         * benchtests/bench-stpncpy-ifunc.c: Likewise.
9856         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9857         * benchtests/bench-strcasestr-ifunc.c: Likewise.
9858         * benchtests/bench-strcat-ifunc.c: Likewise.
9859         * benchtests/bench-strchr-ifunc.c: Likewise.
9860         * benchtests/bench-strchrnul-ifunc.c: Likewise.
9861         * benchtests/bench-strcmp-ifunc.c: Likewise.
9862         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9863         * benchtests/bench-strcpy-ifunc.c: Likewise.
9864         * benchtests/bench-strcspn-ifunc.c: Likewise.
9865         * benchtests/bench-strlen-ifunc.c: Likewise.
9866         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9867         * benchtests/bench-strncat-ifunc.c: Likewise.
9868         * benchtests/bench-strncmp-ifunc.c: Likewise.
9869         * benchtests/bench-strncpy-ifunc.c: Likewise.
9870         * benchtests/bench-strnlen-ifunc.c: Likewise.
9871         * benchtests/bench-strpbrk-ifunc.c: Likewise.
9872         * benchtests/bench-strrchr-ifunc.c: Likewise.
9873         * benchtests/bench-strsep-ifunc.c: Likewise.
9874         * benchtests/bench-strspn-ifunc.c: Likewise.
9875         * benchtests/bench-strstr-ifunc.c: Likewise.
9877 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9879         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9881 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9883         * resolv/netdb.h: Use __glibc_reserved instead __unused.
9884         * rt/aio.h: Likewise.
9885         * sysdeps/gnu/bits/utmp.h: Likewise.
9886         * sysdeps/gnu/bits/utmpx.h: Likewise.
9887         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9888         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9889         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9890         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9891         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9892         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9893         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9894         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9895         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9896         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9897         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9898         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9899         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9901         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9902         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9903         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9904         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9905         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9906         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9907         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9908         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9909         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9910         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9911         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9912         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9913         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9914         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9915         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9916         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9917         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9918         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9919         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9920         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9921         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9922         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9923         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9924         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9925         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9926         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9927         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9928         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9930 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
9932         [BZ #16245]
9933         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9934         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9936 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
9938         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9939         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9940         Likewise.
9942 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9944         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9945         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9946         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9947         (__fesetround): Remove define.
9948         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9949         rounding and exceptions handling.
9950         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9951         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9952         (__fe_nomask_env): Likewise.
9953         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9954         __fegetround instead of fegetround.
9955         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9956         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9958 2013-11-21  Roland McGrath  <roland@hack.frob.com>
9960         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9961         it's there.
9963         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9965 2013-11-21  Meador Inge  <meadori@codesourcery.com>
9967         [BZ #11157]
9968         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9969         (encrypt_r): Likewise.
9970         * malloc/obstack.h (obstack_free): Likewise.
9971         * posix/unistd.h (encrypt): Likewise.
9973 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
9975         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9976         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9977         DL_CALL_DT_FINI() that call the functions directly.
9978         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9979         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9980         * elf/dl-fini.c: Likewise.
9982 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
9984         * malloc/hooks.c (memalign_check): Add alignment rounding.
9985         * malloc/malloc.c (_mid_memalign): New function.
9986         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9987         Implement by calling _mid_memalign.
9988         * manual/probes.texi (Memory Allocation Probes): Remove
9989         memory_valloc_retry and memory_pvalloc_retry.
9991 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9993         * locale/programs/locarchive.c (open_archive): Add const
9994         qualifier to ARCHIVEFNAME and copy default fname to
9995         DEFAULT_FNAME.
9997         [BZ #15601]
9998         * libio/tst-widetext.input: Rename Oriya to Odia.
9999         * locale/iso-639.def: Likewise.
10001         * manual/probes.texi (Mathematical Function Probes): Add
10002         documentation for sin, cos, asin and acos probes.
10003         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10004         (__sin32): Add slowasin probe.
10005         (__cos32): Add slowacos probe.
10006         (__mpsin): Add slowsin probe.
10007         (__mpcos): Add slowcos probe.
10009 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
10011         [BZ #15483]
10012         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10013         thread-local __sim_exceptions_thread and global
10014         __sim_exceptions_global.
10015         (__sim_disabled_exceptions): Change to thread-local
10016         __sim_disabled_exceptions_thread and global
10017         __sim_disabled_exceptions_global.
10018         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10019         and global __sim_round_mode_global.
10020         (__simulate_exceptions): Use thread-local floating-point state and
10021         set global state from it as needed.
10022         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10023         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10024         __sim_round_mode_thread.
10025         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10026         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10027         and global __sim_exceptions_global.
10028         (__sim_disabled_exceptions): Change to thread-local
10029         __sim_disabled_exceptions_thread and global
10030         __sim_disabled_exceptions_global.
10031         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10032         and global __sim_round_mode_global.
10033         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10034         (SIM_SET_GLOBAL): Likewise.
10035         * sysdeps/powerpc/soft-fp/sfp-machine.h
10036         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10037         __sim_round_mode_thread.
10038         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10039         __sim_disabled_exceptions_thread.
10040         (__sim_exceptions): Change to __sim_exceptions_thread.
10041         (__sim_disabled_exceptions): Change to
10042         __sim_disabled_exceptions_thread.
10043         (__sim_round_mode): Change to __sim_round_mode_thread.
10044         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10045         thread-local floating-point state and set global state from it as
10046         needed.
10047         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10048         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10049         (__sim_disabled_exceptions): Remove extern declaration.
10050         (feenableexcept): Use thread-local floating-point state and set
10051         global state from it as needed.
10052         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10053         extern declaration.
10054         (__sim_disabled_exceptions): Likewise.
10055         (__sim_round_mode): Likewise.
10056         (__fegetenv): Use thread-local floating-point state.
10057         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10058         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10059         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10060         floating-point state and set global state from it as needed.
10061         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10062         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10063         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10064         Likewise.
10065         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10066         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10067         Likewise.
10068         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10069         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10070         Use __sim_round_mode_thread.
10071         * math/test-fenv-tls.c: New file.
10072         * math/Makefile (tests): Add test-fenv-tls.
10073         ($(objpfx)test-fenv-tls): Depend on
10074         $(common-objpfx)nptl/libpthread.so.
10076 2013-11-19  Andreas Schwab  <schwab@suse.de>
10078         * locale/programs/locale.c (show_info): Decode wordarray elements.
10079         * locale/categories.def (LC_MONETARY): Add element for
10080         _NL_MONETARY_CRNCYSTR.
10081         * locale/C-monetary.c (conversion_rate): New variable.
10082         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10083         element.
10085 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
10087         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10088         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10090 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
10092         * elf/Makefile (tst-auxv): New test.
10093         * elf/tst-auxv.c: New
10094         * elf/rtld.c (dl_main): Adjust AT_EXECFN
10096 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
10098         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10099         (hidden_proto): Caller changed.
10100         (hidden_tls_proto): New macro.
10101         (libc_hidden_tls_proto): Likewise.
10102         (rtld_hidden_tls_proto): Likewise.
10103         (libm_hidden_tls_proto): Likewise.
10104         (libresolv_hidden_tls_proto): Likewise.
10105         (librt_hidden_tls_proto): Likewise.
10106         (libdl_hidden_tls_proto): Likewise.
10107         (libnss_files_hidden_tls_proto): Likewise.
10108         (libnsl_hidden_tls_proto): Likewise.
10109         (libnss_nisplus_hidden_tls_proto): Likewise.
10110         (libutil_hidden_tls_proto): Likewise.
10112 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
10114         [BZ #10253]
10115         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10116         (decompose_rpath): Defer expansion to fillin_rpath.
10117         (_dl_init_paths): Pass linkmap to fillin_rpath.
10119 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10121         * benchtests/Makefile: Add strsep.
10122         * benchtests/bench-strsep.c: New file: strsep benchtest.
10123         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10125 2013-11-18  Andreas Schwab  <schwab@suse.de>
10127         * locale/programs/locale.c (show_info) [case byte]: Check for
10128         '\377' instead of '\177'.
10129         * locale/C-monetary.c (not_available): Always use "\377".
10130         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10131         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
10132         detect unavailable sign_posn locale elements.
10133         * locale/localeconv.c (__localeconv): For grouping and
10134         mon_grouping handle "\177" and "\377" like no grouping.
10135         (INT_ELEM): New macro.  Use it to set all numeric members.
10136         * locale/programs/ld-monetary.c (monetary_read)
10137         <tok_mon_grouping>: Normalize single -1 to the empty string.
10138         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10139         Likewise.
10141 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
10143         [BZ #16055]
10144         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10145         when we match (nil).
10146         * stdio-common/tst-sscanf.c (struct test): Add testcase.
10148 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
10150         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10151         (NO_TEST_INLINE): Update value.
10152         (ERRNO_UNCHANGED): Likewise.
10153         (ERRNO_EDOM): Likewise.
10154         (ERRNO_ERANGE): Likewise.
10155         (IGNORE_RESULT): Likewise.
10156         (check_float_internal): Check signs of NaN results if
10157         TEST_NAN_SIGN used.
10158         (check_complex): Pass TEST_NAN_SIGN flag through to second
10159         check_float_internal call.
10160         (copysign_test_data): Add tests with quiet NaNs as second
10161         argument.  Use TEST_NAN_SIGN.
10162         (fabs_test_data): Add test of negative quiet NaN argument.  Use
10163         TEST_NAN_SIGN.
10164         (signbit_test_data): Add tests of quiet NaN argument.
10165         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10167         * math/gen-libm-test.pl (show_exceptions): Take extra argument
10168         $ignore_result.
10169         (parse_args): Handle function results specified as IGNORE.
10170         * math/libm-test.inc (IGNORE_RESULT): New macro.
10171         (check_float_internal): Do not check numerical result if flag
10172         IGNORE_RESULT set.
10173         (check_complex): Pass through IGNORE_RESULT to second
10174         check_float_internal call.
10175         (check_int): Do not check numerical result if flag IGNORE_RESULT
10176         set.
10177         (check_long): Likewise.
10178         (check_bool): Likewise.
10179         (check_longlong): Likewise.
10180         (lrint_test_data): Add tests of infinite and NaN arguments.
10181         (lrint_tonearest_test_data): Likewise.
10182         (lrint_towardzero_test_data): Likewise.
10183         (lrint_downward_test_data): Likewise.
10184         (lrint_upward_test_data): Likewise.
10185         (llrint_test_data): Likewise.
10186         (llrint_tonearest_test_data): Likewise.
10187         (llrint_towardzero_test_data): Likewise.
10188         (llrint_downward_test_data): Likewise.
10189         (llrint_upward_test_data): Likewise.
10190         (lround_test_data): Likewise.
10191         (llround_test_data): Likewise.
10193         * math/libm-test.inc (NO_TEST_INLINE): New macro.
10194         (ERRNO_UNCHANGED): Update value.
10195         (ERRNO_EDOM): Likewise.
10196         (ERRNO_ERANGE): Likewise.
10197         (NO_TEST_INLINE_FLOAT): New macro.
10198         (NO_TEST_INLINE_DOUBLE): Likewise.
10199         (enable_test): New function.
10200         (RUN_TEST_f_f): Check enable_test before running test.
10201         (RUN_TEST_2_f): Likewise.
10202         (RUN_TEST_fff_f): Likewise.
10203         (RUN_TEST_c_f): Likewise.
10204         (RUN_TEST_f_f1): Likewise.
10205         (RUN_TEST_fF_f1): Likewise.
10206         (RUN_TEST_fI_f1): Likewise.
10207         (RUN_TEST_ffI_f1): Likewise.
10208         (RUN_TEST_c_c): Likewise.
10209         (RUN_TEST_cc_c): Likewise.
10210         (RUN_TEST_f_i): Likewise.
10211         (RUN_TEST_f_i_tg): Likewise.
10212         (RUN_TEST_ff_i_tg): Likewise.
10213         (RUN_TEST_f_b): Likewise.
10214         (RUN_TEST_f_b_tg): Likewise.
10215         (RUN_TEST_f_l): Likewise.
10216         (RUN_TEST_f_L): Likewise.
10217         (RUN_TEST_fFF_11): Likewise.
10218         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10219         conditionals.
10220         (cosh_test_data): Likewise.
10221         (exp_test_data): Likewise.
10222         (expm1_test_data): Likewise.
10223         (hypot_test_data): Likewise.
10224         (pow_test_data): Likewise.
10225         (sinh_test_data): Likewise.
10226         (tanh_test_data): Likewise.
10227         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10228         flags argument.
10230         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10231         tests with quiet NaN input and output.
10232         (acosh_test_data): Likewise.
10233         (asin_test_data): Likewise.
10234         (asinh_test_data): Likewise.
10235         (atan_test_data): Likewise.
10236         (atanh_test_data): Likewise.
10237         (atan2_test_data): Likewise.
10238         (cbrt_test_data): Likewise.
10239         (cos_test_data): Likewise.
10240         (cosh_test_data): Likewise.
10241         (erf_test_data): Likewise.
10242         (erfc_test_data): Likewise.
10243         (exp_test_data): Likewise.
10244         (exp10_test_data): Likewise.
10245         (exp2_test_data): Likewise.
10246         (expm1_test_data): Likewise.
10247         (hypot_test_data): Likewise.
10248         (j0_test_data): Likewise.
10249         (j1_test_data): Likewise.
10250         (jn_test_data): Likewise.
10251         (lgamma_test_data): Likewise.
10252         (log_test_data): Likewise.
10253         (log10_test_data): Likewise.
10254         (log1p_test_data): Likewise.
10255         (log2_test_data): Likewise.
10256         (pow_test_data): Likewise.
10257         (scalb_test_data): Likewise.
10258         (sin_test_data): Likewise.
10259         (sincos_test_data): Likewise.
10260         (sinh_test_data): Likewise.
10261         (tan_test_data): Likewise.
10262         (tanh_test_data): Likewise.
10263         (tgamma_test_data): Likewise.
10264         (y0_test_data): Likewise.
10265         (y1_test_data): Likewise.
10266         (yn_test_data): Likewise.
10268         [BZ #16167]
10269         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10270         argument being NaN and avoid computations with second argument in
10271         that case.
10272         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10273         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10274         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10276 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
10278         * locale/iso-639.def: Add Chitwani Tharu (the).
10280 2013-11-14  Andreas Schwab  <schwab@suse.de>
10282         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10283         word instead of empty string.
10285 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10288         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10290         (__fe_nomask_env): Likewise.
10292 2013-11-13  Steve Ellcey  <sellcey@mips.com>
10294         * benchtests/bench-timing.h: Include time.h.
10296 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
10298         [BZ #15997]
10299         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10300         to 3.4.0 for x32.
10301         * sysdeps/unix/sysv/linux/configure: Regenerated.
10303 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
10305         [BZ #16151]
10306         * stdlib/strtod_l.c (round_and_return): Do not consider
10307         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10308         exponent one less than half the least subnormal exponent.
10309         * stdlib/test-strtod-round-data: Add more tests.
10310         * stdlib/tst-strtod-round.c (tests): Regenerated.
10312 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10314         [BZ #14143]
10315         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10316         (__fe_mask_env): Likewise.
10317         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10318         libm_hidden_proto and add function prototype.
10319         (__fe_mask_env): Add function prototype.
10320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10321         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10323         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10325         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10327 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10329         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
10330         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10332 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10334         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10335         of htab_find_slot().
10337 2013-11-11  David S. Miller  <davem@davemloft.net>
10339         [BZ #16150]
10340         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10341         symbol in the non-vis3 case in static builds.
10342         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10343         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10344         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10345         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10347 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
10349         [BZ #387]
10350         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10351         it is empty.
10353 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10355         * benchtests/Makefile: Add bench-strtod.
10356         * benchtests/bench-strtod.c: New file: strtod benchtest
10358 2013-11-11  Andreas Schwab  <schwab@suse.de>
10360         [BZ #16153]
10361         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10362         terminating NUL in key length.
10364 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10366         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10367         Add artificial ODP entry for vDSO symbol for PPC64.
10368         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10369         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10371 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
10373         [BZ #15374]
10374         * nss/getent.c (services_keys): Recognize services starting with digit.
10376 2013-11-06  David S. Miller  <davem@davemloft.net>
10378         [BZ #15985]
10379         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10380         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10382 2013-11-06  Will Newton  <will.newton@linaro.org>
10384         * manual/memory.texi (Malloc Examples): Remove register
10385         keyword from examples.
10387 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
10389         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
10391 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
10393         [BZ #6981]
10394         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10395         depending on [__GCC_IEC_559 > 0].
10396         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10397         depending on [__GCC_IEC_559_COMPLEX > 0].
10399 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
10401         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10402         to iso-639.def.
10404 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
10406         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10408 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
10410         [BZ #16112]
10411         * malloc/malloc (malloc_info): Do not handle first bin as
10412         special case.
10414 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
10416         * locale/iso-639.def: Add Central Nahuatl (nhn).
10418 2013-11-01  Bruno Haible  <bruno@clisp.org>
10420         [BZ #7003]
10421         * manual/math.texi (BSD Random): Specify range upper bound as
10422         in POSIX.
10424 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
10426         * locale/iso-639.def: Add Meadow Mari (mhr).
10428 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
10430         [BZ #14752], [BZ #15763]
10431         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10432         Validate name.
10433         * rt/tst_shm.c: Add test for escaping directory.
10435 2013-10-31  Andreas Schwab  <schwab@suse.de>
10437         [BZ #15917]
10438         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10439         followed by 'x' as part of digit sequence.
10440         * stdio-common/tst-sscanf.c (double_tests2): New tests.
10442 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10444         [BZ #16037]
10445         * configure.ac: allow GNU Make 4.0 and greater.
10446         * configure: Regenerated.
10448 2013-10-30  Will Newton  <will.newton@linaro.org>
10450         [BZ #16038]
10451         * malloc/hooks.c (memalign_check): Limit alignment to the
10452         maximum representable power of two.
10453         * malloc/malloc.c (__libc_memalign): Likewise.
10454         * malloc/tst-memalign.c (do_test): Add test for very
10455         large alignment values.
10456         * malloc/tst-posix_memalign.c (do_test): Likewise.
10458 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
10460         [BZ #11087]
10461         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10462         (munmap_chunk): Likewise.
10463         (mremap_chunk): Likewise.
10465 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
10467         [BZ #15799]
10468         * stdlib/div.c (div): Remove obsolete code.
10469         * stdlib/ldiv.c (ldiv): Likewise.
10470         * stdlib/lldiv.c (lldiv): Likewise.
10472 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10474         [BZ #16071]
10475         * nss/nss_files/files-XXX.c (get_contents_ret): New
10476         enumerator.
10477         (get_contents): New function.
10478         (internal_getent): Use it.  Expand size of LINEBUFLEN.
10480 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
10482         * configure.in: Moved to ...
10483         * configure.ac: ... here. Change reference to configure.in
10484         to configure.ac.
10485         * sysdeps/arm/preconfigure.ac: ... here.
10486         configure.in to configure.ac.
10487         * sysdeps/gnu/configure.in: Moved to ...
10488         * sysdeps/gnu/configure.ac: ... here.
10489         * sysdeps/i386/configure.in: Moved to ...
10490         * sysdeps/i386/configure.ac: ... here.
10491         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10492         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10493         * sysdeps/mach/configure.in: Moved to ...
10494         * sysdeps/mach/configure.ac: ... here.
10495         * sysdeps/mach/hurd/configure.in: Moved to ...
10496         * sysdeps/mach/hurd/configure.ac: ... here.
10497         * sysdeps/powerpc/configure.in: Moved to ...
10498         * sysdeps/powerpc/configure.ac: ... here.
10499         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10500         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10501         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10502         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10503         * sysdeps/s390/s390-32/configure.in: Moved to ...
10504         * sysdeps/s390/s390-32/configure.ac: ... here.
10505         * sysdeps/s390/s390-64/configure.in: Moved to ...
10506         * sysdeps/s390/s390-64/configure.ac: ... here.
10507         * sysdeps/sh/configure.in: Moved to ...
10508         * sysdeps/sh/configure.ac: ... here.
10509         * sysdeps/sparc/configure.in: Moved to ...
10510         * sysdeps/sparc/configure.ac: ... here.
10511         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10512         * sysdeps/unix/sysv/linux/configure.ac: ... here.
10513         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10514         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10515         * sysdeps/x86_64/configure.in: Moved to ...
10516         * sysdeps/x86_64/configure.ac: ... here.
10517         * sysdeps/x86_64/preconfigure.in: Moved to ...
10518         * sysdeps/x86_64/preconfigure.ac: ... here.
10519         * aclocal.m4: Change reference to configure.in to configure.ac.
10520         * config.h.in: Likewise.
10521         * manual/install.texi: Likewise.
10522         * manual/maint.texi: Likewise.
10523         * Makefile: Likewise.
10524         * malloc/Makefile: Likewise.
10525         * nscd/Makefile: Likewise.
10526         * Makeconfig: Change reference to configure.in and
10527         preconfigure.in to configure.ac and preconfigure.ac
10528         respectively.
10529         * INSTALL: Regenerated.
10530         * configure: Likewise.
10531         * sysdeps/gnu/configure: Likewise.
10532         * sysdeps/i386/configure: Likewise.
10533         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10534         * sysdeps/mach/configure: Likewise.
10535         * sysdeps/mach/hurd/configure: Likewise.
10536         * sysdeps/powerpc/configure: Likewise.
10537         * sysdeps/powerpc/powerpc32/configure: Likewise.
10538         * sysdeps/powerpc/powerpc64/configure: Likewise.
10539         * sysdeps/s390/s390-32/configure: Likewise.
10540         * sysdeps/s390/s390-64/configure: Likewise.
10541         * sysdeps/sh/configure: Likewise.
10542         * sysdeps/sparc/configure: Likewise.
10543         * sysdeps/unix/sysv/linux/configure: Likewise.
10544         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10545         * sysdeps/x86_64/configure: Likewise.
10546         * sysdeps/x86_64/preconfigure: Likewise.
10548 2013-10-29  Andreas Schwab  <schwab@suse.de>
10550         * stdio-common/Makefile (tst-swscanf-ENV): Define.
10552 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10554         * benchtests/pow-inputs: Add new inputs.
10556         * benchtests/exp-inputs: Add new inputs.
10558         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10559         conditional check for return value.
10560         (__cos32): Likewise.
10562 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10564         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10565         to provide a boost for large inputs with word alignment.
10566         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10567         implementation based on optimized PPC64 strcpy.
10568         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10569         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10570         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10571         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10573 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
10575         [BZ #2801]
10576         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10578 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
10580         [BZ #14876]
10581         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10582         * time/tst-strptime.c (day_tests): Add testcase.
10584 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
10586         [BZ #14029]
10587         * manual/pattern.texi: Acknowledge that fnmatch can fail.
10589 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
10591         [BZ #16074]
10592         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10593         MAP_FAILED on error.
10595 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10597         [BZ #16072]
10598         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10599         heap for large requests.
10601 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
10603         [BZ #9954]
10604         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10605         result if the result has no associated interface.
10606         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10607         interface for all 127.X.Y.Z addresses.
10609 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
10611         * locale/iso-639.def: Add Ligurian (lij)
10613 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
10615         [BZ #15825]
10616         * sunrpc/rpc_main.c: Document rpcgen -5.
10618 2013-10-19  Michael Stahl  <mstahl@redhat.com>
10620         * elf/rtld.c (do_preload): Print the reason why preloading failed.
10622 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
10624         [BZ #10278]
10625         * posix/glob.c: Match only directories when trailing slash is present.
10626         * posix/tst-gnuglob.c (my_opendir): Do not open files.
10627         (main): Add testcase.
10629 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
10631         [BZ #15670]
10632         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10634 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
10636         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10637         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10638         AUTH_DES and cindex for FIPS 140-2.
10639         (DES Encryption): Add cindex FIPS 46-3.
10641         * locale/locarchive.h (struct locarhandle): Add fname.
10642         * locale/programs/localedef.c (main): Pass ARGV[remaining]
10643         if an optional argument was specified to --list-archive,
10644         otherwise NULL.
10645         * locale/programs/locarchive.c (show_archive_content): Take new
10646         argument fname and pass it via ah.fname to open_archive.
10647         * locale/programs/localedef.h: Update decl.
10648         (open_archive): If AH->fname is non-null, open that file
10649         rather than the default file name, and don't ignore ENOENT.
10650         (create_archive): Set AH.fname to NULL.
10651         (delete_locales_from_archive): Likewise.
10652         (add_locales_to_archive): Likewise.
10653         * locale/programs/locfile.c (write_all_categories): Likewise.
10655 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
10656             Aldy Hernandez  <aldyh@redhat.com>
10658         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10659         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10660         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10661         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10662         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10663         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10664         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10665         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10666         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10667         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10668         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10669         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10670         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10671         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10672         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10673         Likewise.
10674         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10675         Likewise.
10676         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10677         Likewise.
10678         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10679         Likewise.
10680         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10681         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10682         Likewise.
10683         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10684         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10685         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10686         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10687         Likewise.
10688         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10689         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10690         * sysdeps/powerpc/preconfigure: Likewise.
10691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10692         Likewise.
10693         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10694         Replace contents of file by #include of <fenv_libc.h>.
10695         * sysdeps/powerpc/soft-fp/sfp-machine.h
10696         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10697         and <sys/prctl.h>.
10698         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10699         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10700         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10701         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10702         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10703         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10704         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10705         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10706         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10707         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10708         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10709         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10711         Allow copysignl PLT reference to be missing.
10713 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
10714             Joseph Myers  <joseph@codesourcery.com
10716         [BZ #15948]
10717         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10718         single character.
10719         (add_to_tablewc): Assert sequence of wide characters is nonempty.
10721 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10723         * elf/tst-tls-dlinfo.c: Don't include tls.h.
10724         * elf/tst-tls1.c: Likewise.
10725         * elf/tst-tls10.h: Likewise.
10726         * elf/tst-tls14.c: Likewise.
10727         * elf/tst-tls2.c: Likewise.
10728         * elf/tst-tls3.c: Likewise.
10729         * elf/tst-tls4.c: Likewise.
10730         * elf/tst-tls5.c: Likewise.
10731         * elf/tst-tls6.c: Likewise.
10732         * elf/tst-tls7.c: Likewise.
10733         * elf/tst-tls8.c: Likewise.
10734         * elf/tst-tls9.c: Likewise.
10735         * elf/tst-tlsmod1.c: Likewise.
10736         * elf/tst-tlsmod13.c: Likewise.
10737         * elf/tst-tlsmod13a.c: Likewise.
10738         * elf/tst-tlsmod14a.c: Likewise.
10739         * elf/tst-tlsmod16a.c: Likewise.
10740         * elf/tst-tlsmod16b.c: Likewise.
10741         * elf/tst-tlsmod2.c: Likewise.
10742         * elf/tst-tlsmod3.c: Likewise.
10743         * elf/tst-tlsmod4.c: Likewise.
10744         * elf/tst-tlsmod5.c: Likewise.
10745         * elf/tst-tlsmod6.c: Likewise.
10747 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
10749         [BZ #12486]
10750         * malloc/malloc.c: remove checks for statistics.
10752 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
10754         [BZ #15277]
10755         * inet/inet_net.c (inet_network): Detect additional invalid strings.
10756         * inet/tst-network.c: Add testcase.
10758 2013-10-17  Andreas Schwab  <schwab@suse.de>
10760         [BZ #15218]
10761         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10762         to determine canonical name.
10764 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
10766         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10767         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10768         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10769         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10770         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10771         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10772         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10773         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10774         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10775         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10776         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10777         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10778         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10779         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10780         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10781         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10782         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10783         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10784         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10785         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10786         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10787         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10788         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10789         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10790         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10791         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10792         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10793         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10794         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10795         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10796         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10797         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10798         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10799         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10800         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10801         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10802         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10803         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10804         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10805         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10806         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10807         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10808         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10809         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10810         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10811         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10812         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10813         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10814         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10815         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10816         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10817         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10818         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10819         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10820         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10821         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10822         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10823         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10825 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
10827         [BZ #16041]
10828         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10829         make result into a quiet NaN.
10831 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
10833         * soft-fp/adddf3.c: Fix horizontal whitespace.
10834         * soft-fp/addsf3.c: Likewise.
10835         * soft-fp/addtf3.c: Likewise.
10836         * soft-fp/divdf3.c: Likewise.
10837         * soft-fp/divsf3.c: Likewise.
10838         * soft-fp/divtf3.c: Likewise.
10839         * soft-fp/double.h: Likewise.
10840         * soft-fp/eqdf2.c: Likewise.
10841         * soft-fp/eqsf2.c: Likewise.
10842         * soft-fp/eqtf2.c: Likewise.
10843         * soft-fp/extenddftf2.c: Likewise.
10844         * soft-fp/extended.h: Likewise.
10845         * soft-fp/extendsfdf2.c: Likewise.
10846         * soft-fp/extendsftf2.c: Likewise.
10847         * soft-fp/extendxftf2.c: Likewise.
10848         * soft-fp/fixdfdi.c: Likewise.
10849         * soft-fp/fixdfsi.c: Likewise.
10850         * soft-fp/fixdfti.c: Likewise.
10851         * soft-fp/fixsfdi.c: Likewise.
10852         * soft-fp/fixsfsi.c: Likewise.
10853         * soft-fp/fixsfti.c: Likewise.
10854         * soft-fp/fixtfdi.c: Likewise.
10855         * soft-fp/fixtfsi.c: Likewise.
10856         * soft-fp/fixtfti.c: Likewise.
10857         * soft-fp/fixunsdfdi.c: Likewise.
10858         * soft-fp/fixunsdfsi.c: Likewise.
10859         * soft-fp/fixunsdfti.c: Likewise.
10860         * soft-fp/fixunssfdi.c: Likewise.
10861         * soft-fp/fixunssfsi.c: Likewise.
10862         * soft-fp/fixunssfti.c: Likewise.
10863         * soft-fp/fixunstfdi.c: Likewise.
10864         * soft-fp/fixunstfsi.c: Likewise.
10865         * soft-fp/fixunstfti.c: Likewise.
10866         * soft-fp/floatdidf.c: Likewise.
10867         * soft-fp/floatdisf.c: Likewise.
10868         * soft-fp/floatditf.c: Likewise.
10869         * soft-fp/floatsidf.c: Likewise.
10870         * soft-fp/floatsisf.c: Likewise.
10871         * soft-fp/floatsitf.c: Likewise.
10872         * soft-fp/floattidf.c: Likewise.
10873         * soft-fp/floattisf.c: Likewise.
10874         * soft-fp/floattitf.c: Likewise.
10875         * soft-fp/floatundidf.c: Likewise.
10876         * soft-fp/floatundisf.c: Likewise.
10877         * soft-fp/floatunditf.c: Likewise.
10878         * soft-fp/floatunsidf.c: Likewise.
10879         * soft-fp/floatunsisf.c: Likewise.
10880         * soft-fp/floatunsitf.c: Likewise.
10881         * soft-fp/floatuntidf.c: Likewise.
10882         * soft-fp/floatuntisf.c: Likewise.
10883         * soft-fp/floatuntitf.c: Likewise.
10884         * soft-fp/fmadf4.c: Likewise.
10885         * soft-fp/fmasf4.c: Likewise.
10886         * soft-fp/fmatf4.c: Likewise.
10887         * soft-fp/gedf2.c: Likewise.
10888         * soft-fp/gesf2.c: Likewise.
10889         * soft-fp/getf2.c: Likewise.
10890         * soft-fp/ledf2.c: Likewise.
10891         * soft-fp/lesf2.c: Likewise.
10892         * soft-fp/letf2.c: Likewise.
10893         * soft-fp/muldf3.c: Likewise.
10894         * soft-fp/mulsf3.c: Likewise.
10895         * soft-fp/multf3.c: Likewise.
10896         * soft-fp/negdf2.c: Likewise.
10897         * soft-fp/negsf2.c: Likewise.
10898         * soft-fp/negtf2.c: Likewise.
10899         * soft-fp/op-1.h: Likewise.
10900         * soft-fp/op-2.h: Likewise.
10901         * soft-fp/op-4.h: Likewise.
10902         * soft-fp/op-8.h: Likewise.
10903         * soft-fp/op-common.h: Likewise.
10904         * soft-fp/quad.h: Likewise.
10905         * soft-fp/single.h: Likewise.
10906         * soft-fp/soft-fp.h: Likewise.
10907         * soft-fp/sqrtdf2.c: Likewise.
10908         * soft-fp/sqrtsf2.c: Likewise.
10909         * soft-fp/sqrttf2.c: Likewise.
10910         * soft-fp/subdf3.c: Likewise.
10911         * soft-fp/subsf3.c: Likewise.
10912         * soft-fp/subtf3.c: Likewise.
10913         * soft-fp/truncdfsf2.c: Likewise.
10914         * soft-fp/trunctfdf2.c: Likewise.
10915         * soft-fp/trunctfsf2.c: Likewise.
10916         * soft-fp/trunctfxf2.c: Likewise.
10917         * soft-fp/unorddf2.c: Likewise.
10918         * soft-fp/unordsf2.c: Likewise.
10919         * soft-fp/unordtf2.c: Likewise.
10921 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
10923         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10924         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10926 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
10928         * elf/dl-libc.c: Clear initfini list after freeing.
10930 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
10932         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10933         * soft-fp/addsf3.c: Likewise.
10934         * soft-fp/addtf3.c: Likewise.
10935         * soft-fp/divdf3.c: Likewise.
10936         * soft-fp/divsf3.c: Likewise.
10937         * soft-fp/divtf3.c: Likewise.
10938         * soft-fp/double.h: Likewise.
10939         * soft-fp/eqdf2.c: Likewise.
10940         * soft-fp/eqsf2.c: Likewise.
10941         * soft-fp/eqtf2.c: Likewise.
10942         * soft-fp/extenddftf2.c: Likewise.
10943         * soft-fp/extended.h: Likewise.
10944         * soft-fp/extendsfdf2.c: Likewise.
10945         * soft-fp/extendsftf2.c: Likewise.
10946         * soft-fp/extendxftf2.c: Likewise.
10947         * soft-fp/fixdfdi.c: Likewise.
10948         * soft-fp/fixdfsi.c: Likewise.
10949         * soft-fp/fixdfti.c: Likewise.
10950         * soft-fp/fixsfdi.c: Likewise.
10951         * soft-fp/fixsfsi.c: Likewise.
10952         * soft-fp/fixsfti.c: Likewise.
10953         * soft-fp/fixtfdi.c: Likewise.
10954         * soft-fp/fixtfsi.c: Likewise.
10955         * soft-fp/fixtfti.c: Likewise.
10956         * soft-fp/fixunsdfdi.c: Likewise.
10957         * soft-fp/fixunsdfsi.c: Likewise.
10958         * soft-fp/fixunsdfti.c: Likewise.
10959         * soft-fp/fixunssfdi.c: Likewise.
10960         * soft-fp/fixunssfsi.c: Likewise.
10961         * soft-fp/fixunssfti.c: Likewise.
10962         * soft-fp/fixunstfdi.c: Likewise.
10963         * soft-fp/fixunstfsi.c: Likewise.
10964         * soft-fp/fixunstfti.c: Likewise.
10965         * soft-fp/floatdidf.c: Likewise.
10966         * soft-fp/floatdisf.c: Likewise.
10967         * soft-fp/floatditf.c: Likewise.
10968         * soft-fp/floatsidf.c: Likewise.
10969         * soft-fp/floatsisf.c: Likewise.
10970         * soft-fp/floatsitf.c: Likewise.
10971         * soft-fp/floattidf.c: Likewise.
10972         * soft-fp/floattisf.c: Likewise.
10973         * soft-fp/floattitf.c: Likewise.
10974         * soft-fp/floatundidf.c: Likewise.
10975         * soft-fp/floatundisf.c: Likewise.
10976         * soft-fp/floatunsidf.c: Likewise.
10977         * soft-fp/floatunsisf.c: Likewise.
10978         * soft-fp/floatuntidf.c: Likewise.
10979         * soft-fp/floatuntisf.c: Likewise.
10980         * soft-fp/floatuntitf.c: Likewise.
10981         * soft-fp/fmadf4.c: Likewise.
10982         * soft-fp/fmasf4.c: Likewise.
10983         * soft-fp/fmatf4.c: Likewise.
10984         * soft-fp/gedf2.c: Likewise.
10985         * soft-fp/gesf2.c: Likewise.
10986         * soft-fp/getf2.c: Likewise.
10987         * soft-fp/ledf2.c: Likewise.
10988         * soft-fp/lesf2.c: Likewise.
10989         * soft-fp/letf2.c: Likewise.
10990         * soft-fp/muldf3.c: Likewise.
10991         * soft-fp/mulsf3.c: Likewise.
10992         * soft-fp/multf3.c: Likewise.
10993         * soft-fp/negdf2.c: Likewise.
10994         * soft-fp/negsf2.c: Likewise.
10995         * soft-fp/negtf2.c: Likewise.
10996         * soft-fp/op-1.h: Likewise.
10997         * soft-fp/op-2.h: Likewise.
10998         * soft-fp/op-4.h: Likewise.
10999         * soft-fp/op-8.h: Likewise.
11000         * soft-fp/op-common.h: Likewise.
11001         * soft-fp/quad.h: Likewise.
11002         * soft-fp/single.h: Likewise.
11003         * soft-fp/soft-fp.h: Likewise.
11004         * soft-fp/sqrtdf2.c: Likewise.
11005         * soft-fp/sqrtsf2.c: Likewise.
11006         * soft-fp/sqrttf2.c: Likewise.
11007         * soft-fp/subdf3.c: Likewise.
11008         * soft-fp/subsf3.c: Likewise.
11009         * soft-fp/subtf3.c: Likewise.
11010         * soft-fp/truncdfsf2.c: Likewise.
11011         * soft-fp/trunctfdf2.c: Likewise.
11012         * soft-fp/trunctfsf2.c: Likewise.
11013         * soft-fp/trunctfxf2.c: Likewise.
11014         * soft-fp/unorddf2.c: Likewise.
11015         * soft-fp/unordsf2.c: Likewise.
11016         * soft-fp/unordtf2.c: Likewise.
11018 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
11020         [BZ #15672]
11021         * misc/error.c (error_tail): Fix possible buffer overflow.
11023 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
11025         [BZ #13028]
11026         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11027         address.
11029 2013-10-14  P. J. McDermott  <pj@pehjota.net>
11031         [BZ #832]
11032         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
11033         testing pipefail option.
11035 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
11037         * soft-fp/double.h: Indent preprocessor directives inside #if.
11038         * soft-fp/extended.h: Likewise.
11039         * soft-fp/op-2.h: Likewise.
11040         * soft-fp/op-4.h: Likewise.
11041         * soft-fp/op-common.h: Likewise.
11042         * soft-fp/quad.h: Likewise.
11043         * soft-fp/single.h: Likewise.
11044         * soft-fp/soft-fp.h: Likewise.
11046 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
11048         * iconv/iconv_prog.c: Fix typos.
11049         * stdio-common/psiginfo-data.h: Likewise.
11051 2013-10-12   Reuben Thomas <rrt@sc3d.org>
11053         [BZ #15764]
11054         * locale/setlocale.c: Fix typo.
11056 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
11058         [BZ #16036]
11059         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11060         signaling NaN arguments.
11061         * soft-fp/unordsf2.c (__unordsf2): Likewise.
11062         * soft-fp/unordtf2.c (__unordtf2): Likewise.
11064         [BZ #14910]
11065         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11066         unordered operands.
11067         * soft-fp/gesf2.c (__gesf2): Likewise.
11068         * soft-fp/getf2.c (__getf2): Likewise.
11069         * soft-fp/ledf2.c (__ledf2): Likewise.
11070         * soft-fp/lesf2.c (__lesf2): Likewise.
11071         * soft-fp/letf2.c (__letf2): Likewise.
11073         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11074         * soft-fp/eqsf2.c (__eqsf2): Likewise.
11075         * soft-fp/eqtf2.c (__eqtf2): Likewise.
11076         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11077         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11078         * soft-fp/fixdfti.c (__fixdfti): Likewise.
11079         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11080         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11081         * soft-fp/fixsfti.c (__fixsfti): Likewise.
11082         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11083         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11084         * soft-fp/fixtfti.c (__fixtfti): Likewise.
11085         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11086         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11087         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11088         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11089         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11090         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11091         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11092         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11093         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11094         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11095         * soft-fp/floatdisf.c (__floatdisf): Likewise.
11096         * soft-fp/floatsisf.c (__floatsisf): Likewise.
11097         * soft-fp/floattidf.c (__floattidf): Likewise.
11098         * soft-fp/floattisf.c (__floattisf): Likewise.
11099         * soft-fp/floattitf.c (__floattitf): Likewise.
11100         * soft-fp/floatundidf.c (__floatundidf): Likewise.
11101         * soft-fp/floatundisf.c (__floatundisf): Likewise.
11102         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11103         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11104         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11105         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11106         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11107         * soft-fp/gesf2.c (__gesf2): Likewise.
11108         * soft-fp/getf2.c (__getf2): Likewise.
11109         * soft-fp/ledf2.c (__ledf2): Likewise.
11110         * soft-fp/lesf2.c (__lesf2): Likewise.
11111         * soft-fp/letf2.c (__letf2): Likewise.
11113         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11114         Undefine and redefine.
11115         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11116         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11117         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11118         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11119         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11120         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11121         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11122         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11123         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11124         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11125         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11126         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11127         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11128         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11129         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11131         [BZ #16032]
11132         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11133         without decrementing exponent if mantissa >= that for the
11134         denominator, not >.
11135         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11136         denominator, not >.  Decrement exponent in < case instead of
11137         incrementing in >= case.
11138         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11139         without decrementing exponent if mantissa >= that for the
11140         denominator, not >.
11142         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11143         computing saturated result for unsigned overflow.
11145 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11146             Jeff Law  <law@redhat.com>
11148         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11149         (atan2Mp): Add systemtap probe marker.
11150         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11151         (__ieee754_log): Add systemtap probe marker.
11152         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11153         (atanMp): Add systemtap probe marker.
11154         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11155         (tanMp): Add systemtap probe marker.
11156         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11157         (__slowexp): Add systemtap probe marker.
11158         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11159         (__slowpow): Add systemtap probe marker.
11160         * manual/probes.texi: Document probes.
11162 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
11164         [BZ #15362]
11165         * libio/fileops.c (_IO_new_file_write): Return count of bytes
11166         written.
11167         (_IO_new_file_xsputn): Don't return EOF if nothing has been
11168         written.
11169         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11170         written to buffer but not flushed.
11171         * libio/iofwrite_u.c:  Likewise.
11172         * libio/iopadn.c:  Return bytes returned even if EOF was
11173         encountered.
11174         * libio/iowpadn.c:  Likewise.
11175         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11176         if _IO_padn does not write the whole buffer.
11177         [!COMPILE_WPRINTF] (PAD): Likewise.
11179 2013-10-10  David S. Miller  <davem@davemloft.net>
11181         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11182         directory block.
11184 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
11186         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
11187         instead of FSF address.
11188         * soft-fp/fixdfti.c: Likewise.
11189         * soft-fp/fixsfti.c: Likewise.
11190         * soft-fp/fixtfti.c: Likewise.
11191         * soft-fp/fixunsdfti.c: Likewise.
11192         * soft-fp/fixunssfti.c: Likewise.
11193         * soft-fp/fixunstfti.c: Likewise.
11194         * soft-fp/floattidf.c: Likewise.
11195         * soft-fp/floattisf.c: Likewise.
11196         * soft-fp/floattitf.c: Likewise.
11197         * soft-fp/floatuntidf.c: Likewise.
11198         * soft-fp/floatuntisf.c: Likewise.
11199         * soft-fp/floatuntitf.c: Likewise.
11200         * soft-fp/trunctfxf2.c: Likewise.
11202         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
11203         * soft-fp/fixdfti.c: Likewise.
11204         * soft-fp/fixsfti.c: Likewise.
11205         * soft-fp/fixtfti.c: Likewise.
11206         * soft-fp/fixunsdfti.c: Likewise.
11207         * soft-fp/fixunssfti.c: Likewise.
11208         * soft-fp/fixunstfti.c: Likewise.
11209         * soft-fp/floattidf.c: Likewise.
11210         * soft-fp/floattisf.c: Likewise.
11211         * soft-fp/floattitf.c: Likewise.
11212         * soft-fp/floatuntidf.c: Likewise.
11213         * soft-fp/floatuntisf.c: Likewise.
11214         * soft-fp/floatuntitf.c: Likewise.
11215         * soft-fp/trunctfxf2.c: Likewise.
11217 2013-10-10  David S. Miller  <davem@davemloft.net>
11219         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11221 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
11223         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11224         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11225         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11226         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11227         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11228         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11229         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11231         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11232         for NaNs before doing comparisons on argument.
11233         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11234         Likewise.
11236 2013-10-10  Will Newton  <will.newton@linaro.org>
11238         * malloc/hooks.c (memalign_check): Ensure the value of bytes
11239         passed to _int_memalign does not overflow.
11241 2013-10-10  Torvald Riegel  <triegel@redhat.com>
11243         * scripts/bench.pl: Add include-sources directive.
11244         * benchtests/README: Update documentation.
11246 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
11248         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11249         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11250         instead of FP_INIT_ROUNDMODE.
11251         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11252         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11254         [BZ #16034]
11255         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
11256         copy class of input value.
11257         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
11258         not handle exceptions.
11259         * soft-fp/negsf2.c (__negsf2): Likewise.
11260         * soft-fp/negtf2.c (__negtf2): Likewise.
11261         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11263 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
11265         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11266         semicolon.  From Linux kernel.
11268 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
11270         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11272 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
11274         [BZ #156]
11275         * manual/socket.texi: Added statement about buffer
11276         for gethostbyname2_r.
11278 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
11280         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11281         Use .p2align directive instead, throughout.
11282         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11283         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11284         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11285         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11286         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11287         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11288         * sysdeps/x86_64/strchr.S: Likewise.
11289         * sysdeps/x86_64/strrchr.S: Likewise.
11291 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11293         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11295         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11297         * sysdeps/generic/math_private.h (__mpsin1): Remove
11298         declaration.
11299         (__mpcos1): Likewise.
11300         (__mpsin): New argument __range_reduce.
11301         (__mpcos): Likewise.
11302         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11303         (slow): Use __mpsin and __mpcos.
11304         (slow1): Likewise.
11305         (slow2): Likewise.
11306         (sloww): Likewise.
11307         (sloww1): Likewise.
11308         (sloww2): Likewise.
11309         (bsloww): Likewise.
11310         (bsloww1): Likewise.
11311         (bsloww2): Likewise.
11312         (cslow2): Likewise.
11313         (csloww): Likewise.
11314         (csloww1): Likewise.
11315         (csloww2): Likewise.
11316         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11317         range_reduce.  Merge in __mpsin1.
11318         (__mpcos): Likewise.
11319         (__mpsin1): Remove.
11320         (__mpcos1): Likewise.
11322 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
11324         * locale/loadlocale.c (_nl_intern_locale_data): Use
11325         LOCFILE_ALIGNED_P.
11326         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11327         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11328         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11329         obstack data is appropriately aligned.
11330         (obstack_int32_grow_fast): Likewise.
11331         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11332         * locale/programs/locfile.c (add_locale_uint32): Likewise.
11333         (add_locale_uint32_array): Likewise.
11335 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11337         * benchtests/Makefile: Remove ARGLIST and RET variables.
11338         ($(objpfx)bench-%.c): Pass only function name to the script.
11339         * benchtests/README: Update documentation.
11340         * benchtests/acos-inputs: Add new directives.
11341         * benchtests/acosh-inputs: Likewise.
11342         * benchtests/asin-inputs: Likewise.
11343         * benchtests/asinh-inputs: Likewise.
11344         * benchtests/atan-inputs: Likewise.
11345         * benchtests/atanh-inputs: Likewise.
11346         * benchtests/cos-inputs: Likewise.
11347         * benchtests/cosh-inputs: Likewise.
11348         * benchtests/exp-inputs: Likewise.
11349         * benchtests/log-inputs: Likewise.
11350         * benchtests/pow-inputs: Likewise.
11351         * benchtests/rint-inputs: Likewise.
11352         * benchtests/sin-inputs: Likewise.
11353         * benchtests/sinh-inputs: Likewise.
11354         * benchtests/tan-inputs: Likewise.
11355         * benchtests/tanh-inputs: Likewise.
11356         * scripts/bench.pl: Add support for new directives.
11358 2013-10-07  Alan Modra  <amodra@gmail.com>
11360         * README: Fix careless merge.
11362 2013-10-05  Alan Modra  <amodra@gmail.com>
11364         * NEWS: Mention powerpc64le support and bugs fixed.
11365         * README: Both big-endian and little-endian powerpc64 supported.
11367 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11369         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11370         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
11371         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11372         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11374 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
11376         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11377         match prototype.
11379 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
11381         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11382         Move -mhard-float appending from
11383         ports/sysdeps/powerpc/powerpc32/Makefile.
11384         [$(with-fp) = yes] (ASFLAGS): Likewise.
11385         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11386         * sysdeps/powerpc/nofpu: Move directory from
11387         ports/sysdeps/powerpc/nofpu.
11388         * sysdeps/powerpc/soft-fp: Move directory from
11389         ports/sysdeps/powerpc/soft-fp.
11390         * sysdeps/powerpc/powerpc32/405: Move directory from
11391         ports/sysdeps/powerpc/powerpc32/405.
11392         * sysdeps/powerpc/powerpc32/440: Move directory from
11393         ports/sysdeps/powerpc/powerpc32/440.
11394         * sysdeps/powerpc/powerpc32/464: Move directory from
11395         ports/sysdeps/powerpc/powerpc32/464.
11396         * sysdeps/powerpc/powerpc32/476: Move directory from
11397         ports/sysdeps/powerpc/powerpc32/476.
11398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11399         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11401         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11403         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11405         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11407         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11408         * README: Update for powerpc-*-linux-gnu software floating point
11409         support in libc.
11411         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11412         case to powerpc/powerpc32*.
11413         * sysdeps/unix/sysv/linux/configure: Regenerated.
11415         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11416         (_FPU_MASK_OM): Define as 0x04.
11417         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11418         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11419         0x00c10080.
11420         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11421         0x0000003c.
11422         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11425         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11426         getcontext_e500.
11427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11428         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11429         setcontext_e500.
11430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11431         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11432         and setcontext_e500.
11434 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
11436         * locale/iso-3166.def: Update iso-1366.def and related occurrences
11438 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11440         * manual/threads.texi (Default Thread Attributes): Fix typo.
11442 2013-10-04  Will Newton  <will.newton@linaro.org>
11444         * malloc/Makefile: Add tst-memalign.
11445         * malloc/tst-memalign.c: New file.
11447         * malloc/tst-posix_memalign.c: Add comments.
11448         (do_test): Add comments and call free on all potentially
11449         allocated pointers. Add space after cast.
11451         * malloc/tst-pvalloc.c: Add comments.
11452         (do_test): Add comments and call free on all potentially
11453         allocated pointers. Remove duplicate check for NULL pointer.
11454         Add space after cast.
11456         * malloc/tst-valloc.c: Add comments.
11457         (do_test): Add comments and call free on all potentially
11458         allocated pointers. Remove duplicate check for NULL pointer.
11459         Add space after cast.
11461 2013-10-04  Alan Modra  <amodra@gmail.com>
11463         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11464         Use stdint types in rather than __attribute__((mode())).
11465         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11467 2013-10-04  Alan Modra  <amodra@gmail.com>
11469         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11470         Correct handling of unaligned relocs for little-endian.
11471         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11473 2013-10-04  Alan Modra  <amodra@gmail.com>
11475         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11476         * configure: Regenerate.
11477         * nptl/shlib-versions: Powerpc*le starts at 2.18.
11478         * shlib-versions: Likewise.
11480 2013-10-04  Alan Modra  <amodra@gmail.com>
11482         * string/tester.c (test_memrchr): Increment reported test cycle.
11484 2013-10-04  Alan Modra  <amodra@gmail.com>
11486         * string/test-memcpy.c (do_one_test): When reporting errors, print
11487         string address and don't overrun end of string.
11489 2013-10-04  Alan Modra  <amodra@gmail.com>
11491         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11492         insrdi.  Make better use of reg selection to speed exit slightly.
11493         Schedule entry path a little better.  Remove useless "are we done"
11494         checks on entry to main loop.  Handle wrapping around zero address.
11495         Correct main loop count.  Handle single left-over word from main
11496         loop inline rather than by using loop_small.  Remove extra word
11497         case in loop_small caused by wrong loop count.  Add little-endian
11498         support.
11499         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11500         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
11501         cache hint.
11502         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11503         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11504         support.  Avoid rlwimi.
11505         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11507 2013-10-04  Alan Modra  <amodra@gmail.com>
11509         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
11510         insrdi.  Formatting.
11511         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11512         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11513         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11514         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11515         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11516         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11518 2013-10-04  Alan Modra  <amodra@gmail.com>
11520         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11521         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11522         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11523         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11524         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11525         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11526         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11527         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11528         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
11529         use of regs.  Use power7 mtocrf.  Tidy function tails.
11531 2013-10-04  Alan Modra  <amodra@gmail.com>
11533         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11534         Formatting.  Consistently use rXXX register defines or rN defines.
11535         Use early exit labels that avoid restoring unused non-volatile regs.
11536         Make cr field use more consistent with rWORDn compares.  Rename
11537         regs used as shift registers for unaligned loop, using rN defines
11538         for short lifetime/multiple use regs.
11539         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11540         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
11541         addi 1,1,64 to pop stack frame.  Simplify return value code.
11542         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11544 2013-10-04  Alan Modra  <amodra@gmail.com>
11546         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11547         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
11548         rather than rlwimi.
11549         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11550         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11551         little-endian support.  Correct typos.
11552         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
11553         rather than rlwimi.
11554         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
11555         in loop and entry code to keep "and." results.
11556         (strchr): Add little-endian support.  Comment.  Move cntlzd
11557         earlier in tail.
11558         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11560 2013-10-04  Alan Modra  <amodra@gmail.com>
11562         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11563         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11564         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11565         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11567 2013-10-04  Alan Modra  <amodra@gmail.com>
11569         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11570         (rTMP): Define as r11.
11571         (strcmp): Add little-endian support.  Optimise tail.
11572         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11573         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11574         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11575         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11576         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11577         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11578         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11580 2013-10-04  Alan Modra  <amodra@gmail.com>
11582         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11583         little-endian support.  Remove unnecessary "are we done" tests.
11584         Handle "s" wrapping around zero and extremely large "size".
11585         Correct main loop count.  Handle single left-over word from main
11586         loop inline rather than by using small_loop.  Correct comments.
11587         Delete "zero" tail, use "end_max" instead.
11588         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11590 2013-10-04  Alan Modra  <amodra@gmail.com>
11592         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11593         support.  Don't branch over align.
11594         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11595         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11596         support.  Rearrange tmp reg use to suit.  Comment.
11597         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11599 2013-10-04  Alan Modra  <amodra@gmail.com>
11601         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11603 2013-10-04  Alan Modra  <amodra@gmail.com>
11605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11606         conditional form of branch and link when obtaining pc.
11607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11609 2013-10-04  Alan Modra  <amodra@gmail.com>
11611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11612         HIWORD/LOWORD.
11613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11616 2013-10-04  Alan Modra  <amodra@gmail.com>
11618         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11619         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11620         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11621         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11622         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11623         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11624         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11625         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11626         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11627         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11629 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11630             Alistair Popple <alistair@ozlabs.au.ibm.com>
11631             Alan Modra <amodra@gmail.com>
11633         [BZ #15723]
11634         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11635         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11636         _dl_hwcap access for little-endian.
11637         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
11638         destroy vmx regs when saving unaligned.
11639         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11640         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
11641         destroy vmx regs when saving unaligned.
11643 2013-10-04  Alan Modra  <amodra@gmail.com>
11645         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11646         Don't use a union to pack hi/low value.
11648 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11650         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11651         for little-endian.
11652         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11653         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11654         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11655         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11656         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11658 2013-10-04  Alan Modra  <amodra@gmail.com>
11660         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11661         constants to usual value for .cst8 section, and remove redundant
11662         high address load.
11663         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11664         constant for 0x1p52.  Load little-endian words of double from
11665         correct stack offsets.
11667 2013-10-04  Alan Modra  <amodra@gmail.com>
11669         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11670         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11671         words of double from correct stack offsets.
11672         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11673         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11674         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11675         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11676         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11677         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11678         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11679         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11680         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11681         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11682         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11683         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11684         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11685         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11686         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11687         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11688         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11690 2013-10-04  Alan Modra  <amodra@gmail.com>
11692         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11693         64-bit int/double union.
11694         (_FPU_SETCW): Likewise.
11695         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11696         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11698 2013-10-04  Alan Modra  <amodra@gmail.com>
11700         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11701         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11703 2013-10-04  Alan Modra  <amodra@gmail.com>
11705         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11706         use vector int constants.
11707         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11709 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11711         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11712         array with long long.
11713         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11714         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11715         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11716         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11717         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11718         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11719         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11720         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11721         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11722         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11723         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11724         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11725         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11727 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11729         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11730         (__signbit): Likewise.  Correct for little-endian.
11731         (__signbitl): Call __signbit.
11732         (lrint): Correct for little-endian.
11733         (lrintf): Call lrint.
11735 2013-10-04  Alan Modra  <amodra@gmail.com>
11737         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11738         union 32-bit int array member with 64-bit int array.
11739         (t515, tm256): Double rather than long double.
11740         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11742 2013-10-04  Alan Modra  <amodra@gmail.com>
11744         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11745         Delete.
11746         (IEEE854_LONG_DOUBLE_BIAS): Delete.
11747         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11748         version of math_ldbl.h.
11750 2013-10-04  Alan Modra  <amodra@gmail.com>
11752         [BZ #15734], [BZ #15735]
11753         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11754         all uses of ieee875 long double macros and unions.  Simplify test
11755         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
11756         ldbl_extract_mantissa value for ix,iy exponents.  Properly
11757         normalize after ldbl_extract_mantissa, and don't add hidden bit
11758         already handled.  Don't treat low word of ieee854 mantissa like
11759         low word of IBM long double and mask off bit when testing for
11760         zero.
11761         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11762         all uses of ieee875 long double macros and unions.  Simplify tests
11763         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
11764         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
11765         two1022, instead use their values.  Recognise that tests for large
11766         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
11767         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11768         Rewrite all uses of ieee875 long double macros and unions.  Simplify
11769         test for 0.0L and nan.  Correct negation.
11770         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11771         ieee875 long double macros and unions.  Correct output for large
11772         magnitude x.  Correct absolute value calculation.
11773         (__erfcl): Likewise.
11774         * math/libm-test.inc: Add tests for errors discovered in IBM long
11775         double versions of fmodl, remainderl, erfl and erfcl.
11777 2013-10-04  Alan Modra  <amodra@gmail.com>
11779         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11780         all uses of ieee854 long double macros and unions.  Simplify tests
11781         for long doubles that are fully specified by the high double.
11782         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11783         Likewise.
11784         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11785         Remove dead code too.
11786         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11787         (__ieee754_ynl): Likewise.
11788         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11789         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11790         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11791         Remove dead code too.
11792         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11793         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11794         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11795         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11796         Simplify.
11797         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11798         Simplify.
11799         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11800         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11801         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11802         Comment on variable precision.
11803         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11804         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11805         Likewise.
11806         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11807         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11808         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11809         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11810         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11812 2013-10-04  Alan Modra  <amodra@gmail.com>
11814         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11815         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11816         all uses of ieee854 long double macros and unions.
11817         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11818         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11819         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11820         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11821         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11822         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11823         Likewise.
11824         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11825         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11826         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11827         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11828         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11829         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11830         Simplify sign and nan test too.
11831         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11832         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11833         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11834         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11835         Likewise.
11836         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11837         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11838         Likewise.
11839         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11840         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11841         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11842         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11843         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11844         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11846 2013-10-04  Alan Modra  <amodra@gmail.com>
11848         * stdio-common/printf_size.c (__printf_size): Don't use
11849         union ieee854_long_double in fpnum union.
11850         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
11851         signbit macro to retrieve sign from long double.
11852         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11853         retrieve sign from long double.
11854         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11855         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11856         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11857         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11858         * math/test-misc.c (main): Don't use union ieee854_long_double.
11860 2013-10-04  Alan Modra  <amodra@gmail.com>
11862         [BZ #15680]
11863         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11864         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11865         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11866         calculation.  Remove unnecessary test for denormal exponent.
11867         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11868         Correct handling of denormals.  Avoid undefined shift behaviour.
11869         Correct normalisation of low mantissa when low double is denormal.
11870         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11871         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
11872         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11873         Correct normalisation of low mantissa.  Test for overflow of high
11874         mantissa and normalise.
11875         (ldbl_nearbyint): Use more readable constant for two52.
11876         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11877         (__mpn_construct_long_double): Fix test for overflow of high
11878         mantissa and correct normalisation.  Avoid undefined shift.
11880 2013-10-04  Alan Modra  <amodra@gmail.com>
11882         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11883         (union ibm_extended_long_double): Define as an array of ieee754_double.
11884         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11885         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11886         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11887         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11888         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11889         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11890         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11891         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11892         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11893         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11894         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11896 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
11898         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11899         page size instead of calling getpagesize.
11901         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11902         (LOCFILE_ALIGN_MASK): Likewise.
11903         (LOCFILE_ALIGN_UP): Likewise.
11904         (LOCFILE_ALIGNED_P): Likewise.
11905         * locale/programs/ld-collate.c (collate_output): Use the new
11906         macros instead of __alignof__ (int32_t).
11907         * locale/weight.h (findidx): Likewise.
11909 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
11911         [BZ #431]
11912         * manual/string.texi: Fix strncat and wcsncat.
11914 2013-10-03  Brooks Moses  <bmoses@google.com>
11916         [BZ #15915]
11917         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11918         * Makerules: ...here, and adjust associated comments.
11920 2013-10-02  Will Newton  <will.newton@linaro.org>
11922         * malloc/Makefile: Add tst-pvalloc.
11923         * malloc/tst-pvalloc.c: New file.
11925 2013-10-02  Will Newton  <will.newton@linaro.org>
11927         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11928         improve test coverage.
11930 2013-10-02  Will Newton  <will.newton@linaro.org>
11932         * malloc/Makefile: Add tst-posix_memalign.
11933         * malloc/tst-posix_memalign.c: New file.
11935 2013-10-01  Eric Blake  <eblake@redhat.com>
11937         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11938         Use __THROWNL rather than __THROW on static functions.
11940 2013-09-30  Petr Machata  <pmachata@redhat.com>
11942         * elf/elf.h (R_AARCH64_ABS16): New macro.
11943         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11944         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11945         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11946         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11947         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11948         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11949         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11950         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11951         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11952         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11953         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11954         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11955         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11956         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11957         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11958         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11959         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11960         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11961         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11962         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11963         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11964         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11965         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11966         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11967         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11968         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11969         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11970         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11971         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11972         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11973         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11974         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11975         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11976         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11977         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11978         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11979         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11980         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11981         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11982         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11983         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11984         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11985         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11986         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11987         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11988         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11989         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11990         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11991         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11992         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11993         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11994         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11995         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11996         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11997         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11998         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11999         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12000         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12001         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12002         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12003         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12004         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12005         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12006         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12007         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12008         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12009         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12010         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12011         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12012         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12013         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12014         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12015         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12016         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12017         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12018         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12019         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12020         (R_AARCH64_TLSDESC_LDR): Likewise.
12021         (R_AARCH64_TLSDESC_ADD): Likewise.
12022         (R_AARCH64_TLSDESC_CALL): Likewise.
12024 2013-09-30  Andreas Schwab  <schwab@suse.de>
12026         [BZ #15048]
12027         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12028         the nss database lookup.
12029         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12030         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12032 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
12034         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12036 2013-09-28  P. J. McDermott  <pj@pehjota.net>
12038         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12039         ${Bash-specific parameter/pattern/string} parameter expansion.
12040         * sysdeps/unix/make-syscalls.sh: Likewise.
12042 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12044         * sysdeps/sh/stackguard-macros.h: New file.
12046 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
12048         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12049         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12050         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12051         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12052         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12053         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12055 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12057         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12058         Fix thread ID register.
12060 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
12062         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12063         [POSIX || UNIX98]: Require rather than permitting all symbols from
12064         <time.h>.
12065         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12066         element of struct sched_param.
12067         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12068         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12069         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12070         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12071         constant.
12073 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
12075         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12076         argument calculation.
12078 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
12080         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12081         Expect macro.
12082         [POSIX] (pthread_attr_t): Do not require type.
12083         [POSIX] (pthread_cond_t): Likewise.
12084         [POSIX] (pthread_condattr_t): Likewise.
12085         [POSIX] (pthread_key_t): Likewise.
12086         [POSIX] (pthread_mutex_t): Likewise.
12087         [POSIX] (pthread_mutexattr_t): Likewise.
12088         [POSIX] (pthread_once_t): Likewise.
12089         [POSIX] (pthread_t): Likewise.
12090         [POSIX-based standards] (pthread_atfork): Expect function.
12092 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
12093             Richard Sandiford  <richard@codesourcery.com>
12095         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12096         (swap_endianness_p): New extern variable.
12097         (set_big_endian): New inline function.
12098         (maybe_swap_uint32): Likewise.
12099         (maybe_swap_uint32_array): Likewise.
12100         (maybe_swap_uint32_obstack): Likewise.
12101         * locale/programs/locfile.c: Include <stdbool.h>.
12102         (swap_endianness_p): New variable.
12103         (add_locale_uint32): Call maybe_swap_uint32.
12104         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12105         (write_locale_data): Call maybe_swap_uint32_array.
12106         * locale/programs/ld-collate.c (obstack_int32_grow): Call
12107         maybe_swap_uint32.
12108         (obstack_int32_grow_fast): Likewise.
12109         (output_weightwc): Call maybe_swap_uint32_obstack.
12110         (collate_output): Likewise.
12111         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12112         (OPT_LITTLE_ENDIAN): Likewise.
12113         (options): Add --little-endian and --big-endian options.
12114         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12115         * locale/programs/locarchive.c: Include "locfile.h".
12116         (GET): New macro.
12117         (SET): Likewise.
12118         (INC): Likewise.
12119         (create_archive): Use the new macros to access fields of
12120         structures directly mapped from or written to locale archives.
12121         (oldlocrecentcmp): Likewise.
12122         (enlarge_archive): Likewise.
12123         (insert_name): Likewise.
12124         (add_alias): Likewise.
12125         (add_locale): Likewise.
12126         (delete_locales_from_archive): Likewise.
12127         (show_archive_content): Likewise.
12128         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
12129         locale data.
12131 2013-09-24  Roland McGrath  <roland@hack.frob.com>
12133         * manual/freemanuals.texi: Updated from (newly) canonical copy at
12134         http://www.gnu.org/doc/freemanuals.texi.
12135         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12137 2013-09-24  Will Newton  <will.newton@linaro.org>
12139         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12140         macro.
12142 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
12144         * locale/hashval.h (compute_hashval): Interpret bytes of key as
12145         unsigned char.
12147 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
12149         * manual/threads.texi (POSIX Threads): Fix a typo.
12151 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12153         [BZ #14547]
12154         * string/tst-strcoll-overflow.c: New test case.
12155         * string/Makefile (xtests): Add tst-strcoll-overflow.
12156         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12157         cache if string sizes may cause integer overflow.
12159         [BZ #14547]
12160         * string/strcoll_l.c (coll_seq): New members rule, idx,
12161         save_idx and back_us.
12162         (get_next_seq_nocache): New function.
12163         (do_compare_nocache): New function.
12164         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12165         when malloc fails.
12167 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
12169         [BZ #15754]
12170         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12171         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12172         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12174         [BZ #15754]
12175         * elf/Makefile (tests): Add tst-ptrguard1.
12176         (tests-static): Add tst-ptrguard1-static.
12177         (tst-ptrguard1-ARGS): Define.
12178         (tst-ptrguard1-static-ARGS): Define.
12179         * elf/tst-ptrguard1.c: New file.
12180         * elf/tst-ptrguard1-static.c: New file.
12181         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12182         * sysdeps/i386/stackguard-macros.h: Likewise.
12183         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12184         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12185         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12186         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12187         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12188         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12190 2013-09-23  Hector Marco  <hecmargi@upv.es>
12191             Ismael Ripoll  <iripoll@disca.upv.es>
12192             Carlos O'Donell  <carlos@redhat.com>
12194         [BZ #15754]
12195         * sysdeps/generic/stackguard-macros.h: Define
12196         __pointer_chk_guard_local and POINTER_CHK_GUARD.
12197         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12198         Define __pointer_chk_guard_local.
12199         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12200         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12202 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
12204         [BZ #15859]
12205         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12207 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
12209         * include/string.h (__ffs): Declare as hidden.
12210         * string/ffs.c (__ffs): Define as hidden.
12211         * sysdeps/i386/ffs.c (__ffs): Likewise.
12212         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12213         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12214         * sysdeps/s390/ffs.c (__ffs): Likewise.
12215         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12217 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
12219         * NEWS: Mention malloc probes.
12221         * malloc/arena.c (new_heap): New memory_heap_new probe.
12222         (grow_heap): New memory_heap_more probe.
12223         (shrink_heap): New memory_heap_less probe.
12224         (heap_trim): New memory_heap_free probe.
12225         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12226         (systrim): New memory_sbrk_less probe.
12227         * manual/probes.texi: Document them.
12229         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12230         * manual/probes.texi: Document it.
12232         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12233         (__libc_realloc): Add memory_realloc_retry probe.
12234         (__libc_memalign): Add memory_memalign_retry probe.
12235         (__libc_valloc): Add memory_valloc_retry probe.
12236         (__libc_pvalloc): Add memory_pvalloc_retry probe.
12237         (__libc_calloc): Add memory_calloc_retry probe.
12238         * manual/probes.texi: Document them.
12240         * malloc/arena.c (get_free_list): Add probe
12241         memory_arena_reuse_free_list.
12242         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12243         and memory_arena_reuse.
12244         (arena_get2) [!PER_THREAD]: Likewise.
12245         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12246         memory_arena_reuse_realloc.
12247         * manual/probes.texi: Document them.
12249         * malloc/malloc.c (__libc_free): Add
12250         memory_mallopt_free_dyn_thresholds probe.
12251         (__libc_mallopt): Add multiple memory_mallopt probes.
12252         * manual/probes.texi: Document them.
12254         * malloc/malloc.c: Include stap-probe.h.
12255         (__libc_mallopt): Add memory_mallopt probe.
12256         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12257         * manual/probes.texi: New.
12258         * manual/Makefile (chapters): Add probes.
12259         * manual/threads.texi: Set next node.
12261 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
12263         [BZ #15963, #13985]
12264         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12265         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12266         Add `Chinese' to `nan' entry name.
12268 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12270         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12271         (POLYNOMIAL): Likewise.
12272         (TAYLOR_SINCOS): Likewise.
12273         (TAYLOR_SLOW): Likewise.
12274         (__sin): Use TAYLOR_SINCOS.
12275         (__cos): Likewise.
12276         (slow): Use TAYLOR_SLOW.
12277         (sloww): Likewise.
12278         (bsloww): Likewise.
12279         (csloww): Likewise.
12281 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12283         * stdlib/strtod_l.c: Fix buffer overrun.
12285 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12287         * benchtests/Makefile (bench): Add sincos.
12288         * benchtests/bench-sincos.c: New file.
12290         * math/libm-test.inc (cos_test_data): New test inputs.
12291         (sin_test_data): Likewise.
12293         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12294         macro.
12295         (__sin): Use it.
12296         (__cos): Likewise.
12297         (slow1): Likewise.
12298         (slow2): Likewise.
12299         (sloww1): Likewise.
12300         (sloww2): Likewise.
12301         (bsloww1): Likewise.
12302         (bsloww2): Likewise.
12303         (cslow2): Likewise.
12304         (csloww1): Likewise.
12305         (csloww2): Likewise.
12307         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12308         function.
12309         (__sin): Use it.
12310         (__cos): Likewise.
12312         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12313         gotos.
12314         (__cos): Likewise.
12316 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
12318         * config.h.in (HAVE_MIPS_NAN2008): New macro.
12319         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12320         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12321         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12322         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12323         * elf/cache.c (print_entry): Handle the new cache flags.
12325 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
12326             Aldy Hernandez  <aldyh@redhat.com>
12328         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12329         Change condition to [_SOFT_FLOAT].
12330         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12331         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12332         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12333         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12334         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12335         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12336         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12337         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12338         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12339         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12340         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12341         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12342         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12343         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12344         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12345         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12346         declaration.
12348 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
12350         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12351         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12352         (__longjmp): Use LOAD_GP to load saved GPRs.
12353         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12354         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12355         (__sigsetjmp): Use SAVE_GP to save GPRs.
12357         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12358         Do not append -msoft-float.
12359         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12361 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12363         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12365 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
12367         [BZ #15966]
12368         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12369         (_FPU_GETCW): Use initial "__" on variable and field names but not
12370         on macro parameter name.
12371         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
12372         parentheses around reference to macro parameter.
12374 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
12376         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12377         prototype.
12378         (ctype_startup): Use uint32_t in cast and sizeof for
12379         ctype->charnames.
12381 2013-09-11  Jia Liu  <proljc@gmail.com>
12383         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12384         __daddr_t_defined.
12385         [__FreeBSD__]: Likewise.
12387 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
12389         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12390         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12391         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12392         (strchr): Remove __strchr_sse42 ifunc selection.
12393         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12394         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12396 2013-09-11  Will Newton  <will.newton@linaro.org>
12398         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12399         parameter to RES. Remove hardcoded 1000 value.
12400         * benchtests/bench-skeleton.c (main): Pass RES parameter
12401         to TIMING_INIT and multiply result by 1000.
12403 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12407 2013-09-11  Andreas Schwab  <schwab@suse.de>
12409         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12410         if not defined.
12411         (O_TMPFILE) [__USE_GNU]: Define.
12412         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12413         Define.
12415 2013-09-11  Will Newton  <will.newton@linaro.org>
12417         [BZ #15857]
12418         * malloc/malloc.c (__libc_memalign): Check the value of bytes
12419         does not overflow.
12421 2013-09-11  Will Newton  <will.newton@linaro.org>
12423         [BZ #15856]
12424         * malloc/malloc.c (__libc_valloc): Check the value of bytes
12425         does not overflow.
12427 2013-09-11  Will Newton  <will.newton@linaro.org>
12429         [BZ #15855]
12430         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12431         does not overflow.
12433 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
12435         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12436         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12437         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12438         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12439         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12441 2013-09-10  Allan McRae  <allan@archlinux.org>
12443         [BZ #15748]
12444         * manual/arith.texi (Parsing of Floats): Clarify
12445         cross-reference.
12447         [BZ #15849]
12448         * manual/install.texi (Running make install): Mention
12449         --enable-pt-chown.
12450         * INSTALL: Regenerated.
12452 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12454         * csu/init-first.c (_init): Remove the !SHARED condition around
12455         FPU control word initialization.
12456         * elf/dl-support.c (_dl_fpu_control): New variable.
12457         (_dl_aux_init) <AT_FPUCW>: Initialize it.
12458         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12459         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12460         * math/test-fpucw-static.c: New file.
12461         * math/test-fpucw-ieee.c: New file.
12462         * math/test-fpucw-ieee-static.c: New file.
12463         * math/Makefile (tests): Add `test-fpucw-ieee' and
12464         `$(tests-static)'.
12465         (tests-static): New variable.
12466         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12467         dependency to...
12468         [($(build-shared),yes)]
12469         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12470         ... this.
12471         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12472         New dependency.
12474 2013-09-09  Allan McRae  <allan@archlinux.org>
12476         [BZ #15939]
12477         * manual/string.texi (Collation Functions): Fix typo in
12478         strcoll example.
12479         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12481         [BZ #15893]
12482         * stdlib/isomac.c (get_null_defines): Fix memory leak.
12484         [BZ #15892]
12485         * libio/memstream.c (open_memstream): Fix memory leak.
12486         * libio/wmemstream.c (open_wmemstream): Likewise.
12488         [BZ #15895]
12489         * nscd/netgroupcache.c: Fix nesting of ifdefs.
12491 2013-09-09  Will Newton  <will.newton@linaro.org>
12493         * malloc/Makefile: Add tst-realloc to tests.
12494         * malloc/tst-realloc.c: New file.
12496 2013-09-09  Allan McRae  <allan@archlinux.org>
12498         [BZ #15844]
12499         * COPYING: Update from GNU website to fix FSF address.
12500         * COPYING.LIB: Likewise.
12502 2013-09-06  David S. Miller  <davem@davemloft.net>
12504         * po/zh_TW.po: Update Chinese (traditional) translation from
12505         translation project.
12507 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
12508             Joseph Myers  <joseph@codesourcery.com>
12510         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12511         "localeinfo.h".
12512         (obstack_chunk_alloc): New macro.
12513         (obstack_chunk_free): Likewise.
12514         (record_offset): New function.
12515         (init_locale_data): Likewise.
12516         (align_locale_data): Likewise.
12517         (add_locale_empty): Likewise.
12518         (add_locale_raw_data): Likewise.
12519         (add_locale_raw_obstack): Likewise.
12520         (add_locale_string): Likewise.
12521         (add_locale_wstring): Likewise.
12522         (add_locale_uint32): Likewise.
12523         (add_locale_uint32_array): Likewise.
12524         (add_locale_char): Likewise.
12525         (start_locale_structure): Likewise.
12526         (end_locale_structure): Likewise.
12527         (start_locale_prelude): Likewise.
12528         (end_locale_prelude): Likewise.
12529         (write_locale_data): Take locale_file structure rather than an
12530         iovec.
12531         * locale/programs/locfile.h: Include "obstack.h".
12532         (struct locale_file): Change to store locale file contents instead
12533         of header.
12534         (init_locale_data): New prototype.
12535         (align_locale_data): Likewise.
12536         (add_locale_empty): Likewise.
12537         (add_locale_raw_data): Likewise.
12538         (add_locale_raw_obstack): Likewise.
12539         (add_locale_string): Likewise.
12540         (add_locale_wstring): Likewise.
12541         (add_locale_uint32): Likewise.
12542         (add_locale_uint32_array): Likewise.
12543         (add_locale_char): Likewise.
12544         (start_locale_structure): Likewise.
12545         (end_locale_structure): Likewise.
12546         (start_locale_prelude): Likewise.
12547         (end_locale_prelude): Likewise.
12548         (write_locale_data): Update prototype.
12549         * locale/programs/3level.h (struct TABLE): Remove result field.
12550         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12551         Use new locale_file interface.
12552         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12553         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12554         * locale/programs/ld-address.c (address_output): Use new
12555         locale_file interface.
12556         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12557         NO_ADD_LOCALE.
12558         (collate_finish): Don't call collseq_table_finalize.
12559         (collate_output): Use new locale_file interface.
12560         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12561         in file.
12562         (NO_FINALIZE): Change to NO_ADD_LOCALE.
12563         (TABLE): Move defines earlier in file.
12564         (ELEMENT): Likewise.
12565         (DEFAULT): Likewise.
12566         (wctrans_table_add): Move macro and inline function earlier in
12567         file.
12568         (struct wctype_table): Move type earlier in file.
12569         (add_locale_wctype_table): New static prototype.
12570         (struct locale_ctype_t): Use logical types instead of struct iovec
12571         pointers for members.
12572         (ctype_output): Use new locale_file interface.
12573         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
12574         new locale_file interface.
12575         (allocate_arrays): Update for use of new locale_file interface.
12576         * locale/programs/ld-identification.c (identification_output): Use
12577         new locale_file interface.
12578         * locale/programs/ld-measurement.c (measurement_output): Likewise.
12579         * locale/programs/ld-messages.c (messages_output): Likewise.
12580         * locale/programs/ld-monetary.c (monetary_output): Likewise.
12581         * locale/programs/ld-name.c (name_output): Likewise.
12582         * locale/programs/ld-numeric.c (numeric_output): Likewise.
12583         * locale/programs/ld-paper.c (paper_output): Likewise.
12584         * locale/programs/ld-telephone.c (telephone_output): Likewise.
12585         * locale/programs/ld-time.c (time_output): Likewise.
12587 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12589         * benchtests/Makefile: Add memrchr benchmark.
12590         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12591         benchmark as memrchr.
12592         * benchtests/bench-memrchr-ifunc.c: New file.
12593         * benchtests/bench-memrchr.c: New file.
12595 2013-09-06   Will Newton  <will.newton@linaro.org>
12597         * benchtests/Makefile (string-bench): Add memcpy.
12599 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
12600             Cong Wang  <amwang@redhat.com>
12602         [BZ #15850]
12603         * sysdeps/unix/sysv/linux/bits/in.h
12604         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12605         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12606         before __USE_KERNEL_IPV6_DEFS uses.
12607         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12608         IPPROTO_BEETPH.
12609         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12610         sockaddr_in6, or ipv6_mreq.
12612 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12614         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12615         memory access for final bytes in some large inputs.
12616         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12618 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12620         * string/test-memrchr.c: New file.
12621         * string/test-memrchr-ifunc.c: New file.
12622         * string/Makefile: Add new memrchr testcase.
12624 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
12626         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12627         fanotify_init returns EPERM.
12629 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
12631         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12632         errors.
12633         (top level): Treat second token from macro or constant entries for
12634         allowed headers as allowed.
12635         * include/complex.h: Condition internal declarations on
12636         [!_ISOMAC].
12637         * include/fenv.h: Condition include of <stdbool.h> and internal
12638         declarations on [!_ISOMAC].
12640 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
12642         [BZ #15923]
12643         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12645 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
12647         * configure.in (--enable-versioning): Remove configure option.
12648         (libc_cv_asm_symver_directive): Remove configure test.
12649         (libc_cv_ld_version_script_option): Likewise.
12650         (VERSIONING): Remove variable and AC_SUBST.
12651         (DO_VERSIONING): Remove AC_DEFINE.
12652         * configure: Regenerated.
12653         * config.h.in (DO_VERSIONING): Remove macro.
12654         * Makerules [$(versioning) = yes]: Change conditionals to
12655         [$(build-shared) = yes].
12656         * config.make.in (versioning): Remove variable.
12657         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12658         [$(build-shared) = yes].
12659         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12660         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12661         * elf/Makefile [$(versioning) = yes]: Change conditionals to
12662         [$(build-shared) = yes].
12663         * extra-lib.mk [$(versioning) = yes]: Likewise.
12664         * hurd/Makefile [$(versioning) = yes]: Likewise.
12665         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12666         [SHARED].
12667         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12668         [SHARED].
12669         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12670         [SHARED && !NO_HIDDEN].
12671         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12672         [SHARED].
12673         [SHARED && DO_VERSIONING]: Likewise..
12674         * libio/Makefile [$(versioning) = yes]: Change conditionals to
12675         [$(build-shared) = yes].
12676         * manual/install.texi (--disable-versioning): Remove
12677         documentation.
12678         * INSTALL: Regenerated.
12679         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12680         to [SHARED].
12681         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12682         [$(build-shared) = yes].
12683         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12684         * sysdeps/i386/i686/multiarch/strstr-c.c
12685         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12686         [SHARED && !NO_HIDDEN].
12687         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12688         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12689         * sysdeps/powerpc/powerpc32/dl-machine.c
12690         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12691         * sysdeps/powerpc/powerpc32/sysdep.h
12692         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12693         to [SHARED && PIC && !NO_HIDDEN].
12694         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12695         conditional to [SHARED].
12697 2013-09-04   Will Newton  <will.newton@linaro.org>
12699         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12700         * benchtests/bench-string.h: Include bench-timing.h instead
12701         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12702         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12703         call to HP_TIMING_DIFF_INIT.
12704         * benchtests/bench-memccpy.c: Use bench-timing.h macros
12705         instead of hp-timing.h macros.
12706         * benchtests/bench-memchr.c: Likewise.
12707         * benchtests/bench-memcmp.c: Likewise.
12708         * benchtests/bench-memcpy.c: Likewise.
12709         * benchtests/bench-memmem.c: Likewise.
12710         * benchtests/bench-memmove.c: Likewise.
12711         * benchtests/bench-memset.c: Likewise.
12712         * benchtests/bench-rawmemchr.c: Likewise.
12713         * benchtests/bench-strcasecmp.c: Likewise.
12714         * benchtests/bench-strcasestr.c: Likewise.
12715         * benchtests/bench-strcat.c: Likewise.
12716         * benchtests/bench-strchr.c: Likewise.
12717         * benchtests/bench-strcmp.c: Likewise.
12718         * benchtests/bench-strcpy.c: Likewise.
12719         * benchtests/bench-strcpy_chk.c: Likewise.
12720         * benchtests/bench-strlen.c: Likewise.
12721         * benchtests/bench-strncasecmp.c: Likewise.
12722         * benchtests/bench-strncat.c: Likewise.
12723         * benchtests/bench-strncmp.c: Likewise.
12724         * benchtests/bench-strncpy.c: Likewise.
12725         * benchtests/bench-strnlen.c: Likewise.
12726         * benchtests/bench-strpbrk.c: Likewise.
12727         * benchtests/bench-strrchr.c: Likewise.
12728         * benchtests/bench-strspn.c: Likewise.
12729         * benchtests/bench-strstr.c: Likewise.
12731 2013-09-04  Will Newton  <will.newton@linaro.org>
12733         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12735 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
12737         [BZ #15427]
12738         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12739         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12740         * math/libm-test.inc (lgamma_test_data): Add more tests.
12741         * sysdeps/i386/fpu/libm-test-ulps: Update.
12742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12744 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
12746         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12747         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12748         Add ifunc.
12749         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12750         Add strcmp-sse2-unaligned
12751         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12753 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
12755         * Versions.def (libc): Add GLIBC_2.19.
12757 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
12759         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12760         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12762 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
12764         [BZ #14155]
12765         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12766         intermediate calculations in recurrence.
12767         (__ieee754_ynf): Likewise.
12768         * math/libm-test.inc (jn_test_data): Do not allow spurious
12769         underflow exception.  Add more tests.
12770         (yn_test_data): Add more tests.
12771         * sysdeps/i386/fpu/libm-test-ulps: Update.
12772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12774 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
12776         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12778 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
12780         * csu/init-first.c: Fix then/than typos.
12781         * locale/programs/ld-collate.c: Likewise.
12782         * locale/programs/linereader.h: Likewise.
12783         * manual/charset.texi: Likewise.
12784         * manual/filesys.texi: Likewise.
12785         * manual/stdio.texi: Likewise.
12786         * manual/string.texi: Likewise.
12787         * stdlib/fmtmsg.c: Likewise.
12788         * sysdeps/i386/stpncpy.S: Likewise.
12789         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12790         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12791         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12792         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12794 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
12796         * elf/dl-open.c: Fix typos.
12797         * iconvdata/gbbig5.c: Likewise.
12798         * iconvdata/iso-2022-jp.c: Likewise.
12799         * iconv/gconv_int.h: Likewise.
12800         * iconv/loop.c: Likewise.
12801         * nis/rpcsvc/nis.h: Likewise.
12802         * resolv/ns_name.c: Likewise.
12803         * stdio-common/vfscanf.c: Likewise.
12804         * streams/stropts.h: Likewise.
12805         * sunrpc/rpc_thread.c: Likewise.
12806         * sysdeps/i386/strpbrk.S: Likewise.
12807         * sysdeps/ieee754/k_standard.c: Likewise.
12808         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12809         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12810         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12811         * sysdeps/mach/hurd/profil.c: Likewise.
12812         * sysdeps/s390/dl-procinfo.h: Likewise.
12813         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12814         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12815         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12816         * sysdeps/x86_64/dl-trampoline.S: Likewise.
12817         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12819 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
12821         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12822         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12824 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
12826         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12827         aix specific files.
12828         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12829         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12830         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12831         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12832         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12833         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12834         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12835         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12837 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
12838             Roland McGrath  <roland@hack.frob.com>
12840         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12841         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12843 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12845         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12846         __executable_start symbol instead of _start.
12848 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
12850         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12851         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12852         Move macros to...
12853         * sysdeps/gnu/ldsodefs.h: ... this new file.
12855         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12856         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12857         instead of ELFOSABI_LINUX.
12859         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12860         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12861         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12862         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12863         Likewise.
12864         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12865         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12866         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12867         Likewise.
12868         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12869         (ibm_extended_long_double): Add ieee_nan member.
12870         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12871         (do_test): New function.
12873         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12874         TEST_TRUNC.
12875         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12876         functions, renamed from truncdfsf_test, trunctfsf_test,
12877         trunctfdf_test.
12878         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12879         functions.
12880         (do_test): Run all these.
12882 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
12884         * argp/argp-help.c: Fix typos.
12885         * argp/argp-parse.c: Likewise.
12886         * debug/backtracesyms.c: Likewise.
12887         * elf/elf.h: Likewise.
12888         * malloc/malloc.c: Likewise.
12889         * nis/nis_print.c: Likewise.
12890         * resolv/res_comp.c: Likewise.
12891         * stdlib/stdlib.h: Likewise.
12892         * sunrpc/clnt_tcp.c: Likewise.
12893         * sunrpc/clnt_udp.c: Likewise.
12894         * sunrpc/clnt_unix.c: Likewise.
12895         * sysdeps/unix/bsd/ptsname.c: Likewise.
12896         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12897         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12899         Likewise.
12900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12901         Likewise.
12902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12903         Likewise.
12904         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12906 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12908         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12909         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12911 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
12913         [BZ #15897]
12914         * dlfcn/Makefile (tests): Add bug-dl-leaf.
12915         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12916         ($(objpfx)bug-dl-leaf): New rule.
12917         ($(objpfx)bug-dl-leaf.so): Likewise.
12918         ($(objpfx)bug-dl-leaf.out): Likewise.
12919         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12920         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12921         * dlfcn/bug-dl-leaf.c: New test.
12922         * dlfcn/bug-dl-leaf-lib.c: Likewise.
12923         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12924         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12925         (dlclose): Likewise.
12926         (dlmopen): Likewise.
12928 2013-08-27  Roland McGrath  <roland@hack.frob.com>
12930         * include/netdb.h [!_ISOMAC]:
12931         Don't include <tls.h>.
12932         (h_errno, __libc_h_errno): Move declaration and macros out of
12933         [_LIBC_REENTRANT].
12935         * include/resolv.h [_RESOLV_H_]:
12936         Don't include <tls.h>.
12937         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12938         * resolv/res_libc.c: Don't include <tls.h>.
12939         (_res): Use __attribute__ ((nocommon)) in place of
12940         __attribute__ ((section (".bss"))).
12942         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12943         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12945         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12947         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12948         only under [SIOCGIFCONF && SIOCGIFNETMASK].
12950         * resolv/res_mkquery.c: Include <sys/time.h>.
12952         * inet/ifreq.c: Moved to ...
12953         * sysdeps/unix/ifreq.c: ... here.
12954         * inet/ifreq.c: New file, true stub version.
12956         * socket/sa_len.c: New file.
12957         * socket/Makefile (aux): Add it.
12958         * sysdeps/unix/sysv/linux/Makefile
12959         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12960         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12961         and #include <socket/sa_len.c>.
12962         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12963         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12965         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12966         * bits/socket.h: ... here.
12968         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12969         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12970         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12972 2013-08-27  Andreas Schwab  <schwab@suse.de>
12974         [BZ #15736]
12975         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12976         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12977         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12978         * string/test-strcasecmp.c (test_main): Run tests in several
12979         locales.
12980         * string/test-strncasecmp.c (test_main): Likewise.
12982         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12983         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12984         to __strcasecmp_nonascii and __strncasecmp_nonascii.
12985         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12986         (__strncasecmp_ssse3) [PIC]: Likewise.
12988 2013-08-26  Roland McGrath  <roland@hack.frob.com>
12990         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12992         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12993         instead of explicitly declaring xdecrypt.
12994         * nis/nss_nis/nis-publickey.c: Likewise.
12996 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12998         [BZ #15890]
12999         * nscd/aicache.c: Include res_hconf.h.
13000         (addhstaiX): Initialize res_hconf.
13002 2013-08-26  Andreas Schwab  <schwab@suse.de>
13004         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13005         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13007 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13009         * nscd/aicache.c (addhstaiX): Fix indentation.
13011 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
13013         * configure.ac: Quote $build_pt_chown test.
13014         * configure: Regenerated.
13016 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
13018         [BZ #15532]
13019         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13020         * math/s_cexpf.c (__cexpf): Likewise.
13021         * math/s_cexpl.c (__cexpl): Likewise.
13022         * math/libm-test.inc (cexp_test_data): Correct expected return
13023         value for NaN + i0.  Add another test.
13025 2013-08-22  David S. Miller  <davem@davemloft.net>
13027         * po/ca.po: Update Catalan translation from translation project.
13028         * po/uk.po: Add Ukrainian translations from translation project.
13030 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
13032         [BZ #15797]
13033         * math/s_fdim.c (__fdim): Check for infinite arguments if result
13034         is infinite, not alongside NaN test.
13035         * math/s_fdimf.c (__fdimf): Likewise.
13036         * math/s_fdiml.c (__fdiml): Likewise.
13037         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
13038         errno is unchanged.
13040 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
13042         * argp/argp-help.c: Fix typos.
13043         * crypt/speeds.c: Likewise.
13044         * csu/check_fds.c: Likewise.
13045         * elf/dl-load.c: Likewise.
13046         * elf/dl-open.c: Likewise.
13047         * elf/reldep3.c: Likewise.
13048         * elf/reldep.c: Likewise.
13049         * elf/sprof.c: Likewise.
13050         * iconv/iconv_charmap.c: Likewise.
13051         * iconv/skeleton.c: Likewise.
13052         * iconv/strtab.c: Likewise.
13053         * io/lockf64.c: Likewise.
13054         * libio/libioP.h: Likewise.
13055         * resolv/gai_notify.c: Likewise.
13056         * resolv/ns_name.c: Likewise.
13057         * resolv/ns_samedomain.c: Likewise.
13058         * resolv/res_send.c: Likewise.
13059         * stdlib/random.c: Likewise.
13060         * sunrpc/rpc/xdr.h: Likewise.
13061         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13062         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13063         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13064         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13065         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13066         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13067         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13068         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13069         * sysdeps/mach/hurd/check_fds.c: Likewise.
13070         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13071         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13072         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13073         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13074         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13075         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13076         * sysdeps/pthread/aio_notify.c: Likewise.
13077         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13078         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13079         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13080         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13081         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13083 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13085         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13086         version if bit_Slow_SSE4_2 is set.
13087         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13088         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13090 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13092         [BZ #15867]
13093         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13094         trampoline stack frame information.
13095         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13096         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13097         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13098         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13099         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13100         * sysdeps/unix/sysv/linux/powerpc/init-first.c
13101         (_libc_vdso_platform_setup): Initialize the signal trampolines.
13102         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13103         sa_flags value.
13104         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13105         interrupting a syscall and set with option SA_SIGINFO.
13107 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
13109         [BZ #15531]
13110         * math/s_cproj.c (__cproj): Only return an infinity if one part of
13111         argument is infinite.
13112         * math/s_cprojf.c (__cprojf): Likewise.
13113         * math/s_cprojl.c (__cprojl): Likewise.
13114         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13115         * math/libm-test.inc (cproj_test_data): Add more tests.
13117         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13119         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13120         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13121         size.  Use __ffs to determine corresponding shift.
13123 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
13124             Roland McGrath  <roland@hack.frob.com>
13126         * Makefile (INSTALL): Remove trailing blank lines from output of
13127         makeinfo.
13129 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13131         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13132         Align 32 bit compat elf_greg to 8 bytes.
13134 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13136         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13138 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13140         * string/strcoll_l.c (coll_seq): New structure.
13141         (get_next_seq_cached): New function.
13142         (get_next_seq): New function.
13143         (do_compare): New function.
13144         (STRCOLL): Use GNU style definition.  Simplify implementation
13145         by using get_next_seq, get_next_seq_cached and do_compare.
13147 2013-08-16  Florian Weimer  <fweimer@redhat.com>
13149         [BZ #14699]
13150         CVE-2013-4237
13151         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13152         member.
13153         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13154         member.
13155         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13156         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13157         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
13158         conditional.
13159         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13160         GETDENTS_64BIT_ALIGNED.
13161         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13162         * manual/filesys.texi (Reading/Closing Directory): Document
13163         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
13164         strongly.
13165         * manual/conf.texi (Limits for Files): Add portability note to
13166         NAME_MAX, PATH_MAX.
13167         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13169 2013-08-13  Andreas Schwab  <schwab@suse.de>
13171         [BZ #15749]
13172         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13173         of fabs.
13174         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13175         LDBL_MAX_EXP >= 16384]: Add tests for it.
13177 2013-08-12  David S. Miller  <davem@davemloft.net>
13179         * version.h (RELEASE): Set to "development".
13180         (VERSION): Set to "2.18.90".
13181         * NEWS: Add 2.19 section.
13183 2013-08-03  David S. Miller  <davem@davemloft.net>
13185         * po/ko.po: Update Korean translation from translation project.
13187 2013-08-01  David S. Miller  <davem@davemloft.net>
13189         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
13190         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13191         Bilka.
13193 2013-07-30  David S. Miller  <davem@davemloft.net>
13195         * po/fr.po: Update French translation from translation project.
13197 2013-07-28  David S. Miller  <davem@davemloft.net>
13199         * po/cs.po: Update Czech translation from translation project.
13201         * po/sv.po: Update Swedish translation from translation project.
13203 2013-07-27  David S. Miller  <davem@davemloft.net>
13205         * po/eo.po: Update Esperanto translation from translation project.
13207         * po/vi.po: Update Vietnamese translation from translation project.
13209         * po/de.po: Update German translation from translation project.
13211 2013-07-26  David S. Miller  <davem@davemloft.net>
13213         * po/bg.po: Update Bulgarian translation from translation project.
13215         * po/nl.po: Update Dutch translation from translation project.
13216         * po/pl.po: Update Polish translation from translation project.
13217         * po/ru.po: Update Russian translation from translation project.
13219 2013-07-24  David S. Miller  <davem@davemloft.net>
13221         * po/libc.pot: Update.
13223 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13225         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13226         variable page size.
13227         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13228         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13229         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13231 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13233         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13235 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13236             Andreas Schwab  <schwab@suse.de>
13237             Roland McGrath  <roland@hack.frob.com>
13238             Joseph Myers  <joseph@codesourcery.com>
13239             Carlos O'Donell  <carlos@redhat.com>
13241         [BZ #15755]
13242         * config.h.in: Define HAVE_PT_CHOWN.
13243         * config.make.in (build-pt-chown): New variable.
13244         * configure.in (--enable-pt_chown): New configure option.
13245         * configure: Regenerate.
13246         * login/Makefile: Include Makeconfig.  Build pt_chown only if
13247         build-pt-chown is enabled.
13248         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13249         pt_chown to fix pty ownership.
13250         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13251         CLOSE_ALL_FDS.
13252         * manual/install.texi (Configuring and compiling): Mention
13253         --enable-pt_chown. Add @findex for grantpt.
13254         * INSTALL: Regenerate.
13256 2013-07-20  David S. Miller  <davem@davemloft.net>
13258         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13259         difference between 32-bit and 64-bit.
13261 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
13263         [BZ #15711]
13264         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13265         Avoid system header dependency with -ffreestanding.
13266         ($(objpfx)bits/syscall%d): Likewise.
13268 2013-07-13  David S. Miller  <davem@davemloft.net>
13270         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13271         underflows from atanl/atan2l due to bug 15319.
13272         (casinh_test_data): Likewise.
13274 2013-07-07  David S. Miller  <davem@davemloft.net>
13276         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13278 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
13280         * sysdeps/i386/fpu/libm-test-ulps: Update.
13281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13283 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13285         * configure.in (--enable-lock-elision): Fix message text.
13286         * INSTALL: Regenerate.
13287         * configure: Regenerate.
13289 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13293 2013-07-03  Andreas Jaeger  <aj@suse.de>
13295         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13296         define.
13297         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13298         (ptrace_peeksiginfo_args): Add.
13299         (__ptrace_peeksiginfo_flags): Add.
13300         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13301         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13302         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13304 2013-07-03  Allan McRae  <allan@archlinux.org>
13306         * sysdeps/i386/fpu/libm-test-ulps: Update.
13308 2013-07-02  David S. Miller  <davem@davemloft.net>
13310         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13312 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
13314         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13316 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
13318         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13321 2013-07-02  Andi Kleen <ak@linux.intel.com>
13323         * config.h.in (ENABLE_LOCK_ELISION): Add.
13324         * configure.in (--enable-lock-elision): Add option.
13325         * manual/install.texi: Document --enable lock elision.
13326         * configure: Regenerate
13327         * INSTALL: Regenerate.
13329 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
13331         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13332         SSE4.2 strcasecmp for libc.a.
13333         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13335 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
13337         [BZ #13304]
13338         * soft-fp/op-common.h (_FP_FMA): New macro.
13339         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13340         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
13341         (_FP_MUL_MEAT_1_imm): ... here.
13342         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
13343         (_FP_MUL_MEAT_1_wide): ... here.
13344         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
13345         (_FP_MUL_MEAT_1_hard): ... here.
13346         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13347         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
13348         (_FP_MUL_MEAT_2_wide): ... here.
13349         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
13350         (_FP_MUL_MEAT_2_wide_3mul): ... here.
13351         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
13352         (_FP_MUL_MEAT_2_gmp): ... here.
13353         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13354         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
13355         (_FP_MUL_MEAT_4_wide): ... here.
13356         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
13357         (_FP_MUL_MEAT_4_gmp): ... here.
13358         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13359         (_FP_WFRACBITS_DW_S): Likewise.
13360         (_FP_WFRACXBITS_DW_S): Likewise.
13361         (_FP_HIGHBIT_DW_S): Likewise.
13362         (FP_FMA_S): Likewise.
13363         (_FP_FRAC_HIGH_DW_S): Likewise.
13364         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13365         (_FP_WFRACBITS_DW_D): Likewise.
13366         (_FP_WFRACXBITS_DW_D): Likewise.
13367         (_FP_HIGHBIT_DW_D): Likewise.
13368         (FP_FMA_D): Likewise.
13369         (_FP_FRAC_HIGH_DW_D): Likewise.
13370         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13371         (_FP_WFRACBITS_DW_E): Likewise.
13372         (_FP_WFRACXBITS_DW_E): Likewise.
13373         (_FP_HIGHBIT_DW_E): Likewise.
13374         (FP_FMA_E): Likewise.
13375         (_FP_FRAC_HIGH_DW_E): Likewise.
13376         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13377         (_FP_WFRACBITS_DW_Q): Likewise.
13378         (_FP_WFRACXBITS_DW_Q): Likewise.
13379         (_FP_HIGHBIT_DW_Q): Likewise.
13380         (FP_FMA_Q): Likewise.
13381         (_FP_FRAC_HIGH_DW_Q): Likewise.
13382         * soft-fp/fmasf4.c: New file.
13383         * soft-fp/fmadf4.c: Likewise.
13384         * soft-fp/fmatf4.c: Likewise.
13386 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13388         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13389         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13390         Silvermont.
13391         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13392         macro.
13393         (index_Slow_SSE4_2): Likewise.
13394         (index_Prefer_PMINUB_for_stringop): Likewise.
13395         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13396         bit_Slow_SSE4_2 is set.
13397         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13398         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13400 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13402         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13403         rtld_global._dl_hwcap2.
13404         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13405         POWER8.
13406         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13407         POWER8 feature descriptions defined in _dl_hwcap2.
13408         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13409         string handling for POWER8 feature bits.
13410         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13411         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13412         _dl_powerpc_cap_flags.
13413         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13414         * sysdeps/powerpc/rtld-global-offsets.sym
13415         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13416         _dl_hwcap2 in the rtld_global_ro structure.
13418 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13420         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13421         hardware capabilities in support of AT_HWCAP2.
13422         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13423         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13424         GLRO(dl_hwcap2).
13425         (_dl_show_auxv): Add support for calling _dl_procinfo to display
13426         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
13427         explicitly the unknown a_type display mechanism is used.
13428         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13429         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13430         struct member.
13431         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13432         to macro prototype for AT_HWCAP2 support.
13433         * sysdeps/i386/dl-procinfo.h: Likewise.
13434         * sysdeps/s390/dl-procinfo.h: Likewise.
13435         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13436         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
13437         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
13438         return -1 for unknown a_type display fallback.
13439         * sysdeps/sparc/dl-procinfo.h: Likewise.
13440         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13441         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13443 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
13445         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13446         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13448 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
13450         [BZ #12492]
13451         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13452         mprotect making __stack_prot writable.
13454 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
13455             Joseph Myers  <joseph@codesourcery.com>
13457         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13458         as being properly aligned.
13460 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
13462         * dlfcn/modstatic5.c: New file.
13463         * dlfcn/tststatic5.c: New file.
13464         * dlfcn/Makefile (tests): Add tststatic5.
13465         (tests-static): Likewise.
13466         (modules-names): Add modstatic5.
13467         (tststatic5-ENV): New variable.
13468         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13470         [BZ #15022]
13471         * elf/dl-support.c (_dl_main_map): New variable.
13472         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13473         (_dl_nns, _dl_load_adds): Set to 1.
13474         (_dl_initial_searchlist): Refer to _dl_main_map.
13475         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13476         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13477         call to _dl_get_origin.
13478         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13479         around call_map.
13480         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13481         * dlfcn/modstatic3.c: New file.
13482         * dlfcn/tststatic3.c: New file.
13483         * dlfcn/tststatic4.c: New file.
13484         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13485         (tests-static): Likewise.
13486         (modules-names): Add modstatic3.
13487         (tststatic3-ENV, tststatic4-ENV): New variables.
13488         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13489         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13491 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
13493         * configure.in (CC): Require GCC version 4.4 or later.
13494         * configure: Regenerated.
13495         * manual/install.texi (Tools for Compilation): Update GCC version
13496         requirement.
13497         * INSTALL: Regenerated.
13499 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13501         [BZ #15674]
13502         * string/test-memcmp.c (check2): New.
13503         (main): Call check2.
13505         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13507 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
13509         [BZ #15022]
13510         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13511         over to...
13512         (dl_open_worker) [!SHARED]: ... here.
13514 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13516         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13518 2013-06-25  Richard Henderson  <rth@redhat.com>
13520         * locale/programs/locarchive.c: Include <libc-internal.h>
13522 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
13524         * manual/texinfo.tex: Update to version 2013-06-21.17, with
13525         trailing whitespace removed.
13527 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
13529         [BZ #10283]
13530         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13531         * locale/programs/locarchive.c: Include libc-mmap.h.
13532         (prepare_address_space): Take two new outputs (the mmap base and len).
13533         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
13534         values.
13535         (create_archive): Declare new mmap base and len values for
13536         prepare_address_space, and store the result in ah.
13537         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13538         (enlarge_archive): If ah->mmap_base is not NULL, use that and
13539         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13540         Declare new mmap base and len values for
13541         prepare_address_space, and store the result in new_ah.
13542         (open_archive): Declare new mmap base and len values for
13543         prepare_address_space, and store the result in ah.
13544         (close_archive): If ah->mmap_base is not NULL, use that and
13545         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13546         * sysdeps/generic/libc-mmap.h: New file.
13548 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
13550         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13551         (ALIGN_UP): Likewise.
13552         (PTR_ALIGN_DOWN): Likewise.
13553         (PTR_ALIGN_UP): Likewise.
13555 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13557         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13558         entry mapped to PPC_PLATFORM_POWER8.
13559         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13560         POWER8.
13561         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13562         (_dl_string_platform): Add case for exporting platform position for
13563         POWER8.
13564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13565         search path to sysdeps/powerpc/powerpc32/power8 directory.
13566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13567         search path to sysdeps/powerpc/powerpc64/power8 directory.
13568         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13569         power7 directories.
13570         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13571         power7 directories.
13573 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13575         * INSTALL: Regenerate.
13577         * nscd/connections.c (nscd_init): Fix comment.
13579 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
13581         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13583         [BZ #15667]
13584         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13585         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13587 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
13589         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13590         DL_DST_REQ_STATIC.
13591         (DL_DST_REQ_STATIC): Remove macro.
13593 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
13595         [BZ #7006]
13596         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13597         with a shift of 0 bits.
13599 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
13601         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13602         $(tststatic-ENV).
13604 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13606         [BZ #15655]
13607         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13609 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13611         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13612         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13613         accepts -fno-tree-loop-distribute-patterns.
13614         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13615         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13616         recursive call.
13617         * string/memset.c (memset): Likewise.
13618         * string/test-memmove.c (simple_memmove): Disable loop transformation
13619         to library calls.
13620         * string/test-memset.c (simple_memset): Likewise.
13621         * benchtests/bench-memmove.c (simple_memmove): Likewise.
13622         * benchtests/bench-memset.c (simple_memset): Likewise.
13623         * configure: Regenerated.
13625 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
13627         * math/test-misc.c (main): Ignore fesetround failure when failures
13628         of subsequent rounding tests would be ignored.
13630         [BZ #15654]
13631         * math/fedisblxcpt.c (fedisableexcept): Return 0.
13632         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13633         * math/fegetenv.c (__fegetenv): Return 0.
13634         * math/fegetexcept.c (fegetexcept): Return 0.
13635         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13636         FE_TONEAREST.
13637         * math/feholdexcpt.c (feholdexcept): Return 0.
13638         * math/fesetenv.c (__fesetenv): Return 0.
13639         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13640         argument FE_TONEAREST.
13641         * math/feupdateenv.c (__feupdateenv): Return 0.
13642         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13644 2013-06-18  Roland McGrath  <roland@hack.frob.com>
13646         * elf/rtld-Rules (rtld-compile-command.S): New variable.
13647         (rtld-compile-command.s, rtld-compile-command.c): New variables.
13648         ($(objpfx)rtld-%.os rules): Use them.
13650 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13652         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13653         fields.
13655 2013-06-17  Roland McGrath  <roland@hack.frob.com>
13657         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13658         length of target pattern, then descending length of dependency pattern.
13659         * configure.in (AWK): Require gawk 3.1.2 or newer.
13660         * manual/install.texi (Tools for Compilation): Say that we do.
13661         * configure: Regenerated.
13663         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13664         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13665         * scripts/sysd-rules.awk: ... this new script.
13666         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13667         than a glob-style pattern.
13669 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
13671         * math/test-misc.c (main): Do not treat incorrectly rounded
13672         conversions as failure unless ROUNDING_TESTS passes.
13674 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
13676         [BZ #15631]
13677         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13678         restore exception state around main square root computation, then
13679         check for inexactness explicitly.
13681         * math/libm-test.inc (fma_test_data): Add another test.
13683 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13685         * manual/threads.texi (Non-POSIX Extensions): New document
13686         node.  Document pthread_getattr_default_np and
13687         pthread_setattr_default_np.
13689         * Versions.def (libpthread): Add GLIBC_2.18.
13690         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13692         Likewise.
13693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13694         Likewise.
13695         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13696         Likewise.
13697         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13698         Likewise.
13699         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13700         Likewise.
13701         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13702         Likewise.
13703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13704         Likewise.
13705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13706         Likewise.
13707         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13708         Likewise.
13710 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13712         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13713         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13715 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13716             H.J. Lu  <hjl.tools@gmail.com>
13718         [BZ #15627]
13719         * sysdeps/x86_64/rtld-memset.c: Remove file.
13720         * sysdeps/x86_64/rtld-memset.S: New file.
13722 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
13724         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13725         (test_in_one_mode): Take arguments for whether the rounding mode
13726         is supported for each floating-point type.
13727         (do_test): Pass new arguments to test_in_one_mode using
13728         ROUNDING_TESTS.
13730 2013-06-13  Roland McGrath  <roland@hack.frob.com>
13732         * posix/tst-waitid.c (do_test): Distinguish different instances of
13733         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
13734         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13735         before entering the kernel for waitpid.
13737 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13739         * NEWS: Fix note on clock function precision.  Text by Roland
13740         McGrath.
13742 2013-06-13  Roland McGrath  <roland@hack.frob.com>
13744         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13745         it into place only when and if the sanity check passes.
13747 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
13749         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13750         output for whether conversion result is exact.  Take argument
13751         indicating whether type is IBM long double.
13752         (round_for_all): Change need_exact field to ibm_ld.
13753         * stdlib/tst-strtod-round.c (struct exactness): New type.
13754         (struct test): Change bool ld_ok field to struct exactness exact.
13755         (TEST): Update all definitions for change to field.
13756         (tests): Regenerate array contents.
13757         (test_in_one_mode): Take pointer to new field instead of old ld_ok
13758         field value.  Check for IBM long double here.
13759         (do_test): Update calls to test_in_one_mode.
13761 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13763         [BZ #12515]
13764         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13765         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13767 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13769         [BZ #15605]
13770         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13771         generated by the compiler on loop optimizations.
13772         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13773         general definitions.
13775 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
13777         * math/bug-nextafter.c: Include <math-tests.h>.
13778         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13779         the relevant type.
13780         * math/bug-nexttoward.c: Include <math-tests.h>.
13781         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13782         the relevant type.
13783         * math/test-misc.c: Include <math-tests.h>.
13784         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13785         the relevant type.
13787 2013-06-12  Andreas Jaeger  <aj@suse.de>
13789         * po/ia.po: Update Interlingua translation from translation
13790         project.
13792 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13794         * include/fenv.h: Include stdbool.h.
13795         (struct rm_ctx): New structure.
13796         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13797         Define macro.
13798         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13799         (SET_RESTORE_ROUNDF): Likewise.
13800         (SET_RESTORE_ROUNDL): Likewise.
13801         (SET_RESTORE_ROUND_NOEX): Likewise.
13802         (SET_RESTORE_ROUND_NOEXF): Likewise.
13803         (SET_RESTORE_ROUND_NOEXL): Likewise.
13804         (SET_RESTORE_ROUND_53BIT): Likewise.
13805         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13806         (libc_feresetround_noexf_ctx): Likewise.
13807         (libc_feresetround_noexl_ctx): Likewise.
13808         (libc_feholdsetround_53bit_ctx): Likewise.
13809         (libc_feresetround_53bit_ctx): Likewise.
13810         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13811         (libc_feholdexcept_setround_sse_ctx): New function.
13812         (libc_fesetenv_sse_ctx): Likewise.
13813         (libc_feupdateenv_sse_ctx): Likewise.
13814         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13815         (libc_feholdexcept_setround_387_ctx): Likewise.
13816         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13817         (libc_feholdsetround_387_prec_ctx): Likewise.
13818         (libc_feholdsetround_387_ctx): Likewise.
13819         (libc_feholdsetround_387_53bit_ctx): Likewise.
13820         (libc_feholdsetround_sse_ctx): Likewise.
13821         (libc_feresetround_sse_ctx): Likewise.
13822         (libc_feresetround_387_ctx): Likewise.
13823         (libc_feupdateenv_387_ctx): Likewise.
13824         (libc_feholdexcept_setroundf_ctx): Define macro.
13825         (libc_fesetenvf_ctx): Likewise.
13826         (libc_feupdateenvf_ctx): Likewise.
13827         (libc_feholdsetroundf_ctx): Likewise.
13828         (libc_feresetroundf_ctx): Likewise.
13829         (libc_feholdexcept_setround_ctx): Likewise.
13830         (libc_fesetenv_ctx): Likewise.
13831         (libc_feupdateenv_ctx): Likewise.
13832         (libc_feholdsetround_ctx): Likewise.
13833         (libc_feresetround_ctx): Likewise.
13834         (libc_feholdexcept_setroundl_ctx): Likewise.
13835         (libc_feupdateenvl_ctx): Likewise.
13836         (libc_feholdsetroundl_ctx): Likewise.
13837         (libc_feresetroundl_ctx): Likewise.
13838         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13839         (libc_feresetround_53bit_ctx): Likewise.
13841 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13843         * locale/iso-639.def: Convert to UTF-8.
13845 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
13847         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13848         (EXCEPTION_TESTS_double): Likewise.
13849         (EXCEPTION_TESTS_long_double): Likewise.
13850         (EXCEPTION_TESTS): Likewise.
13851         * math/libm-test.inc (test_exceptions): Only test exceptions if
13852         EXCEPTION_TESTS (FLOAT).
13854 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13856         * benchtests/Makefile (string-bench): Add strcpy_chk and
13857         stpcpy_chk.
13858         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13859         * benchtests/bench-stpcpy_chk.c: New file.
13860         * benchtests/bench-strcpy_chk-ifunc.c: New file.
13861         * benchtests/bench-strcpy_chk.c: New file.
13862         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13863         code.
13864         (do_test): Likewise.
13866 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13868         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13869         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13870         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13871         with tabs where appropriate.
13872         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13873         dl-procinfo.h.
13874         [PPC_PLATFORM_PPC440]: Likewise.
13875         [PPC_PLATFORM_PPC464]: Likewise.
13876         [PPC_PLATFORM_PPC476]: Likewise.
13877         (_dl_string_platform): Add support for detecting ppc405, ppc440,
13878         ppc464, and ppc476 platform strings merging from ports/
13879         dl-procinfo.h.
13881 2013-06-11  Andreas Schwab  <schwab@suse.de>
13883         [BZ #14991]
13884         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13885         (from_ucs4_idx): Regenerate.
13886         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13887         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13888         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13889         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13890         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13891         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13892         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13893         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13894         from FROM_LOOP and TO_LOOP specific macros.
13895         (BODY): Handle combining characters.
13896         * iconvdata/BIG5HKSCS.irreversible: Update.
13897         * iconvdata/BIG5HKSCS.precomposed: New file.
13898         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13899         characters.
13900         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13902 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13904         * include/sys/time.h: Fix indentation and add copyright header.
13906         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13907         (do_test): Likewise.
13908         * string/test-memchr.c (do_one_test): Likewise.
13909         (do_test): Likewise.
13910         * string/test-memcmp.c (do_one_test): Likewise.
13911         (do_test): Likewise.
13912         * string/test-memcpy.c (do_one_test): Likewise.
13913         (do_test): Likewise.
13914         * string/test-memmem.c (do_one_test): Likewise.
13915         (do_test): Likewise.
13916         (do_random_tests): Likewise.
13917         * string/test-memmove.c (do_one_test): Likewise.
13918         (do_test): Likewise.
13919         * string/test-memset.c (do_one_test): Likewise.
13920         (do_test): Likewise.
13921         * string/test-rawmemchr.c (do_one_test): Likewise.
13922         (do_test): Likewise.
13923         * string/test-strcasecmp.c (do_one_test): Likewise.
13924         (do_test): Likewise.
13925         * string/test-strcasestr.c (do_one_test): Likewise.
13926         (do_test): Likewise.
13927         * string/test-strcat.c (do_one_test): Likewise.
13928         (do_test): Likewise.
13929         * string/test-strchr.c (do_one_test): Likewise.
13930         (do_test): Likewise.
13931         * string/test-strcmp.c (do_one_test): Likewise.
13932         (do_test): Likewise.
13933         * string/test-strcpy.c (do_one_test): Likewise.
13934         (do_test): Likewise.
13935         * string/test-string.h: Likewise.
13936         (test_init): Likewise.
13937         * string/test-strlen.c (do_one_test): Likewise.
13938         (do_test): Likewise.
13939         * string/test-strncasecmp.c (do_one_test): Likewise.
13940         (do_test): Likewise.
13941         * string/test-strncat.c (do_one_test): Likewise.
13942         (do_test): Likewise.
13943         * string/test-strncmp.c (do_one_test): Likewise.
13944         (do_test_limit): Likewise.
13945         (do_test): Likewise.
13946         * string/test-strncpy.c (do_one_test): Likewise.
13947         (do_test): Likewise.
13948         * string/test-strnlen.c (do_one_test): Likewise.
13949         (do_test): Likewise.
13950         * string/test-strpbrk.c (do_one_test): Likewise.
13951         (do_test): Likewise.
13952         * string/test-strrchr.c (do_one_test): Likewise.
13953         (do_test): Likewise.
13954         * string/test-strspn.c (do_one_test): Likewise.
13955         (do_test): Likewise.
13956         * string/test-strstr.c (do_one_test): Likewise.
13957         (do_test): Likewise.
13959         * benchtests/Makefile (string-bench): Add string benchmarks.
13960         * benchtests/bench-bcopy-ifunc.c: New file.
13961         * benchtests/bench-bcopy.c: New file.
13962         * benchtests/bench-bzero-ifunc.c: New file.
13963         * benchtests/bench-bzero.c: New file.
13964         * benchtests/bench-memccpy-ifunc.c: New file.
13965         * benchtests/bench-memccpy.c: New file.
13966         * benchtests/bench-memchr-ifunc.c: New file.
13967         * benchtests/bench-memchr.c: New file.
13968         * benchtests/bench-memcmp-ifunc.c: New file.
13969         * benchtests/bench-memcmp.c: New file.
13970         * benchtests/bench-memmem-ifunc.c: New file.
13971         * benchtests/bench-memmem.c: New file.
13972         * benchtests/bench-memmove-ifunc.c: New file.
13973         * benchtests/bench-memmove.c: New file.
13974         * benchtests/bench-mempcpy-ifunc.c: New file.
13975         * benchtests/bench-mempcpy.c: New file.
13976         * benchtests/bench-memset-ifunc.c: New file.
13977         * benchtests/bench-memset.c: New file.
13978         * benchtests/bench-rawmemchr-ifunc.c: New file.
13979         * benchtests/bench-rawmemchr.c: New file.
13980         * benchtests/bench-stpcpy-ifunc.c: New file.
13981         * benchtests/bench-stpcpy.c: New file.
13982         * benchtests/bench-stpncpy-ifunc.c: New file.
13983         * benchtests/bench-stpncpy.c: New file.
13984         * benchtests/bench-strcasecmp-ifunc.c: New file.
13985         * benchtests/bench-strcasecmp.c: New file.
13986         * benchtests/bench-strcasestr-ifunc.c: New file.
13987         * benchtests/bench-strcasestr.c: New file.
13988         * benchtests/bench-strcat-ifunc.c: New file.
13989         * benchtests/bench-strcat.c: New file.
13990         * benchtests/bench-strchr-ifunc.c: New file.
13991         * benchtests/bench-strchr.c: New file.
13992         * benchtests/bench-strchrnul-ifunc.c: New file.
13993         * benchtests/bench-strchrnul.c: New file.
13994         * benchtests/bench-strcmp-ifunc.c: New file.
13995         * benchtests/bench-strcmp.c: New file.
13996         * benchtests/bench-strcpy-ifunc.c: New file.
13997         * benchtests/bench-strcpy.c: New file.
13998         * benchtests/bench-strcspn-ifunc.c: New file.
13999         * benchtests/bench-strcspn.c: New file.
14000         * benchtests/bench-strlen-ifunc.c: New file.
14001         * benchtests/bench-strlen.c: New file.
14002         * benchtests/bench-strncasecmp-ifunc.c: New file.
14003         * benchtests/bench-strncasecmp.c: New file.
14004         * benchtests/bench-strncat-ifunc.c: New file.
14005         * benchtests/bench-strncat.c: New file.
14006         * benchtests/bench-strncmp-ifunc.c: New file.
14007         * benchtests/bench-strncmp.c: New file.
14008         * benchtests/bench-strncpy-ifunc.c: New file.
14009         * benchtests/bench-strncpy.c: New file.
14010         * benchtests/bench-strnlen-ifunc.c: New file.
14011         * benchtests/bench-strnlen.c: New file.
14012         * benchtests/bench-strpbrk-ifunc.c: New file.
14013         * benchtests/bench-strpbrk.c: New file.
14014         * benchtests/bench-strrchr-ifunc.c: New file.
14015         * benchtests/bench-strrchr.c: New file.
14016         * benchtests/bench-strspn-ifunc.c: New file.
14017         * benchtests/bench-strspn.c: New file.
14018         * benchtests/bench-strstr-ifunc.c: New file.
14019         * benchtests/bench-strstr.c: New file.
14021         * benchtests/Makefile: Disable parallel execution of targets.
14022         (string-bench): Add memcpy.
14023         (benchset): New variable to store a list of benchmark sets.
14024         (bench-func): Renamed from bench.
14025         (bench-set): New target.
14026         (bench): Depend on bench-func and bench-set.
14027         * benchtests/README: Add section on benchmark sets.
14028         * benchtests/bench-memcpy-ifunc.c: New file.
14029         * benchtests/bench-memcpy.c: New file.
14030         * benchtests/bench-string.h: New file.
14032 2013-06-11  Andreas Schwab  <schwab@suse.de>
14034         [BZ #15577]
14035         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14036         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14037         values in the triple.
14038         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14039         terminator in the group key.
14041 2013-06-11  Andreas Jaeger  <aj@suse.de>
14043         * po/zh_TW.po: Update Chinese (traditional) translation from
14044         translation project.
14046 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14048         * include/time.h (__clock_gettime): Add libc_hidden_proto.
14049         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14050         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
14051         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14052         (clock_getcpuclockid): Likewise.
14053         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14054         Add weak_alias and libc_hidden_def.
14055         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14056         * rt/clock_gettime.c (clock_gettime): Rename to
14057         __clock_gettime.  Add weak_alias and libc_hidden_def.
14058         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14059         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14060         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
14061         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14062         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14063         Likewise.
14064         * rt/clock_settime.c (clock_settime): Rename to
14065         __clock_settime.  Add weak_alias and libc_hidden_def.
14066         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14068 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
14070         * mach/err_boot.sub: Remove trailing whitespace.
14071         * mach/err_ipc.sub: Likewise.
14072         * mach/err_mach.sub: Likewise.
14074         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14075         (ROUNDING_TESTS_double): Likewise.
14076         (ROUNDING_TESTS_long_double): Likewise.
14077         (ROUNDING_TESTS): Likewise.
14078         * math/libm-test.inc: Include <math-tests.h>.
14079         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14080         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14081         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14082         (IF_ROUND_INIT_FE_UPWARD): Likewise.
14084 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14086         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14087         of assigning.
14089 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
14091         * sysdeps/gnu/errlist.awk: Do not generate space at end of
14092         otherwise empty TRANS lines.
14093         * sysdeps/gnu/errlist.c: Regenerated.
14095         * catgets/gencat.c (error_print): Use (void) in function
14096         definition.
14097         * crypt/crypt_util.c (__init_des): Likewise.
14098         * crypt/speeds.c (Stop): Likewise.
14099         (main): Likewise.
14100         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14101         * inet/ruserpass.c (token): Likewise.
14102         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14103         * intl/localealias.c (extend_alias_table): Likewise.
14104         * intl/plural-exp.c (init_germanic_plural): Likewise.
14105         * libio/fcloseall.c (__fcloseall): Likewise.
14106         * libio/genops.c (_IO_flush_all): Likewise.
14107         (_IO_flush_all_linebuffered): Likewise.
14108         (_IO_cleanup): Likewise.
14109         (_IO_iter_begin): Likewise.
14110         (_IO_iter_end): Likewise.
14111         (_IO_list_lock): Likewise.
14112         (_IO_list_unlock): Likewise.
14113         (_IO_list_resetlock): Likewise.
14114         * libio/getchar.c (getchar): Likewise.
14115         * libio/getchar_u.c (getchar_unlocked): Likewise.
14116         * libio/getwchar.c (getwchar): Likewise.
14117         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14118         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14119         * login/getpt.c (__getpt): Likewise.
14120         * login/tst-utmp.c (main): Likewise.
14121         * malloc/hooks.c (__malloc_check_init): Likewise.
14122         * malloc/malloc.c (__malloc_stats): Likewise.
14123         * malloc/mtrace.c (tr_break): Likewise.
14124         (mtrace): Likewise.
14125         (muntrace): Likewise.
14126         * misc/fstab.c (endfsent): Likewise.
14127         * misc/getclktck.c (__getclktck): Likewise.
14128         * misc/getdtsz.c (__getdtablesize): Likewise.
14129         * misc/gethostid.c (gethostid): Likewise.
14130         * misc/getpagesize.c (__getpagesize): Likewise.
14131         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14132         (__get_nprocs): Likewise.
14133         (__get_phys_pages): Likewise.
14134         (__get_avphys_pages): Likewise.
14135         * misc/getttyent.c (getttyent): Likewise.
14136         (setttyent): Likewise.
14137         (endttyent): Likewise.
14138         * misc/getusershell.c (getusershell): Likewise.
14139         (endusershell): Likewise.
14140         (setusershell): Likewise.
14141         (initshells): Likewise.
14142         * misc/hsearch.c (__hdestroy): Likewise.
14143         * misc/sync.c (sync): Likewise.
14144         * misc/syslog.c (closelog_internal): Likewise.
14145         (closelog): Likewise.
14146         * misc/ttyslot.c (ttyslot): Likewise.
14147         * misc/vhangup.c (vhangup): Likewise.
14148         * posix/fork.c (__fork): Likewise.
14149         * posix/getegid.c (__getegid): Likewise.
14150         * posix/geteuid.c (__geteuid): Likewise.
14151         * posix/getgid.c (__getgid): Likewise.
14152         * posix/getpid.c (__getpid): Likewise.
14153         * posix/getppid.c (__getppid): Likewise.
14154         * posix/getuid.c (__getuid): Likewise.
14155         * posix/pause.c (pause): Likewise.
14156         * posix/setpgrp.c (setpgrp): Likewise.
14157         * posix/setsid.c (__setsid): Likewise.
14158         * posix/test-vfork.c (noop): Likewise.
14159         * resolv/gethnamaddr.c (_endhtent): Likewise.
14160         (_gethtent): Likewise.
14161         (ht_endhostent): Likewise.
14162         (gethostent): Likewise.
14163         (dns_service): Likewise.
14164         * stdlib/drand48.c (drand48): Likewise.
14165         * stdlib/lrand48.c (lrand48): Likewise.
14166         * stdlib/mrand48.c (mrand48): Likewise.
14167         * stdlib/rand.c (rand): Likewise.
14168         * stdlib/random.c (__random): Likewise.
14169         * stdlib/setenv.c (clearenv): Likewise.
14170         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14171         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14172         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14173         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14174         (__get_nprocs): Likewise.
14175         (__get_phys_pages): Likewise.
14176         (__get_avphys_pages): Likewise.
14177         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14178         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14179         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14180         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14181         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14182         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14183         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14184         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14185         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14186         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14187         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14188         * sysdeps/mach/hurd/sync.c (sync): Likewise.
14189         * sysdeps/posix/clock.c (clock): Likewise.
14190         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14191         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14192         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14193         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14194         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14195         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14196         (__get_nprocs_conf): Likewise.
14197         (__get_phys_pages): Likewise.
14198         (__get_avphys_pages): Likewise.
14199         * time/clock.c (clock): Likewise.
14200         * time/tzset.c (__tzname_max): Likewise.
14202 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
14204         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14205         (__bswap_32): Do not use "register".
14206         * crypt/crypt.c (_ufc_doit_r): Likewise.
14207         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14208         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14209         * gmon/gmon.c (__monstartup): Likewise.
14210         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14211         * hurd/hurdmalloc.c (more_memory): Likewise.
14212         (malloc): Likewise.
14213         (free): Likewise.
14214         (realloc): Likewise.
14215         (malloc_fork_prepare): Likewise.
14216         (malloc_fork_parent): Likewise.
14217         (malloc_fork_child): Likewise.
14218         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14219         (_svcauth_des): Likewise.
14220         * inet/inet_lnaof.c (inet_lnaof): Likewise.
14221         * inet/inet_net.c (inet_network): Likewise.
14222         * inet/inet_netof.c (inet_netof): Likewise.
14223         * inet/rcmd.c (__validuser2_sa): Likewise.
14224         * io/fts.c (fts_open): Likewise.
14225         (fts_load): Likewise.
14226         (fts_close): Likewise.
14227         (fts_read): Likewise.
14228         (fts_children): Likewise.
14229         (fts_build): Likewise.
14230         (fts_stat): Likewise.
14231         (fts_sort): Likewise.
14232         (fts_alloc): Likewise.
14233         (fts_lfree): Likewise.
14234         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14235         (_IO_file_xsgetn): Likewise.
14236         (_IO_file_xsgetn_mmap): Likewise.
14237         * libio/iofopncook.c (_IO_cookie_read): Likewise.
14238         (_IO_cookie_write): Likewise.
14239         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14240         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14241         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14242         * malloc/obstack.c (_obstack_begin): Likewise.
14243         (_obstack_begin_1): Likewise.
14244         (_obstack_newchunk): Likewise.
14245         (_obstack_allocated_p): Likewise.
14246         (obstack_free): Likewise.
14247         (_obstack_memory_used): Likewise.
14248         * misc/getttyent.c (getttynam): Likewise.
14249         (getttyent): Likewise.
14250         (skip): Likewise.
14251         (value): Likewise.
14252         * misc/getusershell.c (initshells): Likewise.
14253         * misc/syslog.c (__vsyslog_chk): Likewise.
14254         * misc/ttyslot.c (ttyslot): Likewise.
14255         * nis/nis_hash.c (__nis_hash): Likewise.
14256         * posix/fnmatch_loop.c (FCT): Likewise.
14257         * posix/getconf.c (print_all): Likewise.
14258         (main): Likewise.
14259         * posix/getopt.c (exchange): Likewise.
14260         * posix/glob.c (globfree): Likewise.
14261         (prefix_array): Likewise.
14262         (__glob_pattern_type): Likewise.
14263         * resolv/arpa/nameser.h (NS_GET16): Likewise.
14264         (NS_GET32): Likewise.
14265         (NS_PUT16): Likewise.
14266         (NS_PUT32): Likewise.
14267         * resolv/gethnamaddr.c (getanswer): Likewise.
14268         (gethostbyname2): Likewise.
14269         (gethostbyaddr): Likewise.
14270         (_gethtent): Likewise.
14271         (_gethtbyname2): Likewise.
14272         (_gethtbyaddr): Likewise.
14273         * resolv/ns_print.c (dst_s_get_int16): Likewise.
14274         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14275         * resolv/res_init.c (__res_vinit): Likewise.
14276         (net_mask): Likewise.
14277         * resolv/res_mkquery.c (outchar): Likewise.
14278         (PRINT): Likewise.
14279         * stdio-common/printf_fp.c (outchar): Likewise.
14280         (PRINT): Likewise.
14281         * stdio-common/printf_fphex.c (outchar): Likewise.
14282         (PRINT): Likewise.
14283         * stdio-common/printf_size.c (outchar): Likewise.
14284         (PRINT): Likewise.
14285         * stdio-common/test_rdwr.c (main): Likewise.
14286         * stdio-common/tfformat.c (matches): Likewise.
14287         * stdio-common/vfprintf.c (outchar): Likewise.
14288         (printf_unknown): Likewise.
14289         (buffered_vfprintf): Likewise.
14290         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14291         * stdio-common/xbug.c (AppendToBuffer): Likewise.
14292         (ReadFile): Likewise.
14293         * stdlib/qsort.c (SWAP): Likewise.
14294         (_quicksort): Likewise.
14295         * stdlib/setenv.c (__add_to_environ): Likewise.
14296         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14297         * stdlib/strtol_l.c (__strtol_l): Likewise.
14298         * stdlib/tst-strtod.c (main): Likewise.
14299         * stdlib/tst-strtol.c (main): Likewise.
14300         * stdlib/tst-strtoll.c (main): Likewise.
14301         * string/bits/string2.h (__strcmp_cc): Likewise.
14302         (__strcmp_cg): Likewise.
14303         (__strcspn_c1): Likewise.
14304         (__strcspn_c2): Likewise.
14305         (__strcspn_c3): Likewise.
14306         (__strspn_c1): Likewise.
14307         (__strspn_c2): Likewise.
14308         (__strspn_c3): Likewise.
14309         (__strsep_1c): Likewise.
14310         (__strsep_2c): Likewise.
14311         (__strsep_3c): Likewise.
14312         * string/memccpy.c (__memccpy): Likewise.
14313         * string/stpcpy.c (__stpcpy): Likewise.
14314         * string/strcmp.c (strcmp): Likewise.
14315         * string/strrchr.c (strrchr): Likewise.
14316         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14317         Likewise.
14318         * sysdeps/mach/hurd/getcwd.c
14319         (_hurd_canonicalize_directory_name_internal): Likewise.
14320         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14321         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14322         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14323         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14324         Likewise, in both definitions.
14325         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14326         definitions.
14327         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14328         64] (__bswap_64): Likewise.
14329         * time/test_time.c (main): Likewise.
14330         * time/tzfile.c (__tzfile_read): Likewise.
14331         (__tzfile_compute): Likewise.
14332         * time/tzset.c (__tzset_parse_tz): Likewise.
14333         (tzset_internal): Likewise.
14334         (compute_change): Likewise.
14335         * wcsmbs/wcscat.c (__wcscat): Likewise.
14336         * wcsmbs/wcschr.c (wcschr): Likewise.
14337         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14338         * wcsmbs/wcscspn.c (wcscspn): Likewise.
14339         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14340         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14341         * wcsmbs/wcsspn.c (wcsspn): Likewise.
14342         * wcsmbs/wcsstr.c (wcsstr): Likewise.
14343         * wcsmbs/wmemchr.c (wmemchr): Likewise.
14344         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14345         * wcsmbs/wmemset.c (wmemset): Likewise.
14347 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
14349         * scripts/config.guess: Update to version 2013-05-16.
14350         * scripts/config.sub: Update to version 2013-04-24.
14351         * scripts/install-sh: Update to version 2011-11-20.07.
14352         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14353         * scripts/move-if-change: Update to version 2012-01-06 07:23.
14355 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
14357         * debug/fgetws_u_chk.c: Fix leading whitespaces.
14358         * elf/sln.c: Likewise.
14359         * hurd/hurd/ioctl.h: Likewise.
14360         * hurd/hurdmalloc.c: Likewise.
14361         * hurd/xattr.c: Likewise.
14362         * include/shlib-compat.h: Likewise.
14363         * inet/ruserpass.c: Likewise.
14364         * libio/iofgets_u.c: Likewise.
14365         * libio/iofgetws_u.c: Likewise.
14366         * locale/programs/ld-identification.c: Likewise.
14367         * locale/programs/ld-time.c: Likewise.
14368         * mach/msg-destroy.c: Likewise.
14369         * nss/nss_files/files-netgrp.c: Likewise.
14370         * resolv/res_data.c: Likewise.
14371         * soft-fp/op-1.h: Likewise.
14372         * soft-fp/op-2.h: Likewise.
14373         * soft-fp/op-4.h: Likewise.
14374         * soft-fp/op-common.h: Likewise.
14375         * stdio-common/printf_fphex.c: Likewise.
14376         * stdlib/strtod_l.c: Likewise.
14377         * sunrpc/rpc/clnt.h: Likewise.
14378         * sysdeps/generic/framestate.c: Likewise.
14379         * sysdeps/i386/bsd-_setjmp.S: Likewise.
14380         * sysdeps/i386/bsd-setjmp.S: Likewise.
14381         * sysdeps/i386/__longjmp.S: Likewise.
14382         * sysdeps/i386/setjmp.S: Likewise.
14383         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14384         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14385         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14386         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14387         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14388         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14389         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14390         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14391         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14392         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14393         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14394         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14395         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14396         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14397         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14398         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14399         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14400         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14401         * sysdeps/ieee754/support.c: Likewise.
14402         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14403         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14404         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14405         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14406         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14407         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14408         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14409         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14410         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14411         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14412         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14413         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14414         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14415         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14416         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14417         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14418         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14421 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
14423         * posix/transbug.c: Remove executable mode.
14425 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
14427         * crypt/speeds.c: Remove trailing whitespace.
14428         * dlfcn/default.c: Likewise.
14429         * elf/ifuncdep2.c: Likewise.
14430         * elf/ifuncmain1.c: Likewise.
14431         * elf/ifuncmain1vis.c: Likewise.
14432         * elf/testobj.h: Likewise.
14433         * elf/tst-stackguard1.c: Likewise.
14434         * gmon/sys/gmon.h: Likewise.
14435         * hurd/hurdmsg.c: Likewise.
14436         * hurd/new-fd.c: Likewise.
14437         * hurd/ports-get.c: Likewise.
14438         * iconvdata/ibm1008_420.c: Likewise.
14439         * inet/tst-getni1.c: Likewise.
14440         * inet/tst-getni2.c: Likewise.
14441         * libio/ioungetc.c: Likewise.
14442         * libio/wfiledoalloc.c: Likewise.
14443         * manual/libm-err-tab.pl: Likewise.
14444         * math/w_dremf.c: Likewise.
14445         * misc/ftruncate.c: Likewise.
14446         * posix/bug-glob2.c: Likewise.
14447         * posix/tst-pcre.c: Likewise.
14448         * posix/wait4.c: Likewise.
14449         * resolv/README: Likewise.
14450         * resolv/res_debug.h: Likewise.
14451         * resolv/tst-inet_ntop.c: Likewise.
14452         * setjmp/bug269-setjmp.c: Likewise.
14453         * soft-fp/extended.h: Likewise.
14454         * soft-fp/op-1.h: Likewise.
14455         * soft-fp/op-2.h: Likewise.
14456         * soft-fp/op-4.h: Likewise.
14457         * soft-fp/op-8.h: Likewise.
14458         * soft-fp/testit.c: Likewise.
14459         * stdio-common/bug16.c: Likewise.
14460         * stdlib/random.c: Likewise.
14461         * sunrpc/rpcsvc/rquota.x: Likewise.
14462         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14463         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14464         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14465         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14466         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14467         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14468         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14469         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14470         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14471         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14472         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14473         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14474         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14475         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14476         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14477         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14478         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14479         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14480         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14481         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14482         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14483         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14484         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14485         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14486         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14487         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14488         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14489         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14490         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14491         * sysdeps/ieee754/s_lib_version.c: Likewise.
14492         * sysdeps/mach/hurd/check_fds.c: Likewise.
14493         * sysdeps/mach/hurd/getsockname.c: Likewise.
14494         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14495         * sysdeps/mach/hurd/recvfrom.c: Likewise.
14496         * sysdeps/powerpc/bits/link.h: Likewise.
14497         * sysdeps/powerpc/dl-procinfo.c: Likewise.
14498         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14499         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14500         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14501         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14502         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14503         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14504         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14505         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14506         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14507         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14508         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14509         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14510         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14511         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14512         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14513         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14514         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14515         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14516         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14517         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14518         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14519         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14520         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14521         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14522         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14523         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14524         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14525         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14526         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14527         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14528         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14529         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14530         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14531         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14532         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14533         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14534         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14535         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14536         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14537         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14538         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14539         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14540         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14541         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14542         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14543         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14544         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14545         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14546         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14547         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14548         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14549         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14550         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14551         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14552         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14553         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14554         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14555         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14556         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14557         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14558         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14559         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14560         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14561         * sysdeps/powerpc/sysdep.h: Likewise.
14562         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14563         * sysdeps/s390/s390-64/sub_n.S: Likewise.
14564         * sysdeps/sh/dl-trampoline.S: Likewise.
14565         * sysdeps/sh/memset.S: Likewise.
14566         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14567         * sysdeps/sh/strlen.S: Likewise.
14568         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14569         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14570         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14571         * sysdeps/sparc/sparc32/rem.S: Likewise.
14572         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14573         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14574         * sysdeps/sparc/sparc32/strchr.S: Likewise.
14575         * sysdeps/sparc/sparc32/udiv.S: Likewise.
14576         * sysdeps/sparc/sparc32/urem.S: Likewise.
14577         * sysdeps/sparc/sparc64/add_n.S: Likewise.
14578         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14579         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14580         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14581         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14582         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14583         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14584         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14585         * sysdeps/unix/bsd/times.c: Likewise.
14586         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14587         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14591         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14592         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14593         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14594         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14595         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14596         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14597         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14598         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14599         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14600         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14601         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14602         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14603         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14604         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14605         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14606         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14607         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14608         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14609         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14610         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14611         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14612         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14613         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14614         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14615         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14616         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14617         * sysdeps/x86_64/strcspn.S: Likewise.
14619 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14621         * locale/C-translit.h: Revert #include <stdint.h> because this is a
14622         generated file.  Regenerate properly from gen-translit.pl.
14623         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
14624         locale/C-translit.h.
14626 2013-06-05  Andreas Schwab  <schwab@suse.de>
14628         [BZ #15100]
14629         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14630         week as 6 instead of -1.
14631         * time/tst-strptime.c (day_tests): Add test case.
14633 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14635         * sysdeps/generic/math_private.h
14636         (libc_feholdexcept_setround_53bit): Replace with
14637         libc_feholdsetround_53bit.
14638         (libc_feupdateenv_53bit): Replace with
14639         libc_feresetround_53bit.
14640         (SET_RESTORE_ROUND_53BIT): Adjust.
14642 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14644         * string/test-strchrnul.c: Add copyright header.
14646         * posix/tst-getaddrinfo4.c: Increase test timeout.
14648 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
14650         [BZ #15536]
14651         * math/libm-test.inc (MAX_EXP): Remove
14652         (MIN_EXP): Define.
14653         (ulp): Use MIN_EXP - MANT_DIG.
14654         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14656 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
14658         * po/be.po: Revert last change.
14659         * po/zh_CN.po: Likewise.
14660         * po/header.pot: Likewise.
14662 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
14664         * Makefile ($(common-objpfx)linkobj/libc.so): Define
14665         link-libc-deps to empty as target-specific variable.
14666         * Makerules (link-libc-args): New variable.
14667         (libc-for-link): Likewise.
14668         (link-libc-deps): Likewise.
14669         (lib%.so): Depend on $(link-libc-deps).  Link with
14670         $(link-libc-args).
14671         (build-module): Link with $(link-libc-args).
14672         (build-module-asneeded): Likewise.
14673         (build-module-helper-objlist): Filter out $(link-libc-deps) from
14674         list of objects.
14675         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14676         target-specific variable.
14677         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14678         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14679         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14680         libc.
14681         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14682         libc and ld.so.
14683         ($(objpfx)libpcprofile.so): Likewise.
14684         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14685         libc_nonshared.a.
14686         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14687         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14688         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14689         $(link-libc-deps).
14690         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14691         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14692         * login/Makefile ($(objpfx)libutil.so): Likewise.
14693         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14694         * math/Makefile ($(objpfx)libm.so): Likewise.
14695         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14696         $(objpfx)libnsl.so): Define libc-for-link as target-specific
14697         variable instead of depending directly on libc.
14698         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14699         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14700         $(link-libc-deps).
14701         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14702         libc.
14703         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14704         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14705         ($(objpfx)libanl.so): Likewise.
14706         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14707         ld.so.
14708         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14709         $(link-libc-deps).
14710         * sysdeps/i386/fpu/Makefile: Remove file.
14711         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14712         ($(objpfx)libm.so): Remove dependency on ld.so.
14714 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
14716         [BZ # 15553]
14717         * nis/yp_xdr.c (XDRMAXNAME): Define.
14718         (XDRMAXRECORD): Define.
14719         (xdr_domainname): Use XDRMAXNAME.
14720         (xdr_mapname): Likewise.
14721         (xdr_peername): Likewise.
14722         (xdr_keydat): Use XDRMAXRECORD.
14723         (xdr_valdat): Likewise.
14725 2013-05-30  Jeff Law  <law@redhat.com>
14727         [BZ #14256]
14728         * manual/errno.texi (ESTALE): Update to account for more than
14729         just NFS file systems.
14730         * sysdeps/gnu/errlist.c: Regenerated.
14732 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14734         [BZ #15465]
14735         * elf/Makefile (tests): Add tst-null-argv.
14736         (modules-names):  Add tst-null-argv-lib.
14737         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14738         (tst-null-argv-ENV): Set environment for tst-null-argv.
14739         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14740         (RTLD_PROGNAME): New macro.
14741         * elf/tst-null-argv.c: New test case.
14742         * elf/tst-null-argv-lib.c: Library for test case.
14743         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14744         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14745         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14746         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14747         * elf/dl-init.c (call_init): Likewise.
14748         (_dl_init): Likewise.
14749         * elf/dl-load.c (print_search_path): Likewise.
14750         (_dl_map_object): Likewise.
14751         * elf/dl-lookup.c (do_lookup_x): Likewise.
14752         (add_dependency): Likewise.
14753         (_dl_lookup_symbol_x): Likewise.
14754         (_dl_debug_bindings): Likewise.
14755         * elf/dl-open.c (_dl_show_scope): Likewise.
14756         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14757         * elf/dl-version.c (match_symbol): Likewise.
14758         (_dl_check_map_versions): Likewise.
14759         * elf/rtld.c (dl_main): Likewise.
14760         (print_unresolved): Use RTLD_PROGNAME.
14761         (print_missing_version): Likewise.
14762         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14763         (elf_machine_rela): Likewise.
14764         * sysdeps/powerpc/powerpc32/dl-machine.c
14765         (__process_machine_rela): Likewise.
14766         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14767         Likewise.
14768         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14769         Likewise.
14770         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14771         Likewise.
14772         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14773         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14774         Likewise.
14775         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14776         Likewise.
14777         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14779 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
14781         * po/be.po: Add descriptive title.
14782         * po/zh_CN.po: Likewise.
14783         * po/header.pot: Likewise.
14785 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
14787         * locale/programs/locarchive.c (create_archive): Inlucde fname in
14788         error message.
14789         (enlarge_archive): Likewise.
14791 2013-05-28  Ben North  <ben@redfrontdoor.org>
14793         * manual/arith.texi (frexp): It is the magnitude of the return
14794         value which lies in [0.5, 1), not the return value itself.
14796 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14800 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
14802         * stdio-common/bug26.c (main): Correct fscanf template.
14804         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14805         declare _dl_skip_args.
14807         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14808         Don't declare.
14810         * manual/platform.texi: Add missing @end deftypefun.
14812 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
14814         [BZ #15529]
14815         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14816         bit of mantissa of 2^16382.
14817         * math/libm-test.inc (hypot_test_data): Add more tests.
14819         * math/libm-test.inc: Add drem and pow10 to list of tested
14820         functions.
14821         (pow10_test): New function.
14822         (drem_test): Likewise.
14823         (drem_test_tonearest): Likewise.
14824         (drem_test_towardzero): Likewise.
14825         (drem_test_downward): Likewise.
14826         (drem_test_upward): Likewise.
14827         (main): Call the new functions.
14829         * math/libm-test.inc (finite_test_data): Remove.
14830         (finite_test): Run tests from isfinite_test_data.
14831         (gamma_test_data): Remove.
14832         (gamma_test): Run tests from lgamma_test_data.
14833         * sysdeps/i386/fpu/libm-test-ulps: Update.
14834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14836 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14838         * manual/platform.texi: Add PowerPC PPR function set documentation.
14839         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14840         implementation.
14842 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
14844         * math/libm-test.inc (MAX_EXP): Define.
14845         (ULPDIFF): Define.
14846         (ulp): New function.
14847         (check_float_internal): Use ULPDIFF.
14848         (cpow_test): Disable failing test.
14849         (check_ulp): Test ulp() implemetnation.
14850         (main): Call check_ulp before starting tests.
14852 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
14854         * math/gen-libm-test.pl (generate_testfile): Do not handle
14855         START_DATA and END_DATA.
14856         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14857         END_DATA.
14858         (acos_tonearest_test_data): Likewise.
14859         (acos_towardzero_test_data): Likewise.
14860         (acos_downward_test_data): Likewise.
14861         (acos_upward_test_data): Likewise.
14862         (acosh_test_data): Likewise.
14863         (asin_test_data): Likewise.
14864         (asin_tonearest_test_data): Likewise.
14865         (asin_towardzero_test_data): Likewise.
14866         (asin_downward_test_data): Likewise.
14867         (asin_upward_test_data): Likewise.
14868         (asinh_test_data): Likewise.
14869         (atan_test_data): Likewise.
14870         (atanh_test_data): Likewise.
14871         (atan2_test_data): Likewise.
14872         (cabs_test_data): Likewise.
14873         (cacos_test_data): Likewise.
14874         (cacosh_test_data): Likewise.
14875         (carg_test_data): Likewise.
14876         (casin_test_data): Likewise.
14877         (casinh_test_data): Likewise.
14878         (catan_test_data): Likewise.
14879         (catanh_test_data): Likewise.
14880         (cbrt_test_data): Likewise.
14881         (ccos_test_data): Likewise.
14882         (ccosh_test_data): Likewise.
14883         (ceil_test_data): Likewise.
14884         (cexp_test_data): Likewise.
14885         (cimag_test_data): Likewise.
14886         (clog_test_data): Likewise.
14887         (clog10_test_data): Likewise.
14888         (conj_test_data): Likewise.
14889         (copysign_test_data): Likewise.
14890         (cos_test_data): Likewise.
14891         (cos_tonearest_test_data): Likewise.
14892         (cos_towardzero_test_data): Likewise.
14893         (cos_downward_test_data): Likewise.
14894         (cos_upward_test_data): Likewise.
14895         (cosh_test_data): Likewise.
14896         (cosh_tonearest_test_data): Likewise.
14897         (cosh_towardzero_test_data): Likewise.
14898         (cosh_downward_test_data): Likewise.
14899         (cosh_upward_test_data): Likewise.
14900         (cpow_test_data): Likewise.
14901         (cproj_test_data): Likewise.
14902         (creal_test_data): Likewise.
14903         (csin_test_data): Likewise.
14904         (csinh_test_data): Likewise.
14905         (csqrt_test_data): Likewise.
14906         (ctan_test_data): Likewise.
14907         (ctan_tonearest_test_data): Likewise.
14908         (ctan_towardzero_test_data): Likewise.
14909         (ctan_downward_test_data): Likewise.
14910         (ctan_upward_test_data): Likewise.
14911         (ctanh_test_data): Likewise.
14912         (ctanh_tonearest_test_data): Likewise.
14913         (ctanh_towardzero_test_data): Likewise.
14914         (ctanh_downward_test_data): Likewise.
14915         (ctanh_upward_test_data): Likewise.
14916         (erf_test_data): Likewise.
14917         (erfc_test_data): Likewise.
14918         (exp_test_data): Likewise.
14919         (exp_tonearest_test_data): Likewise.
14920         (exp_towardzero_test_data): Likewise.
14921         (exp_downward_test_data): Likewise.
14922         (exp_upward_test_data): Likewise.
14923         (exp10_test_data): Likewise.
14924         (exp2_test_data): Likewise.
14925         (expm1_test_data): Likewise.
14926         (fabs_test_data): Likewise.
14927         (fdim_test_data): Likewise.
14928         (finite_test_data): Likewise.
14929         (floor_test_data): Likewise.
14930         (fma_test_data): Likewise.
14931         (fma_towardzero_test_data): Likewise.
14932         (fma_downward_test_data): Likewise.
14933         (fma_upward_test_data): Likewise.
14934         (fmax_test_data): Likewise.
14935         (fmin_test_data): Likewise.
14936         (fmod_test_data): Likewise.
14937         (fpclassify_test_data): Likewise.
14938         (frexp_test_data): Likewise.
14939         (gamma_test_data): Likewise.
14940         (hypot_test_data): Likewise.
14941         (ilogb_test_data): Likewise.
14942         (isfinite_test_data): Likewise.
14943         (isgreater_test_data): Likewise.
14944         (isgreaterequal_test_data): Likewise.
14945         (isinf_test_data): Likewise.
14946         (isless_test_data): Likewise.
14947         (islessequal_test_data): Likewise.
14948         (islessgreater_test_data): Likewise.
14949         (isnan_test_data): Likewise.
14950         (isnormal_test_data): Likewise.
14951         (issignaling_test_data): Likewise.
14952         (isunordered_test_data): Likewise.
14953         (j0_test_data): Likewise.
14954         (j1_test_data): Likewise.
14955         (jn_test_data): Likewise.
14956         (ldexp_test_data): Likewise.
14957         (lgamma_test_data): Likewise.
14958         (lrint_test_data): Likewise.
14959         (lrint_tonearest_test_data): Likewise.
14960         (lrint_towardzero_test_data): Likewise.
14961         (lrint_downward_test_data): Likewise.
14962         (lrint_upward_test_data): Likewise.
14963         (llrint_test_data): Likewise.
14964         (llrint_tonearest_test_data): Likewise.
14965         (llrint_towardzero_test_data): Likewise.
14966         (llrint_downward_test_data): Likewise.
14967         (llrint_upward_test_data): Likewise.
14968         (log_test_data): Likewise.
14969         (log10_test_data): Likewise.
14970         (log1p_test_data): Likewise.
14971         (log2_test_data): Likewise.
14972         (logb_test_data): Likewise.
14973         (logb_downward_test_data): Likewise.
14974         (lround_test_data): Likewise.
14975         (llround_test_data): Likewise.
14976         (modf_test_data): Likewise.
14977         (nearbyint_test_data): Likewise.
14978         (nextafter_test_data): Likewise.
14979         (nexttoward_test_data): Likewise.
14980         (pow_test_data): Likewise.
14981         (pow_tonearest_test_data): Likewise.
14982         (pow_towardzero_test_data): Likewise.
14983         (pow_downward_test_data): Likewise.
14984         (pow_upward_test_data): Likewise.
14985         (remainder_test_data): Likewise.
14986         (remainder_tonearest_test_data): Likewise.
14987         (remainder_towardzero_test_data): Likewise.
14988         (remainder_downward_test_data): Likewise.
14989         (remainder_upward_test_data): Likewise.
14990         (remquo_test_data): Likewise.
14991         (rint_test_data): Likewise.
14992         (rint_tonearest_test_data): Likewise.
14993         (rint_towardzero_test_data): Likewise.
14994         (rint_downward_test_data): Likewise.
14995         (rint_upward_test_data): Likewise.
14996         (round_test_data): Likewise.
14997         (scalb_test_data): Likewise.
14998         (scalbn_test_data): Likewise.
14999         (scalbln_test_data): Likewise.
15000         (signbit_test_data): Likewise.
15001         (sin_test_data): Likewise.
15002         (sin_tonearest_test_data): Likewise.
15003         (sin_towardzero_test_data): Likewise.
15004         (sin_downward_test_data): Likewise.
15005         (sin_upward_test_data): Likewise.
15006         (sincos_test_data): Likewise.
15007         (sinh_test_data): Likewise.
15008         (sinh_tonearest_test_data): Likewise.
15009         (sinh_towardzero_test_data): Likewise.
15010         (sinh_downward_test_data): Likewise.
15011         (sinh_upward_test_data): Likewise.
15012         (sqrt_test_data): Likewise.
15013         (tan_test_data): Likewise.
15014         (tan_tonearest_test_data): Likewise.
15015         (tan_towardzero_test_data): Likewise.
15016         (tan_downward_test_data): Likewise.
15017         (tan_upward_test_data): Likewise.
15018         (tanh_test_data): Likewise.
15019         (tgamma_test_data): Likewise.
15020         (trunc_test_data): Likewise.
15021         (y0_test_data): Likewise.
15022         (y1_test_data): Likewise.
15023         (yn_test_data): Likewise.
15024         (significand_test_data): Likewise.
15026         * math/gen-libm-test.pl (@functions): Remove variable.
15027         (generate_testfile): Don't handle START and END lines.
15028         * math/libm-test.inc (START): New macro.
15029         (END): Likewise.
15030         (END_COMPLEX): Likewise.
15031         (acos_test): Use END macro without arguments.
15032         (acos_test_tonearest): Likewise.
15033         (acos_test_towardzero): Likewise.
15034         (acos_test_downward): Likewise.
15035         (acos_test_upward): Likewise.
15036         (acosh_test): Likewise.
15037         (asin_test): Likewise.
15038         (asin_test_tonearest): Likewise.
15039         (asin_test_towardzero): Likewise.
15040         (asin_test_downward): Likewise.
15041         (asin_test_upward): Likewise.
15042         (asinh_test): Likewise.
15043         (atan_test): Likewise.
15044         (atanh_test): Likewise.
15045         (atan2_test): Likewise.
15046         (cabs_test): Likewise.
15047         (cacos_test): Use END_COMPLEX macro without arguments.
15048         (cacosh_test): Likewise.
15049         (carg_test): Use END macro without arguments.
15050         (casin_test): Use END_COMPLEX macro without arguments.
15051         (casinh_test): Likewise.
15052         (catan_test): Likewise.
15053         (catanh_test): Likewise.
15054         (cbrt_test): Use END macro without arguments.
15055         (ccos_test): Use END_COMPLEX macro without arguments.
15056         (ccosh_test): Likewise.
15057         (ceil_test): Use END macro without arguments.
15058         (cexp_test): Use END_COMPLEX macro without arguments.
15059         (cimag_test): Use END macro without arguments.
15060         (clog_test): Use END_COMPLEX macro without arguments.
15061         (clog10_test): Likewise.
15062         (conj_test): Likewise.
15063         (copysign_test): Use END macro without arguments.
15064         (cos_test): Likewise.
15065         (cos_test_tonearest): Likewise.
15066         (cos_test_towardzero): Likewise.
15067         (cos_test_downward): Likewise.
15068         (cos_test_upward): Likewise.
15069         (cosh_test): Likewise.
15070         (cosh_test_tonearest): Likewise.
15071         (cosh_test_towardzero): Likewise.
15072         (cosh_test_downward): Likewise.
15073         (cosh_test_upward): Likewise.
15074         (cpow_test): Use END_COMPLEX macro without arguments.
15075         (cproj_test): Likewise.
15076         (creal_test): Use END macro without arguments.
15077         (csin_test): Use END_COMPLEX macro without arguments.
15078         (csinh_test): Likewise.
15079         (csqrt_test): Likewise.
15080         (ctan_test): Likewise.
15081         (ctan_test_tonearest): Likewise.
15082         (ctan_test_towardzero): Likewise.
15083         (ctan_test_downward): Likewise.
15084         (ctan_test_upward): Likewise.
15085         (ctanh_test): Likewise.
15086         (ctanh_test_tonearest): Likewise.
15087         (ctanh_test_towardzero): Likewise.
15088         (ctanh_test_downward): Likewise.
15089         (ctanh_test_upward): Likewise.
15090         (erf_test): Use END macro without arguments.
15091         (erfc_test): Likewise.
15092         (exp_test): Likewise.
15093         (exp_test_tonearest): Likewise.
15094         (exp_test_towardzero): Likewise.
15095         (exp_test_downward): Likewise.
15096         (exp_test_upward): Likewise.
15097         (exp10_test): Likewise.
15098         (exp2_test): Likewise.
15099         (expm1_test): Likewise.
15100         (fabs_test): Likewise.
15101         (fdim_test): Likewise.
15102         (finite_test): Likewise.
15103         (floor_test): Likewise.
15104         (fma_test): Likewise.
15105         (fma_test_towardzero): Likewise.
15106         (fma_test_downward): Likewise.
15107         (fma_test_upward): Likewise.
15108         (fmax_test): Likewise.
15109         (fmin_test): Likewise.
15110         (fmod_test): Likewise.
15111         (fpclassify_test): Likewise.
15112         (frexp_test): Likewise.
15113         (gamma_test): Likewise.
15114         (hypot_test): Likewise.
15115         (ilogb_test): Likewise.
15116         (isfinite_test): Likewise.
15117         (isgreater_test): Likewise.
15118         (isgreaterequal_test): Likewise.
15119         (isinf_test): Likewise.
15120         (isless_test): Likewise.
15121         (islessequal_test): Likewise.
15122         (islessgreater_test): Likewise.
15123         (isnan_test): Likewise.
15124         (isnormal_test): Likewise.
15125         (issignaling_test): Likewise.
15126         (isunordered_test): Likewise.
15127         (j0_test): Likewise.
15128         (j1_test): Likewise.
15129         (jn_test): Likewise.
15130         (ldexp_test): Likewise.
15131         (lgamma_test): Likewise.
15132         (lrint_test): Likewise.
15133         (lrint_test_tonearest): Likewise.
15134         (lrint_test_towardzero): Likewise.
15135         (lrint_test_downward): Likewise.
15136         (lrint_test_upward): Likewise.
15137         (llrint_test): Likewise.
15138         (llrint_test_tonearest): Likewise.
15139         (llrint_test_towardzero): Likewise.
15140         (llrint_test_downward): Likewise.
15141         (llrint_test_upward): Likewise.
15142         (log_test): Likewise.
15143         (log10_test): Likewise.
15144         (log1p_test): Likewise.
15145         (log2_test): Likewise.
15146         (logb_test): Likewise.
15147         (logb_test_downward): Likewise.
15148         (lround_test): Likewise.
15149         (llround_test): Likewise.
15150         (modf_test): Likewise.
15151         (nearbyint_test): Likewise.
15152         (nextafter_test): Likewise.
15153         (nexttoward_test): Likewise.
15154         (pow_test): Likewise.
15155         (pow_test_tonearest): Likewise.
15156         (pow_test_towardzero): Likewise.
15157         (pow_test_downward): Likewise.
15158         (pow_test_upward): Likewise.
15159         (remainder_test): Likewise.
15160         (remainder_test_tonearest): Likewise.
15161         (remainder_test_towardzero): Likewise.
15162         (remainder_test_downward): Likewise.
15163         (remainder_test_upward): Likewise.
15164         (remquo_test): Likewise.
15165         (rint_test): Likewise.
15166         (rint_test_tonearest): Likewise.
15167         (rint_test_towardzero): Likewise.
15168         (rint_test_downward): Likewise.
15169         (rint_test_upward): Likewise.
15170         (round_test): Likewise.
15171         (scalb_test): Likewise.
15172         (scalbn_test): Likewise.
15173         (scalbln_test): Likewise.
15174         (signbit_test): Likewise.
15175         (sin_test): Likewise.
15176         (sin_test_tonearest): Likewise.
15177         (sin_test_towardzero): Likewise.
15178         (sin_test_downward): Likewise.
15179         (sin_test_upward): Likewise.
15180         (sincos_test): Likewise.
15181         (sinh_test): Likewise.
15182         (sinh_test_tonearest): Likewise.
15183         (sinh_test_towardzero): Likewise.
15184         (sinh_test_downward): Likewise.
15185         (sinh_test_upward): Likewise.
15186         (sqrt_test): Likewise.
15187         (tan_test): Likewise.
15188         (tan_test_tonearest): Likewise.
15189         (tan_test_towardzero): Likewise.
15190         (tan_test_downward): Likewise.
15191         (tan_test_upward): Likewise.
15192         (tanh_test): Likewise.
15193         (tgamma_test): Likewise.
15194         (trunc_test): Likewise.
15195         (y0_test): Likewise.
15196         (y1_test): Likewise.
15197         (yn_test): Likewise.
15198         (significand_test): Likewise.
15200 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
15202         [BZ #15381]
15203         * libio/genops.c (_IO_no_init): Initialize wide struct info.
15205 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
15207         [BZ #14894]
15208         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15209         __ppc_mdoio and __ppc_mdoom.
15210         * manual/platform.texi: Document new functions __ppc_yield,
15211         __ppc_mdoio and __ppc_mdoom.
15213 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
15215         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15216         (main): Mention "tls" pseudo-hwcap is legacy.
15217         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15219 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
15221         * math/gen-libm-test.pl (parse_args): Output only string of
15222         arguments as text for test name, not full call or descriptions of
15223         tests for extra outputs.
15224         (generate_testfile): Do not pass function name to parse_args.
15225         Generate this_func variable from START.
15226         * math/libm-test.inc (struct test_f_f_data): Rename test_name
15227         field to arg_str.
15228         (struct test_ff_f_data): Likewise.
15229         (test_ff_f_data_nexttoward): Likewise.
15230         (struct test_fi_f_data): Likewise.
15231         (struct test_fl_f_data): Likewise.
15232         (struct test_if_f_data): Likewise.
15233         (struct test_fff_f_data): Likewise.
15234         (struct test_c_f_data): Likewise.
15235         (struct test_f_f1_data): Likewise.  Remove field extra_name.
15236         (struct test_fF_f1_data): Likewise.
15237         (struct test_ffI_f1_data): Likewise.
15238         (struct test_c_c_data): Rename test_name field to arg_str.
15239         (struct test_cc_c_data): Likewise.
15240         (struct test_f_i_data): Likewise.
15241         (struct test_ff_i_data): Likewise.
15242         (struct test_f_l_data): Likewise.
15243         (struct test_f_L_data): Likewise.
15244         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
15245         and extra2_name.
15246         (COMMON_TEST_SETUP): New macro.
15247         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15248         (COMMON_TEST_CLEANUP): Likewise.
15249         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15250         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
15251         macros.
15252         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15253         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
15254         macros.
15255         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15256         (RUN_TEST_fff_f): Take argument string.  Call new setup and
15257         cleanup macros.
15258         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15259         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
15260         macros.
15261         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15262         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
15263         macros.
15264         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15265         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
15266         cleanup macros.
15267         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15268         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
15269         cleanup macros.
15270         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15271         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
15272         cleanup macros.
15273         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15274         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
15275         macros.
15276         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15277         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
15278         macros.
15279         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15280         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
15281         macros.
15282         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15283         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
15284         cleanup macros.
15285         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15286         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
15287         cleanup macros.
15288         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15289         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
15290         macros.
15291         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15292         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
15293         cleanup macros.
15294         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15295         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
15296         macros.
15297         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15298         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
15299         macros.
15300         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15301         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
15302         cleanup macros.
15303         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15305 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
15307         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15308         to _sifields.sigfault.
15309         (si_addr_lsb): Define new macro.
15310         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15311         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15312         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15314 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
15316         [BZ #15441]
15317         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15318         returns -1.
15319         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15320         null return -1.
15321         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15322         loading the domain.
15324 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
15326         * math/gen-libm-test.pl (parse_args): Do not include expected
15327         result in test name.
15328         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15329         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15330         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15331         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15332         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15335 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15337         * benchtests/Makefile: Sort function entries.
15339         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15340         tanh, asinh, acosh, atanh.
15341         * benchtests/acos-inputs: New file.
15342         * benchtests/acosh-inputs: New file.
15343         * benchtests/asin-inputs: New file.
15344         * benchtests/asinh-inputs: New file.
15345         * benchtests/atanh-inputs: New file.
15346         * benchtests/cosh-inputs: New file.
15347         * benchtests/log-inputs: New file.
15348         * benchtests/sinh-inputs: New file.
15349         * benchtests/tanh-inputs: New file.
15351 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
15353         [BZ #15339]
15354         * posix/tst-getaddrinfo4.c: New test.
15355         * posix/Makefile (tests): Add it.
15357 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15359         [BZ #15339]
15360         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15361         when no services were used.
15362         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15363         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15365 2013-05-21  Andreas Schwab  <schwab@suse.de>
15367         [BZ #15014]
15368         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15369         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15370         successful.
15371         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15372         redundant variable declarations and reallocation of buffer when
15373         parsing as IPv6 address.  Always set NSS status when called from
15374         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
15375         buffer too small.  Correct computation of needed size.
15376         * nss/Makefile (tests): Add test-digits-dots.
15377         * nss/test-digits-dots.c: New test.
15379 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15381         * benchtests/Makefile: Remove instructions for adding
15382         benchmark tests.
15383         * benchtests/README: New file to explain how to execute and
15384         enhance the benchmark tests.
15386 2013-05-21  Andreas Schwab  <schwab@suse.de>
15388         [BZ #15493]
15389         * setjmp/Makefile (tests): Add tst-sigsetjmp.
15390         * setjmp/tst-sigsetjmp.c: New test.
15392 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
15394         * sysdeps/x86_64/memset.S (memset): New implementation.
15395         (__bzero): Likewise.
15396         (__memset_tail): New function.
15398 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
15400         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15401         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15402         __memcpy_sse2_unaligned ifunc selection.
15403         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15404         Add memcpy-sse2-unaligned.S.
15405         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15406         Add: __memcpy_sse2_unaligned.
15408 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
15410         [BZ #15490]
15411         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15412         math_force_eval before restoring floating-point envrionment.
15413         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15414         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15415         Likewise.
15416         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15417         <math_private.h>.
15418         (__nearbyintl): Use math_force_eval before restoring
15419         floating-point environment.
15420         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15422         * math/gen-libm-test.pl (special_functions): Remove.
15423         (parse_args): Don't handle TEST_extra.  Handle functions with no
15424         return value.
15425         * math/libm-test.inc (struct test_sincos_data): Replace with
15426         struct test_fFF_11_data.
15427         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15428         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15429         (sincos_test_data): Change element type to struct
15430         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
15431         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15432         RUN_TEST_LOOP_sincos.
15433         * math/README.libm-test: Don't mention special handling of
15434         individual functions.
15435         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15436         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15437         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15438         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15439         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15442         * math/gen-libm-test.pl (get_variable): Remove function.
15443         (parse_args): Don't show pointer parameters to call in test
15444         names.  Use "extra output N" in test names for extra outputs
15445         rather than naming variables.
15447 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
15449         [BZ #15488]
15450         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15451         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15452         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15453         double tests.
15454         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15455         disable.
15456         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15457         check_long_double.
15459         * math/gen-libm-test.pl (@tests): Remove variable.
15460         ($count): Likewise.
15461         (new_test): Remove function.
15462         (show_exceptions): New function.
15463         (special_functions): Use show_exceptions instead of new_test.
15464         (parse_args): Likewise.
15465         (generate_testfile): Pass only function name in generated call to
15466         print_max_error or print_complex_max_error.
15467         (get_ulps): Do not handle complex tests specially.
15468         (output_test): Rename to ...
15469         (get_all_ulps_for_test): ... this.  Return a string rather than
15470         printing to a file.  Require ulps to be present.
15471         (output_ulps): Generate arrays rather than #defines.
15472         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15473         (struct ulp_data): New type.
15474         (BUILD_COMPLEX_ULP): Remove macro.
15475         (compare_ulp_data): New function.
15476         (find_ulps): Likewise.
15477         (find_test_ulps): Likewise.
15478         (find_function_ulps): Likewise.
15479         (find_complex_function_ulps): Likewise.
15480         (print_max_error): Determine allowed ulps using
15481         find_function_ulps.
15482         (print_complex_max_error): Determine allowed ulps using
15483         find_complex_function_ulps.
15484         (check_float_internal): Determine max ulps using find_test_ulps.
15485         (check_float): Do not take max_ulp parameter.  Update call to
15486         check_float_internal.
15487         (check_complex): Likewise.
15488         (check_int): Do not take max_ulp parameter.
15489         (check_long): Likewise.
15490         (check_bool): Likewise.
15491         (check_longlong): Likewise.
15492         (struct test_f_f_data): Remove max_ulp field.
15493         (struct test_ff_f_data): Likewise.
15494         (struct test_ff_f_data_nexttoward): Likewise.
15495         (struct test_fi_f_data): Likewise.
15496         (struct test_fl_f_data): Likewise.
15497         (struct test_if_f_data): Likewise.
15498         (struct test_fff_f_data): Likewise.
15499         (struct test_c_f_data): Likewise.
15500         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15501         (struct test_fF_f1_data): Likewise.
15502         (struct test_ffI_f1_data): Likewise.
15503         (struct test_c_c_data): Remove max_ulp field.
15504         (struct test_cc_c_data): Likewise.
15505         (struct test_f_i_data): Likewise.
15506         (struct test_ff_i_data): Likewise.
15507         (struct test_f_l_data): Likewise.
15508         (struct test_f_L_data): Likewise.
15509         (struct test_sincos_data): Likewise.
15510         (RUN_TEST_f_f): Do not handle ulps.
15511         (RUN_TEST_LOOP_f_f): Likewise.
15512         (RUN_TEST_2_f): Likewise.
15513         (RUN_TEST_LOOP_2_f): Likewise.
15514         (RUN_TEST_fff_f): Likewise.
15515         (RUN_TEST_LOOP_fff_f): Likewise.
15516         (RUN_TEST_c_f): Likewise.
15517         (RUN_TEST_LOOP_c_f): Likewise.
15518         (RUN_TEST_f_f1): Likewise.
15519         (RUN_TEST_LOOP_f_f1): Likewise.
15520         (RUN_TEST_fF_f1): Likewise.
15521         (RUN_TEST_LOOP_fF_f1): Likewise.
15522         (RUN_TEST_fI_f1): Likewise.
15523         (RUN_TEST_LOOP_fI_f1): Likewise.
15524         (RUN_TEST_ffI_f1): Likewise.
15525         (RUN_TEST_LOOP_ffI_f1): Likewise.
15526         (RUN_TEST_c_c): Likewise.
15527         (RUN_TEST_LOOP_c_c): Likewise.
15528         (RUN_TEST_cc_c): Likewise.
15529         (RUN_TEST_LOOP_cc_c): Likewise.
15530         (RUN_TEST_f_i): Likewise.
15531         (RUN_TEST_LOOP_f_i): Likewise.
15532         (RUN_TEST_f_i_tg): Likewise.
15533         (RUN_TEST_LOOP_f_i_tg): Likewise.
15534         (RUN_TEST_ff_i_tg): Likewise.
15535         (RUN_TEST_LOOP_ff_i_tg): Likewise.
15536         (RUN_TEST_f_b): Likewise.
15537         (RUN_TEST_LOOP_f_b): Likewise.
15538         (RUN_TEST_f_b_tg): Likewise.
15539         (RUN_TEST_LOOP_f_b_tg): Likewise.
15540         (RUN_TEST_f_l): Likewise.
15541         (RUN_TEST_LOOP_f_l): Likewise.
15542         (RUN_TEST_f_L): Likewise.
15543         (RUN_TEST_LOOP_f_L): Likewise.
15544         (RUN_TEST_sincos): Likewise.
15545         (RUN_TEST_LOOP_sincos): Likewise.
15547 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
15549         [BZ #15480]
15550         [BZ #15485]
15551         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15552         main case of finite arguments, set rounding mode to FE_TONEAREST
15553         and discard exceptions.
15554         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15555         exceptions.
15556         (remainder_tonearest_test_data): New variable.
15557         (remainder_test_tonearest): New function.
15558         (remainder_towardzero_test_data): New variable.
15559         (remainder_test_towardzero): New function.
15560         (remainder_downward_test_data): New variable.
15561         (remainder_test_downward): New function.
15562         (remainder_upward_test_data): New variable.
15563         (remainder_test_upward): New function.
15564         (main): Call the new test functions.
15566         * math/libm-test.inc (struct test_f_f1_data): Remove field
15567         extra_init.
15568         (struct test_fF_f1_data): Likewise.
15569         (struct test_ffI_f1_data): Likewise.
15570         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
15571         based on value of EXTRA_EXPECTED.
15572         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15573         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
15574         EXTRA_VAR based on value of EXTRA_EXPECTED.
15575         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15576         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
15577         EXTRA_VAR based on value of EXTRA_EXPECTED.
15578         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15579         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
15580         EXTRA_VAR based on value of EXTRA_EXPECTED.
15581         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15582         * math/gen-libm-test.pl (parse_args): Don't output initializers
15583         for extra output values.
15585         * math/libm-test.inc (check_int): Expect result to be exactly
15586         equal to expected value and do not handle ulps.
15587         (check_long): Likewise.
15588         (check_longlong): Likewise.
15590         * math/libm-test.inc (ceil_test_data): Test for "inexact"
15591         exceptions.
15592         (cimag_test_data): Likewise.
15593         (conj_test_data): Likewise.
15594         (copysign_test_data): Likewise.
15595         (cproj_test_data): Likewise.
15596         (creal_test_data): Likewise.
15597         (fabs_test_data): Likewise.
15598         (fdim_test_data): Likewise.
15599         (finite_test_data): Likewise.
15600         (floor_test_data): Likewise.
15601         (fmax_test_data): Likewise.
15602         (fmin_test_data): Likewise.
15603         (fmod_test_data): Likewise.
15604         (fpclassify_test_data): Likewise.
15605         (frexp_test_data): Likewise.
15606         (ilogb_test_data): Likewise.
15607         (isfinite_test_data): Likewise.
15608         (isgreater_test_data): Likewise.
15609         (isgreaterequal_test_data): Likewise.
15610         (isinf_test_data): Likewise.
15611         (isless_test_data): Likewise.
15612         (islessequal_test_data): Likewise.
15613         (islessgreater_test_data): Likewise.
15614         (isnan_test_data): Likewise.
15615         (isnormal_test_data): Likewise.
15616         (issignaling_test_data): Likewise.
15617         (isunordered_test_data): Likewise.
15618         (ldexp_test_data): Likewise.
15619         (lrint_test_data): Likewise.
15620         (lrint_test_data) [TEST_FLOAT]: Disable one test.
15621         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15622         (lrint_tonearest_test_data): Test for "inexact" exceptions.
15623         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15624         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15625         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15626         test input.
15627         (lrint_towardzero_test_data): Test for "inexact" exceptions.
15628         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15629         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15630         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15631         that test input.
15632         (lrint_downward_test_data): Test for "inexact" exceptions.
15633         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15634         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15635         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15636         test input.
15637         (lrint_upward_test_data): Test for "inexact" exceptions.
15638         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15639         test input.
15640         (llrint_test_data): Test for "inexact" exceptions.
15641         (llrint_test_data) [TEST_FLOAT]: Disable one test.
15642         (llrint_tonearest_test_data): Test for "inexact" exceptions.
15643         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15644         (llrint_towardzero_test_data): Test for "inexact" exceptions.
15645         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15646         (llrint_downward_test_data): Test for "inexact" exceptions.
15647         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15648         (llrint_upward_test_data): Test for "inexact" exceptions.
15649         (logb_test_data): Likewise.
15650         (logb_downward_test_data): Likewise.
15651         (nextafter_test_data): Likewise.
15652         (nexttoward_test_data): Likewise.
15653         (remainder_test_data): Likewise.
15654         (remquo_test_data): Likewise.
15655         (scalbn_test_data): Likewise.
15656         (scalbln_test_data): Likewise.
15657         (signbit_test_data): Likewise.
15658         (sqrt_test_data): Likewise.
15659         (significand_test_data): Likewise.
15661 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15663         [BZ #15424]
15664         * benchtests/bench-modf.c (struct args): Mark arg0 as
15665         volatile.
15666         * scripts/bench.pl: Mark members of struct args as volatile.
15668 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15670         [BZ # 15497]
15671         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15672         negative infinity on POWER6 or lower.
15673         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15675 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
15677         [BZ #15442]
15678         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15679         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15680         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15681         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15682         (_FP_SETQNAN): New macro.
15683         (_FP_SETQNAN_SEMIRAW): Likewise.
15684         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15685         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15686         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15687         (FP_EXTEND): Use _FP_FRAC_SNANP.
15688         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15689         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15690         into account.
15691         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15692         New macro.
15693         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15694         Likewise.
15696 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15698         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15699         with DIVIDE_BY_ZERO_EXCEPTION.
15700         (gamma_test_data): Likewise.
15701         (lgamma_test_data): Likewise.
15702         (log_test_data): Likewise.
15703         (log10_test_data): Likewise.
15704         (log2_test_data): Likewise.
15705         (tgamma_test_data): Likewise.
15707         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15708         (acos_test_tonearest): Likewise.
15709         (acos_test_towardzero): Likewise.
15710         (acos_test_downward): Likewise.
15711         (acos_test_upward): Likewise.
15712         (acosh_test): Likewise.
15713         (asin_test): Likewise.
15714         (asin_test_tonearest): Likewise.
15715         (asin_test_towardzero): Likewise.
15716         (asin_test_downward): Likewise.
15717         (asin_test_upward): Likewise.
15718         (asinh_test): Likewise.
15719         (atan_test): Likewise.
15720         (atanh_test): Likewise.
15721         (atan2_test): Likewise.
15722         (cabs_test): Likewise.
15723         (cacos_test): Likewise.
15724         (cacosh_test): Likewise.
15725         (casin_test): Likewise.
15726         (casinh_test): Likewise.
15727         (catan_test): Likewise.
15728         (catanh_test): Likewise.
15729         (cbrt_test): Likewise.
15730         (ccos_test): Likewise.
15731         (ccosh_test): Likewise.
15732         (cexp_test): Likewise.
15733         (clog_test): Likewise.
15734         (clog10_test): Likewise.
15735         (cos_test): Likewise.
15736         (cos_test_tonearest): Likewise.
15737         (cos_test_towardzero): Likewise.
15738         (cos_test_downward): Likewise.
15739         (cos_test_upward): Likewise.
15740         (cosh_test): Likewise.
15741         (cosh_test_tonearest): Likewise.
15742         (cosh_test_towardzero): Likewise.
15743         (cosh_test_downward): Likewise.
15744         (cosh_test_upward): Likewise.
15745         (cpow_test): Likewise.
15746         (csin_test): Likewise.
15747         (csinh_test): Likewise.
15748         (csqrt_test): Likewise.
15749         (ctan_test): Likewise.
15750         (ctan_test_tonearest): Likewise.
15751         (ctan_test_towardzero): Likewise.
15752         (ctan_test_downward): Likewise.
15753         (ctan_test_upward): Likewise.
15754         (ctanh_test): Likewise.
15755         (ctanh_test_tonearest): Likewise.
15756         (ctanh_test_towardzero): Likewise.
15757         (ctanh_test_downward): Likewise.
15758         (ctanh_test_upward): Likewise.
15759         (erf_test): Likewise.
15760         (erfc_test): Likewise.
15761         (exp_test): Likewise.
15762         (exp_test_tonearest): Likewise.
15763         (exp_test_towardzero): Likewise.
15764         (exp_test_downward): Likewise.
15765         (exp_test_upward): Likewise.
15766         (exp10_test): Likewise.
15767         (exp2_test): Likewise.
15768         (expm1_test): Likewise.
15769         (fmod_test): Likewise.
15770         (gamma_test): Likewise.
15771         (hypot_test): Likewise.
15772         (j0_test): Likewise.
15773         (j1_test): Likewise.
15774         (jn_test): Likewise.
15775         (lgamma_test): Likewise.
15776         (log_test): Likewise.
15777         (log10_test): Likewise.
15778         (log1p_test): Likewise.
15779         (log2_test): Likewise.
15780         (logb_test_downward): Likewise.
15781         (pow_test): Likewise.
15782         (pow_test_tonearest): Likewise.
15783         (pow_test_towardzero): Likewise.
15784         (pow_test_downward): Likewise.
15785         (pow_test_upward): Likewise.
15786         (remainder_test): Likewise.
15787         (remquo_test): Likewise.
15788         (sin_test): Likewise.
15789         (sin_test_tonearest): Likewise.
15790         (sin_test_towardzero): Likewise.
15791         (sin_test_downward): Likewise.
15792         (sin_test_upward): Likewise.
15793         (sincos_test): Likewise.
15794         (sinh_test): Likewise.
15795         (sinh_test_tonearest): Likewise.
15796         (sinh_test_towardzero): Likewise.
15797         (sinh_test_downward): Likewise.
15798         (sinh_test_upward): Likewise.
15799         (sqrt_test): Likewise.
15800         (tan_test): Likewise.
15801         (tan_test_tonearest): Likewise.
15802         (tan_test_towardzero): Likewise.
15803         (tan_test_downward): Likewise.
15804         (tan_test_upward): Likewise.
15805         (tanh_test): Likewise.
15806         (tgamma_test): Likewise.
15807         (y0_test): Likewise.
15808         (y1_test): Likewise.
15809         (yn_test): Likewise.
15811         * math/gen-libm-test.pl (adjust_arg): Remove function.
15812         (special_function): Remove argument $in_func.  Only handle
15813         generating output for tables of tests, not inside functions.
15814         (parse_args): Likewise.
15815         (generate_testfile): Remove variable $in_func.  Update call to
15816         parse_args.
15817         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15818         (MINUS_ZERO_INIT): Rename macro to minus_zero.
15819         (PLUS_INFTY_INIT): Rename macro to plus_infty.
15820         (MINUS_INFTY_INIT): Rename macro to minus_infty.
15821         (QNAN_VALUE_INIT): Rename macro to qnan_value.
15822         (MAX_VALUE_INIT): Rename macro to max_value.
15823         (MIN_VALUE_INIT): Rename macro to min_value.
15824         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15825         (plus_zero): Remove variable.
15826         (minus_zero): Likewise.
15827         (plus_infty): Likewise.
15828         (minus_infty): Likewise.
15829         (qnan_value): Likewise.
15830         (max_value): Likewise.
15831         (min_value): Likewise.
15832         (min_subnorm_value): Likewise.
15834 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15836         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15837         uint64_t or uint32_t usage.
15838         * crypt/sha256-block.c: Likewise.
15839         * crypt/sha256-crypt.c: Likewise.
15840         * crypt/sha256.c: Likewise.
15841         * crypt/sha512-block.c: Likewise.
15842         * crypt/sha512-crypt.c: Likewise.
15843         * crypt/sha512.c: Likewise.
15844         * debug/backtrace-tst.c: Likewise.
15845         * debug/pcprofiledump.c: Likewise.
15846         * elf/cache.c: Likewise.
15847         * elf/dl-cache.c: Likewise.
15848         * elf/dl-misc.c: Likewise.
15849         * elf/dl-profile.c: Likewise.
15850         * elf/dl-support.c: Likewise.
15851         * elf/ldconfig.c: Likewise.
15852         * elf/sprof.c: Likewise.
15853         * iconv/dummy-repertoire.c: Likewise.
15854         * iconv/iconv_charmap.c: Likewise.
15855         * iconv/skeleton.c: Likewise.
15856         * iconvdata/8bit-generic.c: Likewise.
15857         * iconvdata/cp737.h: Likewise.
15858         * iconvdata/cp775.h: Likewise.
15859         * iconvdata/ibm1008.h: Likewise.
15860         * iconvdata/ibm1025.h: Likewise.
15861         * iconvdata/ibm1046.h: Likewise.
15862         * iconvdata/ibm1097.h: Likewise.
15863         * iconvdata/ibm1112.h: Likewise.
15864         * iconvdata/ibm1122.h: Likewise.
15865         * iconvdata/ibm1123.h: Likewise.
15866         * iconvdata/ibm1124.h: Likewise.
15867         * iconvdata/ibm1129.h: Likewise.
15868         * iconvdata/ibm1130.h: Likewise.
15869         * iconvdata/ibm1132.h: Likewise.
15870         * iconvdata/ibm1133.h: Likewise.
15871         * iconvdata/ibm1137.h: Likewise.
15872         * iconvdata/ibm1140.h: Likewise.
15873         * iconvdata/ibm1141.h: Likewise.
15874         * iconvdata/ibm1142.h: Likewise.
15875         * iconvdata/ibm1143.h: Likewise.
15876         * iconvdata/ibm1144.h: Likewise.
15877         * iconvdata/ibm1145.h: Likewise.
15878         * iconvdata/ibm1146.h: Likewise.
15879         * iconvdata/ibm1147.h: Likewise.
15880         * iconvdata/ibm1148.h: Likewise.
15881         * iconvdata/ibm1149.h: Likewise.
15882         * iconvdata/ibm1153.h: Likewise.
15883         * iconvdata/ibm1154.h: Likewise.
15884         * iconvdata/ibm1155.h: Likewise.
15885         * iconvdata/ibm1156.h: Likewise.
15886         * iconvdata/ibm1157.h: Likewise.
15887         * iconvdata/ibm1158.h: Likewise.
15888         * iconvdata/ibm1160.h: Likewise.
15889         * iconvdata/ibm1161.h: Likewise.
15890         * iconvdata/ibm1162.h: Likewise.
15891         * iconvdata/ibm1163.h: Likewise.
15892         * iconvdata/ibm1164.h: Likewise.
15893         * iconvdata/ibm1166.h: Likewise.
15894         * iconvdata/ibm1167.h: Likewise.
15895         * iconvdata/ibm12712.h: Likewise.
15896         * iconvdata/ibm1390.h: Likewise.
15897         * iconvdata/ibm1399.h: Likewise.
15898         * iconvdata/ibm16804.h: Likewise.
15899         * iconvdata/ibm4517.h: Likewise.
15900         * iconvdata/ibm4899.h: Likewise.
15901         * iconvdata/ibm4909.h: Likewise.
15902         * iconvdata/ibm4971.h: Likewise.
15903         * iconvdata/ibm5347.h: Likewise.
15904         * iconvdata/ibm803.h: Likewise.
15905         * iconvdata/ibm856.h: Likewise.
15906         * iconvdata/ibm901.h: Likewise.
15907         * iconvdata/ibm902.h: Likewise.
15908         * iconvdata/ibm9030.h: Likewise.
15909         * iconvdata/ibm9066.h: Likewise.
15910         * iconvdata/ibm921.h: Likewise.
15911         * iconvdata/ibm922.h: Likewise.
15912         * iconvdata/ibm9448.h: Likewise.
15913         * iconvdata/isiri-3342.h: Likewise.
15914         * iconvdata/jis0201.h: Likewise.
15915         * include/link.h: Likewise.
15916         * include/netdb.h: Likewise.
15917         * inet/check_native.c: Likewise.
15918         * inet/check_pf.c: Likewise.
15919         * inet/getipv4sourcefilter.c: Likewise.
15920         * inet/getnameinfo.c: Likewise.
15921         * inet/getsourcefilter.c: Likewise.
15922         * inet/htonl.c: Likewise.
15923         * inet/setipv4sourcefilter.c: Likewise.
15924         * inet/setsourcefilter.c: Likewise.
15925         * inet/test-inet6_opt.c: Likewise.
15926         * inet/tst-network.c: Likewise.
15927         * locale/C-collate.c: Likewise.
15928         * locale/C-ctype.c: Likewise.
15929         * locale/C-time.c: Likewise.
15930         * locale/C-translit.h: Likewise.
15931         * locale/loadarchive.c: Likewise.
15932         * locale/programs/3level.h: Likewise.
15933         * locale/programs/charmap.c: Likewise.
15934         * locale/programs/charmap.h: Likewise.
15935         * locale/programs/ld-address.c: Likewise.
15936         * locale/programs/ld-collate.c: Likewise.
15937         * locale/programs/ld-ctype.c: Likewise.
15938         * locale/programs/ld-identification.c: Likewise.
15939         * locale/programs/ld-measurement.c: Likewise.
15940         * locale/programs/ld-messages.c: Likewise.
15941         * locale/programs/ld-monetary.c: Likewise.
15942         * locale/programs/ld-name.c: Likewise.
15943         * locale/programs/ld-numeric.c: Likewise.
15944         * locale/programs/ld-paper.c: Likewise.
15945         * locale/programs/ld-telephone.c: Likewise.
15946         * locale/programs/ld-time.c: Likewise.
15947         * locale/programs/linereader.c: Likewise.
15948         * locale/programs/locale.c: Likewise.
15949         * locale/programs/locarchive.c: Likewise.
15950         * locale/programs/locfile.h: Likewise.
15951         * locale/programs/repertoire.c: Likewise.
15952         * locale/programs/simple-hash.c: Likewise.
15953         * locale/programs/simple-hash.h: Likewise.
15954         * malloc/memusage.c: Likewise.
15955         * malloc/memusagestat.c: Likewise.
15956         * nis/nis_defaults.c: Likewise.
15957         * nis/nis_hash.c: Likewise.
15958         * nis/nis_print.c: Likewise.
15959         * nis/nis_xdr.c: Likewise.
15960         * nscd/connections.c: Likewise.
15961         * nscd/hstcache.c: Likewise.
15962         * nscd/nscd_gethst_r.c: Likewise.
15963         * nscd/nscd_getserv_r.c: Likewise.
15964         * nscd/nscd_helper.c: Likewise.
15965         * nscd/servicescache.c: Likewise.
15966         * nss/makedb.c: Likewise.
15967         * nss/nss_db/db-XXX.c: Likewise.
15968         * nss/nss_db/db-initgroups.c: Likewise.
15969         * nss/nss_db/db-netgrp.c: Likewise.
15970         * nss/nss_files/files-network.c: Likewise.
15971         * nss/nss_files/files-parse.c: Likewise.
15972         * posix/bug-regex5.c: Likewise.
15973         * posix/fnmatch_loop.c: Likewise.
15974         * posix/regcomp.c: Likewise.
15975         * posix/regexec.c: Likewise.
15976         * posix/tst-rfc3484-2.c: Likewise.
15977         * posix/tst-rfc3484-3.c: Likewise.
15978         * posix/tst-rfc3484.c: Likewise.
15979         * resolv/nss_dns/dns-canon.c: Likewise.
15980         * resolv/nss_dns/dns-network.c: Likewise.
15981         * resolv/res_init.c: Likewise.
15982         * resolv/res_mkquery.c: Likewise.
15983         * resolv/tst-aton.c: Likewise.
15984         * stdlib/cxa_atexit.c: Likewise.
15985         * stdlib/cxa_finalize.c: Likewise.
15986         * stdlib/gen-fpioconst.c: Likewise.
15987         * stdlib/strtol_l.c: Likewise.
15988         * string/tst-endian.c: Likewise.
15989         * sunrpc/auth_des.c: Likewise.
15990         * sunrpc/clnt_udp.c: Likewise.
15991         * sunrpc/rtime.c: Likewise.
15992         * sunrpc/svcauth_des.c: Likewise.
15993         * sunrpc/xdr.c: Likewise.
15994         * sunrpc/xdr_intXX_t.c: Likewise.
15995         * sunrpc/xdr_rec.c: Likewise.
15996         * sysdeps/generic/ldconfig.h: Likewise.
15997         * sysdeps/generic/ldsodefs.h: Likewise.
15998         * sysdeps/generic/memusage.h: Likewise.
15999         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16000         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16001         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16002         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16003         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16004         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16005         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16006         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16007         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16008         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16009         * sysdeps/posix/getaddrinfo.c: Likewise.
16010         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16011         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16012         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16013         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16014         * sysdeps/powerpc/test-gettimebase.c: Likewise.
16015         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16016         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16017         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16018         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16019         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16020         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16021         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16022         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16023         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16024         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16025         * sysdeps/x86_64/dl-tls.h: Likewise.
16026         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16027         * time/alt_digit.c: Likewise.
16028         * time/era.c: Likewise.
16029         * wcsmbs/tst-c16c32-1.c: Likewise.
16031 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
16033         * math/libm-test.inc (struct test_sincos_data): New type.
16034         (RUN_TEST_LOOP_sincos): New macro.
16035         (sincos_test_data): New variable.
16036         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16038 2013-05-16  Richard Henderson  <rth@redhat.com>
16040         * math/atest-exp2.c (LIMB64): New macro.
16041         (CONSTSZ): New macro.
16042         (mp_exp1, mp_exp_m1, mp_log2): New variables.
16043         (hexdig): Move ...
16044         (print_mpn_fp): ... to function scope.
16045         (read_mpn_hex): Remove.
16046         (get_log2): Remove.
16047         (exp2_mpn): Use mp_log2.
16048         (main): Use mp_exp1.
16050 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
16052         * math/libm-test.inc: Remove comment about not testing "inexact"
16053         exceptions.
16054         (INEXACT_EXCEPTION): New macro.
16055         (NO_INEXACT_EXCEPTION): Likewise.
16056         (INVALID_EXCEPTION_OK): Update value.
16057         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16058         (OVERFLOW_EXCEPTION_OK): Likewise.
16059         (UNDERFLOW_EXCEPTION_OK): Likewise.
16060         (IGNORE_ZERO_INF_SIGN): Likewise.
16061         (ERRNO_UNCHANGED): Likewise.
16062         (ERRNO_EDOM): Likewise.
16063         (ERRNO_ERANGE): Likewise.
16064         (test_exceptions): Handle testing "inexact" exceptions.
16065         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16066         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16067         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16068         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16069         INEXACT_EXCEPTION.
16070         (rint_towardzero_test_data): Likewise.
16071         (rint_downward_test_data): Likewise.
16072         (rint_upward_test_data): Likewise.
16074         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16075         with OVERFLOW_EXCEPTION.
16076         (exp10_test_data): Likewise.
16077         (exp2_test_data): Likewise.
16078         (expm1_test_data): Likewise.
16079         (lgamma_test_data): Likewise.
16080         (pow_test_data): Likewise.
16081         (tgamma_test_data): Likewise.
16082         (yn_test_data): Remove duplicate test of overflow.
16084         * math/libm-test.inc (struct test_cc_c_data): New type.
16085         (RUN_TEST_LOOP_cc_c): New macro.
16086         (cpow_test_data): New variable.
16087         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16089         * math/libm-test.inc (struct test_f_L_data): New type.
16090         (RUN_TEST_LOOP_f_L): New macro.
16091         (llrint_test_data): New variable.
16092         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16093         (llrint_tonearest_test_data): New variable.
16094         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16095         (llrint_towardzero_test_data): New variable.
16096         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16097         (llrint_downward_test_data): New variable.
16098         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16099         (llrint_upward_test_data): New variable.
16100         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16101         (llround_test_data): New variable.
16102         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16104 2013-05-13  Peter Collingbourne  <pcc@google.com>
16106         * math/atest-exp2.c (get_log2): Remove const attribute.
16108 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
16110         * math/libm-test.inc (struct test_f_l_data): New type.
16111         (RUN_TEST_LOOP_f_l): New macro.
16112         (lrint_test_data): New variable.
16113         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16114         (lrint_tonearest_test_data): New variable.
16115         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16116         (lrint_towardzero_test_data): New variable.
16117         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16118         (lrint_downward_test_data): New variable.
16119         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16120         (lrint_upward_test_data): New variable.
16121         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16122         (lround_test_data): New variable.
16123         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16125 2013-05-15  Peter Collingbourne  <pcc@google.com>
16127         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16128         (EXTRACT_WORDS64) Use where appropriate.
16129         (INSERT_WORDS64) Likewise.
16131         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16132         constraints with x constraints.
16133         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16135         * malloc/obstack.c (_obstack_compat): Add initializer.
16137 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
16139         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16140         si_trapno and add si_addr_lsb to _sifields.sigfault.
16141         (si_trapno): Remove macro.
16142         (si_addr_lsb): Define new macro.
16143         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16145 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
16147         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16148         instead of TEST_f_l.
16149         (llrint_test_tonearest): Likewise.
16150         (llrint_test_towardzero): Likewise.
16151         (llrint_test_downward): Likewise.
16152         (llrint_test_upward): Likewise.
16153         (llround_test): Likewise.
16155         * math/libm-test.inc (struct test_f_i_data): Add comment.
16156         (RUN_TEST_LOOP_f_b): New macro.
16157         (RUN_TEST_LOOP_f_b_tg): Likewise.
16158         (finite_test_data): New variable.
16159         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16160         (isfinite_test_data): New variable.
16161         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16162         (isinf_test_data): New variable.
16163         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16164         (isnan_test_data): New variable.
16165         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16166         (isnormal_test_data): New variable.
16167         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16168         (issignaling_test_data): New variable.
16169         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16170         (signbit_test_data): New variable.
16171         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16173         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16174         with INVALID_EXCEPTION.
16175         (acosh_test_data): Likewise.
16176         (asin_test_data): Likewise.
16177         (atanh_test_data): Likewise.
16178         (fmod_test_data): Likewise.
16179         (log_test_data): Likewise.
16180         (log10_test_data): Likewise.
16181         (log2_test_data): Likewise.
16182         (pow_test_data): Likewise.
16183         (sqrt_test_data): Likewise.
16184         (y0_test_data): Likewise.
16185         (y1_test_data): Likewise.
16186         (yn_test_data): Likewise.
16188         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16189         function contents.
16191         * math/libm-test.inc (struct test_ff_i_data): New type.
16192         (RUN_TEST_LOOP_ff_i_tg): New macro.
16193         (isgreater_test_data): New variable.
16194         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16195         (isgreaterequal_test_data): New variable.
16196         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16197         (isless_test_data): New variable.
16198         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16199         (islessequal_test_data): New variable.
16200         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16201         (islessgreater_test_data): New variable.
16202         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16203         (isunordered_test_data): New variable.
16204         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16206 2013-05-14  David S. Miller  <davem@davemloft.net>
16208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16210 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
16212         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16214         * math/libm-test.inc (struct test_fF_f1_data): Change type of
16215         extra_test to int.
16216         (struct test_f_i_data): Change type of max_ulp to int.
16218         * math/libm-test.inc (test_ffI_f1_data): New type.
16219         (RUN_TEST_LOOP_ffI_f1): New macro.
16220         (remquo_test_data): New variable.
16221         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16223         * setjmp/tst-setjmp-fp.c: New file.
16224         * setjmp/Makefile (tests): Add tst-setjmp-fp.
16225         (link-libm): New variable.
16226         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16228         * math/libm-test.inc (struct test_f_i_data): New type.
16229         (RUN_TEST_LOOP_f_i): New macro.
16230         (RUN_TEST_LOOP_f_i_tg): Likewise.
16231         (fpclassify_test_data): New variable.
16232         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16233         (ilogb_test_data): New variable.
16234         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16236         * math/libm-test.inc (scalbln_test): Correct function name in END
16237         call.
16239         * math/libm-test.inc (struct test_f_f1_data): Add comment.
16240         (RUN_TEST_LOOP_fI_f1): New macro.
16241         (frexp_test_data): New variable.
16242         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16244         * math/libm-test.inc (struct test_fF_f1_data): New type.
16245         (RUN_TEST_LOOP_fF_f1): New macro.
16246         (modf_test_data): New variable.
16247         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16249         * math/libm-test.inc (struct test_f_f1_data): New type.
16250         (RUN_TEST_LOOP_f_f1): New macro.
16251         (gamma_test_data): New variable.
16252         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16253         (lgamma_test_data): New variable.
16254         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16256 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
16258         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16259         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16260         (main): Comment "tls" pseudo-hwcap.
16262 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
16264         * math/libm-test.inc (struct test_fl_f_data): New type.
16265         (RUN_TEST_LOOP_fl_f): New variable.
16266         (scalbln_test_data): New variable.
16267         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16269         * math/libm-test.inc (struct test_fi_f_data): New type.
16270         (RUN_TEST_LOOP_fi_f): New macro.
16271         (ldexp_test_data): New variable.
16272         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16273         (scalbn_test_data): New variable.
16274         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16276         * math/libm-test.inc (struct test_c_f_data): New type.
16277         (RUN_TEST_LOOP_c_f): New macro.
16278         (cabs_test_data): New variable.
16279         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16280         (carg_test_data): New variable.
16281         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16282         (cimag_test_data): New variable.
16283         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16284         (creal_test_data): New variable.
16285         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16287         * math/libm-test.inc (struct test_if_f_data): New type.
16288         (RUN_TEST_LOOP_if_f): New macro.
16289         (jn_test_data): New variable.
16290         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16291         (yn_test_data): New variable.
16292         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16294         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16296 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16298         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16299         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16301 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16303         * benchtests/Makefile (CPPFLAGS-nonlib): Add
16304         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16305         (bench-deps): Add bench-timing.h.
16306         * benchtests-bench-skeleton.c: Include bench-timing.h.
16307         (main): Use TIMING_* macros instead of clock_gettime.
16308         * benchtests/bench-timing.h: New file.
16310         [BZ #14582]
16311         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16312         Renamed from _LIB_VERSION.
16313         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16315 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
16317         * math/libm-test.inc (struct test_fff_f_data): New type.
16318         (RUN_TEST_LOOP_fff_f): New macro.
16319         (fma_test_data): New variable.
16320         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16321         (fma_towardzero_test_data): New variable.
16322         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16323         (fma_downward_test_data): New variable.
16324         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16325         (fma_upward_test_data): New variable.
16326         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16328         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16329         (struct test_c_c_data): New type.
16330         (RUN_TEST_LOOP_c_c): New macro.
16331         (cacos_test_data): New variable.
16332         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16333         (cacosh_test_data): New variable.
16334         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16335         (casin_test_data): New variable.
16336         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16337         (casinh_test_data): New variable.
16338         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16339         (catan_test_data): New variable.
16340         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16341         (catanh_test_data): New variable.
16342         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16343         (ccos_test_data): New variable.
16344         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16345         (ccosh_test_data): New variable.
16346         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16347         (cexp_test_data): New variable.
16348         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16349         (clog_test_data): New variable.
16350         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16351         (clog10_test_data): New variable.
16352         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16353         (conj_test_data): New variable.
16354         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16355         (cproj_test_data): New variable.
16356         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16357         (csin_test_data): New variable.
16358         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16359         (csinh_test_data): New variable.
16360         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16361         (csqrt_test_data): New variable.
16362         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16363         (ctan_test_data): New variable.
16364         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16365         (ctan_tonearest_test_data): New variable.
16366         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16367         (ctan_towardzero_test_data): New variable.
16368         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16369         (ctan_downward_test_data): New variable.
16370         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16371         (ctan_upward_test_data): New variable.
16372         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16373         (ctanh_test_data): New variable.
16374         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16375         (ctanh_tonearest_test_data): New variable.
16376         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16377         (ctanh_towardzero_test_data): New variable.
16378         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16379         (ctanh_downward_test_data): New variable.
16380         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16381         (ctanh_upward_test_data): New variable.
16382         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16383         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16384         of BUILD_COMPLEX.
16386         * math/libm-test.inc (struct test_ff_f_data): New type.
16387         (struct test_ff_f_data_nexttoward): Likewise.
16388         (RUN_TEST_LOOP_2_f): New macro.
16389         (RUN_TEST_LOOP_ff_f): Likewise.
16390         (atan2_test_data): New variable.
16391         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16392         (copysign_test_data): New variable.
16393         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16394         (fdim_test_data): New variable.
16395         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16396         (fmax_test_data): New variable.
16397         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16398         (fmin_test_data): New variable.
16399         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16400         (fmod_test_data): New variable.
16401         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16402         (hypot_test_data): New variable.
16403         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16404         (nextafter_test_data): New variable.
16405         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16406         (nexttoward_test_data): New variable.
16407         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16408         (pow_test_data): New variable.
16409         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16410         (pow_tonearest_test_data): New variable.
16411         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16412         (pow_towardzero_test_data): New variable.
16413         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16414         (pow_downward_test_data): New variable.
16415         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16416         (pow_upward_test_data): New variable.
16417         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16418         (remainder_test_data): New variable.
16419         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16420         (scalb_test_data): New variable.
16421         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16422         * sysdeps/i386/fpu/libm-test-ulps: Update.
16424 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
16426         * math/libm-test.inc (fma_test): Use max_value instead of local
16427         variable fltmax.
16428         (nextafter_test): Likewise.
16430         * math/libm-test.inc (acos_towardzero_test_data): New variable.
16431         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16432         (acos_downward_test_data): New variable.
16433         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16434         (acos_upward_test_data): New variable.
16435         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16436         (acosh_test_data): New variable.
16437         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16438         (asin_test_data): New variable.
16439         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16440         (asin_tonearest_test_data): New variable.
16441         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16442         (asin_towardzero_test_data): New variable.
16443         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16444         (asin_downward_test_data): New variable.
16445         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16446         (asin_upward_test_data): New variable.
16447         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16448         (asinh_test_data): New variable.
16449         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16450         (atan_test_data): New variable.
16451         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16452         (atanh_test_data): New variable.
16453         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16454         (cbrt_test_data): New variable.
16455         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16456         (ceil_test_data): New variable.
16457         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16458         (cos_test_data): New variable.
16459         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16460         (cos_tonearest_test_data): New variable.
16461         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16462         (cos_towardzero_test_data): New variable.
16463         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16464         (cos_downward_test_data): New variable.
16465         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16466         (cos_upward_test_data): New variable.
16467         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16468         (cosh_test_data): New variable.
16469         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16470         (cosh_tonearest_test_data): New variable.
16471         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16472         (cosh_towardzero_test_data): New variable.
16473         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16474         (cosh_downward_test_data): New variable.
16475         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16476         (cosh_upward_test_data): New variable.
16477         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16478         (erf_test_data): New variable.
16479         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16480         (erfc_test_data): New variable.
16481         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16482         (exp_test_data): New variable.
16483         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16484         (exp_tonearest_test_data): New variable.
16485         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16486         (exp_towardzero_test_data): New variable.
16487         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16488         (exp_downward_test_data): New variable.
16489         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16490         (exp_upward_test_data): New variable.
16491         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16492         (exp10_test_data): New variable.
16493         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16494         (exp2_test_data): New variable.
16495         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16496         (expm1_test_data): New variable.
16497         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16498         (fabs_test_data): New variable.
16499         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16500         (floor_test_data): New variable.
16501         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16502         (j0_test_data): New variable.
16503         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16504         (j1_test_data): New variable.
16505         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16506         (log_test_data): New variable.
16507         (log_test): Run tests with RUN_TEST_LOOP_f_f.
16508         (log10_test_data): New variable.
16509         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16510         (log1p_test_data): New variable.
16511         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16512         (log2_test_data): New variable.
16513         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16514         (logb_test_data): New variable.
16515         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16516         (logb_downward_test_data): New variable.
16517         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16518         (nearbyint_test_data): New variable.
16519         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16520         (rint_test_data): New variable.
16521         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16522         (rint_tonearest_test_data): New variable.
16523         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16524         (rint_towardzero_test_data): New variable.
16525         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16526         (rint_downward_test_data): New variable.
16527         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16528         (rint_upward_test_data): New variable.
16529         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16530         (round_test_data): New variable.
16531         (round_test): Run tests with RUN_TEST_LOOP_f_f.
16532         (sin_test_data): New variable.
16533         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16534         (sin_tonearest_test_data): New variable.
16535         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16536         (sin_towardzero_test_data): New variable.
16537         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16538         (sin_downward_test_data): New variable.
16539         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16540         (sin_upward_test_data): New variable.
16541         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16542         (sinh_test_data): New variable.
16543         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16544         (sinh_tonearest_test_data): New variable.
16545         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16546         (sinh_towardzero_test_data): New variable.
16547         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16548         (sinh_downward_test_data): New variable.
16549         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16550         (sinh_upward_test_data): New variable.
16551         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16552         (sqrt_test_data): New variable.
16553         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16554         (tan_test_data): New variable.
16555         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16556         (tan_tonearest_test_data): New variable.
16557         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16558         (tan_towardzero_test_data): New variable.
16559         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16560         (tan_downward_test_data): New variable.
16561         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16562         (tan_upward_test_data): New variable.
16563         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16564         (tanh_test_data): New variable.
16565         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16566         (tgamma_test_data): New variable.
16567         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16568         (trunc_test_data): New variable.
16569         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16570         (y0_test_data): New variable.
16571         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16572         (y1_test_data): New variable.
16573         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16574         (significand_test_data): New variable.
16575         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16577 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
16579         [BZ #12387]
16580         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16582 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
16584         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16586 2013-05-10  Andreas Jaeger  <aj@suse.de>
16588         [BZ #15448]
16589         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16590         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16592 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
16594         * math/gen-libm-test.pl (adjust_arg): New function.
16595         (special_functions): Handle generating output in both functions
16596         and arrays.
16597         (parse_args): Likewise.
16598         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
16599         $in_func argument to parse_args.
16600         * math/libm-test.inc (struct test_f_f_data): New type.
16601         (IF_ROUND_INIT_): New macro.
16602         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16603         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16604         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16605         (IF_ROUND_INIT_FE_UPWARD): Likewise.
16606         (ROUND_RESTORE_): Likewise.
16607         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16608         (ROUND_RESTORE_FE_TONEAREST): Likewise.
16609         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16610         (ROUND_RESTORE_FE_UPWARD): Likewise.
16611         (RUN_TEST_LOOP_f_f): New macro.
16612         (acos_test_data): New variable.
16613         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16614         (acos_tonearest_test_data): New variable.
16615         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16617 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16619         * benchtests/bench-skeleton.c (startup): Fix coding style.
16621 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
16623         [BZ #6809]
16624         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16625         negative infinity argument.
16626         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16627         negative infinity argument.
16628         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16629         negative infinity argument.
16630         * math/libm-test.inc (tgamma_test): Expect errno to be set for
16631         domain errors.
16633 2013-05-10  Florian Weimer  <fweimer@redhat.com>
16635         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16636         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16637         * iconv/iconv_prog.c (main): Likewise.
16638         * locale/programs/charmap-dir.c (charmap_readdir)
16639         (fopen_uncompressed): Likewise.
16640         * locale/programs/locfile.c (siblings_uncached)
16641         (write_locale_data): Use lstat64 instead of lstat.
16642         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16643         stat.
16645 2013-05-10  Andreas Jaeger  <aj@suse.de>
16647         [BZ #15395]
16648         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16649         localization.
16650         Include <locale.h>.
16652 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
16654         * elf/dl-close.c (_dl_close_worker): Add comments.
16656 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
16658         [BZ #15359]
16659         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16660         high part of pi/2.
16661         (__ieee754_rem_pio2l): Update comments.
16663         [BZ #15429]
16664         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16665         high part of pi/2.
16666         (__ieee754_rem_pio2l): Update comments.
16668         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16669         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16671         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16672         M_PI_4l.
16674         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16675         (M_PI_34_LOG10El): Likewise.
16676         (M_PI2_LOG10El): Likewise.
16677         (M_PI4_LOG10El): Likewise.
16678         (M_PI_LOG10El): Likewise.
16680 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16682         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16684 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
16686         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16687         (MINUS_ZERO_INIT): Likewise.
16688         (PLUS_INFTY_INIT): Likewise.
16689         (MINUS_INFTY_INIT): Likewise.
16690         (QNAN_VALUE_INIT): Likewise.
16691         (MAX_VALUE_INIT): Likewise.
16692         (MIN_VALUE_INIT): Likewise.
16693         (MIN_SUBNORM_VALUE_INIT): Likewise.
16694         (plus_zero): Initialize with PLUS_ZERO_INIT.
16695         (minus_zero): Initialize with MINUS_ZERO_INIT.
16696         (plus_infty): Initialize with PLUS_INFTY_INIT.
16697         (minus_infty): Initialize with MINUS_INFTY_INIT.
16698         (qnan_value): Initialize with QNAN_VALUE_INIT.
16699         (max_value): Initialize with MAX_VALUE_INIT.
16700         (min_value): Initialize with MIN_VALUE_INIT.
16701         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16703         * math/libm-test.inc (RUN_TEST_if_f): New macro.
16704         (jn_test): Use TEST_if_f instead of TEST_ff_f.
16705         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16706         (yn_test): Use TEST_if_f instead of TEST_ff_f.
16708         * math/libm-test.inc (RUN_TEST_f_f): New macro.
16709         (RUN_TEST_2_f): Likewise.
16710         (RUN_TEST_ff_f): Likewise.
16711         (RUN_TEST_fi_f): Likewise.
16712         (RUN_TEST_fl_f): Likewise.
16713         (RUN_TEST_fff_f): Likewise.
16714         (RUN_TEST_c_f): Likewise.
16715         (RUN_TEST_f_f1): Likewise.
16716         (RUN_TEST_fF_f1): Likewise.
16717         (RUN_TEST_fI_f1): Likewise.
16718         (RUN_TEST_ffI_f1): Likewise.
16719         (RUN_TEST_c_c): Likewise.
16720         (RUN_TEST_cc_c): Likewise.
16721         (RUN_TEST_f_i): Likewise.
16722         (RUN_TEST_f_i_tg): Likewise.
16723         (RUN_TEST_ff_i_tg): Likewise.
16724         (RUN_TEST_f_b): Likewise.
16725         (RUN_TEST_f_b_tg): Likewise.
16726         (RUN_TEST_f_l): Likewise.
16727         (RUN_TEST_f_L): Likewise.
16728         (RUN_TEST_sincos): Likewise.
16729         * math/gen-libm-test.pl (new_test): Take new argument to indicate
16730         whether to show exceptions.  Do not include ");\n" in return
16731         value.
16732         (special_functions): Output call to RUN_TEST_sincos instead of
16733         check_float calls.  Update calls to new_test.
16734         (parse_args): Output call to single RUN_TEST_* macro instead of
16735         check_* calls and other assignments.  Update calls to new_test.
16737         [BZ #2546]
16738         [BZ #2560]
16739         [BZ #5159]
16740         [BZ #15426]
16741         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16742         input to result for tgamma overflow.
16743         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16744         (gamma_coeff): New variable.
16745         (NCOEFF): New macro.
16746         (gamma_positive): New function.
16747         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16748         underflow here.  Use gamma_positive instead of exp (lgamma) for
16749         other arguments.
16750         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16751         (gamma_coeff): New variable.
16752         (NCOEFF): New macro.
16753         (gammaf_positive): New function.
16754         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16755         underflow here.  Use gamma_positive instead of exp (lgamma) for
16756         other arguments.
16757         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16758         (gamma_coeff): New variable.
16759         (NCOEFF): New macro.
16760         (gammal_positive): New function.
16761         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16762         underflow here.  Use gamma_positive instead of exp (lgamma) for
16763         other arguments.
16764         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16765         (gamma_coeff): New variable.
16766         (NCOEFF): New macro.
16767         (gammal_positive): New function.
16768         (__ieee754_gammal_r): Handle positive infinity, overflow and
16769         underflow here.  Handle NaN the same as positive infinity.  Remove
16770         check x < 0xffffffff for negative integers.  Use gamma_positive
16771         instead of exp (lgamma) for other arguments.
16772         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16773         (gamma_coeff): New variable.
16774         (NCOEFF): New macro.
16775         (gammal_positive): New function.
16776         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16777         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16778         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16779         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16780         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16781         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16782         * sysdeps/generic/math_private.h (__gamma_productf): New
16783         prototype.
16784         (__gamma_product): Likewise.
16785         (__gamma_productl): Likewise.
16786         * math/Makefile (libm-calls): Add gamma_product.
16787         * math/libm-test.inc (tgamma_test): Add more tests.
16788         * sysdeps/i386/fpu/libm-test-ulps: Update.
16789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16791 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
16793         * benchtests/bench-skeleton.c (main): Preheat CPU.
16795 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
16797         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16799 2013-05-07  Roland McGrath  <roland@hack.frob.com>
16801         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16802         and _dl_skip_args_internal.
16804 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
16806         * manual/message.texi (Message Translation): Talk about users.
16807         Message to key mapping impacts design.
16809 2013-05-06  Roland McGrath  <roland@hack.frob.com>
16811         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16813         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16815         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16816         * sysdeps/wordsize-64/glob64.c: ... here.
16818         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16819         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16820         New macros.
16822         * debug/getlogin_r_chk.c: Moved to ...
16823         * login/getlogin_r_chk.c: ... here.
16824         * debug/Makefile (routines): Move getlogin_r_chk to ...
16825         * login/Makefile (routines): ... here.
16826         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16827         * login/Versions (libc: GLIBC_2.4): ... here.
16829         * io/poll.c (__poll): Renamed from poll.
16830         Add libc_hidden_def.
16831         (poll): Define as weak alias.
16833         * debug/ptsname_r_chk.c: Moved to ...
16834         * login/ptsname_r_chk.c: ... here.
16835         * debug/Makefile (routines): Move ptsname_r_chk to ...
16836         * login/Makefile (routines): ... here.
16837         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16838         * login/Versions (libc: GLIBC_2.4): ... here.
16840         * posix/getlogin.c: Moved to ...
16841         * login/getlogin.c: ... here.
16842         * posix/getlogin_r.c: Moved to ...
16843         * login/getlogin_r.c: ... here.
16844         * posix/getlogin_r.c: Moved to ...
16845         * login/getlogin_r.c: ... here.
16846         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16847         * login/Makefile (routines): ... here.
16848         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16849         * login/Versions (libc: GLIBC_2.0): ... here.
16851         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16852         (setrlimit): Define as weak alias.
16854         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16855         Call __ names for open, ftruncate, and close.
16856         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16857         (truncate): Define as weak alias.
16859 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
16861         * math/gen-libm-test.pl (parse_args): Initialize x before each
16862         test of frexp, modf and remquo.
16864         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16865         test signgam value.
16867 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16869         [BZ #15418]
16870         [BZ #15419]
16871         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16872         internal tests.
16873         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16875 2013-05-06  Roland McGrath  <roland@hack.frob.com>
16877         * elf/dl-writev.h: New file.
16878         * elf/dl-misc.c: Include it.
16879         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16880         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16882 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
16884         * math/libm-test.inc (noXFails): Remove variable.
16885         (noXPasses): Likewise.
16886         (BUILD_COMPLEX_INT): Remove macro.
16887         (print_screen): Remove xfail argument.
16888         (print_screen_max_error): Likewise.
16889         (update_stats): Likewise.
16890         (print_max_error): Likewise.  Update calls to other affected
16891         functions.
16892         (print_complex_max_error): Likewise.
16893         (test_single_exception): Update calls to print_screen.
16894         (test_single_errno): Likewise.
16895         (check_float_internal): Remove xfail argument.  Update calls to
16896         other affected functions.
16897         (check_float): Likewise.
16898         (check_complex): Likewise.
16899         (check_int): Likewise.
16900         (check_long): Likewise.
16901         (check_bool): Likewise.
16902         (check_longlong): Likewise.
16903         (main): Don't print noXFails and noXPasses.
16904         * math/gen-libm-test.pl (top level): Don't mention expected
16905         failure handling in comment.
16906         (new_test): Don't handle expected failures.
16907         (parse_args): Don't mention expected failure handling in comment.
16908         (generate_testfile): Don't handle expected failures.
16909         (parse_ulps): Likewise.
16910         (print_ulps_file): Likewise.
16911         (get_failure): Remove function.
16912         (output_test): Don't handle expected failures.
16913         * make/README.libm-test: Don't mention expected failure handling.
16915         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
16916         (minus_zero): Likewise.
16917         (plus_infty): Likewise.
16918         (minus_infty): Likewise.
16919         (qnan_value): Likewise.
16920         (max_value): Likewise.
16921         (min_value): Likewise.
16922         (min_subnorm_value): Likewise.
16923         (initialize): Do not initialize those variables dynamically.
16925 2013-05-03  Roland McGrath  <roland@hack.frob.com>
16927         * io/open.c (__open_2): Moved to ...
16928         * io/open_2.c: ... this new file.
16929         * io/open64.c (__open64_2): Moved to ...
16930         * io/open64_2.c: ... this new file.
16931         * io/openat.c (__openat_2): Moved to ...
16932         * io/openat_2.c: ... this new file.
16933         * io/openat64.c (__openat64_2): Moved to ...
16934         * io/openat64_2.c: ... this new file.
16935         * io/Makefile (routines): Add them.
16936         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16937         * sysdeps/unix/sysv/linux/open_2.c: File removed.
16938         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16939         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16940         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16941         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16942         (__openat64): Add hidden_ver.
16943         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16944         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16946         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16947         Separately conditionalize setting of GLRO(dl_sysinfo) so
16948         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16949         as well, but the actual setting is only under [NEED_DL_SYSINFO].
16951 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16953         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16954         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16955         definition.
16956         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16957         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16958         (_libc_vdso_platform_setup): Add __vdso_time initialization.
16959         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16960         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16962 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
16964         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16965         test signgam value.
16967         * math/libm-test.inc (hypot_test): Do not use
16968         IGNORE_ZERO_INF_SIGN.
16970 2013-05-03  Andreas Jaeger  <aj@suse.de>
16972         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16973         Linux 3.9.
16974         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16975         (PF_MAX): Adjust for VSOCK change.
16977 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16981 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
16983         [BZ #15264]
16984         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16985         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16986         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16988 2013-05-02  David S. Miller  <davem@davemloft.net>
16990         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16992 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
16994         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16996 2013-05-01  Roland McGrath  <roland@hack.frob.com>
16998         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17000 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
17002         [BZ #14952]
17003         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17004         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17005         Use __attribute__ ((__gnu_inline__)).
17006         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17007         Don't use __attribute__ ((__gnu_inline__)).
17009 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
17011         [BZ #15423]
17012         * math/s_catan.c (__catan): Handle small real or imaginary part of
17013         input specially to avoid spurious underflow.
17014         * math/s_catanf.c (__catanf): Likewise.
17015         * math/s_catanh.c (__catanh): Likewise.
17016         * math/s_catanhf.c (__catanhf): Likewise.
17017         * math/s_catanhl.c (__catanhl): Likewise.
17018         * math/s_catanl.c (__catanl): Likewise.
17019         * math/libm-test.inc (catan_test): Add more tests.
17020         (catanh_test): Likewise.
17021         * sysdeps/i386/fpu/libm-test-ulps: Update.
17022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17024 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17028 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
17030         [BZ #15416]
17031         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17032         accurately for denominator in atan2.
17033         * math/s_catanf.c (__catanf): Likewise.
17034         * math/s_catanh.c (__catanh): Likewise.
17035         * math/s_catanhf.c (__catanhf): Likewise.
17036         * math/s_catanhl.c (__catanhl): Likewise.
17037         * math/s_catanl.c (__catanl): Likewise.
17038         * math/libm-test.inc (catan_test): Add more tests.
17039         (catanh_test): Likewise.
17040         * sysdeps/i386/fpu/libm-test-ulps: Update.
17041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17043 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17045         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17047         * benchtests/Makefile (bench): Remove slow benchmarks.
17048         * benchtests/atan-inputs: Add slow benchmark inputs.
17049         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17050         (BENCH_FUNC): Accept variant offset.
17051         (VARIANT): Define.
17052         * benchtests/bench-skeleton.c (main): Run benchmark for each
17053         variant.
17054         * benchtests/cos-inputs: Add slow benchmark inputs.
17055         * benchtests/exp-inputs: Likewise.
17056         * benchtests/pow-inputs: Likewise.
17057         * benchtests/sin-inputs: Likewise.
17058         * benchtests/slowatan-inputs: Remove.
17059         * benchtests/slowatan.c: Remove.
17060         * benchtests/slowcos-inputs: Remove.
17061         * benchtests/slowcos.c: Remove.
17062         * benchtests/slowexp-inputs: Remove.
17063         * benchtests/slowexp.c: Remove.
17064         * benchtests/slowpow-inputs: Remove.
17065         * benchtests/slowpow.c: Remove.
17066         * benchtests/slowsin-inputs: Remove.
17067         * benchtests/slowsin.c: Remove.
17068         * benchtests/slowtan-inputs: Remove.
17069         * benchtests/slowtan.c: Remove.
17070         * benchtests/tan-inputs: Add slow benchmark inputs.
17071         * scripts/bench.pl: Parse comments and directives.
17073         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
17074         in CPPFLAGS.
17075         ($(objpfx)bench-%.c): Remove *-ITER.
17076         * benchtests/bench-modf.c: Remove definition of ITER.
17077         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17078         (main): Loop for DURATION seconds instead of fixed number of
17079         iterations.
17080         * scripts/bench.pl: Don't expect iterations in parameters.
17082 2013-04-29  Roland McGrath  <roland@hack.frob.com>
17084         * io/fchdir.c (__fchdir): Renamed from fchdir.
17085         (fchdir): Define as weak alias.
17087 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
17089         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17090         (ERRNO_EDOM): Likewise.
17091         (ERRNO_ERANGE): Likewise.
17092         (noErrnoTests): New variable.
17093         (init_max_error): Set errno to 0.
17094         (test_single_errno): New function.
17095         (test_errno): Likewise.
17096         (check_float_internal): Call test_errno.  Set errno to 0.
17097         (check_complex): Refer to errno tests in comment.
17098         (check_int): Call test_errno.  Set errno to 0.
17099         (check_long): Likewise.
17100         (check_bool): Likewise.
17101         (check_longlong): Likewise.
17102         (cos_test): Use ERRNO_* flags for errno tests instead of
17103         check_int.
17104         (expm1_test): Likewise.
17105         (fmod_test): Likewise.
17106         (ilogb_test): Likewise.
17107         (lgamma_test): Likewise.
17108         (pow_test): Likewise.
17109         (remainder_test): Likewise.
17110         (sin_test): Likewise.
17111         (tan_test): Likewise.
17112         (yn_test): Likewise.
17113         (initialize): Set errno to 0.
17114         (main): Print number of errno tests.
17115         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17117 2013-04-29  Andreas Jaeger  <aj@suse.de>
17119         [BZ #15084]
17120         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17121         and RES_USEVC.
17123         [BZ #15085]
17124         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17125         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17126         unimplemented.
17128         [BZ #15380]
17129         * stdlib/random.c (__initstate): Return NULL if
17130         __initstate fails.
17132         [BZ #15086]
17133         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17134         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17135         RES_SNGLKUPREOP.
17137 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17141 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
17143         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17144         of individual tests.
17145         (casin_test): Likewise.
17146         (casinh_test): Likewise.
17148 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
17150         [BZ #15409]
17151         * math/s_catan.c (__catan): Handle arguments with large real or
17152         imaginary part separately without squaring.
17153         * math/s_catanf.c (__catanf): Likewise.
17154         * math/s_catanh.c (__catanh): Likewise.
17155         * math/s_catanhf.c (__catanhf): Likewise.
17156         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17157         and redefine.
17158         (__catanhl): Handle arguments with large real or imaginary part
17159         separately without squaring.
17160         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17161         and redefine.
17162         (__catanl): Handle arguments with large real or imaginary part
17163         separately without squaring.
17164         * math/libm-test.inc (catan_test): Add more tests.
17165         (catanh_test): Likewise.
17166         * sysdeps/i386/fpu/libm-test-ulps: Update.
17167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17169 2013-04-27  Andreas Jaeger  <aj@suse.de>
17171         [BZ #15007]
17172         * stdlib/stdlib.h: Update guards for qecvt.
17173         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17174         <stdlib.h>.
17176 2013-04-27  Allan McRae  <allan@archlinux.org>
17178         * sysdeps/i386/fpu/libm-test-ulps: Update.
17180 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
17182         [BZ #15406]
17183         * math/s_catan.c: Include <float.h>.
17184         (__catan): Ensure underflow exception occurs for underflowed
17185         result.
17186         * math/s_catanf.c: Include <float.h>.
17187         (__catanf): Ensure underflow exception occurs for underflowed
17188         result.
17189         * math/s_catanh.c: Include <float.h>.
17190         (__catanh): Ensure underflow exception occurs for underflowed
17191         result.
17192         * math/s_catanhf.c: Include <float.h>.
17193         (__catanhf): Ensure underflow exception occurs for underflowed
17194         result.
17195         * math/s_catanhl.c: Include <float.h>.
17196         (__catanhl): Ensure underflow exception occurs for underflowed
17197         result.
17198         * math/s_catanl.c: Include <float.h>.
17199         (__catanl): Ensure underflow exception occurs for underflowed
17200         result.
17201         * math/libm-test.inc (catan_test): Add more tests.
17202         (catanh_test): Likewise.
17204         [BZ #15405]
17205         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17206         underflowed result.
17207         * math/s_ccoshf.c (__ccoshf): Likewise.
17208         * math/s_ccoshl.c (__ccoshl): Likewise.
17209         * math/s_csin.c (__csin): Likewise.
17210         * math/s_csinf.c (__csinf): Likewise.
17211         * math/s_csinh.c (__csinh): Likewise.
17212         * math/s_csinhf.c (__csinhf): Likewise.
17213         * math/s_csinhl.c (__csinhl): Likewise.
17214         * math/s_csinl.c (__csinl): Likewise.
17215         * math/libm-test.inc (ccos_test): Add more tests.
17216         (ccosh_test): Likewise.
17217         (csin_test): Likewise.
17218         (csinh_test): Likewise.
17220 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17222         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17223         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17224         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17225         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17226         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17227         powerpc/power5+/fpu folders.
17228         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17231 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
17233         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17235 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
17237         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17238         additions to variable.
17239         [$(config-machine) = x86_64] (modules-names): Likewise.
17240         ($(objpfx)tst-audit3): Remove dependency.
17241         ($(objpfx)tst-audit3.out): Likewise.
17242         ($(objpfx)tst-audit4): Likewise.
17243         ($(objpfx)tst-audit4.out): Likewise.
17244         ($(objpfx)tst-audit5): Likewise.
17245         ($(objpfx)tst-audit5.out): Likewise.
17246         ($(objpfx)tst-audit6): Likewise.
17247         ($(objpfx)tst-audit6.out): Likewise.
17248         ($(objpfx)tst-audit7): Likewise.
17249         ($(objpfx)tst-audit7.out): Likewise.
17250         (tst-audit3-ENV): Remove variable.
17251         (tst-audit4-ENV): Likewise.
17252         (tst-audit5-ENV): Likewise.
17253         (tst-audit6-ENV): Likewise.
17254         (tst-audit7-ENV): Likewise.
17255         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17256         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17257         addition to variable.
17258         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17259         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17260         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17261         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17262         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17263         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17264         tst-audit3, tst-audit4 and tst-audit5.
17265         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17266         tst-audit6 and tst-audit7.
17267         [$(subdir) = elf] (modules-names): Add audit modules for those
17268         tests.
17269         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17270         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17271         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17272         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17273         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17274         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17275         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17276         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17277         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17278         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17279         [$(subdir) = elf] (tst-audit3-ENV): New variable.
17280         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17281         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17282         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17283         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17284         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17285         Likewise.
17286         [$(subdir) = elf && $(config-cflags-avx) = yes]
17287         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17288         [$(subdir) = elf && $(config-cflags-avx) = yes]
17289         (CFLAGS-tst-auditmod4a.c): Likewise.
17290         [$(subdir) = elf && $(config-cflags-avx) = yes]
17291         (CFLAGS-tst-auditmod4b.c): Likewise.
17292         [$(subdir) = elf && $(config-cflags-avx) = yes]
17293         (CFLAGS-tst-auditmod6b.c): Likewise.
17294         [$(subdir) = elf && $(config-cflags-avx) = yes]
17295         (CFLAGS-tst-auditmod6c.c): Likewise.
17296         [$(subdir) = elf && $(config-cflags-avx) = yes]
17297         (CFLAGS-tst-auditmod7b.c): Likewise.
17298         * elf/tst-audit3.c: Move to ...
17299         * sysdeps/x86_64/tst-audit3.c: ... here.
17300         * elf/tst-audit4.c: Move to ...
17301         * sysdeps/x86_64/tst-audit4.c: ... here.
17302         * elf/tst-audit5.c: Move to ...
17303         * sysdeps/x86_64/tst-audit5.c: ... here.
17304         * elf/tst-audit6.c: Move to ...
17305         * sysdeps/x86_64/tst-audit6.c: ... here.
17306         * elf/tst-audit7.c: Move to ...
17307         * sysdeps/x86_64/tst-audit7.c: ... here.
17308         * elf/tst-auditmod3a.c: Move to ...
17309         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17310         * elf/tst-auditmod3b.c: Move to ...
17311         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17312         * elf/tst-auditmod4a.c: Move to ...
17313         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17314         * elf/tst-auditmod4b.c: Move to ...
17315         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17316         * elf/tst-auditmod5a.c: Move to ...
17317         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17318         * elf/tst-auditmod5b.c: Move to ...
17319         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17320         * elf/tst-auditmod6a.c: Move to ...
17321         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17322         * elf/tst-auditmod6b.c: Move to ...
17323         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17324         * elf/tst-auditmod6c.c: Move to ...
17325         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17326         * elf/tst-auditmod7a.c: Move to ...
17327         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17328         * elf/tst-auditmod7b.c: Move to ...
17329         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17331 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
17333         [BZ #15366]
17334         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17335         define unconditionally.
17336         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17337         define unconditionally.
17338         (INT8_C, INT16_C, etc.): Likewise.
17340 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
17342         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17343         __ehdr_start with hidden visibility.
17345         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17347 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
17349         * math/libm-test.inc (cos_test): Use accurate hex constants.
17350         (sincost_test): Likewise.
17352 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
17354         * math/libm-test.inc (catan_test): Add more tests.
17355         (catanh_test): Likewise.
17357         * math/s_catanf.c (__catanf): Use suffixed floating-point
17358         constants.
17359         * math/s_catanhf.c (__catanhf): Likewise.
17360         * math/s_catanhl.c (__catanhl): Likewise.
17361         * math/s_catanl.c (__catanl): Likewise.
17363         [BZ #15394]
17364         * math/s_catan.c (__catan): Calculate imaginary part of result
17365         with log1p not log unless computing log of number close to 0.
17366         * math/s_catanf.c (__catanf): Likewise.
17367         * math/s_catanl.c (__catanl): Likewise.
17368         * math/s_catanh.c (__catanh): Calculate real part of result with
17369         log1p not log unless computing log of number close to 0.
17370         * math/s_catanhf.c (__catanhf): Likewise.
17371         * math/s_catanhl.c (__catanhl): Likewise.
17372         * math/libm-test.inc (catan_test): Add more tests.
17373         (catanh_test): Likewise.
17374         * sysdeps/i386/fpu/libm-test-ulps: Update.
17375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17377 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17379         * benchtests/Makefile: Mention files in which fast and slow
17380         paths of math functions are implemented.
17382 2013-04-23  Roland McGrath  <roland@hack.frob.com>
17384         * sysdeps/posix/timespec_get.c: New file.
17386 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17388         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17389         POWER.
17390         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17391         for POWER.
17392         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17393         powerpc/power5/fpu folders.
17394         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17395         * benchtests/Makefile: Add modf testcase.
17396         * benchtests/bench-modf.c: New file: Benchmark test for mo
17398 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17400         [BZ #14888]
17401         * time/Makefile (tests): Add tst-strptime-whitespace.
17402         * time/strptime_l.c (get_number): Use ISSPACE.
17403         (__strptime_internal): Likewise.
17404         * time/tst-strptime-whitespace.c: New test case.
17406 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
17408         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17409         member.
17410         (_nss_files_init): Set it here.
17412 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
17414         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17415         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17416         unsigned.
17418 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
17420         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17422 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17424         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17425         size just once.
17427 2013-04-21  David S. Miller  <davem@davemloft.net>
17429         * po/ru.po: Update Russion translation from translation project.
17431 2013-04-17  Adam Conrad  <adconrad@0c3.net>
17433         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17434         and setfsgid.
17436 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
17438         * configure.in: Remove i386 configure warning. Remove i386 case.
17439         * configure: Regenerate.
17440         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
17441         Add example to error message.
17442         * sysdeps/i386/configure: Regenerate.
17444 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17446         * benchtests/Makefile (bench): Add cos, tan, slowcos and
17447         slowtan.
17448         * benchtests/cos-inputs: New file.
17449         * benchtests/slowcos-inputs: New file.
17450         * benchtests/slowcos.c: New file.
17451         * benchtests/slowtan-inputs: New file.
17452         * benchtests/slowtan.c: New file.
17453         * benchtests/tan-inputs: New file.
17455 2013-04-16  Roland McGrath  <roland@hack.frob.com>
17457         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17458         considered kosher.
17460 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17462         * benchtests/Makefile: Include cppflags-iterator.mk to add
17463         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17465         * Makefile.in (bench-clean): New target.
17466         * benchtests/Makefile (bench-clean): Likewise.
17468 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
17470         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17472 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
17474         * stdio-common/tstdiomisc.c: Fix coding-style violation.
17476 2013-04-15  Andreas Schwab  <schwab@suse.de>
17478         * nscd/grpcache.c (cache_addgr): Properly check for short write.
17479         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17480         * nscd/pwdcache.c (cache_addpw): Likewise.
17481         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
17482         more than recsize.
17484 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17486         * benchtests/Makefile (bench): Write all output to
17487         bench-out.tmp together.
17489 2013-04-15  Andreas Schwab  <schwab@suse.de>
17491         * nscd/nscd.c (main): Don't fork again after closing files.
17493 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17495         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17497         * benchtests/Rules (bench-deps): Collect dependencies into a
17498         single variable.  Add Makefile to dependencies.
17499         ($(objpfx)bench-%.c): Depend on bench-deps.
17501 2013-04-12  Roland McGrath  <roland@hack.frob.com>
17502             Xavier Roche  <roche+kml2@exalead.com>
17504         [BZ #15361]
17505         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17506         just that it's a file descriptor.
17507         * manual/llio.texi (Synchronizing AIO Operations): Update description
17508         for EBADF error from aio_fsync.
17510 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17512         * Rules (bench): Move target definition...
17513         * benchtests/Makefile: ... here.
17515 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
17517         * math/libm-test.inc (cos_test): Fix PI/2 test.
17518         (sincos_test): Likewise.
17519         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17520         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17522 2013-04-11  Andreas Schwab  <schwab@suse.de>
17524         [BZ #13988]
17525         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17526         accept exponent character only when digits were seen.
17527         * stdio-common/Makefile (tests): Add bug26.
17528         * stdio-common/bug26.c: New file.
17530         [BZ #14293]
17531         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17532         non-freeable.
17534 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17536         * Makeconfig (rtld-prefix): Define built linker prefix.
17537         * Rules (run-bench): Use it.
17538         * math/Makefile (run-regen-ulps): Likewise.
17540         * Rules (bench): Remove eval.
17542 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17543             Roland McGrath  <roland@hack.frob.com>
17544             Ondrej Bilka  <neleai@seznam.cz>
17546         [BZ #15346]
17547         * time/getdate.c: Include ctype.h and alloca.h.
17548         (__getdate_r): Trim leading and trailing spaces of input.
17549         * time/tst-getdate.c (tests): Add tests with leading and
17550         trailing spaces.
17552 2013-04-08  Roland McGrath  <roland@hack.frob.com>
17554         [BZ #14280]
17555         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17556         when computing value.
17558 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17560         * math/README.libm-test (How can I generate "libm-test-ulps"?):
17561         Use testrun.sh to run libm tests.
17563         [BZ #15309]
17564         * elf/dl-open.c (dl_open_worker): memset all of seen array.
17566 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
17568         [BZ #15264]
17569         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17571 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17573         * Makefile.in (regen-ulps): New target.
17574         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17575         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17576         [ifneq (no,$(PERL)] (regen-ulps): New target.
17577         [ifeq (no,$(PERL)] (regen-ulps): New target.
17578         * math/libm-test.inc (ulps_file_name): Define.
17579         (output_dir): New variable.
17580         (options): Add "output-dir" option.
17581         (parse_opt): Handle 'o' case.
17582         (main): If output_dir is non-NULL use it as a prefix
17583         otherwise use "".
17584         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17586 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17588         [BZ #10060, #10062]
17589         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17590         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17591         fail configure if __sync_val_compare_and_swap is not inlined.
17592         * sysdeps/i386/configure: Regenerate.
17593         * configure.in: Build for i686 when configured for i386.
17594         * configure: Regenerate.
17595         * README: Remove i386 reference.
17597 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17599         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17600         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17602 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
17604         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17605         (lmsnanval): New variables.
17606         (F): Add conversion tests.
17607         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17608         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17610         * stdio-common/tstdiomisc.c (F): Properly collect individual
17611         tests' results.
17613         [BZ #14686, #15336]
17614         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17615         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17616         Instead, use input NaN values or generate a qNaN by arithmetic
17617         operation.  Also fix bugs to comply with the standard.
17618         * math/libm-test.inc (remainder_test): Add more tests.
17620         [BZ #15335, #15342]
17621         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17622         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17623         input NaN values or generate a qNaN by arithmetic operation.
17625         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17626         unreachable code.
17628         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17629         definitions.
17631 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
17633         [BZ #14478]
17634         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17635         underflowed result.
17636         * math/s_cexpf.c (__cexpf): Likewise.
17637         * math/s_cexpl.c (__cexpl): Likewise.
17638         * math/libm-test.inc (cexp_test): Add more tests.
17640 2013-04-03  Andreas Schwab  <schwab@suse.de>
17642         [BZ #15330]
17643         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17644         order arrays from heap if bigger than alloca cutoff.
17646 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
17648         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17649         (SNAN_TESTS_double): Refer to GCC PR56831.
17650         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17651         GCC PR56828.
17653 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17655         * Rules (bench): Move bench.out after the run is complete.
17657         * Rules (bench): Echo currently running benchmark.
17659         * benchtests/Makefile (bench): Add atan and slowatan.
17660         * benchtests/atan-inputs: New file.
17661         * benchtests/slowatan-inputs: New file.
17662         * benchtests/slowatan.c: New file.
17664         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17665         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17666         its value.
17668         [BZ #15305]
17669         * sysdeps/unix/sysv/linux/kernel-features.h
17670         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17671         __ASSUME_XFS_RESTRICTED_CHOWN.
17672         * sysdeps/unix/sysv/linux/pathconf.c
17673         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17674         Save and restore errno.
17676 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
17678         [BZ #15327]
17679         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17680         arguments using __kernel_casinh.
17681         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17682         arguments using __kernel_casinhf.
17683         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17684         arguments using __kernel_casinhl.
17685         * math/libm-test.inc (cacosh_test): Add more tests.
17686         * sysdeps/i386/fpu/libm-test-ulps: Update.
17687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17689 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17691         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17692         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17694         * bench/Makefile (bench): Add sin and slowsin.
17695         * benchtests/sin-inputs: New file.
17696         * benchtests/slowsin-inputs: New file.
17697         * benchtests/slowsin.c: New file.
17699         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17700         (bench): Add slowexp and slowpow.
17701         (exp-ITER): Increase iterations.
17702         (pow-ITER): Likewise.
17703         * benchtests/exp-inputs: Change input.
17704         * benchtests/pow-inputs: Likewise.
17705         * benchtests/slowexp-inputs: New file.
17706         * benchtests/slowexp.c: New file.
17707         * benchtests/slowpow-inputs: New file.
17708         * benchtests/slowpow.c: New file.
17710 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17712         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17713         instructions.
17714         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17715         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17716         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17717         * benchtests/Makefile: Add rint benchtest.
17718         * benchtests/rint-inputs: Input for rint benchtest.
17720 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
17722         * Versions.def (libm): Add GLIBC_2.18.
17723         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17724         hidden libm prototypes.
17725         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17726         * math/Makefile (libm-calls): Add s_issignaling.
17727         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17728         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
17729         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17730         declaration.
17731         * math/math.h [__USE_GNU] (issignaling): New macro.
17732         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17733         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17734         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17735         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17736         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17737         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17738         * manual/arith.texi (issignaling): New section.
17739         * manual/libm-err-tab.pl (@all_functions): Update comment.
17740         * math/gen-libm-test.pl (parse_args): Apply special handling for
17741         issignaling.
17742         * math/libm-test.inc (print_float, issignaling_test): New
17743         functions.
17744         (check_float_internal): Add issignaling checks.
17745         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17746         default definition.
17747         * sysdeps/powerpc/math-tests.h: New file.
17748         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17749         tests.
17750         * math/test-snan.c (TEST_FUNC): Likewise.
17752 2013-03-30  David S. Miller  <davem@davemloft.net>
17754         * po/de.po: Update from translation team.
17756 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
17758         [BZ #10357]
17759         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17760         imaginary part less than 1.0 and real part less than 0.5
17761         specially.
17762         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17763         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17764         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17765         (cacos_test): Add more tests.
17766         (casin_test): Likewise.
17767         (casinh_test): Likewise.
17768         * sysdeps/i386/fpu/libm-test-ulps: Update.
17769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17771 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17773         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17774         ONE with its value.
17776         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17777         (__pow_mp): Replace ONE and MONE with their values.
17778         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17779         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17780         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17781         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17782         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17783         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17785         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17787         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17788         (__pow_mp): Replace ZERO and MZERO with their values.
17789         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17790         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17791         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17792         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17793         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17794         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17795         (__sqr): Likewise.
17797         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17799         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17801 2013-03-28  Roland McGrath  <roland@hack.frob.com>
17803         * include/stdlib.h [!SHARED] (__call_tls_dtors):
17804         Declare with __attribute__ ((weak)).
17805         * stdlib/exit.c (__libc_atexit) [!SHARED]:
17806         Call __call_tls_dtors only if it's not NULL.
17808 2013-03-28  Roland McGrath  <roland@hack.frob.com>
17810         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17811         didn't do it already, then set _dl_phdr and _dl_phnum based on the
17812         magic __ehdr_start linker symbol if it's defined.
17813         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17814         them up here if it was already done.
17816         * elf/dl-support.c (_dl_phdr): Make pointer to const.
17817         (_dl_aux_init): Use const in cast when setting it.
17818         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17819         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17820         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17822         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17823         Declare them here.
17824         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17825         * csu/libc-tls.c: Nor here.
17826         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17828         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17829         (__libc_message): Never call vsyslog.
17831 2013-03-28  Alan Modra  <amodra@gmail.com>
17833         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17834         Define as empty.
17835         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17836         Likewise.
17838 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17840         [BZ #15214]
17841         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17842         underflow.
17843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17845 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17847         [BZ #15304]
17848         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17849         Don't add gid passed as argument.
17851         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17853 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
17855         [BZ #15307]
17856         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17857         imaginary part between 1.0 and 1.5 and real part less than 0.5
17858         specially.
17859         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17860         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17861         * math/libm-test.inc (cacos_test): Add more tests.
17862         (casin_test): Likewise.
17863         (casinh_test): Likewise.
17864         * sysdeps/i386/fpu/libm-test-ulps: Update.
17865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17867 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17869         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17870         constants.
17871         (norm): Likewise.
17872         (denorm): Likewise.
17873         (__dbl_mp): Likewise.
17874         (add_magnitudes): Likewise.
17875         (sub_magnitudes): Likewise.
17876         (__add): Likewise.
17877         (__sub): Likewise.
17878         (__mul): Likewise.
17879         (__sqr): Likewise.
17880         (__inv): Likewise.
17881         (__dvd): Likewise.
17883         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17884         commented code.
17885         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17886         (__dubcos): Likewise.
17887         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17888         (__ieee754_acos): Likewise.
17889         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17890         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17891         (__exp1): Likewise.
17892         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17893         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17894         (log1): Likewise.
17895         (my_log2): Likewise.
17896         (checkint): Likewise.
17897         * sysdeps/ieee754/dbl-64/e_remainder.c
17898         (__ieee754_remainder): Likewise.
17899         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17900         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17901         (bsloww): Likewise.
17902         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17904         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17905         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17906         MANTISSA_STORE_T to store computations on mantissa.  Use
17907         macros for rounding and division.
17908         (denorm): Likewise.
17909         (__dbl_mp): Likewise.
17910         (add_magnitudes): Likewise.
17911         (sub_magnitudes): Likewise.
17912         (__mul): Likewise.
17913         (__sqr): Likewise.
17914         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
17915         powers of two in terms of TWOPOW macro.
17916         (mp_no): Make type of mantissa as MANTISSA_T.
17917         [!RADIXI]: Define RADIXI.
17918         [!TWO52]: Define TWO52.
17919         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17921 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17923         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17924         llroundl symbol when building for PPC32.
17926 2013-03-24  Mark H Weaver  <mhw@netris.org>
17928         * manual/arith.texi (Normalization Functions): Fix prototypes for
17929         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17931 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17933         [BZ #13889]
17934         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17935         high value to check if expl overflow.
17936         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17937         to check for underflow and overflow.
17938         * math/libm-test.inc: Add exp test.
17940 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
17942         [BZ #11120]
17943         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17944         with NOT_IN_libc.
17946 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17948         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17949         symbol.
17951 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17953         * math/gen-libm-test.pl (parse_args, special_functions): Properly
17954         wrap blocks consisting of several statements.
17956         * sysdeps/generic/math-tests.h: New file.
17957         * sysdeps/i386/fpu/math-tests.h: Likewise.
17958         * math/test-snan.c: Include it.
17959         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17961 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
17963         [BZ #15285]
17964         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17965         (__ieee754_j0l): Do not improve calculations using cos of twice
17966         input for inputs above LDBL_MAX / 2.0L.
17967         (__ieee754_y0l): Likewise.
17968         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17969         (__ieee754_j1l): Do not improve calculations using cos of twice
17970         input for inputs above LDBL_MAX / 2.0L.
17971         (__ieee754_y1l): Likewise.
17972         * math/libm-test.inc (j0_test): Add another test.
17973         (j1_test): Likewise.
17974         (y0_test): Likewise.
17975         (y1_test): Likewise.
17976         * sysdeps/i386/fpu/libm-test-ulps: Update.
17978 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17980         * Rules ($(objpfx)bench-%.c): Include code from a C source
17981         file.
17983 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
17985         [BZ #15287]
17986         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17987         imaginary part 1.0 and real part less than 0.5 specially.
17988         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17989         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17990         * math/libm-test.inc (cacos_test): Add more tests.
17991         (casin_test): Likewise.
17992         (casinh_test): Likewise.
17993         * sysdeps/i386/fpu/libm-test-ulps: Update.
17994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17996 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17998         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17999         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18001 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
18003         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18004         * config.make.in (config-cflags-sse4): Remove variable.
18005         (config-cflags-avx): Likewise.
18006         (config-cflags-sse2avx): Likewise.
18007         (config-cflags-novzeroupper): Likewise.
18008         (config-asflags-i686): Likewise.
18009         (have-mfma4): Likewise.
18010         (have-as-vis3): Likewise.
18011         (MIG): Likewise.
18012         * configure.in (MIG): Do not AC_SUBST.
18013         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18014         (libc_cv_cc_sse4): Do not AC_SUBST.
18015         (libc_cv_cc_avx): Likewise.
18016         (libc_cv_cc_sse2avx): Likewise.
18017         (libc_cv_cc_novzeroupper): Likewise.
18018         (libc_cv_cc_fma4): Likewise.
18019         (libc_cv_as_i686): Likewise.
18020         (libc_cv_sparc_as_vis3): Likewise.
18021         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18022         LIBC_CONFIG_VAR.
18023         (config-asflags-i686): Likewise.
18024         (config-cflags-avx): Likewise.
18025         (config-cflags-sse2avx): Likewise.
18026         (have-mfma4): Likewise.
18027         (config-cflags-novzeroupper): Likewise.
18028         * sysdeps/mach/configure.in (MIG): Likewise.
18029         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18030         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18031         LIBC_CONFIG_VAR.
18032         (config-cflags-avx): Likewise.
18033         (config-cflags-sse2avx): Likewise.
18034         (have-mfma4): Likewise.
18035         (config-cflags-novzeroupper): Likewise.
18036         * configure: Regenerated.
18037         * sysdeps/i386/configure: Likewise.
18038         * sysdeps/mach/configure: Likewise.
18039         * sysdeps/sparc/configure: Likewise.
18040         * sysdeps/x86_64/configure: Likewise.
18042 2013-03-20  Roland McGrath  <roland@hack.frob.com>
18044         [BZ #14812]
18045         * locale/programs/localedef.c (options): Put N_ translation marker
18046         on argument names, not just descriptions.
18048 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18050         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18052 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
18054         [BZ #14176]
18055         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18057 2013-03-19  Roland McGrath  <roland@hack.frob.com>
18059         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18060         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18061         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18062         [!BEFORE_ABORT] (before_abort): New function.
18063         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18064         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18065         (writev_for_fatal): New function.
18066         (WRITEV_FOR_FATAL): New macro; call that.
18067         (backtrace_and_maps): New function.
18068         (BEFORE_ABORT): New macro; call that.
18069         (struct str_list): Type removed.
18070         (__libc_message, __libc_fatal): Functions removed.
18071         Include <sysdeps/posix/libc_fatal.c> instead.
18073 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
18075         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18076         constants.
18077         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18078         double constants.
18080 2013-03-19  Andreas Schwab  <schwab@suse.de>
18082         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18083         * sysdeps/gnu/configure: Regenerate.
18085         * configure.in: Substitute libc_cv_rtlddir.
18086         * configure: Regenerate.
18087         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18088         * Makeconfig (rtlddir, inst_rtlddir): New variables.
18089         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18090         * elf/Makefile (install-others, CFLAGS-interp.c)
18091         (ldso_install, common-ldd-rewrite): Likewise.
18092         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18093         $(inst_slibdir)/$(rtld-installed-name).
18094         * scripts/rellns-sh: Add -p option.
18095         * Makerules (make-shlib-link): Use rellns-sh to get relative name
18096         for source.
18098 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18100         * manual/nptl.texi: Renamed to ...
18101         * manual/threads.texi: ... this.
18102         * manual/Makefile (chapters): Update.
18104 2013-03-18  Roland McGrath  <roland@hack.frob.com>
18106         [BZ #14812]
18107         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18108         on argument names, not just descriptions.
18109         * malloc/memusagestat.c (options): Likewise.
18110         * nss/getent.c (options): Likewise.
18112 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
18114         [BZ #14812]
18115         * iconv/iconv_prog.c (options): Put N_ translation marker
18116         on argument names, not just descriptions.
18117         * iconv/iconvconfig.c (options): Likewise.
18119 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
18121         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18122         implementation which is faster on all x86_64 architectures.
18123         Tested on AMD, Intel Nehalem, SNB, IVB.
18124         * sysdeps/x86_64/strnlen.S: Likewise.
18126         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18127         Remove all multiarch strlen and strnlen versions.
18128         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18129         Remove strlen and strnlen related parts.
18131         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18132         Inline strlen part.
18133         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18135         * sysdeps/x86_64/multiarch/strlen.S: Remove.
18136         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18137         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18138         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18139         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18140         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18142 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
18144         * manual/memory.texi (Malloc Tunable Parameters):
18145         Sort parameters alphabetically. Add comments for missing entries.
18147 2013-03-17  David S. Miller  <davem@davemloft.net>
18149         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18151 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
18153         [BZ #15283]
18154         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18155         for arguments at most half maximum finite value.
18156         * math/libm-test.inc (j0_test): Add more tests.
18157         (j1_test): Likewise.
18158         (y0_test): Likewise.
18159         (y1_test): Likewise.
18160         * sysdeps/i386/fpu/libm-test-ulps: Update.
18161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18163         [BZ #14155]
18164         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18165         1 / x and functions P and Q for arguments above 0x1p256L.
18166         (__ieee754_y0l): Likewise.
18167         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18168         (__ieee754_y1l): Likewise.
18169         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18170         (j1_test): Likewise.
18171         (y0_test): Likewise.
18172         (y1_test): Likewise.
18174 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
18176         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18177         variable.
18179 2013-03-15  Roland McGrath  <roland@hack.frob.com>
18181         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18182         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18183         zero since it's initialized to EXEC_PAGESIZE.
18185         * sysdeps/unix/sysv/linux/ldsodefs.h
18186         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18187         * sysdeps/generic/ldsodefs.h: ... here.
18189 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
18191         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18193         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18194         math/test-snan.c.
18195         * math/test-snan.c: Renamed from
18196         sysdeps/powerpc/fpu/test-powerpc-snan.c.
18197         * math/Makefile (tests): Add test-snan.
18198         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18199         test-powerpc-snan.
18201         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18202         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
18203         functions.
18204         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
18205         __builtin_nan family of functions.
18206         * math/libm-test.inc (initialize): Initialize qnan_value with
18207         __builtin_nan family of functions.
18208         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18209         Remove variables.
18210         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18211         Remove functions.
18212         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
18213         storage class.  Initialize qNaN_var and sNaN_var with
18214         __builtin_nan and __builtin_nans families of functions,
18215         respectively.
18217         * math/libm-test.inc (acosh_test): Also test with qNaN input.
18218         (sqrt_test): Remove duplicate test with qNaN input.
18219         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18220         (round_test, signbit_test, significand_test): Note missing +/-Inf
18221         as well as qNaN tests.
18223         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18224         qNaN_var.  Fix a few strings, too.
18225         * math/libm-test.inc (nan_value): Rename to qnan_value.
18226         * math/gen-libm-test.pl (%beautify): Adjust to that.
18227         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18228         * math/test-misc.c (main): Likewise.
18229         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18230         to __qnan_bytes, and __qnan_union, respectively.
18231         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18232         Likewise.
18233         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18234         and lqnanval, respectively.
18235         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18236         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18237         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18238         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18240         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18241         * math/test-misc.c (main) [__x86_64__]: Enable test for long
18242         doubles.
18244         * math/test-misc.c (main): Fix copy'n'pastos.
18245         * misc/tst-efgcvt.c (special): Likewise.
18247         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18248         Remove declarations.
18250 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18252         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18253         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18254         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18255         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18257 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18259         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18260         macro to return vdso values correctly in IFUNC implementations.
18261         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18262         Optimization by using IFUNC.
18264 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18265             Richard Henderson  <rth@redhat.com>
18266             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18268         * Makefile.in (bench): New target.
18269         * NEWS: Mention the benchmark framework.
18270         * Rules (bench): Likewise.
18271         (binaries-bench): Generate binaries for functions to
18272         benchmark.
18273         * benchtests/Makefile: New makefile for benchmark tests.
18274         * benchtests/bench-skeleton.c: New skeleton file for benchmark
18275         programs.
18276         * benchtests/exp-inputs: New input file for EXP function.
18277         * benchtests/pow-inputs: New input file for POW function.
18278         * scripts/bench.pl: New script to generate source files for
18279         benchmark programs.
18281 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18283         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18284         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18285         computations on mantissa.  Use macros for rounding and
18286         division.
18287         (denorm): Likewise.
18288         (__dbl_mp): Likewise.
18289         (add_magnitudes): Likewise.
18290         (sub_magnitudes): Likewise.
18291         (__mul): Likewise.
18292         (__sqr): Likewise.
18293         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
18294         powers of two in terms of TWOPOW macro.
18295         (mp_no): Make type of mantissa as MANTISSA_T.
18296         [!RADIXI]: Define RADIXI.
18297         [!TWO52]: Define TWO52.
18298         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18300         * manual/nptl.texi (cindex): Modify threads to pthreads.
18302 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
18304         * sysdeps/x86_64/preconfigure: Regenerated.
18306 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
18308         [BZ #14155]
18309         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18310         0x1p28 and above.
18311         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18312         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18313         0x1p28 and above.
18314         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18315         * math/libm-test.inc (j0_test): Do not allow one spurious
18316         underflow exception.
18317         (y1_test): Likewise.
18319 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18321         * manual/Makefile (chapters): Add nptl.
18322         * manual/debug.texi (Debugging Support): Add link to Threads
18323         chapter.
18324         * manual/nptl.texi: New file.
18326         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18328 2013-03-14  Petr Baudis  <pasky@ucw.cz>
18330         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18331         for non-NULL pointer before the memory validity test. Pointed
18332         out by Holger Brunck <holger.brunck@keymile.com>.
18334 2013-03-13  Andreas Schwab  <schwab@suse.de>
18336         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18337         instead of .os.
18339 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
18341         * timezone/zic.c: Update from tzcode 2013b.
18343 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
18345         * manual/install.texi (Configuring and compiling):
18346         Mention i686 and i586.
18347         * INSTALL: Regenerate.
18349 2013-03-12  Roland McGrath  <roland@hack.frob.com>
18351         * sysdeps/init_array/elf-init.c: New file.
18352         * csu/elf-init.c
18353         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18354         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18356         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18357         __gmon_start__ as global, but as static with a .preinit_array pointer.
18358         * sysdeps/init_array/gmon-start.c: New file.  Use that.
18359         * sysdeps/init_array/crti.S: New file, empty except for comments.
18360         * sysdeps/init_array/crtn.S: Likewise.
18362 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
18364         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18365         definining bcopy.
18366         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18367         Remove Prefer_SSE_for_memop.
18368         * sysdeps/x86_64/multiarch/init-arch.h: Remove
18369         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18370         HAS_PREFER_SSE_FOR_MEMOP.
18371         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18372         memset-x86-64.
18373         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18374         Remove bzero, memset ifunc support.
18375         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18376         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18377         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18378         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18380 2013-03-11  Andreas Schwab  <schwab@suse.de>
18382         [BZ #15234]
18383         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18384         by SHLIB_COMPAT.
18385         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18386         (GLIBC_2.16): Remove pthread_atfork.
18388 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18390         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18391         (ptestcases.h): Likewise.
18393 2013-03-08  Roland McGrath  <roland@hack.frob.com>
18395         * Makeconfig ($(common-objpfx)config.status): Depend on
18396         sysdeps/*/preconfigure{,.in} too.
18398 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
18400         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18401         (__free_hook): Use void * instead of __malloc_ptr_t.
18402         (__malloc_hook): Likewise.
18403         (__realloc_hook): Likewise.
18404         (__memalign_hook): Likewise.
18405         (__after_morecore_hook): Likewise.
18406         * malloc/arena.c (save_malloc_hook): Likewise.
18407         (save_free_hook): Likewise.
18408         * malloc/hooks.c (malloc_hook_ini): Likewise.
18409         (realloc_hook_ini): Likewise.
18410         (memalign_hook_ini): Likewise.
18411         * malloc/malloc.c (malloc_hook_ini): Likewise.
18412         (realloc_hook_ini): Likewise.
18413         (memalign_hook_ini): Likewise.
18414         (__free_hook): Likewise.
18415         (__malloc_hook): Likewise.
18416         (__realloc_hook): Likewise.
18417         (__memalign_hook): Likewise.
18418         (__libc_malloc): Likewise.
18419         (__libc_free): Likewise.
18420         (__libc_realloc): Likewise.
18421         (__libc_memalign): Likewise.
18422         (__libc_valloc): Likewise.
18423         (__libc_pvalloc): Likewise.
18424         (__libc_calloc): Likewise.
18425         (__posix_memalign): Likewise.
18426         * malloc/morecore.c (__sbrk): Likewise.
18427         (__default_morecore): Likewise.
18429         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18431         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18432         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18433         __malloc_ptrdiff_t.
18435         * malloc/malloc.h (__malloc_size_t): Remove macro.
18436         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18437         __malloc_size_t.
18438         (old_memalign_hook): Likewise.
18439         (old_realloc_hook): Likewise.
18440         (struct hdr): Likewise.
18441         (flood): Likewise.
18442         (mallochook): Likewise.
18443         (memalignhook): Likewise.
18444         (reallochook): Likewise.
18445         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18446         (tr_old_realloc_hook): Likewise.
18447         (tr_old_memalign_hook): Likewise.
18448         (tr_mallochook): Likewise.
18449         (tr_reallochook): Likewise.
18450         (tr_memalignhook): Likewise.
18452 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18454         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18455         default_ldbl_pack and using as default implementation.
18456         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18457         implementation.
18458         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18459         redundant definition.
18460         (ldbl_insert_mantissa): Likewise.
18461         (ldbl_canonicalize): Likewise.
18462         (ldbl_nearbyint): Likewise.
18463         (ldbl_pack): Rename to ldbl_pack_ppc.
18464         (ldbl_unpack): Rename to ldbl_unpack_ppc.
18465         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18466         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18468 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18470         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18471         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18472         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18473         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18474         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18475         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18476         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18477         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18479 2013-03-07  Andreas Jaeger  <aj@suse.de>
18481         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18482         bits/mman-linux.h.
18484 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18486         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18487         Include mpa.h and declare __MPEXP.
18488         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18489         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18490         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18491         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18492         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18493         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18494         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18496         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18497         (__slowpow): Use long double EXPL and LOGL functions to
18498         compute POW.
18499         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18500         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18501         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18502         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18503         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18504         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18506         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18507         intermediate variable to calculate exponent.
18508         (__sqr): Likewise.
18509         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18510         Likewise.
18511         (__sqr): Likewise.
18513         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18514         [!NO__SQR]: Define __sqr.
18515         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18516         and NO__SQR.  Remove all code except __mul and __sqr.  Include
18517         sysdeps/ieee754/dbl-64/mpa.c.
18518         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18520         [BZ #12723]
18521         * posix/Makefile (tests): Add tst-pathconf.
18522         * posix/tst-pathconf.c: New test case.
18523         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18524         _PC_PIPE_BUF.
18525         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18527 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
18529         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18531 2013-03-06  Andreas Jaeger  <aj@suse.de>
18533         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18534         definition via __MAP_ANONYMOUS.
18536         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18537         it's not part of Linux headers.
18539         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18540         (MAP_HUGE_MASK): Define.
18542         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18543         Define.
18544         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18545         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18546         Define.
18547         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18548         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18549         Define.
18550         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18551         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18552         Define.
18553         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18555         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18556         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18557         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18558         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18559         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18560         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18562         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18563         Handle f2fs.
18565         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18566         Handle f2fs and efivarfs.
18568         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18569         f2fs.
18571         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18572         (EFIVARFS_MAGIC): Add.
18573         (F2FS_LINK_MAX): Add.
18575 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18577         * stdio-common/vfprintf.c: Replace __builtin_expect with
18578         __glibc_unlikely.
18580 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
18582         [BZ #13550]
18583         * sysdeps/generic/bp-sym.h: Remove file.
18584         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18585         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18586         <bp-sym.h> and <bp-asm.h>.
18587         (__longjmp): Don't use BP_SYM.
18588         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18589         and <bp-asm.h>.
18590         (memcpy): Don't use BP_SYM.
18591         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18592         <bp-sym.h> and <bp-asm.h>.
18593         (memcpy): Don't use BP_SYM.
18594         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18595         <bp-asm.h>.
18596         (memcpy): Don't use BP_SYM.
18597         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18598         <bp-asm.h>.
18599         (memset): Don't use BP_SYM.
18600         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18601         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18602         (__bzero): Don't use BP_SYM.
18603         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18604         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18605         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18606         <bp-sym.h> and <bp-asm.h>.
18607         (memcmp): Don't use BP_SYM.  Remove comment about bounded
18608         pointers.
18609         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18610         <bp-sym.h> and <bp-asm.h>.
18611         (memcpy): Don't use BP_SYM.
18612         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18613         <bp-sym.h> and <bp-asm.h>.
18614         (memset): Don't use BP_SYM.
18615         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18616         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18617         (__bzero): Don't use BP_SYM.
18618         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18619         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18620         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18621         <bp-sym.h> and <bp-asm.h>.
18622         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18623         pointers.
18624         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18625         <bp-sym.h> and <bp-asm.h>.
18626         (memcpy): Don't use BP_SYM.
18627         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18628         <bp-sym.h> and <bp-asm.h>.
18629         (memset): Don't use BP_SYM.
18630         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18631         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18632         (__bzero): Don't use BP_SYM.
18633         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18634         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18635         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18636         <bp-sym.h> and <bp-asm.h>.
18637         (__memchr): Don't use BP_SYM.
18638         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18639         <bp-sym.h> and <bp-asm.h>.
18640         (memcmp): Don't use BP_SYM.  Remove comment about bounded
18641         pointers.
18642         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18643         <bp-sym.h> and <bp-asm.h>.
18644         (memcpy): Don't use BP_SYM.
18645         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18646         <bp-sym.h> and <bp-asm.h>.
18647         (__mempcpy): Don't use BP_SYM.
18648         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18649         <bp-sym.h> and <bp-asm.h>.
18650         (__memrchr): Don't use BP_SYM.
18651         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18652         <bp-sym.h> and <bp-asm.h>.
18653         (memset): Don't use BP_SYM.
18654         (__bzero): Likewise.
18655         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18656         <bp-sym.h> and <bp-asm.h>.
18657         (__rawmemchr): Don't use BP_SYM.
18658         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18659         <bp-sym.h> and <bp-asm.h>.
18660         (__STRCMP): Don't use BP_SYM.
18661         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18662         <bp-sym.h> and <bp-asm.h>.
18663         (strchr): Don't use BP_SYM.
18664         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18665         <bp-sym.h> and <bp-asm.h>.
18666         (__strchrnul): Don't use BP_SYM.
18667         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18668         <bp-sym.h> and <bp-asm.h>.
18669         (strlen): Don't use BP_SYM.
18670         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18671         <bp-sym.h> and <bp-asm.h>.
18672         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18673         pointers.
18674         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18675         <bp-sym.h> and <bp-asm.h>.
18676         (__strnlen): Don't use BP_SYM.
18677         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18678         <bp-sym.h> and <bp-asm.h>.
18679         (__GI__setjmp): Don't use BP_SYM.
18680         (_setjmp): Likewise.
18681         (__sigsetjmp): Likewise.
18682         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18683         (L(start_addresses)): Don't use BP_SYM.
18684         (_start): Likewise.
18685         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18686         <bp-asm.h>.
18687         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18688         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18689         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18690         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18691         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18692         <bp-asm.h>.
18693         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18694         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
18695         about bounded pointers.
18696         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18697         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18698         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18699         <bp-asm.h>.
18700         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
18701         about bounded pointers.  Remove GKM FIXME comments.
18702         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18703         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18704         <bp-asm.h>.
18705         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18706         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
18707         Remove GKM FIXME comments.
18708         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18709         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18710         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18711         <bp-asm.h>.
18712         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
18713         about bounded pointers.  Remove GKM FIXME comment.
18714         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18715         and <bp-asm.h>.
18716         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18717         pointers.
18718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18719         <bp-sym.h> and <bp-asm.h>.
18720         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18722         <bp-sym.h> and <bp-asm.h>.
18723         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
18724         comment.
18726 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18728         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18729         call free(NULL).
18731 2013-03-05  David S. Miller  <davem@davemloft.net>
18733         * po/es.po: Update from translation team.
18735 2013-03-05  Andreas Jaeger  <aj@suse.de>
18737         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18738         <bits/mman-linux.h>.
18739         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18740         is fine.
18741         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18742         <bits/mman-linux.h> to end of file.
18743         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18744         is fine.
18745         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18746         <bits/mman-linux.h> to end of file.
18747         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18748         is fine.
18749         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18750         <bits/mman-linux.h> to end of file.
18752         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18753         (MCL_CURRENT, MCL_FUTURE): Define here.
18755 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18757         [BZ #15232]
18758         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18759         attribute_hidden.
18760         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18762 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18764         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18765         fourth parameter needed for rt_sigprocmask syscall.
18766         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18767         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18768         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18769         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18770         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18771         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18773 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
18775         [BZ #13550]
18776         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18777         comment about bounded pointers.
18778         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18779         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18781 2013-03-04  Andreas Jaeger  <aj@suse.de>
18783         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18784         common definitions.
18786         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18787         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18788         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18789         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18790         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18791         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18793 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18795         [BZ #15055]
18796         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18797         __ieee754_sqrl instead of __sqrl.
18799 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
18801         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18802         * sysdeps/powerpc/fpu_control.h: ... here.
18803         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18804         * sysdeps/powerpc/bits/fenvinline.h: ... here.
18805         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18806         * sysdeps/powerpc/bits/mathinline.h: ... here.
18808 2013-03-01  Roland McGrath  <roland@hack.frob.com>
18810         * elf/dl-hwcaps.c (_dl_important_hwcaps):
18811         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18812         to just [NEED_DL_SYSINFO_DSO].
18813         * elf/dl-support.c: Likewise.
18814         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18815         * elf/rtld.c (dl_main): Likewise.
18816         * elf/setup-vdso.h (setup_vdso): Likewise.
18817         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18818         * sysdeps/unix/sysv/linux/dl-sysdep.c
18819         (_dl_discover_osversion): Likewise.
18821 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
18823         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18824         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18826 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18828         * NEWS: Mention libm performance improvements and non-x86 PI
18829         futex support.
18831         * csu/libc-start.c (__pthread_initialize_minimal): Change
18832         function arguments.
18833         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18835 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
18837         [BZ #13550]
18838         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18839         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18840         <bp-sym.h> and <bp-asm.h>.
18841         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18842         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18843         and <bp-asm.h>.
18844         (memcpy): Don't use BP_SYM.
18845         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18846         <bp-asm.h>.
18847         (__mpn_add_n): Don't use BP_SYM.
18848         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18849         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18850         and <bp-asm.h>.
18851         (__mpn_addmul_1): Don't use BP_SYM.
18852         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18853         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18854         <bp-sym.h>.
18855         (_setjmp): Don't use BP_SYM.
18856         (__novmx_setjmp): Likewise.
18857         (__GI__setjmp): Likewise.
18858         (__vmx_setjmp): Likewise.
18859         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18860         <bp-sym.h>.
18861         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18862         (__bzero): Don't use BP_SYM.
18863         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18864         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18865         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18866         <bp-sym.h> and <bp-asm.h>.
18867         (memcpy): Don't use BP_SYM.
18868         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18869         <bp-sym.h> and <bp-asm.h>.
18870         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18871         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18872         <bp-sym.h> and <bp-asm.h>.
18873         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18874         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18875         <bp-asm.h>.
18876         (__mpn_lshift): Don't use BP_SYM.
18877         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18878         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18879         <bp-asm.h>.
18880         (memset): Don't use BP_SYM.
18881         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18882         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18883         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18884         <bp-asm.h>.
18885         (__mpn_mul_1): Don't use BP_SYM.
18886         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18887         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18888         <bp-sym.h> and <bp-asm.h>.
18889         (memcmp): Don't use BP_SYM.
18890         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18891         <bp-sym.h> and <bp-asm.h>.
18892         (memcpy): Don't use BP_SYM.
18893         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18894         <bp-sym.h> and <bp-asm.h>.
18895         (memset): Don't use BP_SYM.
18896         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18897         <bp-sym.h> and <bp-asm.h>.
18898         (strncmp): Don't use BP_SYM.
18899         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18900         <bp-sym.h> and <bp-asm.h>.
18901         (memcpy): Don't use BP_SYM.
18902         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18903         <bp-sym.h> and <bp-asm.h>.
18904         (memset): Don't use BP_SYM.
18905         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18906         <bp-sym.h> and <bp-asm.h>.
18907         (__memchr): Don't use BP_SYM.
18908         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18909         <bp-sym.h> and <bp-asm.h>.
18910         (memcmp): Don't use BP_SYM.
18911         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18912         <bp-sym.h> and <bp-asm.h>.
18913         (memcpy): Don't use BP_SYM.
18914         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18915         <bp-sym.h> and <bp-asm.h>.
18916         (__mempcpy): Don't use BP_SYM.
18917         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18918         <bp-sym.h> and <bp-asm.h>.
18919         (__memrchr): Don't use BP_SYM.
18920         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18921         <bp-sym.h> and <bp-asm.h>.
18922         (memset): Don't use BP_SYM.
18923         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18924         <bp-sym.h> and <bp-asm.h>.
18925         (__rawmemchr): Don't use BP_SYM.
18926         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18927         <bp-sym.h> and <bp-asm.h>.
18928         (__STRCMP): Don't use BP_SYM.
18929         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18930         <bp-sym.h> and <bp-asm.h>.
18931         (strchr): Don't use BP_SYM.
18932         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18933         <bp-sym.h> and <bp-asm.h>.
18934         (__strchrnul): Don't use BP_SYM.
18935         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18936         <bp-sym.h> and <bp-asm.h>.
18937         (strlen): Don't use BP_SYM.
18938         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18939         <bp-sym.h> and <bp-asm.h>.
18940         (strncmp): Don't use BP_SYM.
18941         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18942         <bp-sym.h> and <bp-asm.h>.
18943         (__strnlen): Don't use BP_SYM.
18944         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18945         <bp-asm.h>.
18946         (__mpn_rshift): Don't use BP_SYM.
18947         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18948         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18949         <bp-sym.h> and <bp-asm.h>.
18950         (__sigsetjmp): Don't use BP_SYM.
18951         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18952         (L(start_addresses)): Don't use BP_SYM.
18953         (_start): Likewise.
18954         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18955         <bp-asm.h>.
18956         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18957         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18958         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18959         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18960         <bp-asm.h>.
18961         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18962         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18963         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18964         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18965         <bp-asm.h>.
18966         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
18967         comments.
18968         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18969         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18970         <bp-asm.h>.
18971         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
18972         FIXME comments.
18973         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18974         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18975         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18976         <bp-asm.h>.
18977         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
18978         comment.
18979         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18980         and <bp-asm.h>.
18981         (strncmp): Don't use BP_SYM,
18982         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18983         <bp-asm.h>.
18984         (__mpn_sub_n): Don't use BP_SYM.
18985         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18986         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18987         and <bp-asm.h>.
18988         (__mpn_submul_1): Don't use BP_SYM.
18989         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18991         <bp-sym.h> and <bp-asm.h>.
18992         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18994         <bp-sym.h> and <bp-asm.h>.
18995         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
18996         comment.
18998 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19000         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19001         Use ZK to minimize writes to Z.
19002         (sub_magnitudes): Simplify code a bit.
19003         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19004         Use ZK to minimize writes to Z.
19005         (sub_magnitudes): Simplify code a bit.
19007 2013-02-27  Roland McGrath  <roland@hack.frob.com>
19009         * csu/gmon-start.c: Add special exception to license text.
19011 2013-02-27  Richard Henderson  <rth@redhat.com>
19013         * scripts/config.guess: Update from config.git.
19014         * scripts/config.sub: Likewise.
19016 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19018         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19020         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19022         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19024         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19026         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19028 2013-02-26  Roland McGrath  <roland@hack.frob.com>
19030         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19031         [$(build-shared = yes].
19033 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19035         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19036         (__mul): Reduce iterations for calculating mantissa.
19038         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19039         MPTWO.
19040         (__mpranred): Likewise.
19042         [BZ #15160]
19043         * malloc/memusagestat.c (main): Draw graphs for heap and stack
19044         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19046 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
19048         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19049         Define __attribute__.
19051 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19053         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19054         unused.
19055         * posix/regex_internal.h (__attribute): Remove.
19056         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19057         (re_string_context_at): Likewise.
19058         (bitset_not): Use __attribute__ and mark function as possibly
19059         unused.
19060         (bitset_merge): Likewise.
19061         (bitset_mask): Likewise.
19062         (re_string_char_size_at): Likewise.
19063         (re_string_wchar_at): Likewise.
19064         (re_string_elem_size_at): Likewise.
19066 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19068         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19069         code.
19070         (cc32): Likewise.
19072         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19073         (__acr): Likewise.
19074         (__cpy): Likewise.
19075         (norm): Likewise.
19076         (denorm): Likewise.
19077         (__dbl_mp): Likewise.
19078         (add_magnitudes): Likewise.
19079         (sub_magnitudes): Likewise.
19080         (__mul): Likewise.
19081         (__inv): Likewise.
19083         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19084         style.
19086         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19087         style.
19089         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19090         code.
19092         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19093         up changes with default code.
19094         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19095         Likewise.
19097 2013-02-24  Allan McRae  <allan@archlinux.org>
19099         * manual/socket.texi (The Internet Namespace): Order menu items
19100         to match that in the file.
19102         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19103         node listing of the info page menu.
19105 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
19107         [BZ #13550]
19108         * sysdeps/i386/bp-asm.h: Remove file.
19109         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19110         (PARMS): Do not use macros from bp-asm.h.
19111         (S1): Likewise.
19112         (S2): Likewise.
19113         (SIZE): Likewise.
19114         (__mpn_add_n): Do not use BP_SYM
19115         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19116         "bp-asm.h".
19117         (PARMS): Do not use macros from bp-asm.h.
19118         (S1): Likewise.
19119         (SIZE): Likewise.
19120         (__mpn_addmul_1): Do not use BP_SYM
19121         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19122         "bp-asm.h".
19123         (PARMS): Do not use macros from bp-asm.h.
19124         (SIGMSK): Likewise.
19125         (_setjmp): Likewise.  Do not use BP_SYM.
19126         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19127         "bp-asm.h".
19128         (PARMS): Do not use macros from bp-asm.h.
19129         (SIGMSK): Likewise.
19130         (setjmp): Likewise.  Do not use BP_SYM.
19131         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19132         "bp-asm.h".
19133         (PARMS): Do not use macros from bp-asm.h.
19134         (__frexp): Do not use BP_SYM.
19135         (frexp): Likewise.
19136         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19137         "bp-asm.h".
19138         (PARMS): Do not use macros from bp-asm.h.
19139         (__frexpf): Do not use BP_SYM.
19140         (frexpf): Likewise.
19141         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19142         "bp-asm.h".
19143         (PARMS): Do not use macros from bp-asm.h.
19144         (__frexpl): Do not use BP_SYM.
19145         (frexpl): Likewise.
19146         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19147         "bp-asm.h".
19148         (PARMS): Do not use macros from bp-asm.h.
19149         (__remquo): Do not use BP_SYM.
19150         (remquo): Likewise.
19151         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19152         "bp-asm.h".
19153         (PARMS): Do not use macros from bp-asm.h.
19154         (__remquof): Do not use BP_SYM.
19155         (remquof): Likewise.
19156         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19157         "bp-asm.h".
19158         (PARMS): Do not use macros from bp-asm.h.
19159         (__remquol): Do not use BP_SYM.
19160         (remquol): Likewise.
19161         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19162         "bp-asm.h".
19163         (PARMS): Do not use macros from bp-asm.h.
19164         (DEST): Likewise.
19165         (SRC): Likewise.
19166         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
19167         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19168         "bp-asm.h".
19169         (PARMS): Do not use macros from bp-asm.h.
19170         (strlen): Do not use BP_SYM.
19171         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19172         "bp-asm.h".
19173         (PARMS): Do not use macros from bp-asm.h.
19174         (S1): Likewise.
19175         (S2): Likewise.
19176         (SIZE): Likewise.
19177         (__mpn_add_n): Do not use BP_SYM.
19178         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19179         "bp-asm.h".
19180         (PARMS): Do not use macros from bp-asm.h.
19181         (S1): Likewise.
19182         (SIZE): Likewise.
19183         (__mpn_addmul_1): Do not use BP_SYM.
19184         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19185         weak_alias.
19186         (bzero): Likewise.
19187         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19188         "bp-asm.h".
19189         (PARMS): Do not use macros from bp-asm.h.
19190         (S): Likewise.
19191         (SIZE): Likewise.
19192         (__mpn_lshift): Do not use BP_SYM.
19193         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19194         "bp-asm.h".
19195         (PARMS): Do not use macros from bp-asm.h.
19196         (DEST): Likewise.
19197         (SRC): Likewise.
19198         (LEN): Likewise.
19199         (memcpy): Likewise.  Do not use BP_SYM.
19200         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19201         libc_hidden_def and weak_alias.
19202         (mempcpy): Do not use BP_SYM in weak_alias.
19203         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19204         "bp-asm.h".
19205         (PARMS): Do not use macros from bp-asm.h.
19206         (DEST): Likewise.
19207         (LEN): Likewise.
19208         [!BZERO_P] (CHR): Likewise.
19209         (memset): Likewise.  Do not use BP_SYM.
19210         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19211         "bp-asm.h".
19212         (PARMS): Do not use macros from bp-asm.h.
19213         (S1): Likewise.
19214         (SIZE): Likewise.
19215         (__mpn_mul_1): Do not use BP_SYM.
19216         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19217         "bp-asm.h".
19218         (PARMS): Do not use macros from bp-asm.h.
19219         (S): Likewise.
19220         (SIZE): Likewise.
19221         (__mpn_rshift): Do not use BP_SYM.
19222         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19223         "bp-asm.h".
19224         (PARMS): Do not use macros from bp-asm.h.
19225         (STR): Likewise.
19226         (CHR): Likewise.
19227         (strchr): Likewise.  Do not use BP_SYM.
19228         (index): Do not use BP_SYM in weak_alias.
19229         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19230         "bp-asm.h".
19231         (PARMS): Do not use macros from bp-asm.h.
19232         (DEST): Likewise.
19233         (SRC): Likewise.
19234         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
19235         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19236         "bp-asm.h".
19237         (PARMS): Do not use macros from bp-asm.h.
19238         (strlen): Do not use BP_SYM.
19239         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19240         "bp-asm.h".
19241         (PARMS): Do not use macros from bp-asm.h.
19242         (S1): Likewise.
19243         (S2): Likewise.
19244         (SIZE): Likewise.
19245         (__mpn_sub_n): Do not use BP_SYM.
19246         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19247         "bp-asm.h".
19248         (PARMS): Do not use macros from bp-asm.h.
19249         (S1): Likewise.
19250         (SIZE): Likewise.
19251         (__mpn_submul_1): Do not use BP_SYM.
19252         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19253         "bp-asm.h".
19254         (PARMS): Do not use macros from bp-asm.h.
19255         (S1): Likewise.
19256         (S2): Likewise.
19257         (SIZE): Likewise.
19258         (__mpn_add_n): Do not use BP_SYM.
19259         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19260         weak_alias.
19261         (bzero): Likewise.
19262         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19263         "bp-asm.h".
19264         (PARMS): Do not use macros from bp-asm.h.
19265         (BLK2): Likewise.
19266         (LEN): Likewise.
19267         (memcmp): Do not use BP_SYM.
19268         (bcmp): Do not use BP_SYM in weak_alias.
19269         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19270         "bp-asm.h".
19271         (PARMS): Do not use macros from bp-asm.h.
19272         (DEST): Likewise.
19273         (SRC): Likewise.
19274         (LEN): Likewise.
19275         (memcpy): Likewise.  Do not use BP_SYM.
19276         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19277         "bp-asm.h".
19278         (PARMS): Do not use macros from bp-asm.h.
19279         (DEST): Likewise.
19280         (SRC): Likewise.
19281         (LEN): Likewise.
19282         (memmove): Likewise.  Do not use BP_SYM.
19283         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19284         "bp-asm.h".
19285         (PARMS): Do not use macros from bp-asm.h.
19286         (DEST): Likewise.
19287         (SRC): Likewise.
19288         (LEN): Likewise.
19289         (__mempcpy): Likewise.  Do not use BP_SYM.
19290         (mempcpy): Do not use BP_SYM in weak_alias.
19291         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19292         "bp-asm.h".
19293         (PARMS): Do not use macros from bp-asm.h.
19294         (DEST): Likewise.
19295         (LEN): Likewise.
19296         [!BZERO_P] (CHR): Likewise.
19297         (memset): Likewise.  Do not use BP_SYM.
19298         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19299         "bp-asm.h".
19300         (PARMS): Do not use macros from bp-asm.h.
19301         (STR2): Likewise.
19302         (strcmp): Do not use BP_SYM.
19303         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19304         "bp-asm.h".
19305         (PARMS): Do not use macros from bp-asm.h.
19306         (STR): Likewise.
19307         (DELIM): Likewise.
19308         [USE_AS_STRTOK_R] (SAVE): Likewise.
19309         (FUNCTION): Likewise.  Do not use BP_SYM.
19310         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19311         aliases.
19312         (strtok_r): Likewise.
19313         (__GI___strtok_r): Likewise.
19314         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19315         (PARMS): Do not use macros from bp-asm.h.
19316         (S): Likewise.
19317         (SIZE): Likewise.
19318         (__mpn_lshift): Do not use BP_SYM.
19319         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19320         (PARMS): Do not use macros from bp-asm.h.
19321         (STR): Likewise.
19322         (CHR): Likewise.
19323         (__memchr): Do not use BP_SYM.
19324         (memchr): Do not use BP_SYM in weak_alias.
19325         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19326         (PARMS): Do not use macros from bp-asm.h.
19327         (BLK2): Likewise.
19328         (LEN): Likewise.
19329         (memcmp): Do not use BP_SYM.
19330         (bcmp): Do not use BP_SYM in weak_alias.
19331         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19332         (PARMS): Do not use macros from bp-asm.h.
19333         (S1): Likewise.
19334         (SIZE): Likewise.
19335         (__mpn_mul_1): Do not use BP_SYM.
19336         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19337         "bp-asm.h".
19338         (PARMS): Do not use macros from bp-asm.h.
19339         (STR): Likewise.
19340         (CHR): Likewise.
19341         (__rawmemchr): Do not use BP_SYM.
19342         (rawmemchr): Do not use BP_SYM in weak_alias.
19343         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19344         (PARMS): Do not use macros from bp-asm.h.
19345         (S): Likewise.
19346         (SIZE): Likewise.
19347         (__mpn_rshift): Do not use BP_SYM.
19348         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19349         (PARMS): Do not use macros from bp-asm.h.
19350         (SIGMSK): Likewise.
19351         (__sigsetjmp): Likewise.  Do not use BP_SYM.
19352         * sysdeps/i386/start.S: Do not include "bp-sym.h".
19353         (_start): Do not use BP_SYM.
19354         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19355         (PARMS): Do not use macros from bp-asm.h.
19356         (DEST): Likewise.
19357         (SRC): Likewise.
19358         (__stpcpy): Likewise.  Do not use BP_SYM.
19359         (stpcpy): Do not use BP_SYM in weak_alias.
19360         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19361         "bp-asm.h".
19362         (PARMS): Do not use macros from bp-asm.h.
19363         (DEST): Likewise.
19364         (SRC): Likewise.
19365         (LEN): Likewise.
19366         (__stpncpy): Likewise.  Do not use BP_SYM.
19367         (stpncpy): Do not use BP_SYM in weak_alias.
19368         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19369         (PARMS): Do not use macros from bp-asm.h.
19370         (STR): Likewise.
19371         (CHR): Likewise.
19372         (strchr): Likewise.  Do not use BP_SYM.
19373         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19374         "bp-asm.h".
19375         (PARMS): Do not use macros from bp-asm.h.
19376         (STR): Likewise.
19377         (CHR): Likewise.
19378         (__strchrnul): Likewise.  Do not use BP_SYM.
19379         (strchrnul): Do not use BP_SYM in weak_alias.
19380         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19381         "bp-asm.h".
19382         (PARMS): Do not use macros from bp-asm.h.
19383         (STOP): Likewise.
19384         (strcspn): Do not use BP_SYM.
19385         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19386         "bp-asm.h".
19387         (PARMS): Do not use macros from bp-asm.h.
19388         (STR): Likewise.
19389         (STOP): Likewise.
19390         (strpbrk): Likewise.  Do not use BP_SYM.
19391         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19392         "bp-asm.h".
19393         (PARMS): Do not use macros from bp-asm.h.
19394         (STR): Likewise.
19395         (CHR): Likewise.
19396         (strrchr): Likewise.  Do not use BP_SYM.
19397         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19398         (PARMS): Do not use macros from bp-asm.h.
19399         (SKIP): Likewise.
19400         (strspn): Do not use BP_SYM.
19401         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19402         (PARMS): Do not use macros from bp-asm.h.
19403         (STR): Likewise.
19404         (DELIM): Likewise.
19405         (SAVE): Likewise.
19406         (FUNCTION): Likewise.  Do not use BP_SYM.
19407         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19408         aliases.
19409         (strtok_r): Likewise.
19410         (__GI___strtok_r): Likewise.
19411         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19412         (PARMS): Do not use macros from bp-asm.h.
19413         (S1): Likewise.
19414         (S2): Likewise.
19415         (SIZE): Likewise.
19416         (__mpn_sub_n): Do not use BP_SYM.
19417         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19418         "bp-asm.h".
19419         (PARMS): Do not use macros from bp-asm.h.
19420         (S1): Likewise.
19421         (SIZE): Likewise.
19422         (__mpn_submul_1): Do not use BP_SYM.
19423         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19424         <bp-sym.h>.
19425         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19426         and <bp-asm.h>.
19427         (PARMS): Do not use macros from bp-asm.h.
19428         (FLAGS): Likewise.
19429         (PTID): Likewise.
19430         (TLS): Likewise.
19431         (CTID): Likewise.
19432         (__clone): Do not use BP_SYM.
19433         (clone): Do not use BP_SYM in weak_alias.
19434         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19435         and <bp-asm.h>.
19436         (PARMS): Do not use macros from bp-asm.h.
19437         (LEN): Likewise.
19438         (__mmap64): Do not use BP_SYM.
19439         (mmap64): Do not use BP_SYM in weak_alias.
19440         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19441         <bp-sym.h> and <bp-asm.h>.
19442         (PARMS): Do not use macros from bp-asm.h.
19443         (__posix_fadvise64_l64): Do not use BP_SYM.
19444         * sysdeps/unix/sysv/linux/i386/semtimedop.S
19445         (PARMS): Do not use macros from bp-asm.h.
19446         (NSOPS): Likewise.
19447         (semtimedop): Do not use BP_SYM.
19448         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19449         and <bp-asm.h>.
19451 2013-02-21  Allan McRae  <allan@archlinux.org>
19453         * manual/message.texi (Charset conversion in gettext):
19454         Move @end statement to beginning of line.
19456 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19458         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19459         static.
19460         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19461         Likewise.
19463         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19464         (denorm): Likewise.
19465         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19466         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19468 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19470         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19471         tail-call to the resolved function if pltexit isn't needed.
19473 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19475         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19476         or Y being zero as being unlikely.
19477         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19478         Likewise.
19480 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
19482         * manual/nss.texi (System Databases and Name Service Switch):
19483         Remove frobnicate @pxref.
19485 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
19487         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19488         __attribute__ ((unused)) to __attribute__ ((__unused__)).
19490 2013-02-20  Petr Machata  <pmachata@redhat.com>
19492         * elf/elf.h (R_ARM_TARGET1): New macro.
19493         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19494         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19495         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19496         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19497         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19498         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19499         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19500         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19501         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19502         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19503         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19504         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19505         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19506         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19507         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19508         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19509         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19510         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19511         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19512         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19513         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19514         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19515         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19516         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19517         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19518         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19519         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19520         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19521         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19522         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19523         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19524         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19525         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19526         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19527         (R_ARM_THM_GOT_BREL12): Likewise.
19528         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19529         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19530         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19531         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19532         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19533         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19534         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19535         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19536         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19538 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
19540         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19541         __attribute_used__ to __attribute__ ((unused)).
19543 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19545         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19546         powerpc mpa.c.
19547         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19548         comment formatting.
19549         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19551 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
19553         [BZ #13550]
19554         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19555         Remove macro.
19556         (ENTER): Remove both macro definitions.
19557         (LEAVE): Likewise.
19558         (CHECK_BOUNDS_LOW): Likewise.
19559         (CHECK_BOUNDS_HIGH): Likewise.
19560         (CHECK_BOUNDS_BOTH): Likewise.
19561         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19562         (RETURN_BOUNDED_POINTER): Likewise.
19563         (RETURN_NULL_BOUNDED_POINTER): Likewise.
19564         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19565         (POP_ERRNO_LOCATION_RETURN): Likewise.
19566         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19567         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19568         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19569         macros.
19570         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19571         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19572         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19573         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19574         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19575         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19576         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19577         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19578         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19579         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19580         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19581         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19582         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19583         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19584         removed macros.
19585         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19586         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19587         macros.
19588         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19589         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19590         * sysdeps/i386/i586/memset.S (memset): Likewise.
19591         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19592         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19593         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19594         macros.
19595         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19596         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19597         Change uses of L(2) to L(out).
19598         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19599         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19600         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19601         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19602         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19603         removed macros.
19604         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19605         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19606         macros.
19607         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19608         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19609         (RETURN): Do not use macro LEAVE.
19610         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19611         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19612         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19613         * sysdeps/i386/i686/memset.S (memset): Likewise.
19614         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19615         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19616         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19617         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19618         Likewise.
19619         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19620         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
19621         L(1_2) and L(1_3) into L(1).
19622         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19623         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19624         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19625         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19626         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19627         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19628         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19629         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19630         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19631         macros.
19632         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19633         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19634         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19635         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19636         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19637         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19638         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19639         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19640         * sysdeps/i386/strcspn.S (strcspn): Likewise.
19641         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19642         * sysdeps/i386/strrchr.S (strrchr): Likewise.
19643         * sysdeps/i386/strspn.S (strspn): Likewise.
19644         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19645         conditional code.
19646         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19647         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19648         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19649         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
19650         L(1_3) into L(1_1).
19651         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19652         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19653         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19654         macros.
19655         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19657 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
19659         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19660         macro.
19662 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19664         * math/atest-exp.c (exp_mpn): Remove ROUND.
19665         * math/atest-exp2.c (exp_mpn): Likewise.
19666         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19668         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19669         * stdlib/tst-tls-atexit-lib.c: Likewise.
19670         * stdlib/tst-tls-atexit.c: Likewise.
19672 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19674         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19675         and __attribute_alloc_size__.
19677 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19679         * include/programs/xmalloc.h: Change __attribute_alloc_size to
19680         __attribute_alloc_size__.
19681         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19682         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19684 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19686         * include/programs/xmalloc.h: New file.
19687         * catgets/gencat.c: Include it.
19688         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19689         * elf/pldd.c: Likewise.
19690         * iconv/iconv_charmap.c: Likewise.
19691         * iconv/iconvconfig.c: Likewise.
19692         * iconv/strtab.c: Likewise.
19693         * locale/programs/locale.c: Likewise.
19694         * locale/programs/localedef.h: Likewise.
19695         * locale/programs/simple-hash.c: Likewise.
19696         * nscd/nscd.h: Likewise.
19697         * nss/makedb.c: Likewise.
19698         * sysdeps/generic/ldconfig.h: Likewise.
19700 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19702         * Versions.def: Add GLIBC_2.18.
19703         * include/link.h (struct link_map): New member l_tls_dtor_count.
19704         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19705         (__call_tls_dtors): Likewise.
19706         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19707         __cxa_thread_atexit_impl.
19708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19709         Likewise.
19710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19711         Likewise.
19712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19713         Likewise.
19714         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19715         Likewise.
19716         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19717         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19718         Likewise.
19719         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19720         Likewise.
19721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19722         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19723         Likewise.
19724         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19725         (tests): Add test case tst-tls-atexit.
19726         (modules-names): Add shared library for tst-tls-atexit.
19727         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19728         (GLIBC_PRIVATE): Add __call_tls_dtors.
19729         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19730         for libstdc++.
19731         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19732         * stdlib/tst-tls-atexit.c: New test case.
19733         * stdlib/tst-tls-atexit-lib.c: New test case.
19735         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19737         * elf/Versions (ld): Add _dl_find_dso_for_object.
19738         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19739         * elf/dl-open.c (_dl_find_dso_for_object): New function.
19740         (dl_open_worker): Use _dl_find_dso_for_object.
19741         * elf/dl-sym.c (do_sym): Likewise.
19742         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19744 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19746         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19747         Syntactic changes only.
19748         (_dl_runtime_profile): Do a tail-call to the resolved function.
19750 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
19752         [BZ #13550]
19753         * sysdeps/x86_64/bp-asm.h: Remove file.
19754         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19755         <bp-sym.h> and <bp-asm.h>.
19756         (__clone): Do not use BP_SYM.
19757         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19758         <bp-sym.h> and <bp-asm.h>.
19759         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19760         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19761         "bp-asm.h".
19762         (_setjmp): Do not use BP_SYM.
19763         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19764         "bp-asm.h".
19765         (setjmp): Do not use BP_SYM.
19766         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19767         libc_hidden_def.
19768         (mempcpy): Do not use BP_SYM in weak_alias.
19769         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19770         "bp-asm.h".
19771         (strchr): Do not use BP_SYM.
19772         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19773         "bp-asm.h".
19774         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19775         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19776         (_start): Do not use BP_SYM.
19777         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19778         "bp-asm.h".
19779         (strcat): Do not use BP_SYM.
19780         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19781         "bp-asm.h".
19782         (STRCMP): Do not use BP_SYM.
19783         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19784         "bp-asm.h".
19785         (STRCPY): Do not use BP_SYM.
19786         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19787         "bp-asm.h".
19788         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19789         "bp-asm.h".
19790         (FUNCTION): Do not use BP_SYM.
19791         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19792         weak_alias.
19793         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19795 2013-02-17  Andreas Jaeger  <aj@suse.de>
19797         * time/Versions: Sort entries.
19798         * string/Versions: Likewise.
19799         * resolv/Versions: Likewise.
19800         * posix/Versions: Likewise.
19801         * iconv/Versions: Likewise.
19802         * elf/Versions: Likewise.
19803         * wcsmbs/Versions: Likewise.
19805 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19807         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19808         loop termination condition.
19810         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19811         variable to calculate EZ.
19812         (__sqr): Likewise.
19814         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19815         the lower precision input.
19817 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
19819         [BZ #13550]
19820         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19821         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19822         (run-via-rtld-prefix): Do not handle %-bp tests.
19823         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19824         (all-object-suffixes): Remove .ob.
19825         (bppfx): Remove variable.
19826         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19827         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19828         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19829         [$(build-bounded) = yes] (libtype.ob): Likewise.
19830         * Makerules (elide-routines.ob): Remove variable.
19831         (do-tests-clean): Do not handle *-bp.out.
19832         (common-mostlyclean): Do not handle *-bp and *-bp.out.
19833         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19834         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19835         (tests): Do not include $(tests-bp.out).
19836         (xtests): Do not include $(xtests-bp.out).
19837         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19838         [$(build-bounded) = yes] ($(addprefix
19839         $(objpfx),$(binaries-bounded))): Remove rule.
19840         ($(objpfx)%-bp.out): Remove rule.
19841         * config.make.in (build-bounded): Remove variable.
19842         * crypt/Makefile [$(build-bounded) = yes]
19843         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19844         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19845         append to variable.
19846         [$(build-bounded) = yes] (install-lib): Likewise.
19847         [$(build-bounded) = yes] (generated): Likewise.
19848         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19849         Remove rule.
19850         * intl/Makefile [$(build-bounded) = yes]
19851         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19852         * math/Makefile [$(build-bounded) = yes]
19853         ($(tests:%=$(objpfx)%-bp): Likewise.
19854         * misc/Makefile [$(build-bounded) = yes]
19855         ($(objpfx)tst-tsearch-bp): Likewise.
19856         * nptl/Makeconfig (bounded-thread-library): Remove variable.
19857         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19858         Remove dependency.
19859         * string/Makefile (o-objects.ob): Remove variable.
19860         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19861         (CFLAGS-.ob): Remove variable.
19862         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19863         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19864         both definitions of variable.
19865         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19866         (ASFLAGS-.ob): Remove variable.
19868 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
19870         [BZ #13550]
19871         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19872         Remove __BOUNDED_POINTERS__ from condition.
19873         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19874         * string/bits/string2.h [!__NO_STRING_INLINES &&
19875         !__BOUNDED_POINTERS__]: Likewise.
19876         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19877         Likewise.
19878         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19879         Remove conditional code.
19880         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19881         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19882         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19883         condition.
19885         [BZ #13550]
19886         * csu/libc-start.c: Do not include <bp-sym.h>.
19887         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19888         * elf/dl-open.c: Do not include <bp-sym.h>.
19889         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19890         * math/fegetenv.c: Do not include <bp-sym.h>.
19891         (fegetenv): Do not use BP_SYM in versioned symbols.
19892         * nptl/sysdeps/pthread/bits/libc-lockP.h
19893         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19894         <bp-sym.h>.
19895         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19896         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19897         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19898         (__pthread_mutex_destroy): Likewise.
19899         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19900         (__pthread_mutex_lock): Likewise.
19901         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19902         (__pthread_mutex_trylock): Likewise.
19903         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19904         (__pthread_mutex_unlock): Likewise.
19905         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19906         (__pthread_mutexattr_init): Likewise.
19907         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19908         (__pthread_mutexattr_destroy): Likewise.
19909         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19910         (__pthread_mutexattr_settype): Likewise.
19911         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19912         (__pthread_rwlock_init): Likewise.
19913         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19914         (__pthread_rwlock_destroy): Likewise.
19915         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19916         (__pthread_rwlock_rdlock): Likewise.
19917         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19918         (__pthread_rwlock_tryrdlock): Likewise.
19919         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19920         (__pthread_rwlock_wrlock): Likewise.
19921         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19922         (__pthread_rwlock_trywrlock): Likewise.
19923         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19924         (__pthread_rwlock_unlock): Likewise.
19925         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19926         (__pthread_key_create): Likewise.
19927         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19928         (__pthread_setspecific): Likewise.
19929         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19930         (__pthread_getspecific): Likewise.
19931         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19932         Likewise.
19933         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19934         (_pthread_cleanup_push_defer): Likewise.
19935         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19936         (_pthread_cleanup_pop_restore): Likewise.
19937         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19938         (pthread_setcancelstate): Likewise.
19939         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19940         <bp-sym.h>.
19941         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19942         (memchr): Do not use BP_SYM in weak_alias.
19943         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19944         (fegetenv): Do not use BP_SYM in versioned symbols.
19945         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19946         (fesetenv): Do not use BP_SYM in versioned symbols.
19947         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19948         (feupdateenv): Do not use BP_SYM in versioned symbols.
19949         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19950         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19951         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19952         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19953         (open64): Do not use BP_SYM in weak_alias.
19954         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19955         (fegetenv): Do not use BP_SYM in versioned symbols.
19956         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19957         (fesetenv): Do not use BP_SYM in versioned symbols.
19958         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19959         (feupdateenv): Do not use BP_SYM in versioned symbols.
19960         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19961         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19962         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19963         (feraiseexcept): Do not use BP_SYM in versioned symbols.
19964         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19965         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19966         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19967         <bp-sym.h>.
19968         (__libc_start_main): Do not use BP_SYM.
19970 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19972         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19973         redundant return line.
19974         (norm): Likewise.
19975         (denorm): Likewise.
19976         (dbl_mp): Likewise.
19977         (sub_magnitudes): Likewise.
19978         (__add): Likewise.
19979         (__sub): Likewise.
19980         (__mul): Likewise.
19981         (__inv): Likewise.
19982         (__dvd): Likewise.
19983         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19984         (norm): Likewise.
19985         (denorm): Likewise.
19986         (dbl_mp): Likewise.
19987         (sub_magnitudes): Likewise.
19988         (__add): Likewise.
19989         (__sub): Likewise.
19990         (__mul): Likewise.
19991         (__inv): Likewise.
19992         (__dvd): Likewise.
19994         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19995         instead of __mul.
19996         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19997         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19998         (cc32): Likewise.
20000         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20001         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20002         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20003         of __mul for squares.
20004         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20005         function
20006         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20007         Likewise.
20008         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20009         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20011 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
20013         [BZ #13550]
20014         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20015         code.
20016         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20017         prototype or function definition.  Rename ubp_* variables and
20018         parameters.  Remove argv definitions conditional on
20019         [__BOUNDED_POINTERS__].
20020         * debug/backtrace.c (__backtrace): Do not use __unbounded.
20021         * elf/dl-runtime.c (_dl_fixup): Likewise.
20022         * include/set-hooks.h (RUN_HOOK): Likewise.
20023         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20024         definition.
20025         * string/strcpy.c (strcpy): Do not use __unbounded.
20026         * sysdeps/generic/frame.h (struct layout): Likewise.
20027         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20028         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20029         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20030         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20031         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20032         (__backtrace): Likewise.
20033         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20034         use __ptrvalue.
20035         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20036         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20037         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20038         Likewise.
20039         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20040         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20041         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20042         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20043         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20044         Do not use __unbounded.
20045         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20046         Rename __unboundedrlimits parameter to rlimits in prototype.
20047         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20048         Do not use __unbounded.
20049         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20050         not use __ptrvalue.
20051         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20052         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20053         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20054         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20055         __ptrvalue or __unbounded.
20056         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20057         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20058         use __unbounded.
20059         (__new_msgctl): Do not use __ptrvalue.
20060         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20061         __unbounded.
20062         (__libc_msgrcv): Do not use __ptrvalue.
20063         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20064         startup_info): Do not use __unbounded.
20065         (__libc_start_main): Likewise.  Rename ubp_* variables and
20066         parameters.  Remove argv definitions conditional on
20067         [__BOUNDED_POINTERS__].
20068         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20069         __ptrvalue.
20070         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20071         use __unbounded.
20072         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20073         or __ptrvalue.
20074         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20075         use __unbounded.
20076         (__new_shmctl): Do not use __ptrvalue.
20077         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20078         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20079         Likewise.
20080         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20081         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20082         (__libc_sigaction): Likewise.
20083         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20084         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20085         Likewise.
20086         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20088 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
20090         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
20092         * string/mempcpy.c: Implement by calling memcpy.
20094 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20096         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20098         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20099         evaluation.
20101         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20102         values in the mantissa.
20104         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20105         minimize writes to Z.
20106         (sub_magnitudes): Simplify code a bit.
20108 2013-02-12  Roland McGrath  <roland@hack.frob.com>
20110         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20111         from the message.  The linker prefixes all warnings with that already.
20113 2013-02-12  Andreas Schwab  <schwab@suse.de>
20115         [BZ #15078]
20116         * posix/regexec.c (extend_buffers): Add parameter min_len.
20117         (check_matching): Pass minimum needed length.
20118         (clean_state_log_if_needed): Likewise.
20119         (get_subexp): Likewise.
20120         * posix/Makefile (tests): Add bug-regex34.
20121         (bug-regex34-ENV): Define.
20122         * posix/bug-regex34.c: New file.
20124         [BZ #11561]
20125         * posix/regcomp.c (parse_bracket_exp): When looking up collating
20126         elements compare against the byte sequence of it, not its name.
20127         * posix/Makefile (tests): Add bug-regex35.
20128         (bug-regex35-ENV): Define.
20129         * posix/bug-regex35.c: New file.
20131 2013-02-11  Tom de Vries  <tom@codesourcery.com>
20133         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
20134         comment.
20135         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20136         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20137         (CHECK_EOL): Add undef.
20139 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
20141         * bits/stdlib-bsearch.h: New file.
20142         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
20143         * stdlib/stdlib.h: Likewise.
20145 2013-02-11  Roland McGrath  <roland@hack.frob.com>
20147         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20148         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20149         declaration.
20150         * manual/search.texi (Array Search Function): Add missing const in
20151         lfind prototype.
20152         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20153         declaration to use rlim_t.
20154         (Basic Scheduling Functions): Remove erroneous const from
20155         sched_getparam prototype.  Remove erroneous * from
20156         sched_get_priority_max and sched_get_priority_min prototypes.
20157         (Resource Usage): Fix summary @comment on vtimes to refer to
20158         sys/vtimes.h rather than vtimes.h.
20159         Add missing *s in vtimes prototype.
20160         (Limits on Resources): Fix ulimit prototype to return long int.
20161         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20162         prototypes to use long int rather than double.
20163         (BSD Random): Fix initstate and setstate to use char *, not void *.
20164         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20165         prototype to make second argument 'struct aiocb64 *const[]'.
20166         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20167         (Status of AIO Operations): Remove erroneous const in aio_return and
20168         aio_return64 prototypes.
20169         (Synchronizing I/O): Fix sync prototype to return void.
20170         * manual/startup.texi (Suboptions): Remove an erroneous const in
20171         getsubopt prototype.
20172         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20173         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20174         use size_t rather than int.
20175         (Scanning All Users): Likewise for getpwent_r.
20176         (Setting Groups): Add missing const to setgroups prototype.
20177         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20178         * manual/socket.texi (Host Names): Fix gethostbyaddr and
20179         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20180         'const void *' rather than 'const char *'.
20181         (Host Address Functions): Likewise for inet_ntop.
20182         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20183         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20184         ssize_t for return value.
20185         (Sending Data): Likewise for send, sendto, sendmsg.
20186         (Socket Option Functions): Add a missing const in setsockopt prototype.
20187         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20188         use wchar_t for the argument.
20189         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20190         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20191         take no arguments.
20192         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20193         double/float/long double for second argument.
20194         Fix return types of significand, significandf, significandl.
20195         * manual/filesys.texi (Setting Permissions): Use mode_t for second
20196         argument in fchmod prototype.
20197         (File Owner): Use uid_t and gid_t in fchown prototype.
20198         (File Times): Add const to utimes, futimes, and lutimes prototypes.
20199         (Making Special Files): Use mode_t and dev_t in mknod prototype.
20200         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20201         use 'const struct dirent **' as argument types to CMP function pointer
20202         argument.
20203         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20204         (File Times): Fix summary magic @comment for struct utimbuf and utime
20205         to refer to utime.h, not time.h.
20206         * manual/string.texi (Argz Functions): Add missing const in
20207         argz_extract and argz_next prototypes.
20208         (Finding Tokens in a String): Likewise for basename.
20209         (String/Array Comparison): Fix typo in wcscasecmp prototype.
20210         (Copying and Concatenation): Fix typo in wmemmove prototype.
20211         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20212         (Signal Stack): Remove erroneous const in sigstack prototype.
20213         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20214         prototype.
20215         (Simple Calendar Time): Likewise for stime.
20216         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20217         prototype.
20218         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20219         say sys/sysctl.h instead.
20220         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20221         and vsyslog prototypes.
20223 2013-02-11  Tom de Vries  <tom@codesourcery.com>
20225         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20226         Remove.
20228 2013-02-11  Roland McGrath  <roland@hack.frob.com>
20230         * misc/sys/mman.h: Fix typo in mremap comment.
20232 2013-02-08  Roland McGrath  <roland@hack.frob.com>
20234         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20235         the '\0' terminator.
20237 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
20239         [BZ #13550]
20240         * debug/segfault.c: Don't include <bp-checks.h>.
20241         * sysdeps/generic/bp-checks.h: Remove file.
20242         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20243         (__GETDENTS): Don't use CHECK_N.
20244         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20245         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20246         (__getgroups): Don't use CHECK_N.
20247         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20248         (setgroups): Don't use CHECK_N.
20249         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20250         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20251         (__libc_msgrcv): Don't use CHECK_N.
20252         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20253         (__libc_msgsnd): Don't use CHECK_N.
20254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20255         <bp-checks.h>.
20256         (__libc_pread): Don't use CHECK_N.
20257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20258         include <bp-checks.h>.
20259         (__libc_pread64): Don't use CHECK_N.
20260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20261         include <bp-checks.h>.
20262         (__libc_pwrite): Don't use CHECK_N.
20263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20264         include <bp-checks.h>.
20265         (__libc_pwrite64): Don't use CHECK_N.
20266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20267         <bp-checks.h>.
20268         (__libc_pread): Don't use CHECK_N.
20269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20270         include <bp-checks.h>.
20271         (__libc_pread64): Don't use CHECK_N.
20272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20273         include <bp-checks.h>.
20274         (__libc_pwrite): Don't use CHECK_N.
20275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20276         include <bp-checks.h>.
20277         (__libc_pwrite64): Don't use CHECK_N.
20278         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20279         (do_pread): Don't use CHECK_N.
20280         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20281         (do_pread64): Don't use CHECK_N.
20282         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20283         (do_pwrite): Don't use CHECK_N.
20284         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20285         (do_pwrite64): Don't use CHECK_N.
20286         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20287         (__libc_readv): Don't use CHECK_N.
20288         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20289         (semop): Don't use CHECK_N.
20290         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20291         <bp-checks.h>.
20292         (semtimedop): Don't use CHECK_N.
20293         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20294         (__libc_pread): Don't use CHECK_N.
20295         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20296         <bp-checks.h>.
20297         (__libc_pread64): Don't use CHECK_N.
20298         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20299         <bp-checks.h>.
20300         (__libc_pwrite): Don't use CHECK_N.
20301         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20302         <bp-checks.h>.
20303         (__libc_pwrite64): Don't use CHECK_N.
20304         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20305         <bp-checks.h>.
20306         (__libc_msgrcv): Don't use CHECK_N.
20307         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20308         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
20309         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20310         (__libc_writev): Don't use CHECK_N.
20312 2013-02-08  Roland McGrath  <roland@hack.frob.com>
20314         * string/strcpy.c: Removed unused variable.
20316         * Makeconfig (+sysdep-includes): Define with := rather than =.
20317         Use an existing include/ subdir of each sysdeps dir before it.
20319 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
20321         * nscd/connection.c (register_traced_file): Comment function.
20322         [HAVE_INOTIFY] (union __inev): Define.
20323         [HAVE_INOTIFY] (inotify_check_files): New function.
20324         [HAVE_INOTIFY] (clear_db_cache): Likewise.
20325         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20326         clear_db_cache.
20327         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20329 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
20331         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20332         loaded if not already and that a failure is permanent.
20334 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
20336         [BZ #15006]
20337         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20338         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20340 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
20342         [BZ #13550]
20343         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20344         (CHECK_1_NULL_OK): Likewise.
20345         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20346         (__fxstat): Do not use CHECK_1.
20347         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20348         <bp-checks.h>.
20349         (___fxstat64): Do not use CHECK_1.
20350         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20351         <bp-checks.h>.
20352         (__fxstatat): Do not use CHECK_1.
20353         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20354         <bp-checks.h>.
20355         (__fxstatat64): Do not use CHECK_1.
20356         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20357         <bp-checks.h>.
20358         (__fxstat): Do not use CHECK_1.
20359         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20360         <bp-checks.h>.
20361         (__fxstatat): Do not use CHECK_1.
20362         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20363         <bp-checks.h>.
20364         (__getresgid): Do not use CHECK_1.
20365         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20366         <bp-checks.h>.
20367         (__getresuid): Do not use CHECK_1.
20368         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20369         <bp-checks.h>.
20370         (__lxstat): Do not use CHECK_1.
20371         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20372         <bp-checks.h>.
20373         (__old_msgctl): Do not use CHECK_1.
20374         (__new_msgctl): Likewise.
20375         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20376         <bp-checks.h>.
20377         (__new_setrlimit): Do not use CHECK_1.
20378         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20379         <bp-checks.h>.
20380         (__old_shmctl): Do not use CHECK_1.
20381         (__new_shmctl): Likewise.
20382         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20383         <bp-checks.h>.
20384         (__xstat): Do not use CHECK_1.
20385         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20386         (__lxstat): Do not use CHECK_1.
20387         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20388         <bp-checks.h>.
20389         (___lxstat64): Do not use CHECK_1.
20390         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20391         (__old_msgctl): Do not use CHECK_1.
20392         (__new_msgctl): Likewise.
20393         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20394         <bp-checks.h>.
20395         (__gettimeofday): Do not use CHECK_1.
20396         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20397         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20398         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20399         <bp-checks.h>.
20400         (__gettimeofday): Do not use CHECK_1.
20401         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20402         (__old_shmctl): Do not use CHECK_1_NULL_OK.
20403         (__new_shmctl): Do not use CHECK_1.
20404         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20405         <bp-checks.h>.
20406         (do_sigtimedwait): Do not use CHECK_1.
20407         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20408         <bp-checks.h>.
20409         (do_sigwaitinfo): Do not use CHECK_1.
20410         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20411         <bp-checks.h>.
20412         (msgctl): Do not use CHECK_1.
20413         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20414         <bp-checks.h>.
20415         (shmctl): Do not use CHECK_1.
20416         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20417         (ustat): Do not use CHECK_1.
20418         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20419         <bp-checks.h>.
20420         (__fxstat): Do not use CHECK_1.
20421         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20422         <bp-checks.h>.
20423         (__fxstatat): Do not use CHECK_1.
20424         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20425         <bp-checks.h>.
20426         (__lxstat): Do not use CHECK_1.
20427         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20428         <bp-checks.h>.
20429         (__xstat): Do not use CHECK_1.
20430         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20431         (__xstat): Do not use CHECK_1.
20432         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20433         (___xstat64): Do not use CHECK_1.
20435         [BZ #13550]
20436         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20437         definitions.
20438         (CHECK_BOUNDS_HIGH): Likewise.
20439         * string/strcpy.c: Do not include <bp-checks.h>.
20440         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20442 2013-02-07  Roland McGrath  <roland@hack.frob.com>
20444         * nscd/nscd-client.h (__nscd_drop_map_ref):
20445         Add __attribute__ ((unused)).
20446         * nis/nss-nisplus.h (niserr2nss): Likewise.
20448         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20449         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20451         * csu/libc-tls.c (init_static_tls, init_slotinfo):
20452         Remove inline keyword.
20453         * include/rounding-mode.h (round_away): Likewise.
20454         * libio/wfileops.c (adjust_wide_data): Likewise.
20455         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20456         (__m128i_strloadu_tolower): Likewise.
20457         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20458         (__m128i_strloadu_tolower): Likewise.
20459         * time/mktime.c (ydhms_diff): Likewise.
20460         * locale/elem-hash.h (elem_hash): Likewise.
20461         * locale/setlocale.c (setdata): Likewise.
20462         * posix/regex_internal.h (re_string_char_size_at): Likewise.
20463         (re_string_wchar_at): Likewise.
20464         (bitset_not, bitset_merge, bitset_mask): Likewise.
20465         [!(__GNUC__ > 3)] (inline): Remove macro.
20466         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20467         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20468         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20469         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20470         * string/memcmp.c (memcmp_bytes): Likewise.
20471         * locale/programs/locarchive.c (compute_hashval): Likewise.
20472         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20473         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20474         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20475         * nss/getent.c (print_rpc, print_protocols): Likewise.
20476         (print_passwd, print_group, print_aliases): Likewise.
20477         * nis/nss-nisplus.h (niserr2nss): Likewise.
20478         * nscd/connections.c (restart_p): Likewise.
20479         Change return type to bool.
20481 2013-02-05  Roland McGrath  <roland@hack.frob.com>
20483         * Makeconfig (all-Depend-files): Add existing
20484         $(sorted-subdirs:=/Depend) files.
20485         (all-subdirs): Remove nss.
20486         * sysdeps/unix/inet/Subdirs: Add it here instead.
20487         * hesiod/Depend: New file.
20489         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20490         instead of calling alloca.
20492         * io/lseek.c (__lseek): Rename to __libc_lseek.
20493         Define __lseek as an alias.
20495         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20497 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
20499         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20500         else clause and remove check for non-standard endianness.
20502 2013-02-04  David S. Miller  <davem@davemloft.net>
20504         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20506 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
20508         [BZ #13550]
20509         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20510         (__ubp_memchr): Remove prototype.
20511         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20512         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20513         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20514         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20515         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20516         Remove alias.
20517         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20518         (__ubp_memchr): Likewise.
20519         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20520         (__ubp_memchr): Likewise.
20521         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20522         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20523         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20524         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20525         CHECK_STRING.
20526         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20527         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20528         (__getcwd): Do not use CHECK_STRING.
20529         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20530         <bp-checks.h>.
20531         (__real_chown): Do not use CHECK_STRING.
20532         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20533         <bp-checks.h>.
20534         (fchownat): Do not use CHECK_STRING.
20535         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20536         CHECK_STRING.
20537         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20538         <bp-checks.h>.
20539         (__lchown): Do not use CHECK_STRING.
20540         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20541         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20542         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20543         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20545         include <bp-checks.h>.
20546         (truncate64): Do not use CHECK_STRING.
20547         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20548         <bp-checks.h>.
20549         (__real_chown): Do not use CHECK_STRING.
20550         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20551         <bp-checks.h>.
20552         (__lchown): Do not use CHECK_STRING.
20553         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20554         <bp-checks.h>.
20555         (__chown): Do not use CHECK_STRING.
20556         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20557         <bp-checks.h>.
20558         (truncate64): Do not use CHECK_STRING.
20559         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20560         Likewise.
20561         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20562         (__xmknod): Do not use CHECK_STRING.
20563         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20564         <bp-checks.h>.
20565         (__xmknodat): Do not use CHECK_STRING.
20566         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20567         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20569 2013-02-04  Andreas Schwab  <schwab@suse.de>
20571         [BZ #14142]
20572         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20573         * include/netdb.h: Likewise for h_errno.
20574         * elf/tst-stackguard1.c: Include <tls.h>.
20576 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
20578         * elf/link.h (struct link_map): Extend the l_addr comment.
20579         * include/link.h (struct link_map): Likewise.
20581 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
20583         [BZ #13550]
20584         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20585         (BOUNDED_1): Remove macro.
20586         * debug/backtrace.c: Don't include <bp-checks.h>.
20587         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20588         (__backtrace): Likewise.
20589         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20590         <bp-checks.h>.
20591         (__backtrace): Don't use BOUNDED_1.
20592         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20593         <bp-checks.h>.
20594         (__backtrace): Don't use BOUNDED_1.
20595         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20596         (__backtrace): Don't use BOUNDED_1.
20597         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20598         (shmat): Don't use BOUNDED_N.
20600 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
20602         [BZ #13550]
20603         * sysdeps/generic/bp-start.h: Remove file.
20604         * csu/libc-start.c: Don't include <bp-start.h>.
20605         (LIBC_START_MAIN): Set up __environ directly instead of using
20606         INIT_ARGV_and_ENVIRON.
20607         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20608         <bp-start.h>.
20610         [BZ #13550]
20611         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20612         definitions.
20613         (CHECK_FCNTL): Likewise.
20614         (CHECK_N_PAGES): Likewise.
20616         [BZ #13550]
20617         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20618         definitions.
20619         (CHECK_SIGSET_NULL_OK): Likewise.
20620         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20621         <bp-checks.h>.
20622         (sigpending): Don't use CHECK_SIGSET.
20623         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20624         <bp-checks.h>.
20625         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20626         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20627         <bp-checks.h>.
20628         (do_sigsuspend): Don't use CHECK_SIGSET.
20629         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20630         use CHECK_SIGSET.
20631         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20632         (do_sigwait): Don't use CHECK_SIGSET.
20633         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20634         use CHECK_SIGSET.
20635         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20636         include <bp-checks.h>.
20637         (sigpending): Don't use CHECK_SIGSET.
20638         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20639         include <bp-checks.h>.
20640         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20641         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20642         <bp-checks.h>.
20643         (sigpending): Don't use CHECK_SIGSET.
20644         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20645         <bp-checks.h>.
20646         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20648         [BZ #13550]
20649         * sysdeps/generic/bp-semctl.h: Remove file.
20650         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20651         <bp-checks.h> and <bp-semctl.h>.
20652         (__old_semctl): Don't use CHECK_SEMCTL.
20653         (__new_semctl): Likewise.
20654         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20655         and <bp-semctl.h>.
20656         (__old_semctl): Don't use CHECK_SEMCTL.
20657         (__new_semctl): Likewise.
20658         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20659         <bp-checks.h> and <bp-semctl.h>.
20660         (__old_semctl): Don't use CHECK_SEMCTL.
20661         (__new_semctl): Likewise.
20662         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20663         <bp-checks.h> and <bp-semctl.h>.
20664         (semctl): Don't use CHECK_SEMCTL.
20666         [BZ #13550]
20667         * Makerules (elide-bp-thunks): Remove variable.
20668         (elide-routines.oS): Don't use $(elide-bp-thunks).
20669         (elide-routines.os): Likewise.
20670         (elide-routines.o): Likewise.
20671         (elide-routines.op): Likewise.
20672         (elide-routines.og): Likewise.
20673         (objects): Don't use $(bp-thunks).
20674         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20675         include.
20676         (common-generated): Do not add s-proto-bp.d.
20677         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20678         (int): Likewise.
20679         (typ): Likewise.
20680         Do not generate makefile rules for bounded-pointer thunks.
20681         * sysdeps/generic/bp-thunks.h: Remove file.
20682         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20683         * sysdeps/unix/s-proto-bp.S: Likewise.
20685         [BZ #15062]
20686         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20687         parts of result separately when argument is not close to line from
20688         -i to i and one part of argument is small.
20689         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20690         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20691         * math/libm-test.inc (cacos_test): Add more tests.
20692         (casin_test): Likewise.
20693         (casinh_test): Likewise.
20694         * sysdeps/i386/fpu/libm-test-ulps: Update.
20695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20697 2013-01-31  David S. Miller  <davem@davemloft.net>
20699         * po/de.po: Update from translation team.
20701 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
20703         * time/tzfile.c: Include stdint.h for SIZE_MAX.
20705 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
20707         * configure.in (_AC_PROG_CC_C89): New definition.
20708         * configure: Regenerate.
20710         * configure.in (AC_PROG_CPP): New definition.
20711         * configure: Regenerate.
20713 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
20715         * debug/tst-backtrace.h: New file.
20716         * debug/tst-backtrace2.c: Include tst-backtrace.h.
20717         (ret): Remove variable.
20718         (x): Likewise.
20719         (FAIL): Remove macro.
20720         (NO_INLINE): Likewise.
20721         (fn1): Use match function instead of strstr.
20722         * debug/tst-backtrace3.c: Include tst-backtrace.h.
20723         (ret): Remove variable.
20724         (x): Likewise.
20725         (FAIL): Remove macro.
20726         (NO_INLINE): Likewise.
20727         (fn): Use match function instead of strstr.
20728         * debug/tst-backtrace4.c: Include tst-backtrace.h.
20729         (ret): Remove variable.
20730         (x): Likewise.
20731         (FAIL): Remove macro.
20732         (NO_INLINE): Likewise.
20733         (handle_signal): Use match function instead of strstr.
20734         * debug/tst-backtrace5.c: Include tst-backtrace.h.
20735         (ret): Remove variable.
20736         (x): Likewise.
20737         (FAIL): Remove macro.
20738         (NO_INLINE): Likewise.
20739         (handle_signal): Use match function instead of strstr.
20741 2013-01-23  Roland McGrath  <roland@hack.frob.com>
20743         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20745 2013-01-23  David S. Miller  <davem@davemloft.net>
20747         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20748         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20749         argument of CAS if possible.
20750         * sysdeps/sparc/sparc64/bits/atomic.h
20751         (__arch_compare_and_exchange_val_32_acq): Likewise.
20752         (__arch_compare_and_exchange_val_64_acq): Likewise.
20754 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
20756         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20757         * sysdeps/posix/ulimit.c: ... this.
20758         Include <limits.h>.
20759         * sysdeps/unix/bsd/ulimit.c: Remove file.
20761 2013-01-23  Adam Conrad  <adconrad@0c3.net>
20763         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20764         (LDFLAGS-tst-array5): Likewise.
20766 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
20768         [BZ #15036]
20769         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20770         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20771         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20772         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20774 2013-01-21  David S. Miller  <davem@davemloft.net>
20776         * sysdeps/sparc/backtrace.c: New file.
20777         * sysdeps/sparc/sparc32/backtrace.h: New file.
20778         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20779         * sysdeps/sparc/sparc64/backtrace.h: New file.
20780         * sysdeps/sparc/sparc64/backtrace.c: Delete.
20781         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20782         -funwind-tables.
20784 2013-01-21  Andreas Schwab  <schwab@suse.de>
20786         [BZ #15020]
20787         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20788         closed its stdout.
20790 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
20792         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20793         "mpa2.h".
20794         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20796 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
20797             Mark Mitchell  <mark@codesourcery.com>
20798             Tom de Vries  <tom@codesourcery.com>
20799             Paul Pluzhnikov  <ppluzhnikov@google.com>
20801         * debug/tst-backtrace2.c: New file.
20802         * debug/tst-backtrace3.c: Likewise.
20803         * debug/tst-backtrace4.c: Likewise.
20804         * debug/tst-backtrace5.c: Likewise.
20805         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20806         (CFLAGS-tst-backtrace3.c): Likewise.
20807         (CFLAGS-tst-backtrace4.c): Likewise.
20808         (CFLAGS-tst-backtrace5.c): Likewise.
20809         (LDFLAGS-tst-backtrace2): Likewise.
20810         (LDFLAGS-tst-backtrace3): Likewise.
20811         (LDFLAGS-tst-backtrace4): Likewise.
20812         (LDFLAGS-tst-backtrace5): Likewise.
20813         (tests): Add new tests tst-backtrace2, tst-backtrace3,
20814         tst-backtrace4 and tst-backtrace5.
20816 2013-01-18  Anton Blanchard  <anton@samba.org>
20817             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20819         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20820         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20821         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20822         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20824         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20825         "+r" and remove output regs list as redundant.  Add explicit inline
20826         asm to specify register of return val to work around compiler codegen
20827         bug.  Remove (int) cast on return value.  Add return type parameter to
20828         use in macro so that this macro does not truncate return value for
20829         64-bit values.
20830         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20831         pass to INTERNAL_VSYSCALL_NCS.
20832         (INLINE_VSYSCALL): Add 'long int' as return type to
20833         INTERNAL_VSYSCALL_NCS macro invocation.
20834         (INTERNAL_VSYSCALL): Add 'long int' as return type to
20835         INTERNAL_VSYSCALL_NCS macro invocation.
20836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20838 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20840         [BZ #14496]
20841         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20842         Fix application of SIMD FP exception mask.
20844         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20845         mp_no from a power of two.
20846         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20847         __mpexp_twomm1.  Use __pow_mp.
20849         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20850         multiplication.
20852 2013-01-17  David S. Miller  <davem@davemloft.net>
20854         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20856 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
20858         [BZ #15023]
20859         * include/complex.h: Condition contents on [!_COMPLEX_H].
20860         (__kernel_casinhf): New prototype.
20861         (__kernel_casinh): Likewise.
20862         (__kernel_casinhl): Likewise.
20863         * math/Makefile (libm_calls): Add k_casinh.
20864         * math/k_casinh.c: New file.
20865         * math/k_casinhf.c: Likewise.
20866         * math/k_casinhl.c: Likewise.
20867         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20868         finite nonzero arguments.
20869         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20870         finite nonzero arguments.
20871         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20872         finite nonzero arguments.
20873         * math/s_casinh.c: Do not include <float.h>.
20874         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20875         * math/s_casinhf.c: Do not include <float.h>.
20876         (__casinhf): Move code for finite nonzero arguments to
20877         k_casinhf.c.
20878         * math/s_casinhl.c: Do not include <float.h>.
20879         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20880         redefine.
20881         (__casinhl): Move code for finite nonzero arguments to
20882         k_casinhl.c.
20883         * math/libm-test.inc (cacos_test): Add more tests.
20884         * sysdeps/i386/fpu/libm-test-ulps: Update.
20885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20887 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
20889         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20890         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20891         [!HAVE_MREMAP]: Remove [defined linux] case.
20892         * malloc/arena.c: Do not include <malloc-sysdep.h>.
20894 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20896         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20898 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
20900         * elf/elf.h (R_386_SIZE32): New relocation.
20901         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20902         R_386_SIZE32.
20903         (elf_machine_rela): Likewise.
20904         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20905         R_X86_64_SIZE64 and R_X86_64_SIZE32.
20907 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
20909         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20910         (FP_FAST_FMA): Do not define.
20911         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20912         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20913         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20914         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20915         !_SOFT_FLOAT]: Likewise.
20916         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20917         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20918         value.
20919         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20920         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20921         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20922         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20923         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20924         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20925         file.
20927 2013-01-16  Andreas Schwab  <schwab@suse.de>
20929         [BZ #14327]
20930         * include/stdlib.h (__mktemp): Add declaration.
20931         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20932         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20934 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20936         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20937         definitions.
20938         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20939         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20940         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20941         definitions here.
20942         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20943         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20944         definitions.
20945         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20946         and ONE.
20947         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20948         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20949         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20950         definitions.
20951         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20952         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20953         definitions.
20954         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20956         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20958 2013-01-15  David S. Miller  <davem@davemloft.net>
20960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20961         trunc{,f} to libm-sysdep_routes.
20962         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20964         file.
20965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20967         file.
20968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20969         file.
20970         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20971         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20972         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20973         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20974         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20975         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20976         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20977         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20980         nearbyint{,f} to libm-sysdep_routes.
20981         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20983         New file.
20984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20985         file.
20986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20987         New file.
20988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20989         file.
20990         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20991         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20992         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20993         file.
20994         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20995         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20996         file.
20997         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20998         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20999         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21001         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21002         libc_feholdexcept and libc_fesetenv.
21004 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
21006         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21008 2013-01-14  David S. Miller  <davem@davemloft.net>
21010         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21011         (SPARC_ASM_VIS2_IFUNC): Likewise.
21012         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21014         use of 'siam' instruction.
21015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21016         Likewise.
21017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21018         Likewise.
21019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21020         Likewise.
21021         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21022         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21023         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21024         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21026         file.
21027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21028         file.
21029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21030         file.
21031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21032         file.
21033         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21034         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21035         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21036         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21038         new VIS2 routines.
21039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21042         Likewise.
21043         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21044         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21045         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21046         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21048         routines to libm-sysdep_routines.
21049         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21052         fdim/fdimf to libm-sysdep_routines.
21053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21054         file.
21055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21057         file.
21058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21059         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21061         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21062         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21063         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21064         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21066 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21068         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21069         to optimize copies.
21071         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21072         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21073         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21075         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21076         local variable MPTWO.
21077         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21078         Likewise.
21080 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
21082         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21083         GLOB_NOESCAPE.
21085 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
21087         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21089 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
21091         * manual/pattern.texi (glob_t): Document gl_flags.
21092         (glob64_t): Likewise.
21094 2013-01-11  David S. Miller  <davem@davemloft.net>
21096         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21097         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21098         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
21099         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21100         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21101         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21102         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21103         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21104         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21105         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21106         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21107         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21108         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21110         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21111         sparc V9 rather than using V8 code.
21112         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21113         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21115         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21116         Move to...
21117         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21118         Here.
21120 2013-01-11  Roland McGrath  <roland@hack.frob.com>
21122         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21123         not in the main loop.
21124         * configure: Regenerated.
21126 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
21128         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21129         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21130         to just #else.
21131         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
21132         [!__GLIBC_HAVE_LONG_LONG] case.
21133         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21134         condition to just #else.
21135         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21136         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21137         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21138         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21139         unconditional.
21140         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21141         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21142         #elif condition to just #else.
21143         * sysdeps/unix/sysv/linux/sys/sysmacros.h
21144         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21145         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21146         #elif condition to just #else.
21148 2013-01-11  Steve Ellcey  <sellcey@mips.com>
21150         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21151         (EF_MIPS_ARCH_64): Fix value.
21152         (EF_MIPS_ARCH_32R2): New.
21153         (EF_MIPS_ARCH_64R2): New.
21155 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
21157         * Makeconfig (+link-pie-before-libc): New.
21158         (+link-pie-after-libc): Likewise.
21159         (+link-pie-tests): Likewise.
21160         (+link-pie): Rewritten.
21161         (link-before-libc): Remove $(config-LDFLAGS).
21162         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21163         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21164         (config-LDFLAGS): Renamed to ...
21165         (rtld-LDFLAGS): This.
21166         (rtld-tests-LDFLAGS): New macro.
21167         (link-libc-rpath-link): Likewise.
21168         (link-libc-tests-rpath-link): Likewise.
21169         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21170         (link-libc): Prepand $(link-libc-rpath-link).
21171         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21172         (test-program-prefix): New macro.
21173         (test-via-rtld-prefix): Likewise.
21174         (test-program-cmd): Likewise.
21175         (host-test-program-cmd): Likewise.
21176         * Makefile ($(common-objpfx)testrun.sh): Replace
21177         $(run-program-prefix) with $(test-program-prefix).
21178         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21179         $(rtld-LDFLAGS).
21180         ($(common-objpfx)shlib.lds): Likewise.
21181         (build-module-helper): Likewise.
21182         ($(common-objpfx)format.lds): Likewise.
21183         * Rules (binaries-pie-tests): New.
21184         (binaries-pie-notests): Likewise.
21185         (binaries-pie): Rewritten.
21186         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21187         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21188         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21189         (make-test-out): Replace $(host-built-program-cmd) with
21190         $(host-test-program-cmd).
21191         * config.make.in (build-hardcoded-path-in-tests): New variable.
21192         * configure.in (--enable-hardcoded-path-in-tests): New configure
21193         option.
21194         (hardcoded_path_in_tests): New AC_SUBST.
21195         * configure: Regenerated.
21196         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21197         $(built-program-cmd) with $(test-program-cmd).
21198         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21199         (test_program_cmd): This.
21200         * elf/Makefile ($(objpfx)order.out): Run test with
21201         $(test-program-prefix).
21202         ($(objpfx)order2.out): Likewise.
21203         ($(objpfx)tst-initorder.out): Likewise.
21204         ($(objpfx)tst-initorder2.out): Likewise.
21205         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21206         $(test-program-cmd).
21207         ($(objpfx)tst-array1-static.out): Likewise.
21208         ($(objpfx)tst-array2.out): Likewise.
21209         ($(objpfx)tst-array3.out): Likewise.
21210         ($(objpfx)tst-array4.out): Likewise.
21211         ($(objpfx)tst-array5.out): Likewise.
21212         ($(objpfx)tst-array5-static.out): Likewise.
21213         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21214         $(test-program-cmd).
21215         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21216         $(run-program-prefix) with $(test-program-prefix).
21217         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21218         (test_program_prefix): This.
21219         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21220         $(run-program-prefix) with $(test-program-prefix).
21221         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21222         (test_program_prefix): This.
21223         * iconvdata/tst-tables.sh: Likewise.
21224         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21225         $(run-program-prefix) with $(test-program-prefix).
21226         ($(objpfx)tst-translit.out): Likewise.
21227         ($(objpfx)tst-gettext2.out): Likewise.
21228         ($(objpfx)tst-gettext4.out): Likewise.
21229         ($(objpfx)tst-gettext6.out): Likewise.
21230         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21231         (test_program_prefix): This.
21232         * intl/tst-gettext2.sh: Likewise.
21233         * intl/tst-gettext4.sh  Likewise.
21234         * intl/tst-gettext6.sh: Likewise.
21235         * intl/tst-translit.sh: Likewise.
21236         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21237         with $(test-program-cmd).
21238         * libio/Makefile ($(objpfx)test-freopen.out): Replace
21239         $(run-program-prefix) with $(test-program-prefix).
21240         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21241         (test_program_prefix): This.
21242         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21243         $(run-program-prefix) with $(test-program-prefix).
21244         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21245         (test_program_prefix): This.
21246         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21247         * posix/Makefile ($(objpfx)globtest.out): Replace
21248         $(run-via-rtld-prefix) and $(test-wrapper) with
21249         $(test-program-prefix) and $(test-via-rtld-prefix).
21250         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21251         $(test-program-prefix).
21252         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21253         $(host-test-program-cmd).
21254         (tst-spawn-ARGS): Likewise.
21255         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21256         $(test-program-prefix).
21257         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21258         (test_via_rtld_prefix): This.
21259         (test_wrapper): Renamed to ...
21260         (test_program_prefix): This.
21261         (run_program_prefix): Replaced by test_program_prefix.
21262         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21263         (test_program_prefix): This.
21264         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21265         with $(host-test-program-cmd).
21266         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21267         $(run-program-prefix) with $(test-program-prefix).
21268         ($(objpfx)tst-printf.out): Likewise.
21269         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21270         $(test-program-cmd).
21271         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21272         (test_program_prefix): This.
21273         * stdio-common/tst-unbputc.sh: Likewise.
21274         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21275         $(run-program-prefix) with $(test-program-prefix).
21276         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21277         (test_program_prefix): This.
21278         * string/Makefile ($(objpfx)tst-svc.out):  Replace
21279         $(built-program-cmd) with $(test-program-cmd).
21281 2013-01-11  Andreas Jaeger  <aj@suse.de>
21283         [BZ #15003]
21284         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21285         value. Sync with Linux 3.7.
21287 2013-01-10  David S. Miller  <davem@davemloft.net>
21289         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21290         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21291         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21293 2013-01-10  Roland McGrath  <roland@hack.frob.com>
21295         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21296         never set.
21297         * configure: Regenerated.
21299 2013-01-10  David S. Miller  <davem@davemloft.net>
21301         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21302         sparc V9 rather than using V8 code.
21303         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21304         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21306 2013-01-10  Roland McGrath  <roland@hack.frob.com>
21308         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21309         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21310         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21311         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21312         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21313         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21314         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21315         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21316         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21317         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21318         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21319         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21320         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21321         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21322         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21323         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21324         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21325         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21326         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21327         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21328         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21329         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21330         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21331         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21332         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21333         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21334         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21336 2013-01-10  David S. Miller  <davem@davemloft.net>
21338         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21340 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
21342         * posix/Makefile (tests-static): New variable.
21343         (tests): Add $(tests-static).
21344         (tst-exec-static-ARGS): New variable.
21345         (tst-spawn-static-ARGS): Likewise.
21346         * posix/tst-exec-static.c: New file.
21347         * posix/tst-spawn-static.c: Likewise.
21348         * posix/tst-exec.c: Support run directly.
21349         * posix/tst-spawn.c: Likewise.
21351 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
21353         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21354         long.
21355         * math/bits/mathcalls.h (llrint): Likewise.
21356         (llround): Likewise.
21357         * stdlib/stdlib.h (struct drand48_data): Likewise.
21358         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21359         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21360         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21361         Likewise.
21362         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21363         Likewise.
21364         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21365         (elf_greg_t): Likewise.
21366         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21367         (__jmp_buf): Likewise.
21368         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21369         definitions.
21370         (llrint): Likewise, for all definitions.
21371         (llrintl): Likewise.
21373         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21374         Remove [__GNUC__] condition.
21375         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21376         condition to just [__USE_ISOC99].
21377         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21379 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
21381         [BZ #14200]
21382         * sysdeps/unix/sysv/linux/x86/bits/environments.h
21383         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21384         defined.
21385         (_POSIX_V6_ILP32_OFF32): Likewise.
21386         (_XBS5_ILP32_OFF32): Likewise.
21387         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21388         (__ILP32_OFFBIG_LDFLAGS): Likewise.
21390 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21392         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21394         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21395         doubles __mpexp_twomm1.  Adjust usage.
21396         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21397         Remove.
21399 2013-01-10  Andreas Schwab  <schwab@suse.de>
21401         [BZ #14964]
21402         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21403         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21405 2013-01-09  David S. Miller  <davem@davemloft.net>
21407         [BZ #15003]
21408         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21409         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21410         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21411         (TCP_FASTOPEN): Define.
21412         (tcp_repair_opt): New structure.
21413         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21414         enum values.
21415         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21416         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21417         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
21418         (tcp_cookie_transactions): New structure.
21420 2013-01-09  Anton Blanchard  <anton@samba.org>
21422         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21423         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21424         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21425         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21427 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
21429         * include/features.h (__USE_ANSI): Remove.
21431 2013-01-09  Roland McGrath  <roland@hack.frob.com>
21433         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21435         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21437 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
21439         * sysdeps/s390/fpu/libm-test-ulps: Update.
21441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21443         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21444         (__acr): Likewise.
21445         (__cpy): Likewise.
21446         (norm): Likewise.
21447         (denorm): Likewise.
21448         (__mp_dbl): Likewise.
21449         (__dbl_mp): Likewise.
21450         (add_magnitudes): Likewise.
21451         (sub_magnitudes): Likewise.
21452         (__add): Likewise.
21453         (__sub): Likewise.
21454         (__mul): Likewise.
21455         (__inv): Likewise.
21456         (__dvd): Likewise.
21457         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21458         (__acr): Likewise.
21459         (__cpy): Likewise.
21460         (norm): Likewise.
21461         (denorm): Likewise.
21462         (__mp_dbl): Likewise.
21463         (__dbl_mp): Likewise.
21464         (add_magnitudes): Likewise.
21465         (sub_magnitudes): Likewise.
21466         (__add): Likewise.
21467         (__sub): Likewise.
21468         (__mul): Likewise.
21469         (__inv): Likewise.
21470         (__dvd): Likewise.
21471         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21472         (__acr): Likewise.
21473         (__cpy): Likewise.
21474         (norm): Likewise.
21475         (denorm): Likewise.
21476         (__mp_dbl): Likewise.
21477         (__dbl_mp): Likewise.
21478         (add_magnitudes): Likewise.
21479         (sub_magnitudes): Likewise.
21480         (__add): Likewise.
21481         (__sub): Likewise.
21482         (__mul): Likewise.
21483         (__inv): Likewise.
21484         (__dvd): Likewise.
21486 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
21488         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21489         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21490         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21491         2 && __USE_EXTERN_INLINES]: Likewise.
21493 2013-01-08  Andreas Jaeger  <aj@suse.de>
21495         [BZ# 14985]
21496         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21497         Remove.
21498         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21499         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21501 2013-01-07  Anton Blanchard  <anton@samba.org>
21503         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21504         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21505         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21506         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21507         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21508         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21509         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21510         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21511         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21512         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21513         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21514         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21515         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21516         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21517         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21518         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21519         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21520         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21521         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21522         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21523         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21524         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21525         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21526         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21527         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21528         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21529         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21530         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21531         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21532         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21533         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21534         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21535         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21536         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21537         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21538         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21539         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21540         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21541         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21542         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21543         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21544         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21545         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21547 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
21549         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21550         (__MALLOC_PMT): Likewise.
21551         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21552         [__GNUC__], only on [_LIBC].
21553         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21554         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21555         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21556         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21557         forward declaration.
21558         (realloc_hook_ini): Likewise.
21559         (memalign_hook_ini): Likewise.
21560         (__libc_memalign): Do not use __MALLOC_PMT in variable
21561         declaration.
21562         (__libc_valloc): Likewise.
21563         (__libc_pvalloc): Likewise.
21564         (__libc_calloc): Likewise.
21565         (__posix_memalign): Likewise.
21567         [BZ #14996]
21568         * math/s_casinh.c: Include <float.h>.
21569         (__casinh): Do not do computation with squaring and square root
21570         for large arguments.
21571         * math/s_casinhf.c: Include <float.h>.
21572         (__casinhf): Do not do computation with squaring and square root
21573         for large arguments.
21574         * math/s_casinhl.c: Include <float.h>.
21575         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21576         (__casinhl): Do not do computation with squaring and square root
21577         for large arguments.
21578         * math/libm-test.inc (casin_test): Add more tests.
21579         (casinh_test): Likewise.
21580         * sysdeps/i386/fpu/libm-test-ulps: Update.
21581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21583 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
21585         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21586         (__x86_64_raw_data_cache_size): Likewise.
21587         (__x86_64_data_cache_size_half): Likewise.
21588         (__x86_64_raw_data_cache_size_half): Likewise.
21589         (__x86_64_shared_cache_size): Likewise.
21590         (__x86_64_raw_shared_cache_size): Likewise.
21591         (__x86_64_shared_cache_size_half): Likewise.
21592         (__x86_64_raw_shared_cache_size_half): Likewise.
21593         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21594         to ...
21595         (__x86_data_cache_size): This.
21596         (__x86_64_raw_data_cache_size): Renamed to ...
21597         (__x86_raw_data_cache_size): This.
21598         (__x86_64_data_cache_size_half): Renamed to ...
21599         (__x86_data_cache_size_half): This.
21600         (__x86_64_raw_data_cache_size_half): Renamed to ...
21601         (__x86_raw_data_cache_size_half): This.
21602         (__x86_64_shared_cache_size): Renamed to ...
21603         (__x86_shared_cache_size): This.
21604         (__x86_64_raw_shared_cache_size): Renamed to ...
21605         (__x86_raw_shared_cache_size): This.
21606         (__x86_64_shared_cache_size_half): Renamed to ...
21607         (__x86_shared_cache_size_half): This.
21608         (__x86_64_raw_shared_cache_size_half): Renamed to ...
21609         (__x86_raw_shared_cache_size_half): This.
21610         * sysdeps/x86_64/memcpy.S: Updated.
21611         * sysdeps/x86_64/memset.S: Likewise.
21612         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21613         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21614         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21616 2013-01-04  David S. Miller  <davem@davemloft.net>
21618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21620 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
21622         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21623         1 to avoid redefinition warning.
21624         (__USE_GNU): Don't define.
21625         (init_signaling_nan): Protoize.
21627         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21629 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21631         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21632         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21633         (__cpymn): Likewise.
21634         (norm): Remove commented code.
21635         (denorm): Likewise.
21636         (__mp_dbl): Likewise.
21637         (__inv): Likewise.
21638         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21639         (__cpymn): Likewise.
21640         (norm): Remove commented code.
21641         (denorm): Likewise.
21642         (__mp_dbl): Likewise.
21643         (__inv): Likewise.
21645         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21646         mp_no value for 1.0 and 2.0.
21647         (norm): Use RADIXI instead of radixi.d.
21648         (denorm): Likewise.
21649         (__mul): Use 0.0 instead of zero.d.
21650         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21651         mp_no value for 1.0 and 2.0.
21652         (norm): Use RADIXI instead of radixi.d.
21653         (denorm): Likewise.
21654         (__mul): Use 0.0 instead of zero.d.
21656 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
21658         [BZ #14994]
21659         * math/s_casinh.c (__casinh): Reduce finite argument to first
21660         quadrant then set signs of results at the end.
21661         * math/s_casinhf.c (__casinhf): Likewise.
21662         * math/s_casinhl.c (__casinhl): Likewise.
21663         * math/libm-test.inc (casin_test): Add more tests.
21664         (casinh_test): Likewise.
21665         * sysdeps/i386/fpu/libm-test-ulps: Update.
21666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21668 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21670         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21672         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21674         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21675         declarations.
21676         (denorm): Likewise.
21677         (__mp_dbl): Likewise.
21678         (__inv): Likewise.
21680         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21681         and adjust the header comment.
21683         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21684         variable name from declaration.
21686 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
21688         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21689         Initialize COMMON_CPUID_INDEX_7 element.
21690         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21691         (CPUID_RTM): Likewise.
21692         (HAS_RTM): Likewise.
21693         (COMMON_CPUID_INDEX_7): New enum.
21695 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
21697         [BZ #14981]
21698         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21699         size is zero, record memory as freed.
21701 2013-01-03  Andreas Jaeger  <aj@suse.de>
21703         * po/ia.po: Add new Interlingua translation.
21705 2012-01-03  Allan McRae  <allan@archlinux.org>
21707         * locale/programs/localedef.c: Fix description of '--posix' flag.
21709 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
21711         * NEWS: Update dates in second copyright notice.
21712         * README: Update copyright dates in example.
21713         * manual/libc.texinfo: Update copyright dates.
21714         * scripts/test-installation.pl: Update copyright date in --version
21715         output.
21717         * hurd/ctty-input.c: Fix copyright notice formatting.
21718         * hurd/ctty-output.c: Likewise.
21719         * hurd/dtable.c: Likewise.
21720         * hurd/hurd-raise.c: Likewise.
21721         * hurd/hurdprio.c: Likewise.
21722         * hurd/msgportdemux.c: Likewise.
21723         * misc/sys/file.h: Likewise.
21724         * misc/sys/ioctl.h: Likewise.
21725         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21726         * sysdeps/mach/hurd/chdir.c: Likewise.
21727         * sysdeps/mach/hurd/fchdir.c: Likewise.
21728         * sysdeps/mach/hurd/rename.c: Likewise.
21729         * sysdeps/mach/hurd/rmdir.c: Likewise.
21730         * sysdeps/mach/hurd/seekdir.c: Likewise.
21731         * sysdeps/mach/hurd/setsid.c: Likewise.
21732         * sysdeps/posix/wait3.c: Likewise.
21734         * All files with FSF copyright notices: Update copyright dates
21735         using scripts/update-copyrights.
21736         * intl/plural.c: Regenerated.
21737         * locale/programs/charmap-kw.h: Likewise.
21738         * locale/programs/locfile-kw.h: Likewise.
21740 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21742         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21743         four values.
21745         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21746         calculation loop and add branch prediction.
21748         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21749         check access beyond bounds of m1np.
21751         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21752         MPTWO.
21753         (__inv): Remove local variable MPTWO to use the global
21754         constant.
21755         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21756         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21757         variable MPTWO.
21758         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21759         MP3HALFS static const.
21761 2013-01-01  David S. Miller  <davem@davemloft.net>
21763         * po/ca.po: Update from translation team.
21765 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
21767         * scripts/update-copyrights: New file.
21768         * Makeconfig: Reformat copyright notice.
21769         * ctype/ctype.h: Likewise.
21770         * debug/swprintf_chk.c: Likewise.
21771         * elf/dl-cache.c: Likewise.
21772         * elf/dl-debug.c: Likewise.
21773         * elf/dl-object.c: Likewise.
21774         * grp/initgroups.c: Likewise.
21775         * hurd/Makefile: Likewise.
21776         * hurd/hurd/signal.h: Likewise.
21777         * hurd/hurdfault.c: Likewise.
21778         * hurd/hurdioctl.c: Likewise.
21779         * hurd/hurdlookup.c: Likewise.
21780         * hurd/intr-msg.c: Likewise.
21781         * iconv/gconv_open.c: Likewise.
21782         * libio/swprintf.c: Likewise.
21783         * locale/lc-ctype.c: Likewise.
21784         * locale/nl_langinfo.c: Likewise.
21785         * mach/Machrules: Likewise.
21786         * mach/Makefile: Likewise.
21787         * malloc/obstack.h: Likewise.
21788         * manual/Makefile: Likewise.
21789         * manual/tsort.awk: Likewise.
21790         * misc/bits/stab.def: Likewise.
21791         * nis/nis_print_group_entry.c: Likewise.
21792         * nis/nis_table.c: Likewise.
21793         * nis/nss_compat/compat-pwd.c: Likewise.
21794         * nis/nss_compat/compat-spwd.c: Likewise.
21795         * po/Makefile: Likewise.
21796         * posix/fnmatch.c: Likewise.
21797         * posix/regex.h: Likewise.
21798         * resolv/Makefile: Likewise.
21799         * resolv/nss_dns/dns-network.c: Likewise.
21800         * resolv/res_hconf.c: Likewise.
21801         * scripts/gen-sorted.awk: Likewise.
21802         * soft-fp/soft-fp.h: Likewise.
21803         * stdio-common/printf.h: Likewise.
21804         * stdlib/monetary.h: Likewise.
21805         * stdlib/random.c: Likewise.
21806         * stdlib/random_r.c: Likewise.
21807         * sysdeps/generic/Makefile: Likewise.
21808         * sysdeps/gnu/Makefile: Likewise.
21809         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21810         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21811         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21812         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21813         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21814         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21815         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21816         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21817         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21818         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21819         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21820         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21821         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21822         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21823         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21824         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21825         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21826         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21827         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21828         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21829         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21830         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21831         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21832         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21833         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21834         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21835         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21836         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21837         * sysdeps/mach/hurd/errnos.awk: Likewise.
21838         * sysdeps/mach/hurd/fork.c: Likewise.
21839         * sysdeps/mach/hurd/getcwd.c: Likewise.
21840         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21841         * sysdeps/mach/hurd/mmap.c: Likewise.
21842         * sysdeps/mach/hurd/utimes.c: Likewise.
21843         * sysdeps/mach/hurd/xmknod.c: Likewise.
21844         * sysdeps/posix/profil.c: Likewise.
21845         * sysdeps/posix/readdir_r.c: Likewise.
21846         * sysdeps/powerpc/bits/mathdef.h: Likewise.
21847         * sysdeps/powerpc/bits/setjmp.h: Likewise.
21848         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21849         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21850         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21851         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21852         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21853         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21854         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21855         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21856         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21857         * sysdeps/pthread/lio_listio.c: Likewise.
21858         * sysdeps/sparc/dl-procinfo.h: Likewise.
21859         * sysdeps/unix/i386/sysdep.S: Likewise.
21860         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21861         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21862         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21863         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21865         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21866         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21867         * sysdeps/unix/sysv/linux/speed.c: Likewise.
21868         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21869         * sysdeps/wordsize-32/divdi3.c: Likewise.
21870         * time/sys/time.h: Likewise.
21871         * wcsmbs/Makefile: Likewise.
21873 2013-01-01  David S. Miller  <davem@davemloft.net>
21875         * po/fr.po: Update from translation team.
21877         * catgets/gencat.c: Update copyright year.
21878         * csu/version.c: Likewise.
21879         * debug/catchsegv.sh: Likewise.
21880         * debug/pcprofiledump.c: Likewise.
21881         * debug/xtrace.sh: Likewise.
21882         * elf/ldconfig.c: Likewise.
21883         * elf/ldd.bash.in: Likewise.
21884         * elf/pldd.c: Likewise.
21885         * elf/sotruss.ksh: Likewise.
21886         * elf/sprof.c: Likewise.
21887         * iconv/iconv_prog.c: Likewise.
21888         * iconv/iconvconfig.c: Likewise.
21889         * locale/programs/locale.c: Likewise.
21890         * locale/programs/localedef.c: Likewise.
21891         * login/programs/pt_chown.c: Likewise.
21892         * malloc/memusage.sh: Likewise.
21893         * malloc/memusagestat.c: Likewise.
21894         * malloc/mtrace.pl: Likewise.
21895         * nscd/nscd.c: Likewise.
21896         * nss/getent.c: Likewise.
21897         * nss/makedb.c: Likewise.
21898         * posix/getconf.c: Likewise.
21900 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21902         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21903         numbers.
21905 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
21907         * math/bits/mathcalls.h (modf): Use __nonnull.
21909 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21911         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21912         (split): Use macro CN instead of the bare value.
21913         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21914         could be used.
21915         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21916         instead of the bare value.
21917         (power1): Likewise.
21919 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21921         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21922         __ATAN_TWOM.
21923         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21925         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21926         their values.
21927         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21928         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21929         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21930         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21932 2012-12-28  Andreas Jaeger  <aj@suse.de>
21934         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
21935         values are from Linux 3.7.
21937         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21938         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
21940 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21942         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21943         TRUE case.
21945         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21946         (norm): Likewise.
21947         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21948         variables with preprocessor constants.
21949         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21950         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21951         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21953 2012-12-27  Bruno Haible  <bruno@clisp.org>
21955         [BZ #14317]
21956         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21957         only if needed.
21959 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21961         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21962         and use variable directly.
21963         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21965         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21966         MPONE.
21967         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21968         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21969         variable MPONE.
21970         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21971         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21972         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21973         include directive.  Remove local variable MPONE.
21974         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21975         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21976         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21978 2012-12-25  David S. Miller  <davem@davemloft.net>
21980         * version.h (RELEASE): Set to "development".
21981         (VERSION): Set to "2.17.90".
21982         * NEWS: Add 2.18 section.
21984 2012-12-21  David S. Miller  <davem@davemloft.net>
21986         * po/hr.po: Update from translation team.
21988 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21990         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21992 2012-12-19  Steve Ellcey  <sellcey@mips.com>
21994         * NEWS:  Mention new memcpy for MIPS.
21996 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21998         * manual/contrib.texi (Contributors): Spelling correction.
22000 2012-12-15  David S. Miller  <davem@davemloft.net>
22002         * po/ru.po: Update from translation team.
22004 2012-12-13  David S. Miller  <davem@davemloft.net>
22006         * NEWS: Mention IFUNC testsuite enhancements.
22008         * po/pl.po: Update from translation team.
22009         * po/bg.po: Likewise.
22011         * manual/contrib.texi (Contributors): Update entries for Hongjiu
22012         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
22014 2012-12-11  David S. Miller  <davem@davemloft.net>
22016         * po/sv.po: Update from translation team.
22018         * po/vi.po: Update from translation team.
22020         * po/cs.po: Update from translation team.
22022         * po/de.po: Update from translation team.
22023         * po/eo.po: Likewise.
22024         * po/nl.po: Likewise.
22026 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22028         [BZ #14246]
22029         * manual/argp.texi (Argp Helper Functions): Move node to follow
22030         Argp Parsing State.
22032         [BZ #14872]
22033         * manual/conf.texi (Limits on File System Capacity): Mention if
22034         terminating null is included in the max size.
22036 2012-12-10  Andreas Jaeger  <aj@suse.de>
22038         * po/cs.po: Update from translation team.
22040 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22042         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22043         void pointer and cast to uintptr_t.
22044         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22045         path.
22046         * sysdeps/s390/s390-64/memcpy.S: Likewise.
22047         * sysdeps/s390/s390-64/memset.S: Likewise.
22049 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
22051         [BZ #14833]
22052         * menual/message.texi (Message Translation): Fix typos.
22053         (Helper programs for gettext): Likewise.
22055 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
22057         [BZ #14898]
22058         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22059         Change to -1.
22061 2012-12-07  David S. Miller  <davem@davemloft.net>
22063         * po/libc.pot: Update.
22065 2012-12-07  Richard Henderson  <rth@redhat.com>
22067         [BZ #10114]
22068         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22069         normal/normal case to before the switch.
22070         (_FP_DIV): Likewise.
22072 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
22073             Mike Frysinger  <vapier@gentoo.org>
22075         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22076         check for __NR_fadvise64_64.
22078 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
22080         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22081         0, not just to plain "0" as a statement.
22082         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22083         with cw.
22085 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
22087         * NEWS: Use sourceware.org in Bugzilla URL.
22089 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22092         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22094         * stdio-common/tst-put-error.c (do_test): Add newline to the
22095         padded test to ensure flush.
22097 2012-12-05  Jeff Law  <law@redhat.com>
22099         * sunrpc/etc.rpc (fedfs_admin): Add entry.
22101 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
22103         * README: Don't refer to ports add-on as distributed separately.
22104         Mention AArch64 in list of systems supported in the ports add-on.
22106         * LICENSES: Add more non-FSF copyright and license notices.
22108         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22109         ((unused)).
22111         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22113         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22114         10000 as width of padded output.
22116 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
22118         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22120         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22121         variable LX with __attribute__ ((unused)).
22122         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22123         Likewise.
22124         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22125         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22126         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22127         with __attribute__ ((unused)).
22129 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
22131         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22133 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
22135         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22136         (CFLAGS-nldbl-acos.c): New variable.
22137         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22138         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22139         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22140         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22141         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22142         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22143         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22144         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22145         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22146         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22147         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22148         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22149         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22150         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22151         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22152         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22153         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22154         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22155         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22156         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22157         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22158         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22159         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22160         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22161         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22162         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22163         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22164         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22165         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22166         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22167         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22168         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22169         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22170         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22171         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22172         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22173         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22174         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22175         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22176         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22177         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22178         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22179         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22180         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22181         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22182         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22183         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22184         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22185         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22186         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22187         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22188         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22189         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22190         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22191         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22192         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22193         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22194         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22195         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22196         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22197         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22198         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22199         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22200         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22201         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22202         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22203         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22204         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22205         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22206         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22207         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22208         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22209         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22210         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22211         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22212         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22213         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22214         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22215         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22216         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22217         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22218         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22219         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22220         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22221         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22222         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22223         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22224         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22225         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22226         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22227         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22228         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22229         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22230         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22231         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22232         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22233         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22236         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22238         [BZ #14914]
22239         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22240         whole low double instead of just low 47 bits when splitting values
22241         into two parts.
22243 2012-12-03  Allan McRae  <allan@archlinux.org>
22245         * manual/stdio.texi (Predefined Printf Handlers): Remove
22246         @hsep and @vsep usage.
22248 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
22250         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22251         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22253 2012-12-03  Jeff Law  <law@redhat.com>
22255         * time/sys/time.h (settimeofday): Do not mark TV argument
22256         as __nonnull.
22258 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
22260         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22261         when currently writing and seek to current position when not.
22262         * libio/Makefile (tests): Remove bug-fclose1.
22263         * libio/bug-fclose1.c: Delete.
22265 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
22267         * manual/arith.texi (feenableexcept): Fix typo.
22268         (fedisableexcept): Likewise.
22270 2012-11-30  Roland McGrath  <roland@hack.frob.com>
22272         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22273         second, differently-typed declaration, rather than a cast.
22275 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22277         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22278         * include/rpc/svc.h: ... here.
22280 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
22282         [BZ #13013]
22283         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22284         depending n and resplen2 to catch cases where answer
22285         equals answerp2.
22287 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
22289         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22290         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22292 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
22294         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22296 2012-11-29  Roland McGrath  <roland@hack.frob.com>
22298         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22300 2012-11-28  Jeff Law  <law@redhat.com>
22302         [BZ #13761]
22303         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22304         dataset_temporary.  Track alloca usage into alloca_used.
22305         If dataset is large allocate and release it via malloc/free.
22307 2012-06-04  Florian Weimer  <fweimer@redhat.com>
22309         [BZ #14197]
22310         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22312 2012-11-28  David S. Miller  <davem@davemloft.net>
22314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22316 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
22318         [BZ #14803]
22319         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22320         of pi/2 rounded to nearest to 64 bits.
22321         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22322         nearest to 64 bits.
22323         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22324         bits.
22326 2012-11-28  Jeff Law <law@redhat.com>
22327             Martin Osvald <mosvald@redhat.com>
22329         [BZ #14889]
22330         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22331         * sunrpc/svc.c: Include time.h.
22332         (__svc_accept_failed): New function.
22333         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22334         any reason other than EINTR, call __svc_accept_failed.
22335         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22336         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22338 2012-11-28  Andreas Schwab  <schwab@suse.de>
22340         * scripts/abilist.awk: Also handle indirect functions in .opd
22341         section.
22343 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
22345         [BZ #13881]
22346         * sysdeps/x86/fpu/powl_helper.c: New file.
22347         * sysdeps/x86/fpu/Makefile: Likewise.
22348         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22349         (p3): New object.
22350         (__ieee754_powl): Use __powl_helper for finite arguments except
22351         integer exponents below 8.
22352         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22353         (p3): New object.
22354         (__ieee754_powl): Use __powl_helper for finite arguments except
22355         integer exponents below 8.
22356         * math/libm-test.inc (pow_test): Add more tests and enable some
22357         previously disabled tests.
22358         * sysdeps/i386/fpu/libm-test-ulps: Update.
22359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22361 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22362             Carlos O'Donell  <carlos_odonell@mentor.com>
22364         * nss/makedb.c (is_prime): Assert that input is odd and greater
22365         than 4.  Note that fact in a comment too.
22366         (next_prime): Add 4 to input.
22368 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22370         [BZ #11741]
22371         * libio/Makefile (tests): Add test case tst-fwrite-error.
22372         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22373         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22374         * libio/tst-fwrite-error.c: New test case.
22376 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
22378         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22379         before casting to void *.
22380         * include/libc-internal.h (__pointer_type): New macro.
22381         (__integer_if_pointer_type_sub): Likewise.
22382         (__integer_if_pointer_type): Likewise.
22383         (cast_to_integer): Likewise.
22384         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22385         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22386         before casting to atomic64_t.
22387         (atomic_exchange_acq): Likewise.
22388         (__arch_exchange_and_add_body): Likewise.
22389         (__arch_add_body): Likewise.
22390         (atomic_add_negative): Likewise.
22391         (atomic_add_zero): Likewise.
22393 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
22395         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22396         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22397         (add_fdes): Likewise.
22398         (linear_search_fdes): Likewise.
22399         (binary_search_unencoded_fdes): Likewise.
22401 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
22403         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22405 2012-11-24  Adam Conrad  <adconrad@0c3.net>
22407         * configure.in: Autodetect C++ header directories.
22408         * configure: Regenerated.
22410 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
22412         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22414 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
22416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22418 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
22420         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22421         LDBL_MANT_DIG == 106]: Disable some tests.
22422         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22423         Likewise.
22424         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22425         Likewise.
22427         [BZ #14871]
22428         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22429         input for small inputs.  Return +/- pi/2 for large inputs.
22430         * math/libm-test.inc (atan_test): Add more tests.
22432         * sysdeps/generic/unwind-dw2-fde-glibc.c
22433         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22434         __attribute__ ((unused)).
22436         [BZ #14645]
22437         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22438         x * y if x and y are nonzero and z is zero.
22440         [BZ #14811]
22441         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22442         nonzero exponents with absolute value below 0x1p-117 to +/-
22443         0x1p-117.
22445         [BZ #14869]
22446         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22447         up arguments below 2**-450, not just those below 2**-500.
22448         * math/libm-test.inc (hypot_test): Add another test.
22450         [BZ #14868]
22451         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22452         Return a+b for ratio over 2**120, not 2**60.
22453         * math/libm-test.inc (hypot_test): Add another test.
22455         * math/libm-test.inc (clog_test): Use
22456         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22457         (clog10_test): Likewise.
22459         [BZ #6778]
22460         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22462 2012-11-22  Andreas Schwab  <schwab@suse.de>
22464         * sysdeps/i386/fpu/libm-test-ulps: Update.
22466 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
22468         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22469         printf output with newline.
22471 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
22473         [BZ #14865]
22474         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22475         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22476         -z nodlopen, -z initfirst and -z execstack support.
22477         * configure: Regenerated.
22479         * elf/elf.h (DF_1_NODIRECT): New macro.
22480         (DF_1_IGNMULDEF): Likewise.
22481         (DF_1_NOKSYMS): Likewise.
22482         (DF_1_NOHDR): Likewise.
22483         (DF_1_EDITED): Likewise.
22484         (DF_1_NORELOC): Likewise.
22485         (DF_1_SYMINTPOSE): Likewise.
22486         (DF_1_GLOBAUDIT): Likewise.
22487         (DF_1_SINGLETON): Likewise.
22488         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22489         DT_1_SUPPORTED_MASK bits.
22490         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22492 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
22494         * sysdeps/unix/make-syscalls.sh: Document prefixes.
22496 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
22498         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22499         macro.
22501         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22502         (sendmmsg): Move declarations...
22503         * socket/sys/socket.h: ... here.
22504         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22505         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22506         include it from...
22507         * socket/recvmmsg.c: ... this new file.
22508         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22509         (sendmmsg): Rename to __sendmmsg, create weak alias and make
22510         definition of __sendmmsg hidden.
22511         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22512         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22513         Move ENOSYS stub into and include it from...
22514         * socket/sendmmsg.c: ... this new file.
22515         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22516         (sysdep_routines): Move recvmmsg and sendmmsg...
22517         * socket/Makefile (routines): ... here.
22518         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22519         (GLIBC_PRIVATE): Add __sendmmsg.
22520         * include/sys/socket.h (__sendmmsg): Add declarations.
22521         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22522         sendmmsg.
22524 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
22526         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22527         variable I1 with __attribute__ ((unused)).
22528         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22530 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
22532         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22533         DUMMY variables with __attribute__ ((unused)).
22535         * bits/byteswap.h: Include <bits/types.h>.
22536         (__bswap_64): Use __uint64_t instead of unsigned long long int.
22538 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
22540         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22541         string_t.  Do not manually set errno.
22542         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22543         length with __strnlen.  Make sure to both set errno and return it on
22544         failure.
22546 2012-11-19  David S. Miller  <davem@davemloft.net>
22548         With help from Joseph Myers.
22549         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22550         very large arguments properly.
22551         * math/libm-test.inc (atan_test): New tests.
22552         (atan2_test): New tests.
22553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22554         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22556 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
22558         [BZ #14856]
22559         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22560         Define to 3.
22562         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22563         [POSIX] (EADDRNOTAVAIL): Likewise.
22564         [POSIX] (EAFNOSUPPORT): Likewise.
22565         [POSIX] (EALREADY): Likewise.
22566         [POSIX] (ECONNABORTED): Likewise.
22567         [POSIX] (ECONNREFUSED): Likewise.
22568         [POSIX] (ECONNRESET): Likewise.
22569         [POSIX] (EDESTADDRREQ): Likewise.
22570         [POSIX] (EDQUOT): Likewise.
22571         [POSIX] (EHOSTUNREACH): Likewise.
22572         [POSIX] (EIDRM): Likewise.
22573         [POSIX] (EISCONN): Likewise.
22574         [POSIX] (ELOOP): Likewise.
22575         [POSIX] (EMULTIHOP): Likewise.
22576         [POSIX] (ENETDOWN): Likewise.
22577         [POSIX] (ENETUNREACH): Likewise.
22578         [POSIX] (ENOBUFS): Likewise.
22579         [POSIX] (ENODATA): Likewise.
22580         [POSIX] (ENOLINK): Likewise.
22581         [POSIX] (ENOMSG): Likewise.
22582         [POSIX] (ENOPROTOOPT): Likewise.
22583         [POSIX] (ENOSR): Likewise.
22584         [POSIX] (ENOSTR): Likewise.
22585         [POSIX] (ENOTCONN): Likewise.
22586         [POSIX] (ENOTSOCK): Likewise.
22587         [POSIX] (EOPNOTSUPP): Likewise.
22588         [POSIX] (EOVERFLOW): Likewise.
22589         [POSIX] (EPROTO): Likewise.
22590         [POSIX] (EPROTONOSUPPORT): Likewise.
22591         [POSIX] (EPROTOTYPE): Likewise.
22592         [POSIX] (ESTALE): Likewise.
22593         [POSIX] (ETIME): Likewise.
22594         [POSIX] (ETXTBSY): Likewise.
22595         [POSIX] (EWOULDBLOCK): Likewise.
22596         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22597         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22598         [POSIX] (SEEK_CUR): Likewise.
22599         [POSIX] (SEEK_END): Likewise.
22600         [POSIX || UNIX98] (mode_t): Do not require.
22601         [POSIX] (off_t): Likewise.
22602         [POSIX] (pid_t): Likewise.
22603         [POSIX] (sys/stat.h): Do not allow header.
22604         [POSIX] (unistd.h): Likewise.
22605         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22606         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22607         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22608         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22609         require.
22610         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22611         sigevent): Specify elements.
22612         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22613         entry.
22614         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22615         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22617         * conform/data/cpio.h-data [POSIX]: Disable whole file.
22618         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22619         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22620         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22621         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22622         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22623         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22624         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22625         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22626         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22627         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22628         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22629         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22630         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22631         Likewise.
22632         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22633         Likewise.
22634         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22635         Likewise.
22636         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22637         Likewise.
22638         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22639         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22640         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22641         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22642         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22643         Specify lower bound on value.
22644         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22645         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22646         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22647         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22648         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22649         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22650         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22651         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22652         value.
22653         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22654         as optional.
22655         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22656         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22657         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22658         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22659         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22660         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22661         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22662         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22663         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22664         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22665         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22666         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22667         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22668         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22669         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22670         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22671         entry.
22672         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22673         optional.
22674         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22675         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22676         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22677         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22678         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22679         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22680         Likewise.
22681         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22682         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22683         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22684         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22685         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
22686         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22687         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22688         as optional.
22689         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22690         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22691         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22692         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22693         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22694         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22695         specify as optional.
22696         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22697         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22698         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22699         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22700         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22701         [XPG3] (NL_LANGMAX): Likewise.
22702         [POSIX || XPG3] (NL_MSGMAX): Likewise.
22703         [POSIX || XPG3] (NL_NMAX): Likewise.
22704         [POSIX || XPG3] (NL_SETMAX): Likewise.
22705         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22706         [XPG3] (NZERO): Likewise.
22707         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22708         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22709         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22710         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22711         (REG_ERANGE): Expect.
22712         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22713         optional-constant.
22714         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22715         Use (void) in prototype.
22716         [POSIX] (*_t): Allow.
22717         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22718         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22719         (WRDE_BADVAL): Expect.
22721         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22722         expect.
22723         [XPG3 || XPG4] (O_RSYNC): Likewise.
22724         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22725         Likewise.
22726         [XPG3 || XPG4] (pthread_sigmask): Likewise.
22727         [XPG3 || XPG4] (sigqueue): Likewise.
22728         [XPG3 || XPG4] (sigtimedwait): Likewise.
22729         [XPG3 || XPG4] (sigwaitinfo): Likewise.
22730         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22731         [XPG3 || XPG4] (vsnprintf): Likewise.
22732         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22733         Likewise.
22734         [XPG3 || XPG4] (blksize_t): Likewise.
22735         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22736         Likewise.
22737         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22738         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22739         [XPG3 || XPG4] (struct itimerspec): Likewise.
22740         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22741         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22742         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22743         [XPG3 || XPG4] (clockid_t): Likewise.
22744         [XPG3 || XPG4] (timer_t): Likewise.
22745         [XPG3 || XPG4] (clock_getres): Likewise.
22746         [XPG3 || XPG4] (clock_gettime): Likewise.
22747         [XPG3 || XPG4] (clock_settime): Likewise.
22748         [XPG3 || XPG4] (nanosleep): Likewise.
22749         [XPG3 || XPG4] (timer_create): Likewise.
22750         [XPG3 || XPG4] (timer_delete): Likewise.
22751         [XPG3 || XPG4] (timer_gettime): Likewise.
22752         [XPG3 || XPG4] (timer_getoverrun): Likewise.
22753         [XPG3 || XPG4] (timer_settime): Likewise.
22754         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22755         [XPG3 || XPG4] (getlogin_r): Likewise.
22756         [XPG3 || XPG4] (pread): Likewise.
22757         [XPG3 || XPG4] (pthread_atfork): Likewise.
22758         [XPG3 || XPG4] (pwrite): Likewise.
22760         [BZ #14835]
22761         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22762         <bits/siginfo.h>.
22764 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
22766         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22767         finalizing MALLSTREAM.
22769         * sysdeps/mach/hurd/syncfs.c: New file.
22771 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22773         [BZ #14719]
22774         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22775         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22776         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22777         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22778         (_nss_dns_gethostbyname4_r): Likewise.
22779         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22780         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22782 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
22784         [BZ #13763]
22785         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22787 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
22789         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22790         * elf/cache.c (print_entry): Print ",AArch64" for
22791         FLAG_AARCH64_LIB64
22793         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22794         * elf/cache.c (print_entry): Print ",hard-float" for
22795         FLAG_ARM_LIBHF.
22797 2012-11-18  David S. Miller  <davem@davemloft.net>
22799         With help from Joseph Myers.
22800         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22801         cutoff to 2**-13.
22802         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22803         cutoff to 2**-25.
22804         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22805         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22806         small.
22807         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22808         * math/libm-test.inc (y0_test): New tests.
22809         (y1_test): New tests.
22810         * sysdeps/i386/fpu/libm-test-ulps: Update.
22811         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22812         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22814 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
22816         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22817         64-bit targets.
22818         * configure: Regenerated.
22820 2012-11-17  David S. Miller  <davem@davemloft.net>
22822         [BZ #14811]
22823         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22824         nonzero exponents with absolute value below 0x1p-128 to +/-
22825         0x1p-128.
22827 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
22829         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22831         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22833         * posix/getconf-speclist.c: New file.
22834         * posix/posix-envs.def: Likewise.
22835         * posix/confstr.c (START_ENV_GROUP): New macro.
22836         (END_ENV_GROUP): Likewise.
22837         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22838         (KNOWN_PRESENT_ENV_STRING): Likewise.
22839         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22840         (UNKNOWN_ENVIRONMENT): Likewise.
22841         (confstr): Include posix-envs.def instead of handling
22842         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22843         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22844         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22845         (END_ENV_GROUP): Likewise.
22846         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22847         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22848         (UNKNOWN_ENVIRONMENT): Likewise.
22849         (__sysconf): Include posix-envs.def instead of handling associated
22850         cases directly here.
22851         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22852         preprocessing getconf-speclist.c rather than running getconf or
22853         generating empty file.
22855 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
22857         * scripts/check-local-headers.sh: Ignore 'mach' headers.
22859 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
22861         [BZ #14672]
22862         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22864 2012-11-16  David S. Miller  <davem@davemloft.net>
22866         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22867         smaller than LDBL_EPSILON/2.0L, just return xm1.
22869 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
22871         * elf/tst-array1.c (init): Set constructor priority to 1000.
22872         (fini): Set destructor priority to 1000.
22873         * elf/tst-array2dep.c: Likewise.
22875 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22877         [BZ #11741]
22878         * libio/fileops.c (_IO_new_file_write): Correctly return error.
22879         (_IO_new_file_xsputn): Also return EOF if none of the input
22880         data was written when overflow failed.
22881         * libio/iopadn.c (_IO_padn): Likewise.
22882         * libio/iowpadn.c (_IO_wpadn): Likewise.
22883         * stdio-common/tst-put-error.c: Add copyright notice.
22884         (do_test): Add case for printing padded string.
22885         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22886         _IO_padn returned error.
22887         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22888         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22889         return EOF.
22891 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22893         * libio/libioP.h: Add comment note that the references to C++
22894         bits are now obsolete.
22896 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22898         * math/libm-test.inc (check_complex): Use asprintf.
22900 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
22902         * debug/pcprofiledump.c (print_version): Update copyright year.
22903         * malloc/memusagestat.c (print_version): Likewise.
22905 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
22907         [BZ #14831]
22908         * elf/Makefile (tests): Add tst-audit8.
22909         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22910         ($(objpfx)tst-audit8.out): New target.
22911         (tst-audit8-ENV): New variable.
22912         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22913         audit if l_reloc_result is NULL.
22914         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22915         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22916         * elf/tst-audit8.c: New file.
22918 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22920         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22921         * misc/Makefile (CFLAGS-select.c): Define.
22922         * posix/Makefile (CFLAGS-pause.c): Define.
22924 2012-11-13  David S. Miller  <davem@davemloft.net>
22926         * crypt/Makefile: Move test targets after toplevel Rules
22927         inclusion.  Grab any necessary sysdep routines when linking.
22928         * crypt/md5.c (md5_process_block): Remove define, we will always
22929         name it __md5_process_block.
22930         (md5_finish_ctx): Update md5_process_block call.
22931         (md5_stream): Likewise.
22932         (md5_process_bytes): Likewise.
22933         (md5_process_block): Rename to __md5_process_block and move to ...
22934         * crypt/md5-block.c: ... here.
22935         * crypt/sha256.c (sha256_process_block): Move to ...
22936         * crypt/sha256-block.c: ... here.
22937         * crypt/sha512.c (sha512_process_block): Move to ...
22938         * crypt/sha512-block.c: ... here.
22939         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22940         path.
22941         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22942         * sysdeps/sparc/sparc64/multiarch/Makefile
22943         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22944         crypt subdir.
22945         (localedef-aux): Add md5 crypto assembler when in locale subdir.
22946         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22947         multiarch changes.
22948         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22949         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22950         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22951         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22952         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22953         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22954         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22955         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22956         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22957         file.
22958         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22959         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22960         file.
22961         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22963 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
22965         * timezone/tzselect.ksh: Update from tzcode git revision
22966         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22967         * timezone/zdump.c: Likewise.
22968         * timezone/zic.c: Likewise.
22969         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22970         in TZVERSION setting, not $(PKGVERSION).
22971         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
22972         REPORT_BUGS_TO settings.
22974         [BZ #14838]
22975         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22976         macro.
22978 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22980         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22981         detection to immediately after _FP_ROUND().
22982         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22983         bits are 0.
22985 2012-11-11  David S. Miller  <davem@davemloft.net>
22987         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22988         inttypes.h
22989         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22990         __close rather than their public counterparts.
22992 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
22994         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22995         file.
22996         [UNIX98] (sem_timedwait): Do not expect.
22997         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22998         [XPG4 || UNIX98] (sockatmark): Do not expect.
22999         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23000         (clock_getcpuclockid): Do not expect.
23001         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23002         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23003         Do not expect.
23004         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23005         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23006         [UNIX98] (vwscanf): Likewise.
23007         [UNIX98] (vswscanf): Likewise.
23009 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
23011         * timezone/version.h: Remove file.
23012         * timezone/README: Do not refer to version.h.
23013         * timezone/Makefile ($(objpfx)zic.o): New dependency on
23014         $(objpfx)version.h.
23015         ($(objpfx)zdump.o): Likewise.
23016         ($(objpfx)version.h): New target.
23018         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23019         2012i.
23020         * timezone/README: Don't mention modification to tzselect.ksh.
23021         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23022         work on unmodified tzselect.ksh.  Substitute version numbers in
23023         tzselect.ksh.
23025         * Makefile (format-me): Remove.
23026         (INSTALL): Adjust indentation.  Use commands directly instead of
23027         using $(format-me).
23029         * aclocal.m4 (ACX_PKGVERSION): New macro.
23030         (ACX_BUGURL): Likewise.
23031         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23032         (PKGVERSION): New AC_DEFINE_UNQUOTED.
23033         (REPORT_BUGS_TO): Likewise.
23034         * configure: Regenerated.
23035         * config.h.in (PKGVERSION): New macro.
23036         (REPORT_BUGS_TO): Likewise.
23037         * config.make.in (PKGVERSION): New variable.
23038         (PKGVERSION_TEXI): Likewise.
23039         (REPORT_BUGS_TO): Likewise.
23040         (REPORT_BUGS_TEXI): Likewise.
23041         * Makefile (format-me): Use -I$(common-objpfx)manual.
23042         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23043         ($(common-objpfx)manual/%): New target.
23044         (manual/%): Remove target.
23045         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23046         (print_version): Use PKGVERSION.
23047         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23048         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23049         and REPORT_BUGS_TO.
23050         ($(objpfx)xtrace): Likewise.
23051         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23052         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23053         (print_version): Use PKGVERSION.
23054         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23055         (do_version): Use PKGVERSION.
23056         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23057         REPORT_BUGS_TO.
23058         (common-ldd-rewrite): Likewise.
23059         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23060         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23061         (print_version): Use PKGVERSION.
23062         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23063         * elf/pldd.c (argp_program_bug_address): Remove variable.
23064         (more_help): New function.
23065         (argp): Use more_help.
23066         (print_version): Use PKGVERSION.
23067         * elf/sln.c (main): Use PKGVERSION.
23068         (usage): Use REPORT_BUGS_TO.
23069         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23070         (top level): Use PKGVERSION.
23071         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23072         (print_version): Use PKGVERSION.
23073         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23074         (print_version): Use PKGVERSION.
23075         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23076         (print_version): Use PKGVERSION.
23077         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23078         (print_version): Use PKGVERSION.
23079         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23080         (print_version): Use PKGVERSION.
23081         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23082         (print_version): Use PKGVERSION.
23083         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23084         and BUGURL.
23085         ($(objpfx)memusage): Likewise.
23086         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23087         (do_version): Use PKGVERSION.
23088         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23089         (print_version): Use PKGVERSION.
23090         * malloc/mtrace.pl ($PACKAGE): Remove variable.
23091         ($PKGVERSION): New variable.
23092         ($REPORT_BUGS_TO): Likewise.
23093         (usage): Use $REPORT_BUGS_TO.
23094         (top level): Use $PKGVERSION.
23095         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23096         ($(objpfx)pkgvers.texi): New rule.
23097         ($(objpfx)stamp-pkgvers): Likewise.
23098         * manual/install.texi: Include pkgvers.texi.
23099         (--with-pkgversion): Document new configure option.
23100         (--with-bugurl): Likewise.
23101         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23102         than necessarily for this particular distribution.  Use
23103         REPORT_BUGS_TO for where to report bugs.
23104         * INSTALL: Regenerated.
23105         * manual/libc.texinfo: Include pkgvers.texi.
23106         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23107         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23108         (print_version): Use PKGVERSION.
23109         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23110         (print_version): Use PKGVERSION.
23111         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23112         (print_version): Use PKGVERSION.
23113         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23114         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23115         macro.
23116         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23117         (print_version): Use PKGVERSION.
23118         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23119         (print_version): Use PKGVERSION.
23120         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23121         and PKGVERSION.
23123         * timezone/checktab.awk: Update from tzcode 2012i.
23124         * timezone/ialloc.c: Likewise.
23125         * timezone/private.h: Likewise.
23126         * timezone/scheck.c: Likewise.
23127         * timezone/tzfile.h: Likewise.
23128         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23129         (TZVERSION): Hardcode tzcode version number.
23130         * timezone/zdump.c: Update from tzcode 2012i.
23131         * timezone/zic.c: Likewise.
23132         * timezone/version.h: New file.
23133         * timezone/README: Describe version.h.  Update upstream location.
23135         [BZ #14824]
23136         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23137         (mktemp): Enable declaration.
23138         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23139         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23140         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23141         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23142         Likewise.
23143         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23144         Likewise.
23145         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23146         Likewise.
23147         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23148         Likewise.
23149         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23150         Likewise.
23151         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23152         Likewise.
23154         [BZ #14821]
23155         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23156         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
23157         for copies of such integer values.
23158         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23159         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23161 2012-11-09  Andreas Jaeger  <aj@suse.de>
23163         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23164         definitions and declarations that are provided by
23165         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23167 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23169         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
23170         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23171         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23172         definition.
23174 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23176         * elf/elf.h: Update comment before AArch64 relocations.
23178 2012-11-07  David S. Miller  <davem@davemloft.net>
23180         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23181         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23182         (__start_context): Declare.
23183         (__makecontext_ret): Delete.
23184         (__makecontext): Hook up __start_context instead of
23185         __makecontext_ret.
23186         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23187         (sysdep_routines): Add __start_context when in stdlib.
23189 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23191         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23192         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23193         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
23194         hardcoded "nm".
23195         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
23196         (READELF): New variable.  Use it instead of hardcoded "readelf".
23198 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
23200         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23201         * sysdeps/x86/Makefile: Here.
23202         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23203         * sysdeps/x86/tst-xmmymm.sh: This.
23205 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23207         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23208         expectations.
23209         [UNIX98] (pthread_barrier_t): Do not expect.
23210         [UNIX98] (pthread_barrierattr_t): Likewise.
23211         [UNIX98] (pthread_spinlock_t): Likewise.
23212         [UNIX98] (pthread_barrier_destroy): Likewise.
23213         [UNIX98] (pthread_barrier_init): Likewise.
23214         [UNIX98] (pthread_barrier_wait): Likewise.
23215         [UNIX98] (pthread_barrierattr_destroy): Likewise.
23216         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23217         [UNIX98] (pthread_barrierattr_init): Likewise.
23218         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23219         [UNIX98] (pthread_getcpuclockid): Likewise.
23220         [UNIX98] (pthread_mutex_timedlock): Likewise.
23221         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23222         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23223         [UNIX98] (pthread_sigmask): Likewise.
23224         [UNIX98] (pthread_spin_destroy): Likewise.
23225         [UNIX98] (pthread_spin_init): Likewise.
23226         [UNIX98] (pthread_spin_lock): Likewise.
23227         [UNIX98] (pthread_spin_trylock): Likewise.
23228         [UNIX98] (pthread_spin_unlock): Likewise.
23229         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23230         Do not expect.
23231         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23232         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23233         [XPG3 || XPG4] (pthread_cond_t): Likewise.
23234         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23235         [XPG3 || XPG4] (pthread_key_t): Likewise.
23236         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23237         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23238         [XPG3 || XPG4] (pthread_once_t): Likewise.
23239         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23240         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23241         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23242         [XPG3 || XPG4] (pthread_t): Likewise.
23244         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23245         not expect.
23246         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23248         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23249         Change function return type to int.
23251         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23252         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23253         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23254         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23255         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23256         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23257         [!POSIX] (posix_madvise): Likewise.
23258         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23259         && !UNIX98].
23260         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23261         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23262         (mode_t): Likewise.
23263         (posix_mem_offset): Likewise.
23264         (posix_typed_mem_get_info): Likewise.
23265         (posix_typed_mem_open): Likewise.
23267         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23268         Change condition to [XOPEN2K8].
23270         * conform/conformtest.pl: Preprocess allow-header data with -x c
23271         instead of from stdin.
23272         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23273         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23274         [C99-based standards] (cerfc): Likewise.
23275         [C99-based standards] (cexp2): Likewise.
23276         [C99-based standards] (cexpm1): Likewise.
23277         [C99-based standards] (clog10): Likewise.
23278         [C99-based standards] (clog1p): Likewise.
23279         [C99-based standards] (clog2): Likewise.
23280         [C99-based standards] (clgamma): Likewise.
23281         [C99-based standards] (ctgamma): Likewise.
23282         [C99-based standards] (cerff): Likewise.
23283         [C99-based standards] (cerfcf): Likewise.
23284         [C99-based standards] (cexp2f): Likewise.
23285         [C99-based standards] (cexpm1f): Likewise.
23286         [C99-based standards] (clog10f): Likewise.
23287         [C99-based standards] (clog1pf): Likewise.
23288         [C99-based standards] (clog2f): Likewise.
23289         [C99-based standards] (clgammaf): Likewise.
23290         [C99-based standards] (ctgammaf): Likewise.
23291         [C99-based standards] (cerfl): Likewise.
23292         [C99-based standards] (cerfcl): Likewise.
23293         [C99-based standards] (cexp2l): Likewise.
23294         [C99-based standards] (cexpm1l): Likewise.
23295         [C99-based standards] (clog10l): Likewise.
23296         [C99-based standards] (clog1pl): Likewise.
23297         [C99-based standards] (clog2l): Likewise.
23298         [C99-based standards] (clgammal): Likewise.
23299         [C99-based standards] (ctgammal): Likewise.
23300         * conform/data/inttypes.h-data [C99-based standards]: Include
23301         stdint.h-data.  Remove all expectations for stdint.h contents.
23302         [C99-based standards] (PRI*): Do not allow.
23303         [C99-based standards] (SCN*): Likewise.
23304         [C99-based standards] (*_t): Likewise.
23305         [C99-based-standards] (PRId8): Expect macro.
23306         [C99-based-standards] (PRIi8): Likewise.
23307         [C99-based-standards] (PRIo8): Likewise.
23308         [C99-based-standards] (PRIu8): Likewise.
23309         [C99-based-standards] (PRIx8): Likewise.
23310         [C99-based-standards] (PRIX8): Likewise.
23311         [C99-based-standards] (SCNd8): Likewise.
23312         [C99-based-standards] (SCNi8): Likewise.
23313         [C99-based-standards] (SCNo8): Likewise.
23314         [C99-based-standards] (SCNu8): Likewise.
23315         [C99-based-standards] (SCNx8): Likewise.
23316         [C99-based-standards] (PRIdLEAST8): Likewise.
23317         [C99-based-standards] (PRIiLEAST8): Likewise.
23318         [C99-based-standards] (PRIoLEAST8): Likewise.
23319         [C99-based-standards] (PRIuLEAST8): Likewise.
23320         [C99-based-standards] (PRIxLEAST8): Likewise.
23321         [C99-based-standards] (PRIXLEAST8): Likewise.
23322         [C99-based-standards] (SCNdLEAST8): Likewise.
23323         [C99-based-standards] (SCNiLEAST8): Likewise.
23324         [C99-based-standards] (SCNoLEAST8): Likewise.
23325         [C99-based-standards] (SCNuLEAST8): Likewise.
23326         [C99-based-standards] (SCNxLEAST8): Likewise.
23327         [C99-based-standards] (PRIdFAST8): Likewise.
23328         [C99-based-standards] (PRIiFAST8): Likewise.
23329         [C99-based-standards] (PRIoFAST8): Likewise.
23330         [C99-based-standards] (PRIuFAST8): Likewise.
23331         [C99-based-standards] (PRIxFAST8): Likewise.
23332         [C99-based-standards] (PRIXFAST8): Likewise.
23333         [C99-based-standards] (SCNdFAST8): Likewise.
23334         [C99-based-standards] (SCNiFAST8): Likewise.
23335         [C99-based-standards] (SCNoFAST8): Likewise.
23336         [C99-based-standards] (SCNuFAST8): Likewise.
23337         [C99-based-standards] (SCNxFAST8): Likewise.
23338         [C99-based-standards] (PRId16): Likewise.
23339         [C99-based-standards] (PRIi16): Likewise.
23340         [C99-based-standards] (PRIo16): Likewise.
23341         [C99-based-standards] (PRIu16): Likewise.
23342         [C99-based-standards] (PRIx16): Likewise.
23343         [C99-based-standards] (PRIX16): Likewise.
23344         [C99-based-standards] (SCNd16): Likewise.
23345         [C99-based-standards] (SCNi16): Likewise.
23346         [C99-based-standards] (SCNo16): Likewise.
23347         [C99-based-standards] (SCNu16): Likewise.
23348         [C99-based-standards] (SCNx16): Likewise.
23349         [C99-based-standards] (PRIdLEAST16): Likewise.
23350         [C99-based-standards] (PRIiLEAST16): Likewise.
23351         [C99-based-standards] (PRIoLEAST16): Likewise.
23352         [C99-based-standards] (PRIuLEAST16): Likewise.
23353         [C99-based-standards] (PRIxLEAST16): Likewise.
23354         [C99-based-standards] (PRIXLEAST16): Likewise.
23355         [C99-based-standards] (SCNdLEAST16): Likewise.
23356         [C99-based-standards] (SCNiLEAST16): Likewise.
23357         [C99-based-standards] (SCNoLEAST16): Likewise.
23358         [C99-based-standards] (SCNuLEAST16): Likewise.
23359         [C99-based-standards] (SCNxLEAST16): Likewise.
23360         [C99-based-standards] (PRIdFAST16): Likewise.
23361         [C99-based-standards] (PRIiFAST16): Likewise.
23362         [C99-based-standards] (PRIoFAST16): Likewise.
23363         [C99-based-standards] (PRIuFAST16): Likewise.
23364         [C99-based-standards] (PRIxFAST16): Likewise.
23365         [C99-based-standards] (PRIXFAST16): Likewise.
23366         [C99-based-standards] (SCNdFAST16): Likewise.
23367         [C99-based-standards] (SCNiFAST16): Likewise.
23368         [C99-based-standards] (SCNoFAST16): Likewise.
23369         [C99-based-standards] (SCNuFAST16): Likewise.
23370         [C99-based-standards] (SCNxFAST16): Likewise.
23371         [C99-based-standards] (PRId32): Likewise.
23372         [C99-based-standards] (PRIi32): Likewise.
23373         [C99-based-standards] (PRIo32): Likewise.
23374         [C99-based-standards] (PRIu32): Likewise.
23375         [C99-based-standards] (PRIx32): Likewise.
23376         [C99-based-standards] (PRIX32): Likewise.
23377         [C99-based-standards] (SCNd32): Likewise.
23378         [C99-based-standards] (SCNi32): Likewise.
23379         [C99-based-standards] (SCNo32): Likewise.
23380         [C99-based-standards] (SCNu32): Likewise.
23381         [C99-based-standards] (SCNx32): Likewise.
23382         [C99-based-standards] (PRIdLEAST32): Likewise.
23383         [C99-based-standards] (PRIiLEAST32): Likewise.
23384         [C99-based-standards] (PRIoLEAST32): Likewise.
23385         [C99-based-standards] (PRIuLEAST32): Likewise.
23386         [C99-based-standards] (PRIxLEAST32): Likewise.
23387         [C99-based-standards] (PRIXLEAST32): Likewise.
23388         [C99-based-standards] (SCNdLEAST32): Likewise.
23389         [C99-based-standards] (SCNiLEAST32): Likewise.
23390         [C99-based-standards] (SCNoLEAST32): Likewise.
23391         [C99-based-standards] (SCNuLEAST32): Likewise.
23392         [C99-based-standards] (SCNxLEAST32): Likewise.
23393         [C99-based-standards] (PRIdFAST32): Likewise.
23394         [C99-based-standards] (PRIiFAST32): Likewise.
23395         [C99-based-standards] (PRIoFAST32): Likewise.
23396         [C99-based-standards] (PRIuFAST32): Likewise.
23397         [C99-based-standards] (PRIxFAST32): Likewise.
23398         [C99-based-standards] (PRIXFAST32): Likewise.
23399         [C99-based-standards] (SCNdFAST32): Likewise.
23400         [C99-based-standards] (SCNiFAST32): Likewise.
23401         [C99-based-standards] (SCNoFAST32): Likewise.
23402         [C99-based-standards] (SCNuFAST32): Likewise.
23403         [C99-based-standards] (SCNxFAST32): Likewise.
23404         [C99-based-standards] (PRId64): Likewise.
23405         [C99-based-standards] (PRIi64): Likewise.
23406         [C99-based-standards] (PRIo64): Likewise.
23407         [C99-based-standards] (PRIu64): Likewise.
23408         [C99-based-standards] (PRIx64): Likewise.
23409         [C99-based-standards] (PRIX64): Likewise.
23410         [C99-based-standards] (SCNd64): Likewise.
23411         [C99-based-standards] (SCNi64): Likewise.
23412         [C99-based-standards] (SCNo64): Likewise.
23413         [C99-based-standards] (SCNu64): Likewise.
23414         [C99-based-standards] (SCNx64): Likewise.
23415         [C99-based-standards] (PRIdLEAST64): Likewise.
23416         [C99-based-standards] (PRIiLEAST64): Likewise.
23417         [C99-based-standards] (PRIoLEAST64): Likewise.
23418         [C99-based-standards] (PRIuLEAST64): Likewise.
23419         [C99-based-standards] (PRIxLEAST64): Likewise.
23420         [C99-based-standards] (PRIXLEAST64): Likewise.
23421         [C99-based-standards] (SCNdLEAST64): Likewise.
23422         [C99-based-standards] (SCNiLEAST64): Likewise.
23423         [C99-based-standards] (SCNoLEAST64): Likewise.
23424         [C99-based-standards] (SCNuLEAST64): Likewise.
23425         [C99-based-standards] (SCNxLEAST64): Likewise.
23426         [C99-based-standards] (PRIdFAST64): Likewise.
23427         [C99-based-standards] (PRIiFAST64): Likewise.
23428         [C99-based-standards] (PRIoFAST64): Likewise.
23429         [C99-based-standards] (PRIuFAST64): Likewise.
23430         [C99-based-standards] (PRIxFAST64): Likewise.
23431         [C99-based-standards] (PRIXFAST64): Likewise.
23432         [C99-based-standards] (SCNdFAST64): Likewise.
23433         [C99-based-standards] (SCNiFAST64): Likewise.
23434         [C99-based-standards] (SCNoFAST64): Likewise.
23435         [C99-based-standards] (SCNuFAST64): Likewise.
23436         [C99-based-standards] (SCNxFAST64): Likewise.
23437         [C99-based-standards] (PRIdMAX): Likewise.
23438         [C99-based-standards] (PRIiMAX): Likewise.
23439         [C99-based-standards] (PRIoMAX): Likewise.
23440         [C99-based-standards] (PRIuMAX): Likewise.
23441         [C99-based-standards] (PRIxMAX): Likewise.
23442         [C99-based-standards] (PRIXMAX): Likewise.
23443         [C99-based-standards] (SCNdMAX): Likewise.
23444         [C99-based-standards] (SCNiMAX): Likewise.
23445         [C99-based-standards] (SCNoMAX): Likewise.
23446         [C99-based-standards] (SCNuMAX): Likewise.
23447         [C99-based-standards] (SCNxMAX): Likewise.
23448         [C99-based-standards] (PRIdPTR): Likewise.
23449         [C99-based-standards] (PRIiPTR): Likewise.
23450         [C99-based-standards] (PRIoPTR): Likewise.
23451         [C99-based-standards] (PRIuPTR): Likewise.
23452         [C99-based-standards] (PRIxPTR): Likewise.
23453         [C99-based-standards] (PRIXPTR): Likewise.
23454         [C99-based-standards] (SCNdPTR): Likewise.
23455         [C99-based-standards] (SCNiPTR): Likewise.
23456         [C99-based-standards] (SCNoPTR): Likewise.
23457         [C99-based-standards] (SCNuPTR): Likewise.
23458         [C99-based-standards] (SCNxPTR): Likewise.
23459         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23460         allow.
23461         * conform/data/stdint.h-data: Update comments to clarify
23462         requirements.
23463         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
23464         type.
23465         [C99-based standards] (INT8_MAX): Likewise.
23466         [C99-based standards] (INT16_MIN): Likewise.
23467         [C99-based standards] (INT16_MAX): Likewise.
23468         [C99-based standards] (INT32_MIN): Likewise.
23469         [C99-based standards] (INT32_MAX): Likewise.
23470         [C99-based standards] (INT64_MIN): Likewise.
23471         [C99-based standards] (INT64_MAX): Likewise.
23472         [C99-based standards] (UINT8_MAX): Likewise.
23473         [C99-based standards] (UINT16_MAX): Likewise.
23474         [C99-based standards] (UINT32_MAX): Likewise.
23475         [C99-based standards] (UINT64_MAX): Likewise.
23476         [C99-based standards] (INT_LEAST8_MIN): Likewise.
23477         [C99-based standards] (INT_LEAST8_MAX): Likewise.
23478         [C99-based standards] (INT_LEAST16_MIN): Likewise.
23479         [C99-based standards] (INT_LEAST16_MAX): Likewise.
23480         [C99-based standards] (INT_LEAST32_MIN): Likewise.
23481         [C99-based standards] (INT_LEAST32_MAX): Likewise.
23482         [C99-based standards] (INT_LEAST64_MIN): Likewise.
23483         [C99-based standards] (INT_LEAST64_MAX): Likewise.
23484         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23485         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23486         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23487         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23488         [C99-based standards] (INT_FAST8_MIN): Likewise.
23489         [C99-based standards] (INT_FAST8_MAX): Likewise.
23490         [C99-based standards] (INT_FAST16_MIN): Likewise.
23491         [C99-based standards] (INT_FAST16_MAX): Likewise.
23492         [C99-based standards] (INT_FAST32_MIN): Likewise.
23493         [C99-based standards] (INT_FAST32_MAX): Likewise.
23494         [C99-based standards] (INT_FAST64_MIN): Likewise.
23495         [C99-based standards] (INT_FAST64_MAX): Likewise.
23496         [C99-based standards] (UINT_FAST8_MAX): Likewise.
23497         [C99-based standards] (UINT_FAST16_MAX): Likewise.
23498         [C99-based standards] (UINT_FAST32_MAX): Likewise.
23499         [C99-based standards] (UINT_FAST64_MAX): Likewise.
23500         [C99-based standards] (INTPTR_MIN): Likewise.
23501         [C99-based standards] (INTPTR_MAX): Likewise.
23502         [C99-based standards] (UINTPTR_MAX): Likewise.
23503         [C99-based standards] (INTMAX_MIN): Likewise.
23504         [C99-based standards] (INTMAX_MAX): Likewise.
23505         [C99-based standards] (UINTMAX_MAX): Likewise.
23506         [C99-based standards] (PTRDIFF_MIN): Likewise.
23507         [C99-based standards] (PTRDIFF_MAX): Likewise.
23508         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23509         [C99-based standards] (SIZE_MAX): Likewise.
23510         [C99-based standards] (WCHAR_MAX): Likewise.
23511         [C99-based standards] (WINT_MAX): Likewise.
23512         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
23513         constraint on value.
23514         [C99-based standards] (WCHAR_MIN): Likewise.
23515         [C99-based standards] (WINT_MIN): Likewise.
23516         [C99-based standards] (*_t): Allow.
23517         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23518         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23519         Include math.h-data and complex.h-data.  Remove all expectations
23520         of math.h and complex.h contents.
23521         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23522         at end of line.
23523         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23524         (struct tm): Expect tag.
23525         [C99-based-standards] (wcstof): Expect function.
23526         [C99-based-standards] (wcstold): Likewise.
23527         [C99-based-standards] (wcstoll): Likewise.
23528         [C99-based-standards] (wcstoull): Likewise.
23529         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23530         macro-int-constant.  Specify type.
23531         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
23532         constraint on value.
23533         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23534         Specify type.
23535         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23536         Specify value.
23537         [ISO C standards]: Do not allow headers.
23538         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23539         wcs[abcdefghijklmnopqrstuvwxyz]*.
23540         [ISO C standards] (*_t): Do not allow.
23541         * conform/data/wctype.h-data [C99-based standards] (iswblank):
23542         Expect function.
23543         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23544         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23545         Specify type.
23546         [ISO C standards]: Do not allow headers.
23547         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23548         is[abcdefghijklmnopqrstuvwxyz]*.
23549         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23550         to[abcdefghijklmnopqrstuvwxyz]*.
23551         [ISO C standards] (*_t): Do not allow.
23552         * conform/data/stdalign.h-data: New file.
23553         * conform/data/stdbool.h-data: Likewise.
23554         * conform/data/stdnoreturn.h-data: Likewise.
23556 2012-11-07  Roland McGrath  <roland@hack.frob.com>
23558         [BZ #14815]
23559         * manual/filesys.texi (Directory Entries): Typo fix.
23560         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23562 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23564         * elf/elf.h (EM_AARCH64): New macro.
23565         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23566         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23567         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23568         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23569         (R_AARCH64_TLSDESC): Likewise.
23570         (NT_ARM_TLS): Likewise.
23571         (NT_ARM_HW_BREAK): Likewise.
23572         (NT_ARM_HW_WATCH): Likewise.
23574 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23576         [BZ #14811]
23577         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23578         (__ieee754_powl): Saturate nonzero exponents with absolute value
23579         below 0x1p-79 to +/- 0x1p-79.
23580         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23581         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23582         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23583         nonzero exponents with absolute value below 0x1p-32 to +/-
23584         0x1p-32.
23585         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23586         (__ieee754_powl): Saturate nonzero exponents with absolute value
23587         below 0x1p-79 to +/- 0x1p-79.
23588         * math/libm-test.inc (pow_test): Add more tests.
23590 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23592         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23593         _dl_s390_cap_flags with kernel. Increase string length.
23594         (_dl_s390_platforms): Add z196 and zEC12.
23596 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23598         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23599         Change XOPEN21K to XOPEN2K.
23601 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
23603         * string/memmove.c: Use memcpy when possible.
23605 2012-11-06  Andreas Jaeger  <aj@suse.de>
23607         * po/eo.po: Update from translation team.
23609 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
23611         [BZ #14793]
23612         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23613         exponent and small x and y exponents, scale x or y up.  Increase
23614         by 2 the exponent used in scaling up.
23615         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23616         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23617         * math/libm-test.inc (fma_test): Add more tests.
23618         (fma_test_towardzero): Likewise.
23619         (fma_test_downward): Likewise.
23620         (fma_test_upward): Likewise.
23622 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
23624         [BZ #14805]
23625         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23626         fenv_t *.
23628         [BZ #14801]
23629         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23630         namespace for names of struct fields.
23631         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23632         fenv_t fields.
23633         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23634         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23636 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23638         [BZ #3665]
23639         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23641 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
23643         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23644         PTR_DEMANGLE.
23646         [BZ #5246]
23647         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23648         PTR_DEMANGLE.
23650 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
23652         [BZ #14797]
23653         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23654         definitely overflow as x * y not x * y + z.
23655         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23656         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23657         * math/libm-test.inc (fma_test): Add more tests.
23658         (fma_test_towardzero): Likewise.
23659         (fma_test_downward): Likewise.
23660         (fma_test_upward): Likewise.
23662 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
23664         [BZ #157]
23666         * include/stub-tag.h: Remove file.
23667         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23668         '#include' of it.
23669         * manual/maint.texi (Porting): Don't reference it.
23670         * Makerules ($(objpfx)stubs): Likewise.
23671         * dirent/closedir.c: Don't include <stub-tag.h>.
23672         * dirent/dirfd.c: Likewise.
23673         * dirent/fdopendir.c: Likewise.
23674         * dirent/getdents.c: Likewise.
23675         * dirent/getdents64.c: Likewise.
23676         * dirent/opendir.c: Likewise.
23677         * dirent/readdir.c: Likewise.
23678         * dirent/readdir64.c: Likewise.
23679         * dirent/readdir64_r.c: Likewise.
23680         * dirent/readdir_r.c: Likewise.
23681         * dirent/rewinddir.c: Likewise.
23682         * dirent/seekdir.c: Likewise.
23683         * dirent/telldir.c: Likewise.
23684         * gmon/profil.c: Likewise.
23685         * grp/setgroups.c: Likewise.
23686         * inet/if_index.c: Likewise.
23687         * io/access.c: Likewise.
23688         * io/chdir.c: Likewise.
23689         * io/chmod.c: Likewise.
23690         * io/chown.c: Likewise.
23691         * io/close.c: Likewise.
23692         * io/dup.c: Likewise.
23693         * io/dup2.c: Likewise.
23694         * io/dup3.c: Likewise.
23695         * io/euidaccess.c: Likewise.
23696         * io/faccessat.c: Likewise.
23697         * io/fchdir.c: Likewise.
23698         * io/fchmod.c: Likewise.
23699         * io/fchmodat.c: Likewise.
23700         * io/fchown.c: Likewise.
23701         * io/fchownat.c: Likewise.
23702         * io/fcntl.c: Likewise.
23703         * io/flock.c: Likewise.
23704         * io/fstatfs.c: Likewise.
23705         * io/fstatfs64.c: Likewise.
23706         * io/fstatvfs.c: Likewise.
23707         * io/fstatvfs64.c: Likewise.
23708         * io/futimens.c: Likewise.
23709         * io/fxstat.c: Likewise.
23710         * io/fxstat64.c: Likewise.
23711         * io/fxstatat.c: Likewise.
23712         * io/fxstatat64.c: Likewise.
23713         * io/getcwd.c: Likewise.
23714         * io/isatty.c: Likewise.
23715         * io/lchmod.c: Likewise.
23716         * io/lchown.c: Likewise.
23717         * io/link.c: Likewise.
23718         * io/linkat.c: Likewise.
23719         * io/lseek.c: Likewise.
23720         * io/lseek64.c: Likewise.
23721         * io/lxstat64.c: Likewise.
23722         * io/mkdir.c: Likewise.
23723         * io/mkdirat.c: Likewise.
23724         * io/mkfifo.c: Likewise.
23725         * io/mkfifoat.c: Likewise.
23726         * io/open.c: Likewise.
23727         * io/open64.c: Likewise.
23728         * io/openat.c: Likewise.
23729         * io/openat64.c: Likewise.
23730         * io/pipe.c: Likewise.
23731         * io/pipe2.c: Likewise.
23732         * io/poll.c: Likewise.
23733         * io/posix_fadvise.c: Likewise.
23734         * io/posix_fadvise64.c: Likewise.
23735         * io/posix_fallocate.c: Likewise.
23736         * io/posix_fallocate64.c: Likewise.
23737         * io/read.c: Likewise.
23738         * io/readlink.c: Likewise.
23739         * io/readlinkat.c: Likewise.
23740         * io/rmdir.c: Likewise.
23741         * io/sendfile.c: Likewise.
23742         * io/sendfile64.c: Likewise.
23743         * io/statfs.c: Likewise.
23744         * io/statfs64.c: Likewise.
23745         * io/statvfs.c: Likewise.
23746         * io/statvfs64.c: Likewise.
23747         * io/symlink.c: Likewise.
23748         * io/symlinkat.c: Likewise.
23749         * io/ttyname.c: Likewise.
23750         * io/ttyname_r.c: Likewise.
23751         * io/umask.c: Likewise.
23752         * io/unlink.c: Likewise.
23753         * io/unlinkat.c: Likewise.
23754         * io/utime.c: Likewise.
23755         * io/utimensat.c: Likewise.
23756         * io/write.c: Likewise.
23757         * io/xmknod.c: Likewise.
23758         * io/xmknodat.c: Likewise.
23759         * io/xstat.c: Likewise.
23760         * io/xstat64.c: Likewise.
23761         * login/getpt.c: Likewise.
23762         * login/grantpt.c: Likewise.
23763         * login/unlockpt.c: Likewise.
23764         * math/e_acoshl.c: Likewise.
23765         * math/e_acosl.c: Likewise.
23766         * math/e_asinl.c: Likewise.
23767         * math/e_atan2l.c: Likewise.
23768         * math/e_atanhl.c: Likewise.
23769         * math/e_coshl.c: Likewise.
23770         * math/e_expl.c: Likewise.
23771         * math/e_fmodl.c: Likewise.
23772         * math/e_gammal_r.c: Likewise.
23773         * math/e_hypotl.c: Likewise.
23774         * math/e_j0l.c: Likewise.
23775         * math/e_j1l.c: Likewise.
23776         * math/e_jnl.c: Likewise.
23777         * math/e_lgammal_r.c: Likewise.
23778         * math/e_log10l.c: Likewise.
23779         * math/e_log2l.c: Likewise.
23780         * math/e_logl.c: Likewise.
23781         * math/e_powl.c: Likewise.
23782         * math/e_rem_pio2l.c: Likewise.
23783         * math/e_sinhl.c: Likewise.
23784         * math/e_sqrtl.c: Likewise.
23785         * math/fclrexcpt.c: Likewise.
23786         * math/fedisblxcpt.c: Likewise.
23787         * math/feenablxcpt.c: Likewise.
23788         * math/fegetenv.c: Likewise.
23789         * math/fegetexcept.c: Likewise.
23790         * math/fegetround.c: Likewise.
23791         * math/feholdexcpt.c: Likewise.
23792         * math/fesetenv.c: Likewise.
23793         * math/fesetround.c: Likewise.
23794         * math/feupdateenv.c: Likewise.
23795         * math/fgetexcptflg.c: Likewise.
23796         * math/fraiseexcpt.c: Likewise.
23797         * math/fsetexcptflg.c: Likewise.
23798         * math/ftestexcept.c: Likewise.
23799         * math/k_cosl.c: Likewise.
23800         * math/k_rem_pio2l.c: Likewise.
23801         * math/k_sinl.c: Likewise.
23802         * math/k_tanl.c: Likewise.
23803         * math/s_asinhl.c: Likewise.
23804         * math/s_atanl.c: Likewise.
23805         * math/s_cbrtl.c: Likewise.
23806         * math/s_erfl.c: Likewise.
23807         * math/s_expm1l.c: Likewise.
23808         * math/s_log1pl.c: Likewise.
23809         * math/s_tanhl.c: Likewise.
23810         * misc/acct.c: Likewise.
23811         * misc/brk.c: Likewise.
23812         * misc/chflags.c: Likewise.
23813         * misc/chroot.c: Likewise.
23814         * misc/fchflags.c: Likewise.
23815         * misc/fgetxattr.c: Likewise.
23816         * misc/flistxattr.c: Likewise.
23817         * misc/fremovexattr.c: Likewise.
23818         * misc/fsetxattr.c: Likewise.
23819         * misc/fsync.c: Likewise.
23820         * misc/ftruncate.c: Likewise.
23821         * misc/futimes.c: Likewise.
23822         * misc/futimesat.c: Likewise.
23823         * misc/getdomain.c: Likewise.
23824         * misc/getdtsz.c: Likewise.
23825         * misc/gethostid.c: Likewise.
23826         * misc/gethostname.c: Likewise.
23827         * misc/getloadavg.c: Likewise.
23828         * misc/getpagesize.c: Likewise.
23829         * misc/getsysstats.c: Likewise.
23830         * misc/getxattr.c: Likewise.
23831         * misc/gtty.c: Likewise.
23832         * misc/ioctl.c: Likewise.
23833         * misc/lgetxattr.c: Likewise.
23834         * misc/listxattr.c: Likewise.
23835         * misc/llistxattr.c: Likewise.
23836         * misc/lremovexattr.c: Likewise.
23837         * misc/lsetxattr.c: Likewise.
23838         * misc/lutimes.c: Likewise.
23839         * misc/madvise.c: Likewise.
23840         * misc/mincore.c: Likewise.
23841         * misc/mlock.c: Likewise.
23842         * misc/mlockall.c: Likewise.
23843         * misc/mmap.c: Likewise.
23844         * misc/mprotect.c: Likewise.
23845         * misc/msync.c: Likewise.
23846         * misc/munlock.c: Likewise.
23847         * misc/munlockall.c: Likewise.
23848         * misc/munmap.c: Likewise.
23849         * misc/preadv.c: Likewise.
23850         * misc/preadv64.c: Likewise.
23851         * misc/ptrace.c: Likewise.
23852         * misc/pwritev.c: Likewise.
23853         * misc/pwritev64.c: Likewise.
23854         * misc/readv.c: Likewise.
23855         * misc/reboot.c: Likewise.
23856         * misc/remap_file_pages.c: Likewise.
23857         * misc/removexattr.c: Likewise.
23858         * misc/revoke.c: Likewise.
23859         * misc/select.c: Likewise.
23860         * misc/setdomain.c: Likewise.
23861         * misc/setegid.c: Likewise.
23862         * misc/seteuid.c: Likewise.
23863         * misc/sethostid.c: Likewise.
23864         * misc/sethostname.c: Likewise.
23865         * misc/setregid.c: Likewise.
23866         * misc/setreuid.c: Likewise.
23867         * misc/setxattr.c: Likewise.
23868         * misc/sstk.c: Likewise.
23869         * misc/stty.c: Likewise.
23870         * misc/swapoff.c: Likewise.
23871         * misc/swapon.c: Likewise.
23872         * misc/sync.c: Likewise.
23873         * misc/syncfs.c: Likewise.
23874         * misc/syscall.c: Likewise.
23875         * misc/truncate.c: Likewise.
23876         * misc/ualarm.c: Likewise.
23877         * misc/usleep.c: Likewise.
23878         * misc/ustat.c: Likewise.
23879         * misc/utimes.c: Likewise.
23880         * misc/vhangup.c: Likewise.
23881         * misc/writev.c: Likewise.
23882         * posix/_exit.c: Likewise.
23883         * posix/alarm.c: Likewise.
23884         * posix/execve.c: Likewise.
23885         * posix/fexecve.c: Likewise.
23886         * posix/fork.c: Likewise.
23887         * posix/fpathconf.c: Likewise.
23888         * posix/getaddrinfo.c: Likewise.
23889         * posix/getegid.c: Likewise.
23890         * posix/geteuid.c: Likewise.
23891         * posix/getgid.c: Likewise.
23892         * posix/getgroups.c: Likewise.
23893         * posix/getlogin.c: Likewise.
23894         * posix/getlogin_r.c: Likewise.
23895         * posix/getpgid.c: Likewise.
23896         * posix/getpid.c: Likewise.
23897         * posix/getppid.c: Likewise.
23898         * posix/getresgid.c: Likewise.
23899         * posix/getresuid.c: Likewise.
23900         * posix/getsid.c: Likewise.
23901         * posix/getuid.c: Likewise.
23902         * posix/glob64.c: Likewise.
23903         * posix/nanosleep.c: Likewise.
23904         * posix/pathconf.c: Likewise.
23905         * posix/pause.c: Likewise.
23906         * posix/posix_madvise.c: Likewise.
23907         * posix/pread.c: Likewise.
23908         * posix/pread64.c: Likewise.
23909         * posix/pwrite.c: Likewise.
23910         * posix/pwrite64.c: Likewise.
23911         * posix/sched_getaffinity.c: Likewise.
23912         * posix/sched_getp.c: Likewise.
23913         * posix/sched_gets.c: Likewise.
23914         * posix/sched_primax.c: Likewise.
23915         * posix/sched_primin.c: Likewise.
23916         * posix/sched_rr_gi.c: Likewise.
23917         * posix/sched_setaffinity.c: Likewise.
23918         * posix/sched_setp.c: Likewise.
23919         * posix/sched_sets.c: Likewise.
23920         * posix/sched_yield.c: Likewise.
23921         * posix/setgid.c: Likewise.
23922         * posix/setlogin.c: Likewise.
23923         * posix/setpgid.c: Likewise.
23924         * posix/setresgid.c: Likewise.
23925         * posix/setresuid.c: Likewise.
23926         * posix/setsid.c: Likewise.
23927         * posix/setuid.c: Likewise.
23928         * posix/sleep.c: Likewise.
23929         * posix/spawni.c: Likewise.
23930         * posix/sysconf.c: Likewise.
23931         * posix/times.c: Likewise.
23932         * posix/wait.c: Likewise.
23933         * posix/wait3.c: Likewise.
23934         * posix/wait4.c: Likewise.
23935         * posix/waitpid.c: Likewise.
23936         * resolv/gai_sigqueue.c: Likewise.
23937         * resource/getpriority.c: Likewise.
23938         * resource/getrlimit.c: Likewise.
23939         * resource/getrusage.c: Likewise.
23940         * resource/nice.c: Likewise.
23941         * resource/setpriority.c: Likewise.
23942         * resource/setrlimit.c: Likewise.
23943         * resource/ulimit.c: Likewise.
23944         * rt/aio_cancel.c: Likewise.
23945         * rt/aio_fsync.c: Likewise.
23946         * rt/aio_read.c: Likewise.
23947         * rt/aio_sigqueue.c: Likewise.
23948         * rt/aio_suspend.c: Likewise.
23949         * rt/aio_write.c: Likewise.
23950         * rt/clock_getres.c: Likewise.
23951         * rt/clock_gettime.c: Likewise.
23952         * rt/clock_nanosleep.c: Likewise.
23953         * rt/clock_settime.c: Likewise.
23954         * rt/lio_listio.c: Likewise.
23955         * rt/mq_close.c: Likewise.
23956         * rt/mq_getattr.c: Likewise.
23957         * rt/mq_notify.c: Likewise.
23958         * rt/mq_open.c: Likewise.
23959         * rt/mq_receive.c: Likewise.
23960         * rt/mq_send.c: Likewise.
23961         * rt/mq_setattr.c: Likewise.
23962         * rt/mq_timedreceive.c: Likewise.
23963         * rt/mq_timedsend.c: Likewise.
23964         * rt/mq_unlink.c: Likewise.
23965         * rt/shm_open.c: Likewise.
23966         * rt/shm_unlink.c: Likewise.
23967         * rt/timer_create.c: Likewise.
23968         * rt/timer_delete.c: Likewise.
23969         * rt/timer_getoverr.c: Likewise.
23970         * rt/timer_gettime.c: Likewise.
23971         * rt/timer_settime.c: Likewise.
23972         * setjmp/__longjmp.c: Likewise.
23973         * setjmp/setjmp.c: Likewise.
23974         * signal/kill.c: Likewise.
23975         * signal/killpg.c: Likewise.
23976         * signal/raise.c: Likewise.
23977         * signal/sigaction.c: Likewise.
23978         * signal/sigaltstack.c: Likewise.
23979         * signal/sigblock.c: Likewise.
23980         * signal/sigignore.c: Likewise.
23981         * signal/sigintr.c: Likewise.
23982         * signal/signal.c: Likewise.
23983         * signal/sigpause.c: Likewise.
23984         * signal/sigpending.c: Likewise.
23985         * signal/sigqueue.c: Likewise.
23986         * signal/sigreturn.c: Likewise.
23987         * signal/sigset.c: Likewise.
23988         * signal/sigsetmask.c: Likewise.
23989         * signal/sigstack.c: Likewise.
23990         * signal/sigsuspend.c: Likewise.
23991         * signal/sigtimedwait.c: Likewise.
23992         * signal/sigvec.c: Likewise.
23993         * signal/sigwait.c: Likewise.
23994         * signal/sigwaitinfo.c: Likewise.
23995         * signal/sysv_signal.c: Likewise.
23996         * socket/accept.c: Likewise.
23997         * socket/accept4.c: Likewise.
23998         * socket/bind.c: Likewise.
23999         * socket/connect.c: Likewise.
24000         * socket/getpeername.c: Likewise.
24001         * socket/getsockname.c: Likewise.
24002         * socket/getsockopt.c: Likewise.
24003         * socket/isfdtype.c: Likewise.
24004         * socket/listen.c: Likewise.
24005         * socket/recv.c: Likewise.
24006         * socket/recvfrom.c: Likewise.
24007         * socket/recvmsg.c: Likewise.
24008         * socket/send.c: Likewise.
24009         * socket/sendmsg.c: Likewise.
24010         * socket/sendto.c: Likewise.
24011         * socket/setsockopt.c: Likewise.
24012         * socket/shutdown.c: Likewise.
24013         * socket/sockatmark.c: Likewise.
24014         * socket/socket.c: Likewise.
24015         * socket/socketpair.c: Likewise.
24016         * stdio-common/ctermid.c: Likewise.
24017         * stdio-common/cuserid.c: Likewise.
24018         * stdio-common/remove.c: Likewise.
24019         * stdio-common/rename.c: Likewise.
24020         * stdio-common/renameat.c: Likewise.
24021         * stdio-common/tempname.c: Likewise.
24022         * stdlib/getcontext.c: Likewise.
24023         * stdlib/makecontext.c: Likewise.
24024         * stdlib/setcontext.c: Likewise.
24025         * stdlib/swapcontext.c: Likewise.
24026         * stdlib/system.c: Likewise.
24027         * streams/fattach.c: Likewise.
24028         * streams/fdetach.c: Likewise.
24029         * streams/getmsg.c: Likewise.
24030         * streams/getpmsg.c: Likewise.
24031         * streams/putmsg.c: Likewise.
24032         * streams/putpmsg.c: Likewise.
24033         * sysdeps/unix/bsd/getpt.c: Likewise.
24034         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24035         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24036         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24038         Likewise.
24039         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24040         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24041         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24042         * sysvipc/msgctl.c: Likewise.
24043         * sysvipc/msgget.c: Likewise.
24044         * sysvipc/msgrcv.c: Likewise.
24045         * sysvipc/msgsnd.c: Likewise.
24046         * sysvipc/semctl.c: Likewise.
24047         * sysvipc/semget.c: Likewise.
24048         * sysvipc/semop.c: Likewise.
24049         * sysvipc/semtimedop.c: Likewise.
24050         * sysvipc/shmat.c: Likewise.
24051         * sysvipc/shmctl.c: Likewise.
24052         * sysvipc/shmdt.c: Likewise.
24053         * sysvipc/shmget.c: Likewise.
24054         * termios/tcdrain.c: Likewise.
24055         * termios/tcflow.c: Likewise.
24056         * termios/tcflush.c: Likewise.
24057         * termios/tcgetattr.c: Likewise.
24058         * termios/tcgetpgrp.c: Likewise.
24059         * termios/tcsendbrk.c: Likewise.
24060         * termios/tcsetattr.c: Likewise.
24061         * termios/tcsetpgrp.c: Likewise.
24062         * time/adjtime.c: Likewise.
24063         * time/clock.c: Likewise.
24064         * time/getitimer.c: Likewise.
24065         * time/gettimeofday.c: Likewise.
24066         * time/setitimer.c: Likewise.
24067         * time/settimeofday.c: Likewise.
24068         * time/stime.c: Likewise.
24069         * time/time.c: Likewise.
24071 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
24073         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24074         /usr/old/bin.
24076         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24077         instead of spaces.
24078         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24080 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
24082         [BZ #14796]
24083         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24084         FE_TONEAREST before applying Dekker multiplication and Knuth
24085         addition.  Clear inexact exceptions and check for exact zero
24086         results afterwards.
24087         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24088         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24089         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24090         * math/libm-test.inc (fma_test): Add more tests.
24091         (fma_test_towardzero): Likewise.
24092         (fma_test_downward): Likewise.
24093         (fma_test_upward): Likewise.
24094         * sysdeps/generic/math_private.h (default_libc_fesetround): New
24095         function.
24096         (libc_fesetround): New macro.
24097         (libc_fesetroundf): Likewise.
24098         (libc_fesetroundl): Likewise.
24099         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24100         function.
24101         (libc_fesetround_387): Likewise.
24102         (libc_fesetroundf): New macro.
24103         (libc_fesetround): Likewise.
24104         (libc_fesetroundl): Likewise.
24105         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24106         function.
24107         (libc_fesetroundf): New macro.
24108         (libc_fesetround): Likewise.
24109         (libc_fesetroundl): Likewise.
24110         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24111         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24112         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24113         libm_hidden_ver.
24114         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24115         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24116         libm_hidden_def.
24117         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24118         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24119         libm_hidden_ver.
24120         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24121         libm_hidden_def.
24123         [BZ #3439]
24124         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24125         integer constant usable in #if and use that to give value to enum
24126         constant.
24127         (FE_DIVBYZERO): Likewise.
24128         (FE_UNDERFLOW): Likewise.
24129         (FE_OVERFLOW): Likewise.
24130         (FE_INVALID): Likewise.
24131         (FE_INVALID_SNAN): Likewise.
24132         (FE_INVALID_ISI): Likewise.
24133         (FE_INVALID_IDI): Likewise.
24134         (FE_INVALID_ZDZ): Likewise.
24135         (FE_INVALID_IMZ): Likewise.
24136         (FE_INVALID_COMPARE): Likewise.
24137         (FE_INVALID_SOFTWARE): Likewise.
24138         (FE_INVALID_SQRT): Likewise.
24139         (FE_INVALID_INTEGER_CONVERSION): Likewise.
24140         (FE_TONEAREST): Likewise.
24141         (FE_TOWARDZERO): Likewise.
24142         (FE_UPWARD): Likewise.
24143         (FE_DOWNWARD): Likewise.
24144         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24145         (FE_DIVBYZERO): Likewise.
24146         (FE_OVERFLOW): Likewise.
24147         (FE_UNDERFLOW): Likewise.
24148         (FE_INEXACT): Likewise.
24149         (FE_TONEAREST): Likewise.
24150         (FE_DOWNWARD): Likewise.
24151         (FE_UPWARD): Likewise.
24152         (FE_TOWARDZERO): Likewise.
24153         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24154         (FE_UNDERFLOW): Likewise.
24155         (FE_OVERFLOW): Likewise.
24156         (FE_DIVBYZERO): Likewise.
24157         (FE_INVALID): Likewise.
24158         (FE_TONEAREST): Likewise.
24159         (FE_TOWARDZERO): Likewise.
24160         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24161         (FE_OVERFLOW): Likewise.
24162         (FE_UNDERFLOW): Likewise.
24163         (FE_DIVBYZERO): Likewise.
24164         (FE_INEXACT): Likewise.
24165         (FE_TONEAREST): Likewise.
24166         (FE_TOWARDZERO): Likewise.
24167         (FE_UPWARD): Likewise.
24168         (FE_DOWNWARD): Likewise.
24169         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24170         (FE_DIVBYZERO): Likewise.
24171         (FE_OVERFLOW): Likewise.
24172         (FE_UNDERFLOW): Likewise.
24173         (FE_INEXACT): Likewise.
24174         (FE_TONEAREST): Likewise.
24175         (FE_DOWNWARD): Likewise.
24176         (FE_UPWARD): Likewise.
24177         (FE_TOWARDZERO): Likewise.
24179 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
24181         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24183 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
24185         * scripts/cross-test-ssh.sh (command): Use newlines to separate
24186         commands.  Quote $PWD.
24187         (blacklist_exports): Don't use remove_newlines.  Replace "declare
24188         -x" by "export".
24189         (remove_newlines): Remove.
24191 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
24193         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24194         * stdlib/stdlib.h (atof): Moved to ...
24195         * include/bits/stdlib-float.h: Here.  New file.
24196         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24197         * stdlib/bits/stdlib-float.h: New file.
24198         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24199         -mno-sse -mno-mmx.
24200         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24201         <xmmintrin.h>.
24203 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
24205         * conform/conformtest.pl (@headers): Add fenv.h.
24206         * conform/data/fenv.h-data: New file.
24207         * include/fenv.h [_ISOMAC]: Disable all contents of file except
24208         include of <math/fenv.h>.
24210         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24211         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24212         && !UNIX98].  Enables tests for XOPEN2K8.
24213         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24214         POSIX2008]: Likewise.
24216         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24217         (struct rusage): Do not expect type or its members.
24219         [BZ #3439]
24220         * math/math.h (FP_NAN): Define macro to integer constant usable in
24221         #if and use that to give value to enum constant.
24222         (FP_INFINITE): Likewise.
24223         (FP_ZERO): Likewise.
24224         (FP_SUBNORMAL): Likewise.
24225         (FP_NORMAL): Likewise.
24227 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
24229         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24230         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24231         arguments.
24233 2012-11-02  Roland McGrath  <roland@hack.frob.com>
24235         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24236         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24237         autoconf-time if not.
24238         * configure.in: Remove AC_PREREQ.
24240 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24242         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24243         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24244         of the internal implementation.
24246 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
24248         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24249         except include of <misc/sys/syslog.h>.
24251 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
24253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24254         function returns with a NULL context exit with zero.
24256 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24258         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24260 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
24262         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24263         (run_program_cmd): This.
24264         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24265         (tst_langinfo): New variable.  Use it.
24267 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
24269         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24270         floating point opcodes.
24272 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
24274         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24275         variable.
24277         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24279         * sysdeps/mach/hurd/powerpc: Remove directory.
24280         * sysdeps/mach/powerpc: Likewise.
24282 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
24284         * scripts/check-local-headers.sh: Ignore c++ headers.
24286 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
24288         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24289         __libc_cleanup_region_start argument.
24291 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
24293         [BZ #14784]
24294         [BZ #14785]
24295         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24296         x * y using scaling, not as x * y + z.
24297         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24298         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24299         * math/libm-test.inc (fma_test): Add more tests.
24300         (fma_test_towardzero): Likewise.
24301         (fma_test_downward): Likewise.
24302         (fma_test_upward): Likewise.
24304 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
24306         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24308 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
24310         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24311         New variable.
24313 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
24315         * rt/tst-shm.c (worker): Correct checking for mmap failure.
24317 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
24319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24320         Fix sort order.
24321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24322         Likewise.
24324 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24327         Fix the order of the list for glibc 2.17.
24328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24329         Likewise.
24331 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
24333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24335 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
24337         [BZ #14610]
24338         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24339         for low part of x being zero before using __atanl (y).
24340         * math/libm-test.inc (atan2_test): Add another test.
24342         * manual/install.texi (Configuring and compiling): Document
24343         general use of test-wrapper and test-wrapper-env.
24344         * INSTALL: Regenerated.
24346         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24347         (__fma): Do not extract and scale down low bits on after-rounding
24348         systems when result rounded to normal precision would have normal
24349         exponent.
24350         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24351         (__fmal): Do not extract and scale down low bits on after-rounding
24352         systems when result rounded to normal precision would have normal
24353         exponent.
24354         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24355         (__fmal): Do not extract and scale down low bits on after-rounding
24356         systems when result rounded to normal precision would have normal
24357         exponent.
24358         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24359         macro.
24360         (fma_test): Add more tests.
24361         (fma_test_towardzero): Likewise.
24362         (fma_test_downward): Likewise.
24363         (fma_test_upward): Likewise.
24365 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
24367         * sysdeps/i386/tininess.h: Renamed to ...
24368         * sysdeps/x86/tininess.h: This.
24369         * sysdeps/x86_64/tininess.h: Removed.
24371 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
24373         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24374         input.  Use $(build-program-cmd).
24375         ($(objpfx)tst-array1-static.out): Likewise.
24376         ($(objpfx)tst-array2.out): Likewise.
24377         ($(objpfx)tst-array3.out): Likewise.
24378         ($(objpfx)tst-array4.out): Likewise.
24379         ($(objpfx)tst-array5.out): Likewise.
24380         ($(objpfx)tst-array5-static.out): Likewise.
24382 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
24384         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24385         if defined.
24387         * nss/nsswitch.h (nss_interface_function): Provide new
24388         macro for use with NSS functions.
24389         * grp/initgroups.c: Use new macro.
24390         * nss/getXXbyYY.c: Likewise.
24391         * nss/getXXbyYY_r.c: Likewise.
24392         * nss/getXXent.c: Likewise.
24393         * nss/getXXent_r.c: Likewise.
24394         * sysdeps/posix/getaddrinfo.c: Likewise.
24396 2012-10-30  Andreas Jaeger  <aj@suse.de>
24398         * po/ru.po: Update Russion translation from translation project.
24400 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
24402         [BZ #14152]
24403         [BZ #14783]
24404         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24405         result and shift together with sticky bit instead of replicating
24406         round-to-nearest rounding.
24407         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24408         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24409         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
24410         missing underflow exceptions.
24411         (fma_test_towardzero): Add more tests.
24412         (fma_test_downward): Likewise.
24413         (fma_test_upward): Likewise.
24415         [BZ #14047]
24416         * sysdeps/generic/tininess.h: New file.
24417         * sysdeps/i386/tininess.h: Likewise.
24418         * sysdeps/sh/tininess.h: Likewise.
24419         * sysdeps/x86_64/tininess.h: Likewise.
24420         * stdlib/tst-strtod-underflow.c: Likewise.
24421         * stdlib/tst-tininess.c: Likewise.
24422         * stdlib/strtod_l.c: Include <tininess.h>.
24423         (round_and_return): Do not set errno for exact underflow cases.
24424         Force an underflow exception when setting errno for underflow.
24425         Determine underflow based on rounding to normal precision if
24426         TININESS_AFTER_ROUNDING.
24427         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24428         ERANGE for exact underflow cases.
24429         * stdlib/Makefile (tests): Add tst-tininess and
24430         tst-strtod-underflow.
24431         ($(objpfx)tst-tininess): Use $(link-libm).
24432         ($(objpfx)tst-strtod-underflow): Likewise.
24434 2012-10-30  Andreas Jaeger  <aj@suse.de>
24436         [BZ#14767]
24437         * elf/Makefile (tests): Remove conditional for have-initfini-array
24438         since this is now always required and the variable does not exist
24439         anymore.
24440         (tests-static): Likewise.
24441         (modules-names): Likewise.
24443         * po/eo.po: Add Esperanto translation from translation project.
24445         * elf/tst-array1.c (fini_array): Make writeable so that it can be
24446         merged with constructor/destructor.
24447         (init_array): Likewise.
24448         * elf/tst-array2dep.c (fini_array): Likewise.
24449         (init_array): Likewise.
24451 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
24453         * manual/message.texi: Delete @cartouche tags.
24455 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
24457         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24458         EOPNOTSUPP.
24459         * sysdeps/mach/hurd/fsync.c: Likewise.
24461         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24462         [_POSIX_REALTIME_SIGNALS]: Change condition to
24463         [_POSIX_REALTIME_SIGNALS > 0].
24465 2012-10-27  Andreas Jaeger  <aj@suse.de>
24467         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24468         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24469         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24470         [__WORDSIZE != 64]: Likewise.
24472 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
24474         *  iconvdata/tst-table.sh: Remove ${SHELL}.
24475         *  iconvdata/tst-tables.sh: Likewise.
24477 2012-10-25  David S. Miller  <davem@davemloft.net>
24479         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24480         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24481         of strtoull.
24483         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24484         ifunc-impl-list.c
24485         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24486         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24487         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24488         file.
24490 2012-10-25  Roland McGrath  <roland@hack.frob.com>
24492         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24493         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24494         __getdirentries.
24496 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
24497             Jim Blandy  <jimb@codesourcery.com>
24499         * scripts/cross-test-ssh.sh: New file.
24500         * manual/install.texi (Configuring and compiling): Document use of
24501         cross-test-ssh.sh.
24502         * INSTALL: Regenerated.
24504 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
24506         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24507         EOPNOTSUPP.
24509 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
24511         * Makeconfig (run-program-prefix): Fix comment.
24513 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
24514             Jim Blandy  <jimb@codesourcery.com>
24516         * Makeconfig (test-wrapper): New variable,
24517         (test-wrapper-env): Likewise.
24518         [$(cross-compiling) = yes && $(test-wrapper) != ""]
24519         (run-built-tests): Define to yes.
24520         (run-program-prefix): Use $(test-wrapper).
24521         (built-program-cmd): Likewise.
24522         * Rules (make-test-out): Use $(test-wrapper-env) and
24523         $(host-built-program-cmd).
24524         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24525         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24526         tst-pathopt.sh.
24527         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24528         $(test-wrapper-env) to tst-rtld-load-self.sh.
24529         ($(objpfx)order2.out): Use $(test-wrapper).
24530         ($(objpfx)tst-initorder.out): Likewise.
24531         ($(objpfx)tst-initorder2.out): Likewise.
24532         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24533         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24534         (test_wrapper_env): New variable.  Use it to run ld.so.
24535         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24536         Use it to run ld.so.
24537         (test_wrapper_env): Likewise.
24538         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24539         $(test-wrapper) to run-iconv-test.sh.
24540         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24541         (ICONV): Use $test_wrapper.
24542         * posix/Makefile ($(objpfx)globtest.out): Pass
24543         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24544         globtest.sh, not $(run-program-prefix).
24545         * posix/globtest.sh (run_via_rtld_prefix): New variable.
24546         (test_wrapper): Likewise.
24547         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
24548         set together with run_via_rtld_prefix.
24549         (run_program_prefix): Define in terms of test_wrapper and
24550         run_via_rtld_prefix.
24552 2012-10-24  Roland McGrath  <roland@hack.frob.com>
24554         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24555         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24556         Targets removed.
24558         [BZ #14743]
24559         * include/time.h: Remove librt_hidden_proto (clock_gettime).
24560         Declare __clock_getres, __clock_gettime, __clock_settime,
24561         __clock_nanosleep, and __clock_getcpuclockid.
24562         * rt/clock_gettime.c: Define __clock_gettime as an alias.
24563         Remove librt_hidden_def (clock_gettime).
24564         * sysdeps/unix/clock_gettime.c: Likewise.
24565         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24566         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24567         * rt/clock_getres.c: Define __clock_getres as an alias.
24568         * sysdeps/posix/clock_getres.c: Likewise.
24569         * rt/clock_settime.c: Define __clock_settime as an alias.
24570         * sysdeps/unix/clock_settime.c: Likewise.
24571         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24572         * sysdeps/unix/clock_nanosleep.c: Likewise.
24573         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24574         * rt/clock-compat.c: New file.
24575         * rt/Makefile (librt-routines): Add clock-compat and move
24576         $(clock-routines) to ...
24577         (routines): ... here, new variable.
24578         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24579         Don't add get_clockfreq here.
24580         * rt/Versions (libc: GLIBC_2.17): New version set.
24581         Add clock_* symbols here.
24582         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
24583         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24584         (GLIBC_2.17): Add clock_* symbols.
24585         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24586         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24587         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24589         Likewise.
24590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24591         Likewise.
24592         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24593         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24594         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24596         * NEWS: Mention the move.
24598         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24599         Use __open, __read, __close rather than their public counterparts.
24600         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24601         (__get_clockfreq_via_cpuinfo): Likewise.
24602         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24603         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24605         * config.h.in (HAVE_IFUNC): New #undef.
24606         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24607         was successful.
24608         * configure: Regenerated.
24610 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
24612         * configure.in: Move READELF check to start of file.
24613         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24614         libc_cv_asm_gnu_indirect_function in the process.
24615         * configure: Regenerated.
24617 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
24619         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24620         send the output to /dev/null.
24621         (libc_cv_cc_with_libunwind): Likewise.
24622         (libc_cv_as_noexecstack): Likewise.
24623         * configure: Regenerate.
24625 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
24627         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24629         * posix/globtest.sh (TMPDIR): Do not set.
24630         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24631         (testout): Likewise.
24633 2012-10-24  Andreas Jaeger  <aj@suse.de>
24635         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24636         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24637         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24638         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24639         posix_fadvise64, posix_fallocate64.
24641         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24642         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24643         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24644         Likewise.
24645         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24646         Likewise.
24647         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24649         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24650         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24651         <bits/fcntl-linux.h>.
24652         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24654         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24655         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24656         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24657         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24658         [__WORDSIZE != 64]: Likewise.
24660 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
24662         * Makeconfig (run-built-tests): New variable.
24663         * Rules [$(cross-compiling) = yes]: Change condition to
24664         [$(run-built-tests) = no].
24665         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24666         to [$(run-built-tests) = yes].
24667         * elf/Makefile [$(cross-compiling) = no]: Likewise
24668         * grp/Makefile [$(cross-compiling) = no]: Likewise.
24669         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24670         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24671         * intl/Makefile [$(cross-compiling) = no]: Likewise.
24672         * io/Makefile [$(cross-compiling) = no]: Likewise.
24673         * libio/Makefile [$(cross-compiling) = no]: Likewise.
24674         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24675         * misc/Makefile [$(cross-compiling) = no]: Likewise.
24676         * posix/Makefile [$(cross-compiling) = no]: Likewise.
24677         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24678         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24679         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24680         * string/Makefile [$(cross-compiling) = no]: Likewise.
24682         * posix/Makefile ($(objpfx)globtest.out): Pass
24683         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24684         $(rtld-installed-name).
24685         * posix/globtest.sh (elf_objpfx): Remove variable.
24686         (rtld_installed_name): Likewise.
24687         (library_path): Likewise.
24688         (run_program_prefix): New variable.  Use for running globtest
24689         binary.
24691 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
24692             Joseph Myers  <joseph@codesourcery.com>
24694         * Makeconfig (host-built-program-cmd): New variable.
24695         * elf/Makefile (tst-stackguard1-ARGS): Use
24696         $(host-built-program-cmd).
24697         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24698         (tst-spawn-ARGS): Likewise.
24699         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24701 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
24702             Jim Blandy  <jimb@codesourcery.com>
24704         * Makeconfig (run-via-rtld-prefix): New variable.
24705         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24706         (built-program-cmd): Likewise.
24708 2012-10-22  Andreas Jaeger  <aj@suse.de>
24710         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24711         __O_RSYNC if it exists, otherwise to O_SYNC.
24713 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
24714             Joseph Myers  <joseph@codesourcery.com>
24716         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24717         /dev/null.
24718         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24719         from /dev/null
24720         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24721         /dev/null.
24723 2012-10-22  Andreas Jaeger  <aj@suse.de>
24725         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24726         Define always.
24727         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24729         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24730         bits/fcntl-linux.h.
24732         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24733         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24735         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24736         to __O_LARGEFILE.
24737         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24738         to __O_LARGEFILE.
24740 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
24741             Joseph Myers  <joseph@codesourcery.com>
24743         * config.make.in (NM): New variable.
24745 2012-10-21  Andreas Jaeger  <aj@suse.de>
24747         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24748         definitions and declarations that are provided by
24749         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24751 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
24753         [BZ #14683]
24754         * elf/Makefile (tests-static): Add tst-leaks1-static.
24755         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24756         ($(objpfx)tst-leaks1-static): New rule.
24757         ($(objpfx)tst-leaks1-static-mem): Likewise.
24758         (tst-leaks1-static-ENV): New macro.
24759         * elf/dl-open.c (dl_open_worker): Check the main application
24760         only if SHARED is defined.
24761         * elf/tst-leaks1-static.c: New file.
24763 2012-10-20  Andreas Jaeger  <aj@suse.de>
24765         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24766         generic values for Linux.
24767         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24768         and declarations that are provided by <bits/fcntl-linux.h> and
24769         include <bits/fcntl-linux.h>.
24770         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24771         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24773 2012-10-20  Roland McGrath  <roland@hack.frob.com>
24775         * io/fcntl.h: Move include of <bits/types.h> to the top and
24776         include it unconditionally.
24778 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
24780         * wcsmbs/Makefile (tests-ifunc): New variable.
24781         (tests): Add $(tests-ifunc).
24782         * wcsmbs/test-wcschr-ifunc.c: New file.
24783         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24784         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24785         * wcsmbs/test-wcslen-ifunc.c: Likewise.
24786         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24787         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24789         * string/Makefile (tests-ifunc): New variable.
24790         (tests): Add $(tests-ifunc).
24791         * string/test-memccpy.c (TEST_NAME): New macro.
24792         * string/test-memchr.c (TEST_NAME): Likewise.
24793         * string/test-memcmp.c (TEST_NAME): Likewise.
24794         * string/test-memcpy.c (TEST_NAME): Likewise.
24795         * string/test-memmem.c (TEST_NAME): Likewise.
24796         * string/test-memmove.c (TEST_NAME): Likewise.
24797         * string/test-memset.c (TEST_NAME): Likewise.
24798         * string/test-rawmemchr.c (TEST_NAME): Likewise.
24799         * string/test-stpcpy.c (TEST_NAME): Likewise.
24800         * string/test-stpncpy.c (TEST_NAME): Likewise.
24801         * string/test-strcasecmp.c (TEST_NAME): Likewise.
24802         * string/test-strcasestr.c (TEST_NAME): Likewise.
24803         * string/test-strcat.c (TEST_NAME): Likewise.
24804         * string/test-strchr.c (TEST_NAME): Likewise.
24805         * string/test-strcmp.c(TEST_NAME): Likewise.
24806         * string/test-strcpy.c (TEST_NAME): Likewise.
24807         * string/test-strcspn.c (TEST_NAME): Likewise.
24808         * string/test-strlen.c (TEST_NAME): Likewise.
24809         * string/test-strncasecmp.c (TEST_NAME): Likewise.
24810         * string/test-strncmp.c (TEST_NAME): Likewise.
24811         * string/test-strncpy.c (TEST_NAME): Likewise.
24812         * string/test-strnlen.c (TEST_NAME): Likewise.
24813         * string/test-strpbrk.c (TEST_NAME): Likewise.
24814         * string/test-strrchr.c (TEST_NAME): Likewise.
24815         * string/test-strspn.c (TEST_NAME): Likewise.
24816         * string/test-strstr.c (TEST_NAME): Likewise.
24817         * string/test-bcopy-ifunc.c: New file.
24818         * string/test-bzero-ifunc.c: Likewise.
24819         * string/test-memccpy-ifunc.c: Likewise.
24820         * string/test-memchr-ifunc.c: Likewise.
24821         * string/test-memcmp-ifunc.c: Likewise.
24822         * string/test-memcpy-ifunc.c: Likewise.
24823         * string/test-memmem-ifunc.c: Likewise.
24824         * string/test-memmove-ifunc.c: Likewise.
24825         * string/test-mempcpy-ifunc.c: Likewise.
24826         * string/test-memset-ifunc.c: Likewise.
24827         * string/test-rawmemchr-ifunc.c: Likewise.
24828         * string/test-stpcpy-ifunc.c: Likewise.
24829         * string/test-stpncpy-ifunc.c: Likewise.
24830         * string/test-strcasecmp-ifunc.c: Likewise.
24831         * string/test-strcasestr-ifunc.c: Likewise.
24832         * string/test-strcat-ifunc.c: Likewise.
24833         * string/test-strchr-ifunc.c: Likewise.
24834         * string/test-strchrnul-ifunc.c: Likewise.
24835         * string/test-strcmp-ifunc.c: Likewise.
24836         * string/test-strcpy-ifunc.c: Likewise.
24837         * string/test-strcspn-ifunc.c: Likewise.
24838         * string/test-strlen-ifunc.c: Likewise.
24839         * string/test-strncasecmp-ifunc.c: Likewise.
24840         * string/test-strncat-ifunc.c: Likewise.
24841         * string/test-strncmp-ifunc.c: Likewise.
24842         * string/test-strncpy-ifunc.c: Likewise.
24843         * string/test-strnlen-ifunc.c: Likewise.
24844         * string/test-strpbrk-ifunc.c: Likewise.
24845         * string/test-strrchr-ifunc.c: Likewise.
24846         * string/test-strspn-ifunc.c: Likewise.
24847         * string/test-strstr-ifunc.c: Likewise.
24849         * debug/Makefile (tests-ifunc): New variable.
24850         (tests): Add $(tests-ifunc).
24851         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24852         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24853         * debug/test-stpcpy_chk-ifunc.c: New file.
24854         * debug/test-strcpy_chk-ifunc.c: Likewise.
24856 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24858         [BZ #13601]
24859         * elf/dl-load.c (open_verify): Retry read if the entire ELF
24860         header is not read in.
24862 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
24864         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
24865         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
24866         directly.  Pass built executable to script as
24867         $(built-program-cmd).
24868         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
24869         $testprogram without using LD_LIBRARY_PATH and $ldso.
24871         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24872         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24873         $(rtld-installed-name).
24874         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24875         (rtld_installed_name): Likewise.
24876         (library_path): Likewise.
24877         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
24878         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24879         $(run-program-prefix) to tst-tables.sh.
24880         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
24881         it to run tst-table-from and tst-table-to.
24882         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24883         Pass it to tst-table.sh.
24884         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24885         $(run-program-prefix) to tst-gettext.sh.
24886         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24887         tst-translit.sh.
24888         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24889         tst-gettext2.sh.
24890         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
24891         to run tst-gettext.
24892         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
24893         to run tst-gettext2.
24894         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
24895         to run tst-translit.
24896         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24897         $(run-program-prefix) to tst-mtrace.sh.
24898         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
24899         to run tst-mtrace.
24900         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24901         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24902         $(rtld-installed-name).
24903         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24904         (rtld_installed_name): Likewise.
24905         (run_program_prefix): New variable.  Use it to run wordexp-test.
24907         * Makeconfig (ARCH): Remove all definitions.
24908         (machine): Likewise.
24909         [ARCH]: Remove conditional code.
24910         [!objdir]: Give error.
24911         [!objdir] (objpfx): Remove.
24912         [!objdir] (common-objpfx): Likewise.
24913         [!objdir] (common-objdir): Likewise.
24914         * configure.in (config_makefile): Remove.  Hardcode Makefile in
24915         AC_CONFIG_FILES call.
24916         * configure: Regenerated.
24918         [BZ #13888]
24919         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24920         or TMPDIR.
24921         (testout): Likewise.
24923         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24924         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24925         $(rtld-installed-name).
24926         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24927         (rtld_installed_name): Likwise.
24928         (runit): Remove function.
24929         (run_getconf): New variable,  Use it for running getconf binary.
24931 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
24933         [BZ #14716]
24934         * string/test-memmem.c (check_result): New function.
24935         (do_one_test): Use it.
24936         (check1): New function.
24937         (test_main): Use it.
24939 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
24941         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24943 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
24945         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24946         (_G_LSEEK64): Likewise.
24947         (_G_MMAP64): Likewise.
24948         (_G_FSTAT64): Likewise.
24949         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24950         (_G_LSEEK64): Likewise.
24951         (_G_MMAP64): Likewise.
24952         (_G_FSTAT64): Likewise.
24953         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24954         unconditional.  Call __mmap64 directly.
24955         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24956         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
24957         __lseek64 directly.
24958         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24959         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
24960         __mmap64 directly.
24961         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24962         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
24963         __lseek64 directly.
24964         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24965         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
24966         __lseek64 directly.
24967         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24968         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
24969         __lseek64 directly.
24970         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24971         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
24972         __fxstat64 directly.
24973         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24974         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24975         unconditional.
24976         (freopen64) [!_G_OPEN64]: Remove conditional code.
24977         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24978         unconditional.
24979         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24980         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24981         unconditional.
24982         (ftello64) [!_G_LSEEK64]: Remove conditional code.
24983         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24984         unconditional.
24985         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24986         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24987         unconditional.
24988         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24989         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24990         unconditional.
24991         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24992         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24993         unconditional.
24994         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24995         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24996         unconditional.
24997         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24999 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25001         [BZ #12140]
25002         * manual/memory.texi (Malloc Tunable Parameters): Add note
25003         about free list pointers overwriting some perturb bytes.
25004         Wording suggested by Roland McGrath.
25006 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
25008         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25009         (lgamma_test): Likewise.
25010         (tgamma_test): Likewise.
25012 2012-10-16  Florian Weimer  <fweimer@redhat.com>
25014         [BZ #14700]
25015         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25016         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25018 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
25020         * NEWS: Mention BZ #14716.
25021         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25022         when removing AVAILABLE1_USES_J macro.
25024 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
25026         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25027         (__bswap_64): __uint64_t for unsigned 64-bit int.
25029 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
25031         * include/string.h (memmem): Declare libc hidden alias.
25032         * string/memmem.c (memmem): Define libc hidden alias.
25033         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25034         __read, __close instead of open, read, close.
25036 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
25038         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25039         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25040         global and hidden.
25041         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25042         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25043         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25044         Likewise.
25045         (__rawmemchr_sse2): Likewise.
25046         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25047         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25048         (__strchr_sse2): Likewise.
25049         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25050         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25051         (__strcasecmp_sse2): Likewise.
25052         (__strncasecmp_sse2): Likewise.
25053         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25054         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25055         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25056         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25057         (__strrchr_sse2): Likewise.
25058         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25059         ifunc-impl-list.c.
25060         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25061         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25062         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25063         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25064         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25065         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25066         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25067         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25068         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25069         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25070         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25071         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25072         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25073         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25074         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25075         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25076         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25077         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25078         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25079         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25080         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25081         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25082         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25083         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25084         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25085         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25086         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25087         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25088         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25089         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25091         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25092         global and hidden.
25093         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25094         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25095         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25096         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25097         Likewise.
25098         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25099         Likewise.
25100         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25101         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25102         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25103         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25104         ifunc-impl-list.c.
25105         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25106         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25107         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25108         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25109         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25110         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25111         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25112         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25113         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25114         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25115         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25116         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25117         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25118         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25119         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25120         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25121         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25122         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25123         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25124         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25125         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25126         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25127         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25128         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25129         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25130         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25131         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25132         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25133         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25134         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25135         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25136         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25137         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25138         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25139         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25140         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25141         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25142         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25143         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25144         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25145         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25147         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25148         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25149         * include/ifunc-impl-list.h: New file.
25150         * misc/ifunc-impl-list.c: Likewise.
25151         * misc/Makefile (routines): Add ifunc-impl-list.
25152         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25153         * string/test-string.h: Include <ifunc-impl-list.h>.
25154         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25155         TEST_NAME]: New variables.
25156         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25157         are defined.
25158         (test_init): Call __libc_ifunc_impl_list to initialize
25159         func_list if TEST_IFUNC and TEST_NAME are defined.
25161         * string/Makefile (strop-tests): Add bcopy and bzero.
25162         * string/test-bcopy.c: New file.
25163         * string/test-bzero.c: Likewise.
25164         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25165         defined.
25166         * string/test-memset.c: Support bzero test if TEST_BZERO is
25167         defined.
25168         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25169         __libc_memmove.
25170         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25171         __libc_memset.
25172         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25173         of memset.
25175 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
25177         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25178         * configure: Regenerated.
25180         * Makeconfig (+link-static-before-libc): Don't include
25181         $(link-static-libc).
25183         * libio/libio.h (_IO_pos_t): Remove.
25185 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
25187         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
25188         McGrath.
25190 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
25192         * crypt/crypt-entry.c: Include fips-private.h.
25193         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25194         * crypt/md5c-test.c (main): Tolerate disabled MD5.
25195         * sysdeps/unix/sysv/linux/fips-private.h: New file.
25196         * sysdeps/generic/fips-private.h: New file, dummy fallback.
25198 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
25200         * crypt/crypt-private.h: Include stdbool.h.
25201         (_ufc_setup_salt_r): Return bool.
25202         * crypt/crypt-entry.c: Include errno.h.
25203         (__crypt_r): Return NULL with EINVAL for bad salt.
25204         * crypt/crypt_util.c (bad_for_salt): New.
25205         (_ufc_setup_salt_r): Check that salt is long enough and within
25206         the specified alphabet.
25207         * crypt/badsalttest.c: New file.
25208         * crypt/Makefile (tests): Add it.
25209         ($(objpfx)badsalttest): New.
25211 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
25213         * NEWS: Add entry for BZ #14602.
25215 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
25217         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25218         type-generic.
25219         * math/libm-test.inc: Update comment listing what functions and
25220         macros are tested.
25221         (isgreater_test): New function.
25222         (isgreaterequal_test): Likewise.
25223         (isless_test): Likewise.
25224         (islessequal_test): Likewise.
25225         (islessgreater_test): Likewise.
25226         (isunordered_test): Likewise.
25227         (main): Call the new functions.
25229 2012-10-09  Roland McGrath  <roland@hack.frob.com>
25231         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25232         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25233         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25234         * sysdeps/i386/configure: Regenerated.
25235         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25236         * sysdeps/mach/configure: Regenerated.
25237         * sysdeps/mach/hurd/configure: Regenerated.
25238         * sysdeps/powerpc/configure: Regenerated.
25239         * sysdeps/powerpc/powerpc32/configure: Regenerated.
25240         * sysdeps/powerpc/powerpc64/configure: Regenerated.
25241         * sysdeps/s390/s390-32/configure: Regenerated.
25242         * sysdeps/s390/s390-64/configure: Regenerated.
25243         * sysdeps/sh/configure: Regenerated.
25244         * sysdeps/sparc/configure: Regenerated.
25245         * sysdeps/unix/sysv/linux/configure: Regenerated.
25246         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25247         * sysdeps/x86_64/configure: Regenerated.
25249         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25250         defined.  Don't check if MAP is NULL.
25252 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
25254         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25255         (_G_stat64): Likewise.
25256         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25257         (_G_stat64): Likewise.
25258         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25259         instead of struct _G_stat64.
25260         * libio/fileops.c (mmap_remap_check): Likewise.
25261         (decide_maybe_mmap): Likewise.
25262         (_IO_new_file_seekoff): Likewise.
25263         (_IO_file_stat): Likewise.
25264         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25265         _G_off64_t.
25266         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25267         instead of struct _G_stat64.
25268         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25270 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
25272         [BZ #14602]
25273         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25274         Replace with ...
25275         (CHECK_EOL): New macro.
25276         (two_way_short_needle): Check beginning of haystack for EOL.  Use
25277         CHECK_EOL.
25278         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25279         Replace with CHECK_EOL.
25280         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25281         Replace with CHECK_EOL.
25283 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
25285         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25286         type-generic.
25287         * math/libm-test.inc: Update comment listing what functions and
25288         macros are tested.
25289         (finite_test): New function.
25290         (isinf_test): Likewise.
25291         (isnan_test): Likewise.
25292         (fpclassify_test): Test subnormal input.
25293         (isfinite_test): Likewise.
25294         (isnormal_test): Likewise.
25295         (main): Call the new functions.
25297 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
25299         [BZ #14660]
25300         * Makerules (%.dynsym): Force C locale when running
25301         $(OBJDUMP) --dynamic-syms.
25303 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
25305         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25306         <stdint.h>.
25308 2012-10-06  David S. Miller  <davem@davemloft.net>
25310         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25311         upper 32-bits of the length value in %o2 since we use branch-on-register
25312         tests which consider the entire 64-bit register.
25314 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
25316         * string/test-strstr.c (check2): Add a test for page boundary.
25318 2012-10-05  David S. Miller  <davem@davemloft.net>
25320         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25321         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25322         file.
25323         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25324         sysdep_routines.
25325         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25326         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25327         and bzero when HWCAP_SPARC_CRYPTO is present.
25329 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
25331         [BZ #14602]
25332         * string/test-strstr.c (check2): New function.
25333         (test_main): Call check2.
25335         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25336         and bug-strchr1.
25337         * string/bug-strcasestr1.c (do_test): Moved to ...
25338         * string/test-strcasestr.c (check1): Here.  New function.
25339         (do_one_test): Break out result checking code into ...
25340         (check_result): This.  New function.
25341         (do_one_test): Call check_result.
25342         (test_main): Call check1.
25343         * string/bug-strchr1.c (do_test): Moved to ...
25344         * string/test-strchr.c (check1): Here.  New function.
25345         (do_one_test): Break out result checking code into ...
25346         (check_result): This.  New function.
25347         (do_one_test): Call check_result.
25348         (test_main): Call check1.
25349         * string/bug-strstr1.c (main): Moved to ...
25350         * string/test-strstr.c (check1): Here.  New function.
25351         (do_one_test): Break out result checking code into ...
25352         (check_result): This.  New function.
25353         (do_one_test): Call check_result.
25354         (test_main): Call check1.
25355         * string/bug-strcasestr1.c: Removed.
25356         * string/bug-strchr1.c: Likewise.
25357         * string/bug-strstr1.c: Likewise.
25359         * elf/Makefile (dl-routines): Add hwcaps.
25360         * elf/dl-support.c (_dl_important_hwcaps): Removed.
25361         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25362         (_dl_important_hwcaps): Moved to ...
25363         * elf/dl-hwcaps.c: Here.  New file.
25364         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25366         [BZ #14557]
25367         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25368         if IS_IN_rtld isn't defined.
25370         * elf/dl-support.c (_dl_sysinfo_map): New.
25371         Include "get-dynamic-info.h" and "setup-vdso.h".
25372         (_dl_non_dynamic_init): Call setup_vdso.
25373         * elf/dynamic-link.h: Don't include <assert.h>.
25374         (elf_get_dynamic_info): Moved to ...
25375         * elf/get-dynamic-info.h: Here.  New file.
25376         * elf/dynamic-link.h: Include "get-dynamic-info.h".
25377         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25378         * elf/setup-vdso.h: Here.  New file.
25379         * elf/rtld.c: Include "setup-vdso.h".
25380         (dl_main): Call setup_vdso.
25382 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
25384         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25385         creal in comment listing functions tested.  List finite, isinf,
25386         isnan, isless, islessequal, isgreater, isgreaterequal,
25387         islessgreater, isunordered, lgamma_r and pow10 as functions and
25388         macros not tested.  Mention which functions not tested are aliases
25389         for other functions.  Fix typo.  Note that signs of NaNs are not
25390         tested.
25392         * scripts/config.guess: Update from config.git.
25393         * scripts/config.sub: Likewise.
25395 2012-10-04  Roland McGrath  <roland@hack.frob.com>
25397         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25398         * misc/madvise.c (madvise): Renamed to __madvise.
25399         Make madvise a weak alias.
25400         * include/sys/mman.h: Declare __madvise.
25401         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25402         * sysdeps/unix/syscalls.list
25403         (madvise): Make __madvise the strong name, and madvise a weak alias.
25404         * sysdeps/unix/sysv/linux/syscalls.list
25405         (madvise, mmap): Remove redundant entries.
25406         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25407         * malloc/malloc.c (mtrim): Likewise.
25408         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25410 2012-10-03  Roland McGrath  <roland@hack.frob.com>
25412         * sysdeps/mach/hurd/dl-cache.c: File removed.
25413         * config.h.in (USE_LDCONFIG): New #undef.
25414         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25415         * configure: Regenerated.
25416         * elf/Makefile (dl-routines): Add dl-cache only under
25417         [$(use-ldconfig) = yes].
25418         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25419         cache on [USE_LDCONFIG].
25420         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25421         [USE_LDCONFIG].
25422         * elf/rtld.c (dl_main): Likewise.
25424 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
25426         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25427         _SC_LEVEL4_CACHE_LINESIZE.
25429 2012-10-03  Roland McGrath  <roland@hack.frob.com>
25431         * sysdeps/unix/bsd/confstr.h: File removed.
25433 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
25435         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25436         sys/sdt-config.h.
25438 2012-10-02  Roland McGrath  <roland@hack.frob.com>
25440         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25441         Make 'mapoff' field ElfW(Off) rather than off_t.
25443 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
25445         * nscd/Makefile: Remove nscd-cflags and all its users.
25446         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25447         (CFLAGS-nonlib): Add compiler flags for nscd modules.
25449         [BZ #10631]
25450         * malloc.c (malloc_printerr): Clarify error message.
25452 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
25454         [BZ #14648]
25455         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25456         Set bit_FMA_Usable if FMA is supported.
25457         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25458         macro.
25459         (bit_FMA4_Usable): Updated.
25460         (index_FMA_Usable): New macro.
25461         (CPUID_FMA): Likewise
25462         (HAS_FMA): Defined with bit_FMA_Usable.
25464 2012-10-01  Roland McGrath  <roland@hack.frob.com>
25466         * bits/types.h (__swblk_t): Type removed.
25467         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25468         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25469         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25470         (__SWBLK_T_TYPE): Likewise.
25471         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25472         (__SWBLK_T_TYPE): Likewise.
25473         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25474         (__SWBLK_T_TYPE): Likewise.
25475         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25476         (__SWBLK_T_TYPE): Likewise.
25478 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
25479             Honza Horak <hhorak@redhat.com>
25481         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25482         (xdr_mapname): Use YPMAXMAP as maxsize.
25483         (xdr_peername): Use YPMAXPEER as maxsize.
25484         (xdr_keydat): Use YPAXRECORD as maxsize.
25485         (xdr_valdat): Use YPMAXRECORD as maxsize.
25487 2012-10-01  Roland McGrath  <roland@hack.frob.com>
25489         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25491         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25492         * csu/init-first.c: ... here.
25493         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25494         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25495         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25496         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25497         * sysdeps/i386/init-first.c: File removed.
25498         * sysdeps/sh/init-first.c: File removed.
25500 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
25502         [BZ #14645]
25503         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25504         if x * y might underflow to zero and z is zero.
25505         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25506         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25507         * math/libm-test.inc (min_subnorm_value): New variable.
25508         (fma_test): Add more tests.
25509         (fma_test_towardzero): Likewise.
25510         (fma_test_downward): Likewise
25511         (fma_test_upward): Likewise.
25512         (initialize): Set min_subnorm_value.
25514 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
25516         [BZ #14638]
25517         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25518         0 + 0.
25519         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25520         mode for addition resulting in exact zero.
25521         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25522         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25523         exact 0 + 0.
25524         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25525         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25526         * math/libm-test.inc (fma_test): Add more tests.
25527         (fma_test_towardzero): New function.
25528         (fma_test_downward): Likewise.
25529         (fma_test_upward): Likewise.
25530         (main): Call the new functions.
25532 2012-09-28  David S. Miller  <davem@davemloft.net>
25534         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25536 2012-09-28  Roland McGrath  <roland@hack.frob.com>
25538         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25539         instead of SIGALRM.
25541         * sysdeps/gnu/_G_config.h: Moved to ...
25542         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25543         * sysdeps/mach/hurd/_G_config.h: Moved to ...
25544         * sysdeps/generic/_G_config.h: ... here.
25546         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
25548         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25550         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25551         Conditionalize target on [libnss_test1.so-version].
25553         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25555         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25556         (elfobjdir): Move out of conditionals.
25558         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25559         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25560         (__nss_lookup_function): Conditionalize label remove_from_tree on
25561         [!DO_STATIC_NSS || SHARED], matching its only use.
25563 2012-09-28  David S. Miller  <davem@davemloft.net>
25565         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25566         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25567         file.
25568         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25569         sysdep_routines.
25570         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25571         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25572         when HWCAP_SPARC_CRYPTO is present.
25574 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
25576         * io/tst-mknodat.c: Create a FIFO instead of a socket.
25578 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
25580         [BZ #6530]
25581         * stdio-common/vfprintf.c (process_string_arg): Revert
25582         2000-07-22 change.
25584 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
25586         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25587         for testcase.
25588         * stdio-common/tst-sprintf.c: Include <locale.h>
25589         (main): Test sprintf's handling of incomplete multibyte
25590         characters.
25592 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
25594         * elf/dl-runtime.c (VERSYMIDX): Removed.
25595         * elf/dl-version.c (VERSYMIDX): Likewise.
25596         * elf/do-rel.h (VERSYMIDX): Likewise.
25597         (VALIDX): Likewise.
25598         * elf/dynamic-link.h (VERSYMIDX): Likewise.
25599         * elf/rtld.c (VALIDX): Likewise.
25600         (ADDRIDX): Likewise.
25601         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25602         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25603         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
25604         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25605         (VALIDX): Likewise.
25606         (ADDRIDX): Likewise.
25608 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
25610         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25612 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
25614         [BZ #11438]
25615         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25616         to global scope.
25617         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25618         addresses are in the same scope as 192.0.2/24.
25619         * posix/gai.conf: Document new scope table defaults.
25621 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25623         [BZ #5298]
25624         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25625         for ftell.  Compute offsets from write pointers instead.
25626         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25628 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25630         [BZ #14543]
25631         * libio/Makefile (tests): New test case tst-fseek.
25632         * libio/tst-fseek.c: New test case to verify that fseek/ftell
25633         combination works in wide mode.
25634         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25635         state when the external buffer state changes.
25637 2012-09-27  David S. Miller  <davem@davemloft.net>
25639         [BZ #14376]
25640         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25641         pass reloc->r_addend in as the 'high' argument to
25642         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25646 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
25648         * rt/tst-aio2.c: Include <pthread.h>.
25649         * rt/tst-aio3.c: Likewise.
25651 2012-09-27  Steve Ellcey  <sellcey@mips.com>
25653         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25655 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
25657         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25658         contents on [SHARED].
25660 2012-09-26  Marek Polacek  <polacek@redhat.com>
25662         [BZ #14530]
25663         [BZ #13741]
25664         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25665         for C++ and GCC <4.3 as well as for non GCC compilers.
25667 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
25669         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25671 2012-09-25  Roland McGrath  <roland@hack.frob.com>
25673         * Makefile.in (all, install): Declare with .PHONY.
25674         Reported by Michael Hope <michael.hope@linaro.org>.
25676 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25678         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25679         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25680         system header.
25681         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25682         Likewise.
25683         (sydep_routines): Add the new and the internal functions.
25684         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25685         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25687         (GLIBC_2.17): Add the new function.
25688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25689         (GLIBC_2.17): Likewise.
25690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25691         (GLIBC_2.17): Likewise.
25692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25693         (GLIBC_2.17): Likewise.
25694         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25696 2012-09-25  Alan Modra  <amodra@gmail.com>
25698         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25699         Add release barrier before setting once_control to say
25700         initialisation is done.  Add hints on lwarx.  Use macro in
25701         place of isync.
25702         (clear_once_control): Add release barrier.
25704 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
25706         [BZ #13629]
25707         * math/s_clog.c (__clog): Handle more values close to |z| = 1
25708         specially.
25709         * math/s_clog10.c (__clog10): Likewise.
25710         * math/s_clog10f.c (__clog10f): Likewise.
25711         * math/s_clog10l.c (__clog10l): Likewise.
25712         * math/s_clogf.c (__clogf): Likewise.
25713         * math/s_clogl.c (__clogl): Likewise.
25714         * math/Makefile (libm-calls): Add x2y2m1.
25715         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25716         (__x2y2m1): Likewise.
25717         (__x2y2m1l): Likewise.
25718         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25719         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25720         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25721         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25722         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25723         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25724         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25725         * sysdeps/i386/fpu/libm-test-ulps: Update.
25726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25728         [BZ #14621]
25729         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25730         int as type of variable DEPTH.
25731         (glob): Use size_t instead of int as type of variables NEWCOUNT
25732         and OLD_PATHC.
25734 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25736         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25737         Add s_sincosf-sse2.
25738         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25739         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25740         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25741         macros for using routine as __sincosf_ia32.
25742         Use macro for function declaration and weak_alias.
25743         * sysdeps/i386/fpu/libm-test-ulps: Update.
25745         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25746         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25748         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25749         subnormal argument.
25750         * math/s_cexpf.c (__cexpf): Likewise.
25751         * math/s_csinf.c (__csinf): Likewise.
25752         * math/s_csinhf.c (__csinhf): Likewise.
25753         * math/s_ctanf.c (__ctanf): Likewise.
25754         * math/s_ctanhf.c (__ctanhf): Likewise.
25755         * math/s_ccosh.c (__ccoshf): Likewise.
25756         * math/s_cexp.c (__cexpl): Likewise.
25757         * math/s_csin.c (__csin): Likewise.
25758         * math/s_csinh.c (__csinh): Likewise.
25759         * math/s_ctan.c (__ctan): Likewise.
25760         * math/s_ctanh.c (ctanh): Likewise.
25761         * math/s_ccoshl.c (__ccoshl): Likewise.
25762         * math/s_cexpl.c (__cexpl): Likewise.
25763         * math/s_csinl.c (__csinl): Likewise.
25764         * math/s_csinhl.c (__csinhl): Likewise.
25765         * math/s_ctanl.c (__ctanl): Likewise.
25766         * math/s_ctanhl.c (__ctanhl): Likewise.
25768 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
25770         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25771         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25772         (_IO_off_t): Define to __off_t, not _G_off_t.
25773         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25774         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25775         (_IO_wint_t): Define to wint_t, not _G_wint_t.
25776         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25777         type of __dummy and __dummy2 fields.
25778         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25779         (_G_ssize_t): Likewise.
25780         (_G_off_t): Likewise.
25781         (_G_pid_t): Likewise.
25782         (_G_uid_t): Likewise.
25783         (_G_wchar_t): Likewise.
25784         (_G_wint_t): Likewise.
25785         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25786         (_G_ssize_t): Likewise.
25787         (_G_off_t): Likewise.
25788         (_G_pid_t): Likewise.
25789         (_G_uid_t): Likewise.
25790         (_G_wchar_t): Likewise.
25791         (_G_wint_t): Likewise.
25792         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25793         (_G_ssize_t): Likewise.
25794         (_G_off_t): Likewise.
25795         (_G_pid_t): Likewise.
25796         (_G_uid_t): Likewise.
25797         (_G_wchar_t): Likewise.
25798         (_G_wint_t): Likewise.
25800 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25802         * malloc/arena.c: Include malloc-sysdep.h.
25803         (shrink_heap): Use check_may_shrink_heap to decide if madvise
25804         is sufficient to shrink the heap or an unmap is needed.
25805         * sysdeps/generic/malloc-sysdep.h: New file.  Define
25806         new function check_may_shrink_heap.
25807         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
25808         new function check_may_shrink_heap.
25810 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25812         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25813         comments.
25815 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
25817         * catgets/test-gencat.sh: Add "set -e".
25818         * elf/tst-pathopt.sh: Likewise.
25819         * grp/tst_fgetgrent.sh: Likewise.
25820         * iconvdata/run-iconv-test.sh: Likewise.
25821         * intl/tst-gettext.sh: Likewise.
25822         * intl/tst-gettext2.sh: Likewise.
25823         * intl/tst-gettext4.sh: Likewise.
25824         * intl/tst-gettext6.sh: Likewise.
25825         * intl/tst-translit.sh: Likewise.
25826         * io/ftwtest-sh: Likewise.
25827         * libio/test-freopen.sh: Likewise.
25828         * malloc/tst-mtrace.sh: Likewise.
25829         * posix/globtest.sh: Likewise.
25830         * posix/tst-getconf.sh: Likewise.
25831         * posix/wordexp-tst.sh: Likewise.
25832         * stdio-common/tst-printf.sh: Likewise.
25833         * stdio-common/tst-unbputc.sh: Likewise.
25834         * stdlib/tst-fmtmsg.sh: Likewise.
25835         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25836         * catgets/Makefile: Do not specify -e option when running
25837         testsuite shell scripts.
25838         * elf/Makefile: Likewise.
25839         * grp/Makefile: Likewise.
25840         * iconvdata/Makefile: Likewise.
25841         * intl/Makefile: Likewise.
25842         * io/Makefile: Likewise.
25843         * libio/Makefile: Likewise.
25844         * malloc/Makefile: Likewise.
25845         * posix/Makefile: Likewise.
25846         * stdio-common/Makefile: Likewise.
25847         * stdlib/Makefile: Likewise.
25848         * sysdeps/x86_64/Makefile: Likewise.
25850         * io/ftwtest-sh: Add copyright header.
25851         * posix/globtest.sh: Likewise.
25852         * posix/tst-getconf.sh: Likewise.
25853         * posix/wordexp-tst.sh: Likewise.
25854         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25856 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
25858         [BZ #13679]
25859         * Makeconfig (+link): Defined as $(+link-static) if
25860         $(build-shared) isn't yes.
25861         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25862         isn't yes.
25863         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25865         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25867         [BZ #14562]
25868         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25869         new chunk size with MALLOC_ALIGN_MASK.
25871 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
25873         [BZ #5044]
25874         * stdio-common/printf_fphex.c: Include <stdbool.h> and
25875         <rounding-mode.h>.
25876         (__printf_fphex): Determine rounding using get_rounding_mode and
25877         round_away.
25878         * stdio-common/tst-printf-round.c (struct hex_test): New
25879         structure.
25880         (hex_tests): New variable.
25881         (test_hex_in_one_mode): New function.
25882         (do_test): Also run tests for hex float output.
25884 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
25886         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25887         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25888         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25889         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25890         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25891         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25892         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25893         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25895 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
25897         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25898         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25899         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25900         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25902 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
25904         [BZ #14579]
25905         * elf/rtld.c (dl_main): Limit the check for self loading to normal
25906         mode only.
25907         * elf/tst-rtld-load-self.sh: New test.
25908         * elf/Makefile: Run it.
25910 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
25912         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25913         (tst-writev-ENV): Remove.
25914         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25916 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
25918         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25920 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
25922         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25923         unconditional.
25924         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25925         Likewise.
25926         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25927         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25928         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25929         Likewise.
25931 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
25933         [BZ #14587]
25934         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25935         * config.make.in (have-cpp-asm-debuginfo): Removed.
25936         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25937         * configure: Regenerated.
25939 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
25941         [BZ #5044]
25942         * stdio-common/printf_fp.c: Include <stdbool.h> and
25943         <rounding-mode.h>.
25944         (___printf_fp): Determine rounding using get_rounding_mode and
25945         round_away.
25946         * stdio-common/tst-printf-round.c: New file.
25947         * stdio-common/Makefile (tests): Add tst-printf-round.
25948         (link-libm): New variable.
25949         ($(objpfx)tst-printf-round): Depend in $(link-libm).
25951 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
25953         [BZ #14576]
25954         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25955         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25956         Likewise.
25957         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25958         Likewise.
25960 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
25962         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25963         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25964         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25965         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25967 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
25969         [BZ #14518]
25970         * include/rounding-mode.h: New file.
25971         * sysdeps/generic/get-rounding-mode.h: Likewise.
25972         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25973         * stdlib/strtod_l.c: Include <rounding-mode.h>.
25974         (MAX_VALUE): New macro.
25975         (MIN_VALUE): Likewise.
25976         (overflow_value): New function.
25977         (underflow_value): Likewise.
25978         (round_and_return): Use overflow_value and underflow_value to
25979         determine return values in overflow and underflow cases.  Use
25980         round_away to determine rounding depending on rounding mode.
25981         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25982         determine return values in overflow and underflow cases.
25983         * stdlib/tst-strtod-round.c: Include <fenv.h>.
25984         (struct test_results): New structure.
25985         (struct test): Use struct test_results to store expected results
25986         for all rounding modes.
25987         (TEST): Include expected results for all rounding modes.
25988         (test_in_one_mode): New function.
25989         (do_test): Use test_in_one_mode to compute and check results.
25990         Check results for all rounding modes.
25991         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25992         $(link-libm).
25994 2012-12-09  Allan McRae  <allan@archlinux.org>
25996         * sysdeps/i386/fpu/libm-test-ulps: Update
25998 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
26000         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26001         (_G_int32_t): Likewise.
26002         (_G_uint16_t): Likewise.
26003         (_G_uint32_t): Likewise.
26004         (_G_HAVE_BOOL): Likewise.
26005         (_G_HAVE_ATEXIT): Likewise.
26006         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26007         (_G_HAVE_IO_FILE_OPEN): Likewise.
26008         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26009         (_G_int32_t): Likewise.
26010         (_G_uint16_t): Likewise.
26011         (_G_uint32_t): Likewise.
26012         (_G_HAVE_BOOL): Likewise.
26013         (_G_HAVE_ATEXIT): Likewise.
26014         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26015         (_G_HAVE_IO_FILE_OPEN): Likewise.
26016         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26017         (_G_int32_t): Likewise.
26018         (_G_uint16_t): Likewise.
26019         (_G_uint32_t): Likewise.
26020         (_G_HAVE_BOOL): Likewise.
26021         (_G_HAVE_ATEXIT): Likewise.
26022         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26023         (_G_HAVE_IO_FILE_OPEN): Likewise.
26025 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
26027         * csu/libc-tls.c: Update copyright years.
26029 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
26031         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26032         [!_G_USING_THUNKS]: Remove conditional code.
26033         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26034         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26036         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26037         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26038         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26039         (_G_VTABLE_LABEL_PREFIX): Likewise.
26040         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26041         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26042         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26043         (_G_VTABLE_LABEL_PREFIX): Likewise.
26044         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26045         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26046         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26047         (_G_VTABLE_LABEL_PREFIX): Likewise.
26048         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26050 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
26052         * libio/Makefile: Include ../Makeconfig before tests.
26053         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26054         only if $(build-shared) is yes.
26056         * iconv/gconv_db.c: Update copyright years.
26058 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26060         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26061         unwind info if defined PIC. Fix special cases description.
26062         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26064         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26065         DP_HI_MASK entry.
26066         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26068 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
26070         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26072         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26073         is NULL.
26075         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26076         (LDLIBS-tst-chk4): This.
26077         (LDFLAGS-tst-chk5): Renamed to ...
26078         (LDLIBS-tst-chk5): This.
26079         (LDFLAGS-tst-chk6): Renamed to ...
26080         (LDLIBS-tst-chk6): This.
26081         (LDFLAGS-tst-lfschk4): Renamed to ...
26082         (LDLIBS-tst-lfschk4): This.
26083         (LDFLAGS-tst-lfschk5): Renamed to ...
26084         (LDLIBS-tst-lfschk5): This.
26085         (LDFLAGS-tst-lfschk6): Renamed to ...
26086         (LDLIBS-tst-lfschk6): This.
26088         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26089         on $(common-objpfx)soversions.mk.
26091 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
26093         [BZ #10014]
26094         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26095         example host name.
26097 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
26099         * malloc/arena.c (arena_get_retry): New function that gets
26100         another arena for the caller to try its request on.
26101         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26102         current arena cannot fulfill the request.
26103         (__libc_memalign): Likewise.
26104         (__libc_memalign): Likewise.
26105         (__libc_pvalloc): Likewise.
26106         (__libc_calloc): Likewise.
26108 2012-09-05  John Tobey  <john.tobey@gmail.com>
26110         [BZ #13542]
26111         * manual/arith.texi (Operations on Complex): Fix description
26112         of carg branch cut.
26114 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
26116         [BZ #10014]
26117         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26118         host name.
26120         [BZ #10038]
26121         * manual/memory.texi (Memory): Make order of menu items match
26122         order of sections.
26124 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26126         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26127         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
26128         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26130 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26132         * csu/libc-tls.c (static_dtv): Renamed to ...
26133         (_dl_static_dtv): This.  Make it global.
26134         (_dl_initial_dtv): Removed.
26135         (__libc_setup_tls): Updated.
26136         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26137         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26138         DL_INITIAL_DTV.
26140 2012-09-06  Petr Machata  <pmachata@redhat.com>
26142         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26143         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26144         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26145         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26147 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26149         [BZ #14545]
26150         * csu/libc-tls.c (_dl_initial_dtv): New variable.
26151         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26152         freeing dtv[-1].
26154 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26156         [BZ #14544]
26157         * Makeconfig (link-static-before-libc): Replace $(+prector)
26158         with $(+prectorT).
26159         (link-static-after-libc): Replace $(+postctor) with
26160         $(+postctorT).
26161         (link-bounded): Replace $(+prector)/$(+postctor) with
26162         $(+prectorT)/$(+postctorT).
26163         (+prectorT): New macro.
26164         (+postctorT): Likewise.
26166 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
26168         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26169         (round_str): Handle values above the maximum for IBM long double
26170         as inexact.
26171         * stdlib/tst-strtod-round.c (tests): Regenerated.
26173 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26175         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26176         assembler flag.
26177         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26178         zarch_nohighgprs around the zarch optimized routines.
26179         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26180         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26181         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26182         for zarch.
26184 2012-09-05  David S. Miller  <davem@davemloft.net>
26186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26188         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26189         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
26190         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26191         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26192         entries.
26194 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26196         * malloc/arena.c: Fold copyright years.
26197         * malloc/mcheck.c, malloc/memusage.c: Likewise.
26199 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26201         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26203 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26205         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
26207 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26209         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26210         change internal state upon failure.
26212 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26214         * malloc/mcheck.c (mcheck_check_all): Fix typo.
26215         * malloc/memusage.c (mmap): Likewise.
26216         (mmap64, mremap): Likewise.  Adjust name in comment.
26218 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26220         * libio/fileops.c: Fix typos in comments.
26221         * libio/oldfileops.c: Likewise.
26222         * libio/wfileops.c: Likewise.
26224 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26226         [BZ #1349]
26227         * malloc/Makefile (tests): Add tst-malloc-usable test case.
26228         (tst-malloc-usable-ENV): Set environment for test case.
26229         * malloc/hooks.c (malloc_check_get_size): New function to get
26230         requested size.
26231         * malloc/malloc.c (musable): Use malloc_check_get_size.
26232         * malloc/tst-malloc-usable.c: New test case.
26234 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
26236         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26238 2012-09-05  Allan McRae  <allan@archlinux.org>
26240         [BZ #13966]
26241         * configure.in (CXX_SYSINCLUDES): Use compiler output to
26242         determine header location.
26243         * configure: Regenerated.
26245 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
26247         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26248         float format.
26249         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
26250         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26251         format.
26252         (test): Regenerate.
26254 2012-09-04  David S. Miller  <davem@davemloft.net>
26256         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26257         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26258         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26260 2012-09-04  Florian Weimer  <fweimer@redhat.com>
26262         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26263         failures.
26265         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26267 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
26269         [BZ #9914]
26270         * libio/iogetdelim.c: Include <limits.h>.
26271         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26272         + len + 1 would overflow.
26274 2012-09-03  Andreas Jaeger  <aj@suse.de>
26276         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26277         * sysdeps/i386/fpu/libm-test-ulps: Update.
26279 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26281         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26282         Add s_sinf-sse2, s_conf-sse2.
26284         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26285         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26286         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26287         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26289         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26290         for using routine as __sinf_ia32.
26291         Use macro for function declaration and weak_alias.
26292         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26293         for using routine as __cosf_ia32.
26294         Use macro for function declaration and weak_alias.
26296         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26297         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26299         * sysdeps/x86_64/fpu/s_sinf.S: New file.
26300         * sysdeps/x86_64/fpu/s_cosf.S: New file.
26301         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26303         * math/libm-test.inc (cos_test): Add more test cases.
26304         (sin_test): Likewise.
26305         (sincos_test): Likewise.
26307 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26309         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26310         (IFUNC_RESOLVE): Make pointers to the specialized implementations
26311         hidden.
26312         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26314 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
26316         [BZ #14538]
26317         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26318         first element of the GOT.
26319         (elf_machine_load_address): Return the difference between
26320         the runtime address of _DYNAMIC and elf_machine_dynamic ().
26322 2012-09-01  Allan McRae  <allan@archlinux.org>
26324         [BZ #13412]
26325         * configure.in (AWK): Require gawk version 3.0 or later.
26326         * configure: Regenerated.
26328 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
26330         * sysdeps/unix/sysv/linux/kernel-features.h
26331         (__ASSUME_POSIX_CPU_TIMERS): Remove.
26332         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26333         [__NR_clock_getres]: Make code unconditional.
26334         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26335         (clock_getcpuclockid): Remove code left unreachable by removal of
26336         conditionals.
26337         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26338         code unconditional.
26339         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26340         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26341         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26342         Make code unconditional.
26343         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26344         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26345         * sysdeps/unix/sysv/linux/clock_settime.c
26346         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26347         conditional code.
26348         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26349         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26351 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
26353         [BZ #14476]
26354         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26355         scripts/test-installation.pl.
26357         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26358         and $ld_so_version if it is set.
26360 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26362         [BZ #14516]
26363         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26364         failure if reading from procfs failed.
26365         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26367 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
26369         * sysdeps/unix/sysv/linux/kernel-features.h
26370         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26371         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26372         Remove conditional code.
26373         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26374         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26375         Remove conditional code.
26376         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26377         * sysdeps/unix/sysv/linux/i386/fxstat.c
26378         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26379         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26380         * sysdeps/unix/sysv/linux/i386/fxstatat.c
26381         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26382         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26383         * sysdeps/unix/sysv/linux/i386/lxstat.c
26384         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26385         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26386         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26387         Remove conditional code.
26388         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26389         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26390         Remove conditional code.
26391         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26392         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26393         <kernel-features.h>.
26394         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26395         Remove.
26396         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26397         Remove conditional code.
26398         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26399         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26400         Remove conditional.
26402 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
26404         [BZ #5400]
26405         * NEWS: Add fixed bug number.
26407 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
26409         [BZ #14519]
26410         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26411         underflowing exponent in case of negative sign.
26412         * stdlib/tst-strtod-round-data: Add more tests.
26413         * stdlib/tst-strtod-round.c (tests): Regenerated.
26415         [BZ #3479]
26416         * stdlib/strtod_l.c (NDIG): Remove.
26417         (HEXNDIG): Likewise.
26418         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26419         smallest representable value.
26420         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26421         lie within an exact representation of 1/2 ulp of the result.
26422         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26423         unconditionally.
26424         (TENS_P9_IDX): Define unconditionally.
26425         (TENS_P9_SIZE): Likewise.
26426         (TENS_P10_IDX): Likewise.
26427         (TENS_P10_SIZE): Likewise.
26428         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26429         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26430         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26431         entries for 10^2^13 and 10^2^14.
26432         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26433         (TENS_P13_IDX): Define.
26434         (TENS_P13_SIZE): Likewise.
26435         (TENS_P14_IDX): Likewise.
26436         (TENS_P14_SIZE): Likewise.
26437         (_fpioconst_pow10): Change array size to
26438         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
26439         unconditional.
26440         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26441         1024]: Add entries for 10^2^13 and 10^2^14.
26442         [LAST_POW10 > _LAST_POW10]: Remove #error.
26443         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26444         (_fpioconst_pow10): Change array size to
26445         FPIOCONST_POW10_ARRAY_SIZE.
26446         * stdlib/gen-fpioconst.c: New file.
26447         * stdlib/gen-tst-strtod-round.c: Likewise.
26448         * stdlib/tst-strtod-round-data: Likewise.
26449         * stdlib/tst-strtod-round.c: Likewise.
26450         * stdlib/Makefile (tests): Add tst-strtod-round.
26452         [BZ #14459]
26453         * stdlib/strtod_l.c: Include <stdint.h>.
26454         (NDEBUG): Do not define.
26455         (round_and_return): Change EXPONENT parameter to type intmax_t.
26456         Rearrange calculations to avoid internal overflow possibilities.
26457         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26458         Rearrange calculations to avoid internal overflow possibilities.
26459         Assert that number fits inside MPNSIZE limbs.
26460         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26461         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
26462         calculations and add assertions to avoid internal overflow
26463         possibilities.  Add casts to avoid signed/unsigned operations.
26464         * stdlib/tst-strtod-overflow.c: New file.
26465         * stdlib/Makefile (tests): Add tst-strtod-overflow.
26467 2012-08-25  Marek Polacek  <polacek@redhat.com>
26469         * time/time.h: Fix some typos in comments.
26471 2012-08-23  Roland McGrath  <roland@hack.frob.com>
26473         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26474         * posix/tst-rfc3484-2.c: Likewise.
26475         * posix/tst-rfc3484-3.c: Likewise.
26477 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
26479         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26480         (EF_ARM_ABI_FLOAT_HARD): Likewise.
26482 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
26484         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26485         #include of fxstatat64.c.
26487 2012-08-22  Roland McGrath  <roland@hack.frob.com>
26489         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26490         * shadow/getspent_r.c: Likewise.
26491         * shadow/getspnam.c: Likewise.
26492         * shadow/getspnam_r.c: Likewise.
26493         * gshadow/getsgent.c: Likewise.
26494         * gshadow/getsgent_r.c: Likewise.
26495         * gshadow/getsgnam.c: Likewise.
26496         * gshadow/getsgnam_r.c: Likewise.
26497         * inet/getnetbyad.c: Likewise.
26498         * inet/getnetbyad_r.c: Likewise.
26499         * inet/getnetbynm.c: Likewise.
26500         * inet/getnetbynm_r.c: Likewise.
26501         * inet/getnetent.c: Likewise.
26502         * inet/getnetent_r.c: Likewise.
26503         * inet/getproto.c: Likewise.
26504         * inet/getproto_r.c: Likewise.
26505         * inet/getprtent.c: Likewise.
26506         * inet/getprtent_r.c: Likewise.
26507         * inet/getprtname.c: Likewise.
26508         * inet/getprtname_r.c: Likewise.
26509         * inet/getrpcbyname.c: Likewise.
26510         * inet/getrpcbyname_r.c: Likewise.
26511         * inet/getrpcbynumber.c: Likewise.
26512         * inet/getrpcbynumber_r.c: Likewise.
26513         * inet/getrpcent.c: Likewise.
26514         * inet/getrpcent_r.c: Likewise.
26515         * inet/getaliasent.c: Likewise.
26516         * inet/getaliasent_r.c: Likewise.
26517         * inet/getaliasname.c: Likewise.
26518         * inet/getaliasname_r.c: Likewise.
26519         * nscd/getgrgid_r.c: Likewise.
26520         * nscd/getgrnam_r.c: Likewise.
26521         * nscd/gethstbyad_r.c: Likewise.
26522         * nscd/gethstbynm3_r.c: Likewise.
26523         * nscd/getpwnam_r.c: Likewise.
26524         * nscd/getpwuid_r.c: Likewise.
26525         * nscd/getsrvbynm_r.c: Likewise.
26526         * nscd/getsrvbypt_r.c: Likewise.
26527         * nscd/gai.c: Likewise.
26529         * configure.in (build_nscd): New substituted variable, set
26530         by --disable-build-nscd and defaults to $use_nscd.
26531         * configure: Regenerated.
26532         * config.make.in (build-nscd): New substituted variable.
26533         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26534         Change conditional to require [$(build-nscd) = yes] as well.
26535         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26537         [BZ# 13696]
26538         * configure.in (use_nscd): New substituted variable, set by
26539         --disable-nscd.  If enabled, define USE_NSCD.
26540         * configure: Regenerated.
26541         * config.h.in: Add USE_NSCD.
26542         * config.make.in (use-nscd): New substituted variable.
26543         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26544         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26545         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26546         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26547         (CFLAGS-getgrnam_r.c): Likewise.
26548         (CFLAGS-initgroups.c): Likewise.
26549         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26550         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26551         Variables removed.
26552         * inet/getnetgrent_r.c
26553         (nscd_setnetgrent): New function, broken out of ...
26554         (setnetgrent): ... here.  Call it.
26555         (innetgr): Conditionalize nscd bits on [USE_NSCD].
26556         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26557         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26558         * nscd/Makefile (routines, aux): Move definitions after include of
26559         Makeconfig.  Conditionalize on [$(use-nscd) != no].
26560         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26561         Conditionalize on [USE_NSCD].
26562         (is_nscd, nscd_init_cb): Likewise.
26563         (nss_load_library): Conditionalize init callback on [USE_NSCD].
26564         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26565         * nss/nss_db/db-init.c: Likewise.
26566         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26567         [USE_NSCD].
26568         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26569         (make_request): Use it.
26570         (cache_valid_p): New function.
26571         (__check_pf): Use it.
26572         * NEWS: Add item for --disable-nscd.
26574 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
26576         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26577         to support sed >= 4.2.1-20-ga9bf076.
26578         * configure: Regenerated.
26580 2012-08-22  Roland McGrath  <roland@hack.frob.com>
26582         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26583         Conditionalize whole body on [IREL].
26585 2012-08-22  Jeff Law <law@redhat.com>
26587         [BZ #14505]
26588         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26589         if the family is PF_UNSPEC.
26591 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
26593         * Makerules (lib-version): Rename from V.
26594         (install-lib-nosubdir): Change V to lib-version.
26596 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
26598         [BZ #14252]
26599         * powerpc32/power6/wcschr.c: New file.
26600         * powerpc32/power6/wcscpy.c: New file.
26601         * powerpc32/power6/wcsrchr.c: New file.
26602         * powerpc64/power6/wcschr.c: New file.
26603         * powerpc64/power6/wcscpy.c: New file.
26604         * powerpc64/power6/wcsrchr.c: New file.
26606 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
26608         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26609         (two_way_short_needle): Use it.
26610         * string/strstr.c (AVAILABLE1_USES_J): Define.
26611         * string/strcasestr.c: Likewise.
26613         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26614         array references.
26615         * string/strcasestr.c (TOLOWER): Make side-effect safe.
26617         [BZ #11607]
26618         * NEWS: Add an entry.
26619         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26620         define their defaults.
26621         (two_way_short_needle): Detect end-of-string on-the-fly.
26622         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26623         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26624         * string/bug-strcasestr1.c: New test.
26625         * string/Makefile: Run it.
26627 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
26629         [BZ #11607]
26630         * string/str-two-way.h (two_way_short_needle): Optimize matching of
26631         the first character.
26633 2012-08-21  Roland McGrath  <roland@hack.frob.com>
26635         * csu/elf-init.c (__libc_csu_irel): Function removed.
26636         * csu/libc-start.c (apply_irel): New function.
26637         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26639 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
26641         * sysdeps/unix/sysv/linux/kernel-features.h
26642         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26643         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26644         <kernel-features.h>.
26645         [__NR_fadvise64_64]: Make code unconditional.
26646         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26647         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26648         !__NR_fadvise64_64)]: Likewise.
26649         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26650         !__NR_fadvise64_64))]: Likewise.
26651         [__NR_fadvise64]: Make code unconditional.
26652         [!__NR_fadvise64]: Remove conditional code.
26653         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26654         <kernel-features.h>.
26655         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26656         unconditional.
26657         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26658         conditional code.
26659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26660         not include <kernel-features.h>.
26661         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26662         unconditional.
26663         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26664         conditional code.
26665         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26666         include <kernel-features.h>.
26667         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26668         unconditional.
26669         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26670         conditional code.
26672 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
26674         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26675         slight instruction rearrangements per scrollpipe analysis.
26676         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26678 2012-08-20  Roland McGrath  <roland@hack.frob.com>
26680         * manual/syslog.texi (syslog; vsyslog, closelog):
26681         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26682         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26684         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26685         DSOCAPS to match condition on defining it.
26687 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
26689         * sysdeps/unix/sysv/linux/kernel-features.h
26690         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26692         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26693         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26695         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26696         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26698         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26699         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26701         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26702         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26704         * sysdeps/unix/sysv/linux/kernel-features.h
26705         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26706         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26707         unconditional.
26708         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26709         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26710         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26711         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26712         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26713         Make code unconditional.
26714         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26715         (__mmap64) [!__NR_mmap2]: Likewise.
26716         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26717         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26718         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26719         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26720         [__NR_mmap2]: Make code unconditional.
26721         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26722         (__mmap64) [!__NR_mmap2]: Likewise.
26724 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26726         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26728 2012-08-18  Andreas Jaeger  <aj@suse.de>
26730         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26732 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
26734         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26735         * include/unistd.h (__have_sock_cloexec): Likewise.
26736         (__have_pipe2): Likewise.
26737         (__have_dup3): Likewise.
26739 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
26741         [BZ #9685]
26742         * include/unistd.h (__have_pipe2): Change define into an extern int.
26743         (__have_dup3): Likewise.
26744         * socket/have_sock_cloexec.c: Include fcntl.h.
26745         (__have_pipe2): New variable.
26746         (__have_dup3): Likewise.
26748 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
26750         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26752 2012-08-17  Marek Polacek  <polacek@redhat.com>
26754         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26755         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26757 2012-08-17  Roland McGrath  <roland@hack.frob.com>
26759         * configure.in: Add AC_SUBST for sysheaders.
26760         * configure: Regenerated.
26761         * config.make.in (sysheaders): New substituted variable.
26763         * sysdeps/unix/mkfifo.c: Moved ...
26764         * sysdeps/posix/mkfifo.c: ... here.
26765         * sysdeps/unix/mkfifoat.c: Moved ...
26766         * sysdeps/posix/mkfifoat.c: ... here.
26768         * sysdeps/unix/utime.c: Moved ...
26769         * sysdeps/posix/utime.c: ... here.
26771         * sysdeps/unix/time.c: Moved ...
26772         * sysdeps/posix/time.c: ... here.
26773         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26774         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26776         * sysdeps/unix/nice.c: Moved ...
26777         * sysdeps/posix/nice.c: ... here.
26779         * sysdeps/unix/alarm.c: Moved ...
26780         * sysdeps/posix/alarm.c: ... here.
26782         * intl/Makefile ($(codeset_mo)): Depend on the input file.
26784 2012-08-17  Jeff Law <law@redhat.com>
26786         * intl/Makefile (codeset_mo): New variable.
26787         ($(codeset_mo)): New target.
26788         (tst-codeset.out): Depend on that.  Remove explicit rule.
26789         (tst-gettext3.out, tst-gettext5.out): Likewise.
26790         (LOCPATH-ENV, tst-codeset-ENV): New variables.
26791         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26792         * intl/tst-codeset.sh: Remove.
26793         * intl/tst-gettext3.sh: Likewise.
26794         * intl/tst-gettext5.sh: Likewise.
26796 2012-08-17  Roland McGrath  <roland@hack.frob.com>
26798         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
26799         * sysdeps/unix/syscalls.list: ... here.
26801         * sysdeps/posix/getaddrinfo.c
26802         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26803         (gaiconf_init, gaiconf_reload): Use them.
26804         [!_STATBUF_ST_NSEC]
26805         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26806         Define using time_t rather than struct timespec.
26808         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26809         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26810         Macros removed.
26811         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26812         [!NO_THREADS].
26813         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26814         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26815         Likewise.
26817         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26818         __libc_cleanup_push argument.
26820         * bits/param.h: New file.
26821         * misc/sys/param.h: New file.
26822         * include/sys/param.h: New file.
26823         * misc/Makefile (headers): Add bits/param.h.
26824         * sysdeps/generic/sys/param.h: File removed.
26825         * sysdeps/unix/sysv/linux/bits/param.h: New file.
26826         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26827         * sysdeps/mach/hurd/bits/param.h: New file.
26828         * sysdeps/mach/hurd/sys/param.h: File removed.
26830         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26831         last change.
26833         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26834         [_IO_MTSAFE_IO].
26835         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26836         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26837         New macros.
26839         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26840         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26841         rather than -D_IO_MTSAFE_IO conditionally.
26842         * stdio-common/Makefile (CPPFLAGS): Likewise.
26843         * wcsmbs/Makefile (CPPFLAGS): Likewise.
26844         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26845         Use $(libio-mtsafe).
26846         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26847         of -D_IO_MTSAFE_IO.
26848         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26849         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26850         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26851         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26852         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26853         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26854         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26855         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26856         (CFLAGS-fread_u_chk.c): Likewise.
26857         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26858         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26859         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26860         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26861         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26862         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26863         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26864         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26865         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26867         * libio/Makefile: Test [$(libc-reentrant) = yes]
26868         instead of [$(filter %REENTRANT, $(defines)) nonempty].
26870         * Makeconfig
26871         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26872         * sysdeps/pthread/configure: File removed.
26873         * sysdeps/pthread/Makeconfig: New file.
26874         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26875         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26877 2012-08-16  Gary Benson  <gbenson@redhat.com>
26879         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26880         unmapping the first object in a namespace.
26882 2012-08-16  Roland McGrath  <roland@hack.frob.com>
26884         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26885         (__internal_setnetgrent): ... this.  Add internal_function to
26886         definition.  Add libc_hidden_def.
26887         (setnetgrent): Update caller.
26888         (internal_endnetgrent): Renamed to ...
26889         (__internal_endnetgrent): ... this.  Add internal_function to
26890         definition.  Add libc_hidden_def.
26891         (endnetgrent): Update caller.
26892         (internal_getnetgrent_r): Renamed to ...
26893         (__internal_getnetgrent_r): ... this.  Add internal_function to
26894         definition.  Add libc_hidden_def.
26895         (__getnetgrent_r): Update caller.
26896         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
26898 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
26900         * stdlib/longlong.h: Update from GCC.
26902 2012-08-16  Roland McGrath  <roland@hack.frob.com>
26904         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26905         on _QL, which is set by umul_ppmm but never used.
26906         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26907         variables, which are set by GMP macros but never used.
26908         * stdio-common/_itowa.c (_itowa): Likewise.
26909         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26910         * stdlib/mod_1.c (mpn_mod_1): Likewise.
26912 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
26914         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26915         struct La_sh_regs is not constant.
26916         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26917         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26918         and struct La_sparc64_regs are not constant.
26920 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
26922         * sysdeps/unix/sysv/linux/kernel-features.h
26923         (__ASSUME_POSIX_TIMERS): Remove.
26924         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26925         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26926         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26927         Make code unconditional.
26928         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26929         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26930         Make code unconditional.
26931         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26932         * sysdeps/unix/sysv/linux/clock_nanosleep.c
26933         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26934         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26935         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26936         Make code unconditional.
26937         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26938         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26939         (__libc_missing_posix_timers): Remove.
26941 2012-08-15  Roland McGrath  <roland@hack.frob.com>
26943         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26944         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26946         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26948         * elf/dl-sym.c: Include <stdlib.h>.
26950         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26951         constants, which avoids warnings in 32-bit builds.
26953         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26954         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26956         * misc/lseek.c: File moved to ...
26957         * io/lseek.c: ... here.
26959         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26961         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26962         shifting LEN more than 31 bits at once.
26964 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26966         [BZ #14195]
26967         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26968         segmentation fault for a case of two empty input strings.
26969         * string/test-strncasecmp.c (check1): Renamed to...
26970         (bz12205): ...this.
26971         (bz14195): Add new testcase for two empty input strings and N > 0.
26972         (test_main): Call new testcase, adapt for renamed function.
26974 2012-08-15  Andreas Jaeger  <aj@suse.de>
26976         [BZ #14090]
26977         * crypt/md5test2.c: New test, based on test supplied by Serge
26978         Belyshev <belyshev@depni.sinp.msu.ru>.
26979         * crypt/Makefile (xtests): Add md5test-giant..
26980         * crypt/Makefile ($(objpfx)md5test-giant): Add.
26982 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
26984         [BZ #14090]
26985         * crypt/md5.c (md5_process_block): Don't assume the buffer
26986         length is less than 2**32.
26987         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26988         length is less than 2**64.
26990 2012-08-15  Roland McGrath  <roland@hack.frob.com>
26992         * string/str-two-way.h: Include <sys/param.h>.
26993         (MAX): Macro removed.
26995         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26996         Move #define and #undef of memmove to just before and after
26997         including <string.h>.
26999         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27000         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27001         and after including <string.h>.  Move declarations of
27002         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27003         to before #include "string/memmove.c".
27005         * include/dirent.h: Declare __getdirentries.
27007         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27008         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27010 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
27012         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27013         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27014         * sysdeps/i386/configure: Regenerated.
27015         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27016         STABS_CURRENT_FILE, and STABS_FUN.
27017         (END): Remove call to STABS_FUN_END.
27018         (STABS_CURRENT_FILE1): Delete.
27019         (STABS_CURRENT_FILE): Likewise.
27020         (STABS_FUN): Likewise.
27021         (STABS_FUN_END): Likewise.
27022         (STABS_FUN2): Likewise.
27023         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27024         * sysdeps/x86_64/configure: Regenerated.
27026 2012-08-14  Roland McGrath  <roland@hack.frob.com>
27028         * elf/dl-open.c: Include <atomic.h>.
27029         * elf/dl-lookup.c: Likewise.
27031 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
27033         * sysdeps/unix/sysv/linux/kernel-features.h
27034         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27035         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27036         unconditionally.
27037         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27038         unconditionally.
27039         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27040         condition on __ASSUME_CLONE_THREAD_FLAGS.
27042 2012-08-14  Andreas Jaeger  <aj@suse.de>
27044         * sysdeps/i386/fpu/libm-test-ulps: Update.
27046 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
27048         * include/atomic.h (atomic_exchange_and_add): Split into ...
27049         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27050         New atomic macros.
27052 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
27054         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27056 2012-08-13  Jeff Law <law@redhat.com>
27058         * manual/stdio.texi (snprintf): Clarify handling of the trailing
27059         null byte in the output string.
27061 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
27063         * sysdeps/unix/sysv/linux/kernel-features.h
27064         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27065         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27066         (__ASSUME_ARG_MAX_STACK_BASED): Define.
27067         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27068         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27069         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
27070         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27072 2012-08-09  Jeff Law <law@redhat.com>
27074         [BZ #13939]
27075         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27076         When avoid_arena is set, don't retry in the that arena.  Pick the
27077         next one, whatever it might be.
27078         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27079         (arena_lock): Pass in new parameter to arena_get2.
27080         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27081         arena_get2.
27082         (__libc_malloc): Unify retrying after main arena failure with
27083         __libc_memalign version.
27084         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27086 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
27088         [BZ #14166]
27089         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27090         to __redirect_strstr.
27091         (__strstr_sse42): Use typeof __redirect_strstr.
27092         (__strstr_ia32): Likewise.
27093         (__libc_strstr): New prototype.
27094         (strstr): Renamed to ...
27095         (__libc_strstr): This.
27096         (strstr): New strong alias of __libc_strstr.
27097         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27098         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27099         __redirect_time.
27100         Include <time.h>.
27101         (__libc_time): New prototype.
27102         (time_ifunc): Replace time with __libc_time.
27103         (time): New strong alias and hidden definition of __libc_time.
27104         (__GI_time): Remove strong alias.
27105         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27106         Include <stddef.h>.
27107         (memmove): Redefined to __redirect_memmove.
27108         (__memmove_sse2): Use typeof __redirect_memmove.
27109         (__memmove_ssse3): Likewise.
27110         (__memmove_ssse3_back): Likewise.
27111         (__libc_memmove): New prototype.
27112         (memmove): Renamed to ...
27113         (__libc_memmove): This.
27114         (memmove): New strong alias of __libc_memmove.
27116 2012-08-08  Mark Salter  <msalter@redhat.com>
27118         * elf/elf.h
27119         (R_MN10300_TLS_GD): Define.
27120         (R_MN10300_TLS_LD): Likewise.
27121         (R_MN10300_TLS_LDO): Likewise.
27122         (R_MN10300_TLS_GOTIE): Likewise.
27123         (R_MN10300_TLS_IE): Likewise.
27124         (R_MN10300_TLS_LE): Likewise.
27125         (R_MN10300_TLS_DTPMOD): Likewise.
27126         (R_MN10300_TLS_DTPOFF): Likewise.
27127         (R_MN10300_TLS_TPOFF): Likewise.
27128         (R_MN10300_SYM_DIFF): Likewise.
27129         (R_MN10300_ALIGN): Likewise.
27130         (R_MN10300_NUM): Update.
27132 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
27134         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27135         Remove.
27137 2012-08-08  Roland McGrath  <roland@hack.frob.com>
27139         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27141         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27142         sysdeps/unix -> sysdeps/posix move.
27143         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27145 2012-08-07      Allan McRae     <allan@archlinux.org>
27147         [BZ #14303]
27148         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27149         (SUNOS_CPP): Likewise.
27150         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27151         not found.
27152         (open_input): Call CPP using execvp.
27154 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
27156         * sysdeps/unix/sysv/linux/kernel-features.h
27157         (__ASSUME_PROT_GROWSUPDOWN): Remove.
27158         (__ASSUME_NO_CLONE_DETACHED): Likewise.
27159         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27160         (__ASSUME_WAITID_SYSCALL): Likewise.
27161         * sysdeps/unix/sysv/linux/dl-execstack.c
27162         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27163         code unconditional.
27164         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27165         conditional code.
27166         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27167         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27168         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27169         code.
27170         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27171         unconditional.
27172         [__ASSUME_WAITID_SYSCALL]: Likewise.
27173         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27175 2012-08-07  Roland McGrath  <roland@hack.frob.com>
27177         * sysdeps/unix/closedir.c: Renamed to ...
27178         * sysdeps/posix/closedir.c: ... here.
27179         * sysdeps/unix/dirfd.c: Renamed to ...
27180         * sysdeps/posix/dirfd.c: ... here.
27181         * sysdeps/unix/dirstream.h: Renamed to ...
27182         * sysdeps/posix/dirstream.h: ... here.
27183         * sysdeps/unix/fdopendir.c: Renamed to ...
27184         * sysdeps/posix/fdopendir.c: ... here.
27185         * sysdeps/unix/opendir.c: Renamed to ...
27186         * sysdeps/posix/opendir.c: ... here.
27187         * sysdeps/unix/readdir.c: Renamed to ...
27188         * sysdeps/posix/readdir.c: ... here.
27189         * sysdeps/unix/readdir_r.c: Renamed to ...
27190         * sysdeps/posix/readdir_r.c: ... here.
27191         * sysdeps/unix/rewinddir.c: Renamed to ...
27192         * sysdeps/posix/rewinddir.c: ... here.
27193         * sysdeps/unix/seekdir.c: Renamed to ...
27194         * sysdeps/posix/seekdir.c: ... here.
27195         * sysdeps/unix/telldir.c: Renamed to ...
27196         * sysdeps/posix/telldir.c: ... here.
27197         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27198         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27199         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27200         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27202         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27203         * bits/fcntl.h: ... here.
27205         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27206         not 0.
27207         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27208         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27209         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27210         (struct flock): Move l_start, l_len to the beginning.
27211         Use __pid_t for l_pid.
27212         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27213         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27214         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27215         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27216         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27217         [__USE_LARGEFILE64] (struct flock64): New type.
27218         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27220         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27221         * bits/dirent.h: ... here.
27223         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27224         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27226 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
27228         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27229         Change from 2.6.0 to 2.6.16.
27230         * sysdeps/unix/sysv/linux/configure: Regenerated.
27231         * sysdeps/unix/sysv/linux/kernel-features.h
27232         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27233         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27234         version.
27235         (__ASSUME_UTIMES): Likewise.
27236         (__ASSUME_CLONE_STOPPED): Remove.
27237         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27238         architectures, not kernel version.
27239         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27240         (__ASSUME_NO_CLONE_DETACHED): Likewise.
27241         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27242         (__ASSUME_WAITID_SYSCALL): Likewise.
27243         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27244         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27245         * README: State 2.6.16 as minimum Linux kernel version.  Do not
27246         refer to older versions.
27248 2012-08-06  Roland McGrath  <roland@hack.frob.com>
27250         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27251         Define alphasort64 as an alias.
27252         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27253         Define versionsort64 as an alias.
27254         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27255         Define scandir64 as an alias.
27256         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27257         Define scandirat64 as an alias.
27258         * dirent/alphasort64.c (alphasort64):
27259         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27260         * dirent/versionsort64.c: Likewise.
27261         * dirent/scandir64.c: Likewise.
27262         * dirent/scandirat64.c: Likewise.
27263         * sysdeps/wordsize-64/alphasort.c: File removed.
27264         * sysdeps/wordsize-64/alphasort64.c: File removed.
27265         * sysdeps/wordsize-64/scandir.c: File removed.
27266         * sysdeps/wordsize-64/scandir64.c: File removed.
27267         * sysdeps/wordsize-64/scandirat.c: File removed.
27268         * sysdeps/wordsize-64/scandirat64.c: File removed.
27269         * sysdeps/wordsize-64/versionsort.c: File removed.
27270         * sysdeps/wordsize-64/versionsort64.c: File removed.
27271         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27272         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27273         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27274         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27275         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27276         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27277         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27278         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27280         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27281         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27282         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27283         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27284         [defined __arch64__ || defined __sparcv9]
27285         (__INO_T_MATCHES_INO64_T): New macro.
27286         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27287         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27288         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27289         * sysdeps/unix/sysv/linux/bits/dirent.h
27290         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27291         (_DIRENT_MATCHES_DIRENT64): New macro.
27293         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27294         Define lockf64 as an alias.
27295         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27296         Define fseeko64 as an alias.
27297         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27298         Define ftello64 as an alias.
27299         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27300         Define _IO_fgetpos64 and fgetpos64 as aliases.
27301         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27302         Define _IO_fsetpos64 and fsetpos64 as aliases.
27303         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27304         Conditionalize body on this.
27305         * libio/fseeko64.c: Likewise.
27306         * libio/ftello64.c: Likewise.
27307         * libio/iofgetpos64.c: Likewise.
27308         * libio/iofsetpos64.c: Likewise.
27309         * sysdeps/wordsize-64/lockf.c: File removed.
27310         * sysdeps/wordsize-64/lockf64.c: File removed.
27311         * sysdeps/wordsize-64/fseeko.c: File removed.
27312         * sysdeps/wordsize-64/fseeko64.c: File removed.
27313         * sysdeps/wordsize-64/ftello.c: File removed.
27314         * sysdeps/wordsize-64/ftello64.c: File removed.
27315         * sysdeps/wordsize-64/iofgetpos.c: File removed.
27316         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27317         * sysdeps/wordsize-64/iofsetpos.c: File removed.
27318         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27319         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27320         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27321         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27322         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27323         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27324         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27325         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27326         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27327         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27328         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27330         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27331         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27332         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27333         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27334         [defined __arch64__ || defined __sparcv9]
27335         (__OFF_T_MATCHES_OFF64_T): New macro.
27336         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27337         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27338         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27339         (__OFF_T_MATCHES_OFF64_T): New macro.
27341 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
27343         * stdlib/secure-getenv.c (__secure_getenv): Replace
27344         GLIBC_2_16 with GLIBC_2_17.
27346 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
27348         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27349         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27351 2012-08-03  David S. Miller  <davem@davemloft.net>
27353         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27355 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
27357         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27358         Remove.
27359         (__ASSUME_CORRECT_SI_PID): Likewise.
27360         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27361         (__ASSUME_TMPFS_NAME): Likewise.
27362         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27363         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27364         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27365         (HAVE_AUX_SECURE): Make definition unconditional.
27366         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27367         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27369 2012-08-03  Roland McGrath  <roland@hack.frob.com>
27371         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27372         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27373         * sysdeps/mach/hurd/eloop-threshold.h: New file.
27374         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27375         __eloop_threshold instead of SYMLOOP_MAX.
27377         * sysdeps/generic/eloop-threshold.h: New file.
27378         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27379         of MAXSYMLINKS.
27380         * elf/chroot_canon.c (chroot_canon): Likewise.
27382 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
27384         [BZ #13717]
27385         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27386         Change to 2.6.0 everywhere.
27387         * sysdeps/unix/sysv/linux/configure: Regenerated.
27388         * sysdeps/unix/sysv/linux/kernel-features.h
27389         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27390         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27391         kernel versions.
27392         (__ASSUME_POSIX_TIMERS): Define unconditionally.
27393         (__ASSUME_FUTEX_REQUEUE): Remove.
27394         (__ASSUME_STATFS64): Define unconditionally.
27395         (__ASSUME_AT_SECURE): Likewise.
27396         (__ASSUME_CORRECT_SI_PID): Likewise.
27397         (__ASSUME_TGKILL): Define without depending on kernel version for
27398         i386.
27399         (__ASSUME_UTIMES): Likewise.
27400         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27401         kernel version.
27402         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27403         (__ASSUME_TMPFS_NAME): Likewise.
27404         * README: Update reference to Linux kernel versions.
27406 2012-08-02  Marek Polacek  <polacek@redhat.com>
27408         [BZ# 14150]
27409         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
27410         libc_cv_asm_type_prefix with %.
27411         * configure: Regenerated.
27412         * include/libc-symbols.h: Remove comment about
27413         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27414         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27415         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27416         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27417         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27418         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27419         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27420         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27421         * elf/tst-unique2mod1.c: Likewise.
27422         * elf/tst-unique1mod2.c: Likewise.
27423         * elf/tst-unique1mod1.c: Likewise.
27424         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27425         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27426         Replace ASM_TYPE_DIRECTIVE with .type.
27427         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27428         * sysdeps/i386/sysdep.h: Likewise.
27429         * sysdeps/x86_64/sysdep.h: Likewise.
27430         * sysdeps/sh/sysdep.h: Likewise.
27431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27432         Do not define ASM_TYPE_DIRECTIVE.
27433         * sysdeps/powerpc/sysdep.h: Likewise.
27434         * sysdeps/powerpc/powerpc32/sysdep.h:
27435         Replace ASM_TYPE_DIRECTIVE with .type.
27436         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27437         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27438         * sysdeps/i386/fpu/e_powf.S: Likewise.
27439         * sysdeps/i386/fpu/e_expl.S: Likewise.
27440         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27441         * sysdeps/i386/fpu/e_acosh.S: Likewise.
27442         * sysdeps/i386/fpu/e_pow.S: Likewise.
27443         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27444         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27445         * sysdeps/i386/fpu/s_expm1.S: Likewise.
27446         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27447         * sysdeps/i386/fpu/e_log2.S: Likewise.
27448         * sysdeps/i386/fpu/e_log2l.S: Likewise.
27449         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27450         * sysdeps/i386/fpu/e_powl.S: Likewise.
27451         * sysdeps/i386/fpu/e_log10f.S: Likewise.
27452         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27453         * sysdeps/i386/fpu/e_logl.S: Likewise.
27454         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27455         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27456         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27457         * sysdeps/i386/fpu/e_log2f.S: Likewise.
27458         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27459         * sysdeps/i386/fpu/e_log.S: Likewise.
27460         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27461         * sysdeps/i386/fpu/e_logf.S: Likewise.
27462         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27463         * sysdeps/i386/fpu/e_atanh.S: Likewise.
27464         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27465         * sysdeps/i386/fpu/e_log10.S: Likewise.
27466         * sysdeps/i386/fpu/s_frexp.S: Likewise.
27467         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27468         * sysdeps/i386/fpu/s_asinh.S: Likewise.
27469         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27470         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27471         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27472         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27473         * sysdeps/i386/i686/strtok.S: Likewise.
27474         * sysdeps/i386/i386-mcount.S: Likewise.
27475         * sysdeps/i386/strtok.S: Likewise.
27476         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27477         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27478         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27479         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27480         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27481         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27482         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27483         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27484         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27485         * sysdeps/x86_64/_mcount.S: Likewise.
27486         * sysdeps/x86_64/strtok.S: Likewise.
27487         * sysdeps/sh/_mcount.S: Likewise.
27489 2012-08-01  Roland McGrath  <roland@hack.frob.com>
27491         * libio/iofopen.c: Include <fcntl.h>.
27492         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27493         (_IO_fopen64, fopen64): Define as aliases.
27494         * libio/iofopen64.c: Include <fcntl.h>.
27495         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27496         Conditionalize body on this.
27497         * sysdeps/wordsize-64/iofopen.c: File removed.
27498         * sysdeps/wordsize-64/iofopen64.c: File removed.
27500 2012-08-01  Marek Polacek  <polacek@redhat.com>
27502         * libc/Makeconfig: Use elf in place of binfmt-subdir.
27503         Use dlfcn directly instead of a variable.
27504         (binfmt-subdir): Do not define.
27505         (dlfcn): Likewise.
27507 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
27509         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27510         Remove all definitions.
27511         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27512         <kernel-features.h>.
27513         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27514         (miss_F_GETOWN_EX): Remove all definitions.
27515         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27516         macro definition.
27517         [!__ASSUME_FCNTL64]: Remove conditional code.
27518         [__ASSUME_FCNTL64]: Make code unconditional.
27519         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27520         <kernel-features.h>.
27521         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27522         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27523         (lockf64) [__NR_fcntl64]: Make code unconditional.
27524         (lockf64) [__ASSUME_FCNTL64]: Likewise.
27526         * sysdeps/unix/sysv/linux/kernel-features.h
27527         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27528         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27529         Make code unconditional.
27530         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27531         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27533         [__NR_vfork]: Make code unconditional.
27534         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27535         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27537         [__NR_vfork]: Make code unconditional.
27538         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27539         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27541 2012-08-01  Roland McGrath  <roland@hack.frob.com>
27543         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27544         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27546         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27547         Define mkstemp64 as an alias.
27548         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27549         Define mkstemps64 as an alias.
27550         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27551         Define mkostemp64 as an alias.
27552         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27553         Define mkostemps64 as an alias.
27554         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27555         Conditionalize body on this.
27556         * misc/mkostemp64.c: Likewise.
27557         * misc/mkostemps64.c: Likewise.
27558         * misc/mkstemps64.c: Likewise.
27559         * sysdeps/wordsize-64/mkstemp64.c: File removed.
27560         * sysdeps/wordsize-64/mkostemp64.c: File removed.
27561         * sysdeps/wordsize-64/mkostemp.c: File removed.
27562         * sysdeps/wordsize-64/mkstemp.c: File removed.
27563         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27564         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27565         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27566         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27568         [BZ #14138]
27569         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27570         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27571         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27572         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27574         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27575         compat_symbol macros from <shlib-compat.h> rather than the underlying
27576         default_symbol_version and symbol_version macros, so that DEFAULT
27577         lines in shlib-versions are respected.
27578         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27580 2012-08-01  Florian Weimer  <fweimer@redhat.com>
27582         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27583         Declare with warn_unused_result.
27584         (setgid, setregid, setegid, setresgid): Likewise.
27585         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27586         Likewise.
27587         * WUR-REPORT: Remove set*id functions.
27589 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
27591         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27593 2012-07-31  Roland McGrath  <roland@hack.frob.com>
27595         [BZ #10191]
27596         * include/sys/socket.h (__libc_accept, __libc_accept4):
27597         Add attribute_hidden.
27598         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27600         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27601         use of PTR_MANGLE.
27602         * inet/getnetgrent_r.c (setup): Likewise.
27604         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27606 2012-07-31  David S. Miller  <davem@davemloft.net>
27608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27610 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
27612         [BZ #13629]
27613         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27614         value between 1.0 and 2.0 and smaller part has absolute value less
27615         than 1.0.
27616         * math/s_clog10.c (__clog10): Likewise.
27617         * math/s_clog10f.c (__clog10f): Likewise.
27618         * math/s_clog10l.c (__clog10l): Likewise.
27619         * math/s_clogf.c (__clogf): Likewise.
27620         * math/s_clogl.c (__clogl): Likewise.
27621         * math/libm-test.inc (clog_test): Add more tests.
27622         (clog10_test): Likewise.
27623         * sysdeps/i386/fpu/libm-test-ulps: Update.
27624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27626 2012-07-31  Florian Weimer  <fweimer@redhat.com>
27628         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27629         Exit with zero in case no suitable GID is found, and write a
27630         message to standard error.
27632 2012-07-30  Roland McGrath  <roland@hack.frob.com>
27634         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27635         rather than to 1.
27636         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27637         (MAXPATHLEN): Removed.
27638         (NOGROUP, NODEV): New macros.
27639         (setbit, clrbit, isset, isclr): New macros.
27640         (howmany, roundup, powerof2): New macros.
27641         (DEV_BSIZE): New macro.
27643         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27644         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27646         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27647         definition on [!__NO_LONG_DOUBLE_MATH].
27649         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27650         PTR_MANGLE and PTR_DEMANGLE.
27652         * socket/accept4.c (accept4): Rename to __libc_accept4.
27653         Define accept4 as a weak alias.
27655         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27656         on [_DIRENT_HAVE_D_TYPE].
27657         * io/ftw.c (ftw_dir): Likewise.
27659         * io/xmknod.c (__xmknod): Don't check PATH for being null.
27661         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27663         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27664         Use the BSD numbers rather than the arbitrary ones we had.
27665         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27666         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27667         (SIGXCPU, SIGXFSZ): New macros.
27668         (_NSIG): Now 32.
27670         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27671         initializer on [_LIBC_REENTRANT].
27673         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27674         definitions inside [_POSIX_MAPPED_FILES].
27676         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27678         * dirent/opendir.c: Include <fcntl.h>.
27680         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27681         (__libc_getspecific): Likewise.
27682         (__libc_key_create): Likewise.
27684         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27685         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27686         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27687         (tmpfile64): Define as alias.
27688         * sysdeps/wordsize-64/tmpfile.c: File removed.
27689         * sysdeps/wordsize-64/tmpfile64.c: File removed.
27690         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27691         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27693         * stdio-common/vfscanf.c: Include <stdbool.h>.
27694         * nss/makedb.c: Likewise.
27695         * stdio-common/_i18n_number.h: Likewise.
27696         * argp/argp-help.c: Likewise.
27697         * posix/wordexp.c: Likewise.
27698         * sysdeps/posix/spawni.c: Likewise.
27699         * nss/nss_files/files-initgroups.c: Likewise.
27700         * stdio-common/reg-modifier.c: Include <stdlib.h>.
27701         * nss/nss_files/files-initgroups.c: Likewise.
27702         * nss/nss_db/db-netgrp.c: Likewise.
27703         * nss/nss_db/db-initgroups.c: Likewise.
27704         * io/fchmodat.c: Include <sys/stat.h>.
27706         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27707         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27709         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27710         [HAVE_MMAP].
27712         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27713         Add multiple inclusion protection.
27715 2012-07-27  David S. Miller  <davem@davemloft.net>
27717         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27719 2012-07-27  Gary Benson  <gbenson@redhat.com>
27721         [BZ #14298]
27722         * elf/rtld.c: Include <stap-probe.h>.
27723         (dl_main): Added static probes "init_start" and "init_complete".
27724         * elf/dl-load.c: Include <stap-probe.h>.
27725         (lose): Take new parameter "nsid".
27726         Added static probe "map_failed".
27727         (_dl_map_object_from_fd): Pass namespace id to lose.
27728         Added static probe "map_start".
27729         (open_verify): Pass namespace id to lose.
27730         * elf/dl-open.c: Include <stap-probe.h>.
27731         (dl_open_worker) Added static probes "map_complete", "reloc_start"
27732         and "reloc_complete".
27733         * elf/dl-close.c: Include <stap-probe.h>.
27734         (_dl_close_worker): Added static probes "unmap_start" and
27735         "unmap_complete".
27736         * elf/rtld-debugger-interface.txt: New file documenting the above.
27738 2012-07-26  Roland McGrath  <roland@hack.frob.com>
27740         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27741         rather than a string variable.
27742         * sunrpc/rpc_main.c (h_output): Likewise.
27743         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27745 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
27747         * inet/check_native.c: New file.
27749 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
27751         [BZ #13629]
27752         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27753         if larger part has absolute value 1.0.
27754         * math/s_clog10.c (__clog10): Likewise.
27755         * math/s_clog10f.c (__clog10f): Likewise.
27756         * math/s_clog10l.c (__clog10l): Likewise.
27757         * math/s_clogf.c (__clogf): Likewise.
27758         * math/s_clogl.c (__clogl): Likewise.
27759         * math/libm-test.inc (clog_test): Add more tests.
27760         (clog10_test): Likewise.
27761         * sysdeps/i386/fpu/libm-test-ulps: Update.
27762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27764         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27765         (pltexit): Likewise.
27766         (La_regs): Likewise.
27767         (La_retval): Likewise.
27768         (int_retval): Likewise.
27769         Update #error for removed macros to refer only to definitions in
27770         tst-audit.h.
27771         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27772         macro.
27773         (pltexit): Likewise.
27774         (La_regs): Likewise.
27775         (La_retval): Likewise.
27776         (int_retval): Likewise.
27777         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27778         macro.
27779         (pltexit): Likewise.
27780         (La_regs): Likewise.
27781         (La_retval): Likewise.
27782         (int_retval): Likewise.
27783         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27784         macro.
27785         (pltexit): Likewise.
27786         (La_regs): Likewise.
27787         (La_retval): Likewise.
27788         (int_retval): Likewise.
27789         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27790         macro.
27791         (pltexit): Likewise.
27792         (La_regs): Likewise.
27793         (La_retval): Likewise.
27794         (int_retval): Likewise.
27795         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27796         macro.
27797         (pltexit): Likewise.
27798         (La_regs): Likewise.
27799         (La_retval): Likewise.
27800         (int_retval): Likewise.
27801         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27802         macro.
27803         (pltexit): Likewise.
27804         (La_regs): Likewise.
27805         (La_retval): Likewise.
27806         (int_retval): Likewise.
27807         * sysdeps/generic/tst-audit.h: Update comment to refer only to
27808         macro definitions in tst-audit.h.
27809         * sysdeps/i386/tst-audit.h: New file.
27810         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27811         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27812         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27813         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27814         * sysdeps/sh/tst-audit.h: Likewise.
27815         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27816         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27817         * sysdeps/x86_64/tst-audit.h: Likewise.
27819 2012-07-26  Andreas Jaeger  <aj@suse.de>
27821         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27822         ptrace.
27824         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27825         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27826         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27827         PTRACE_O_MASK.
27828         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27829         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27830         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27832         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27833         value.
27835         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27836         _sigsys.
27837         (si_call_addr, si_syscall, si_arch): Define new macro.
27838         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27839         _sigsys.
27840         (si_call_addr, si_syscall, si_arch): Define new marcro.
27841         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27842         _sigsys.
27843         (si_call_addr, si_syscall, si_arch): Define new macro.
27844         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27845         _sigsys.
27846         (si_call_addr, si_syscall, si_arch): Define new macro.
27848 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
27850         [BZ #13717]
27851         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27852         Change to 2.4.21 where previously 2.4.1.
27853         * sysdeps/unix/sysv/linux/configure: Regenerated.
27854         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27855         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27856         Linux kernel version.
27857         (__ASSUME_STD_AUXV): Remove.
27858         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27859         kernel version.
27860         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27861         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27862         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27863         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27864         (__ASSUME_NETLINK_SUPPORT): Likewise.
27865         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27866         (__no_netlink_support): Remove conditional definition.
27867         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27868         Remove.
27869         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27870         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27871         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27872         (if_nameindex_ioctl): Remove.
27873         (if_nameindex_netlink): Do not handle __no_netlink_support.
27874         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27875         code.
27876         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27877         Remove conditional code.
27878         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27879         code.
27880         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27881         unconditional.
27882         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27883         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27884         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27885         Remove.
27886         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27887         [!__ASSUME_STD_AUXV]: Remove conditional code.
27888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27889         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27890         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27892         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27893         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27894         code.
27895         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27897         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27898         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27899         conditional code.
27900         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27902         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27903         code.
27904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27905         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27906         conditional code.
27907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27908         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27909         code unconditional.
27910         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27911         conditional code.
27912         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27913         unconditional.
27914         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27915         conditional code.
27916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27917         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27918         unconditional.
27919         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27920         conditional code.
27921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27922         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27923         code unconditional.
27924         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27925         conditional code.
27926         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27927         unconditional.
27928         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27929         conditional code.
27930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27931         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27932         code unconditional.
27933         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27934         conditional code.
27935         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27936         unconditional.
27937         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27938         conditional code.
27940 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
27942         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27943         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27944         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27945         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27946         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27947         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27948         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27949         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27950         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27951         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27952         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27953         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27954         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27955         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27956         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27957         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27958         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27959         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27960         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27961         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27962         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27963         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27964         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27966 2012-07-25  Florian Weimer  <fweimer@redhat.com>
27968         * Versions.def: Add GLIBC_2.17.
27969         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27970         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27971         Introduce __libc_secure_getenv.
27972         * stdlib/Versions (2.17): Add secure_getenv
27973         (GLIBC_PRIVATE): Add __libc_secure_getenv.
27974         * stdlib/secure-getenv.c: Rename __secure_getenv to
27975         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
27976         symbol __secure_getenv for GLIBC_2.0.
27977         * stdlib/tst-secure-getenv.c: New.
27978         * stdlib/Makefile (tests): Add testcase.
27979         * manual/startup.texi (Environment Access): Document
27980         secure_getenv.
27981         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27982         __libc_secure_getenv.
27983         * inet/ruserpass.c (ruserpass): Likewise.
27984         * malloc/mtrace.c (mtrace): Likewise.
27985         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27986         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27987         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27988         * sysdeps/posix/tempname.c: Likewise.  Evaluate
27989         HAVE_SECURE_GETENV.
27990         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27991         __secure_getenv to __libc_secure_getenv.
27992         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27994         Likewise.
27995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27996         Likewise.
27997         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27998         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27999         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28000         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28001         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28002         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28003         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28005 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
28007         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28008         (struct La_i86_retval): Likewise.
28009         (struct La_x86_64_regs): Likewise.
28010         (struct La_x86_64_retval): Likewise.
28011         (struct La_x32_regs): Likewise.
28012         (struct La_x32_retval): Likewise.
28013         (struct La_ppc32_regs): Likewise.
28014         (struct La_ppc32_retval): Likewise.
28015         (struct La_ppc64_regs): Likewise.
28016         (struct La_ppc64_retval): Likewise.
28017         (struct La_sh_regs): Likewise.
28018         (struct La_sh_retval): Likewise.
28019         (struct La_s390_32_regs): Likewise.
28020         (struct La_s390_32_retval): Likewise.
28021         (struct La_s390_64_regs): Likewise.
28022         (struct La_s390_64_retval): Likewise.
28023         (struct La_sparc32_regs): Likewise.
28024         (struct La_sparc32_retval): Likewise.
28025         (struct La_sparc64_regs): Likewise.
28026         (struct La_sparc64_retval): Likewise.
28027         (struct audit_ifaces): Remove architecture-specific pltenter and
28028         pltexit members.
28029         * sysdeps/i386/ldsodefs.h: New file.
28030         * sysdeps/powerpc/ldsodefs.h: Likewise.
28031         * sysdeps/s390/ldsodefs.h: Likewise.
28032         * sysdeps/sh/ldsodefs.h: Likewise.
28033         * sysdeps/sparc/ldsodefs.h: Likewise.
28034         * sysdeps/x86_64/ldsodefs.h: Likewise.
28036 2012-07-25  Marek Polacek  <polacek@redhat.com>
28038         [BZ #6808]
28039         * math/libm-test.inc (yn_test): Add another test.
28040         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28041         to ERANGE when the result is +-Inf.
28042         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28043         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28044         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28045         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28047 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
28049         * conform/data/time.h-data (NULL): Use macro-constant.  Require
28050         equal to 0.
28051         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
28052         clock_t.
28053         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
28055 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
28057         * configure.in <sysdeps resolving>: Correct printing
28058         Implies_before.
28059         * configure: Regenerate.
28061 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
28063         * math/w_ilogb.c: Include <limits.h>.
28064         * math/w_ilogbl.c: Likewise.
28066 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
28068         * manual/lang.texi (__va_copy): Document primarily as ISO C99
28069         va_copy.  Document allowing for unavailable va_copy only as
28070         pre-C99 compatibility.
28071         * manual/string.texi (Copying and Concatenation): Use va_copy
28072         instead of __va_copy in concat example.
28074 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
28076         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28077         (__sendto): Use create_address_port.  Initialize APORT and deallocate
28078         it if not null.
28080         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28081         with O_NOLINK passed to __file_name_lookup.
28083         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28084         with O_NOLINK passed to __file_name_lookup.
28086         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28087         negative N or less than NGIDS.
28089         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28090         type to string_t.  Set ERANGE as errno and return it if NAME is not big
28091         enough.  Use memcpy instead of strncpy.
28093 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
28095         * elf/Makefile (check-data): Remove.
28096         (localplt.data): New vpath directive.
28097         ($(objpfx)check-localplt.out): Use localplt.data from vpath
28098         instead of $(check-data).
28099         * scripts/data/localplt-generic.data: Move to ...
28100         * sysdeps/generic/localplt.data: ... here.
28101         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28102         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28103         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28105         ... here.
28106         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28108         ... here.
28109         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28111         ... here.
28112         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28114         ... here.
28115         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28116         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28117         ... here.
28118         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28119         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28120         ... here.
28122 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28124         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28125         PPC32 and PPC64 files.
28126         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28127         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28129 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28131         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28132         __makecontext_ret to ...
28133         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28134         ... here and call exit if uc_link is NULL.  New file.
28135         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28136         __makecontext_ret.S.
28137         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28138         __makecontext_ret to ...
28139         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28140         ... here and call exit if uc_link is NULL.  New file.
28141         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28142         __makecontext_ret.S.
28144 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28146         * elf/elf.h (R_390_IRELATIVE): New definition.
28147         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28148         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
28149         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28150         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28151         (elf_machine_lazy_rel): Likewise.
28152         * sysdeps/s390/dl-irel.h: New file.
28153         * sysdeps/s390/s390-64/memcpy.S: New asm code.
28154         * sysdeps/s390/s390-64/memset.S: New asm code.
28155         * sysdeps/s390/s390-64/memcmp.S: New asm code.
28156         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28157         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28158         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28159         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28160         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28161         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28162         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28163         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28164         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28165         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28166         * sysdeps/s390/s390-32/memcpy.S: New asm code.
28167         * sysdeps/s390/s390-32/memset.S: New asm code.
28168         * sysdeps/s390/s390-32/memcmp.S: New asm code.
28170 2012-07-17  Marek Polacek  <polacek@redhat.com>
28172         [BZ #14349]
28173         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28174         * sysdeps/s390/s390-64/configure.in: Likewise.
28175         * sysdeps/sparc/configure.in: Likewise.
28176         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28177         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28178         * sysdeps/i386/configure.in: Likewise.
28179         * sysdeps/x86_64/configure.in: Likewise.
28180         * sysdeps/sh/configure.in: Likewise.
28181         * sysdeps/s390/s390-32/configure: Regenerated.
28182         * sysdeps/s390/s390-64/configure: Likewise.
28183         * sysdeps/x86_64/configure: Likewise.
28184         * sysdeps/sh/configure: Likewise.
28185         * sysdeps/powerpc/powerpc64/configure: Likewise.
28186         * sysdeps/powerpc/powerpc32/configure: Likewise.
28187         * sysdeps/sparc/configure: Likwise.
28188         * sysdeps/i386/configure: Likewise.
28190         * elf/dl-open.c: Comment fixes.
28192 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
28194         * Makefile [CXX] (check-data): Remove.
28195         [CXX] (c++-types.data): New vpath directive.
28196         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28197         vpath.  Do not allow for C++ type data being missing.
28198         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28199         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28200         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28201         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28202         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28203         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28204         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28206         ... here.
28207         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28209         ... here.
28210         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28212         ... here.
28213         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28215         ... here.
28216         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28217         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28218         ... here.
28219         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28220         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28221         ... here.
28222         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28224         ... here.
28225         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28226         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28228         * elf/tls-macros.h (TLS_LE): Move architecture-specific
28229         definitions to architecture-specific files.
28230         (TLS_IE): Likewise.
28231         (TLS_LD): Likewise.
28232         (TLS_GD): Likewise.
28233         * sysdeps/i386/tls-macros.h: New file.
28234         * sysdeps/powerpc/tls-macros.h: Likewise.
28235         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28236         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28237         * sysdeps/sh/tls-macros.h: Likewise.
28238         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28239         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28240         * sysdeps/x86_64/tls-macros.h: Likewise.
28242 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
28244         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28245         zero value for regular exit case.
28247         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28248         (__start_context): Preserve zero value for regular exit case.
28250 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
28251             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28253         * manual/setjmp.texi (setcontext): Clarify normal process
28254         termination when uc_link is the null pointer.
28255         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28256         exit call.
28258 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
28260         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28261         preprocessor.  Test for each exception mask separately.
28263 2012-07-16  Andreas Jaeger  <aj@suse.de>
28265         * po/ru.po: Update from translation team.
28267 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
28269         * conform/data/string.h-data (NULL): Use macro-constant.  Require
28270         equal to 0.
28271         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28272         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28273         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28274         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28275         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28277 2012-07-13  Andreas Jaeger  <aj@suse.de>
28279         * po/fr.po: Update from translation team.
28281 2012-07-12  Marek Polacek  <polacek@redhat.com>
28283         [BZ #14173]
28284         * math/libm-test.inc (yn_test): Add test for BZ #14173.
28285         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28286         loop condition.
28288 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
28290         [BZ #13717]
28291         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28292         Change to 2.4.1 where previously 2.4.0.
28293         * sysdeps/unix/sysv/linux/configure: Regenerated.
28294         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28295         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28296         version.
28297         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28298         (__ASSUME_AT_CLKTCK): Remove.
28299         (__ASSUME_AT_PAGESIZE): Likewise.
28300         (__ASSUME_AT_XID): Likewise.
28301         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28302         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28303         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28304         unconditionally.
28305         (HAVE_AUX_PAGESIZE): Likewise.
28306         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28307         [__ASSUME_AT_CLKTCK]: Make code unconditional.
28308         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28310 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
28312         [BZ #14307]
28313         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28314         the temporary buffer used to invoke __gethostbyname2_r,
28315         __gethostbyaddr_r and gethostbyname4_r to make room for struct
28316         host_data / struct gaih_addrtuple.
28317         * resolv/nss_dns/dns-host.c (global scope): Move definition of
28318         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28319         header file nss/nsswitch.h.
28320         * nss/nsswitch.h (global scope): Add definition of implementation
28321         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28322         resolv/nss_dns/dns-host.c).
28324 2012-07-11  Andreas Jaeger  <aj@suse.de>
28326         * po/fr.po: Update from translation team.
28328         * po/sv.po: Update from translation team
28329         * po/fr.po: Another update from translation team.
28331 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28333         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28334         for subnormals or multiply small sinh result by itself.
28335         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28338 2012-07-11  David S. Miller  <davem@davemloft.net>
28340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28342 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
28344         [BZ #14347]
28345         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28346         (INTERNAL_MARK): Shift it here.
28348 2012-07-10  Marek Polacek  <polacek@redhat.com>
28350         [BZ #14151]
28351         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
28352         libc_cv_asm_global_directive with .globl.
28353         * configure: Regenerated.
28354         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28355         with .globl.
28356         * sysdeps/i386/configure: Regenerated.
28357         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28358         with .globl.
28359         * sysdeps/x86_64/configure: Regenerated.
28360         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28361         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28362         * elf/tst-unique2mod2.c: Likewise.
28363         * elf/tst-unique2mod1.c: Likewise.
28364         * elf/tst-unique1mod2.c: Likewise.
28365         * elf/tst-unique1mod1.c: Likewise.
28366         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28367         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28368         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28369         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28370         * sysdeps/mach/sysdep.h: Likewise.
28371         * sysdeps/i386/sysdep.h: Likewise.
28372         * sysdeps/i386/i386-mcount.S: Likewise.
28373         * sysdeps/x86_64/_mcount.S: Likewise.
28374         * sysdeps/x86_64/sysdep.h: Likewise.
28375         * sysdeps/sh/_mcount.S: Likewise.
28376         * sysdeps/sh/sysdep.h: Likewise.
28377         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28378         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28379         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28380         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28381         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28382         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28383         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28384         * locale/localeinfo.h: Likewise.
28385         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28386         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28388 2012-07-09  Roland McGrath  <roland@hack.frob.com>
28390         [BZ #14336]
28391         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28392         system".
28393         * manual/message.texi (The Uniforum approach): Likewise.
28394         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28395         (glibc iconv Implementation): Likewise.
28397 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
28399         [BZ #14337]
28400         * math/s_clog.c (__clog): Avoid scaling a value down where that
28401         could result in underflow.
28402         * math/s_clog10.c (__clog10): Likewise.
28403         * math/s_clog10f.c (__clog10f): Likewise.
28404         * math/s_clog10l.c (__clog10l): Likewise.
28405         * math/s_clogf.c (__clogf): Likewise.
28406         * math/s_clogl.c (__clogl): Likewise.
28407         * math/libm-test.inc (clog_test): Add more tests.
28408         (clog10_test): Likewise.
28409         * sysdeps/i386/fpu/libm-test-ulps: Update.
28410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28412 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
28414         [BZ #14283]
28415         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28416         by 7 not 8 to examine high bit of fractional part.
28418         [BZ #14042]
28419         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28420         for call to __mcount_internal.
28421         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28422         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28423         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28425 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
28427         [BZ #14154]
28428         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28429         approximation for values within 0x1p-13f of an odd multiple of
28430         pi/4.
28431         * math/libm-test.inc (tan_test): Do not allow spurious underflow
28432         exception.  Add more tests.
28433         * sysdeps/i386/fpu/libm-test-ulps: Update.
28435         [BZ #6778]
28436         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28437         inputs and return -1 for them.  Do not check for +Inf in case not
28438         reachable for +Inf.
28439         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28440         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28441         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28442         and return -1 for them.  Do not check for +Inf in case not
28443         reachable for +Inf.
28444         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28445         define.
28446         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28447         and return -1 for them.  Do not check for +Inf in case not
28448         reachable for +Inf.
28449         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
28450         spurious underflow.
28451         * sysdeps/i386/fpu/libm-test-ulps: Update.
28452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28454 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
28456         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28458 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
28460         [BZ #14157]
28461         [BZ #14331]
28462         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28463         could result in spurious underflow.  Scale down values above
28464         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28465         * math/s_csqrtf.c (__csqrtf): Likewise.
28466         * math/s_csqrtl.c (__csqrtl): Likewise.
28467         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
28468         spurious underflow.
28469         * sysdeps/i386/fpu/libm-test-ulps: Update.
28470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28472 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
28474         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28475         xopen-msg.sed.
28476         * catgets/xopen-msg.awk: New file.
28477         * catgets/xopen-msg.sed: Removed.
28479         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28480         po2text.sed.
28481         * intl/po2test.awk: New file.
28482         * intl/po2test.sed: Removed.
28484 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
28486         [BZ #14328]
28487         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28488         or multiply small sinh result by itself.
28489         * math/s_ctanf.c (__ctanf): Likewise.
28490         * math/s_ctanh.c (__ctanh): Likewise.
28491         * math/s_ctanhf.c (__ctanhf): Likewise.
28492         * math/s_ctanhl.c (__ctanhl): Likewise.
28493         * math/s_ctanl.c (__ctanl): Likewise.
28494         * math/libm-test.inc (ctan_test_tonearest): New function.
28495         (ctan_test_towardzero): Likewise.
28496         (ctan_test_downward): Likewise.
28497         (ctan_test_upward): Likewise.
28498         (ctanh_test_tonearest): Likewise.
28499         (ctanh_test_towardzero): Likewise.
28500         (ctanh_test_downward): Likewise.
28501         (ctanh_test_upward): Likewise.
28502         (main): Call these new functions.
28503         * sysdeps/i386/fpu/libm-test-ulps: Update.
28504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28506 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
28508         * .gitignore: Delete /ports entry.
28510 2012-07-03  Andreas Jaeger  <aj@suse.de>
28512         * po/bg.po: Update from translation team.
28513         * po/cs.po: Likewise.
28514         * po/de.po: Likewise.
28515         * po/hr.po: Likewise.
28516         * po/nl.pl: Likewise.
28517         * po/pl.po: Likewise.
28518         * po/vi.po: Likewise.
28520 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
28522         * Makeconfig [!+link] (+link-before-libc): New variable.
28523         [!+link] (+link-after-libc): Likewise.
28524         [!+link] (+link-tests): Likewise.
28525         [!+link] (+link): Define in terms of $(+link-before-libc) and
28526         $(+link-after-libc).
28527         [!+link-static] (+link-static-before-libc): New variable.
28528         [!+link-static] (+link-static-after-libc): Likewise.
28529         [!+link-static] (+link-static-tests): Likewise.
28530         [!+link-static] (+link-static): Define in terms of
28531         $(+link-static-before-libc) and $(+link-static-after-libc).
28532         [build-shared] (link-libc-before-gnulib): New variable.
28533         [build-shared] (link-libc-tests): Likewise.
28534         [build-shared] (link-libc): Define in terms of
28535         $(link-libc-before-gnulib).
28536         [!build-shared] (link-libc-tests): New variable.
28537         (link-libc-static-tests): New variable.
28538         [!gnulib] (gnulib-arch): New variable.
28539         [!gnulib] (gnulib-tests): Likewise.
28540         [!gnulib] (static-gnulib-arch): Likewise.
28541         [!gnulib] (static-gnulib-tests): Likewise.
28542         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
28543         Define with "=" instead of ":=".
28544         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
28545         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
28546         * Rules (binaries-all-notests): New variable.
28547         (binaries-all-tests): Likewise.
28548         (binaries-static-notests): Likewise.
28549         (binaries-static-tests): Likewise.
28550         (binaries-all): Define using $(binaries-all-notests) and
28551         $(binaries-all-tests).
28552         (binaries-static): Define using $(binaries-static-notests) and
28553         $(binaries-static-tests).
28554         (binaries-shared-tests): New variable.
28555         (binaries-shared-notests): Likewise.
28556         (binaries-shared): Remove variable.
28557         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28558         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28559         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28560         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28561         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28562         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28563         * elf/Makefile (sln-modules): New variable.
28564         (extra-objs): Add $(sln-modules:=.o).
28565         (ldconfig-modules): Add static-stubs.
28566         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28567         * elf/static-stubs.c: New file.
28569         [BZ #14283]
28570         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28571         by 7 not 8 to examine high bit of fractional part.  Use volatile
28572         variables when splitting into final array of floats if
28573         __FLT_EVAL_METHOD__ != 0.
28574         * math/libm-test.inc (cos_test): Add another test.
28575         (sin_test): Likewise.
28576         * sysdeps/i386/fpu/libm-test-ulps: Update.
28578         [BZ #14273]
28579         * math/libm-test.inc (cosh_test): Add more tests.
28581         * version.h (RELEASE): Set to "development".
28582         (VERSION): Set to "2.16.90".
28584 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
28586         * NEWS: Update copyright. Remove last-updated date.
28587         Mention math library bug fixes and timezone data changes.
28588         * README: Mention GNU/Hurd, x32, and HPPA support status.
28590 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
28592         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28594 2012-06-27  Andreas Jaeger  <aj@suse.de>
28596         * manual/contrib.texi (Contributors): Add Samuel Thibault.
28598 2012-06-25  Andreas Jaeger  <aj@suse.de>
28600         * sysdeps/s390/fpu/libm-test-ulps: Update.
28602 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
28603             Thomas Schwinge  <thomas@codesourcery.com>
28605         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28606         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28607         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28608         fanotify_mark.
28610 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
28612         * sysdeps/mach/start.c: Remove file.
28613         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28614         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28615         * sysdeps/sh/init-first.c: Likewise.
28617         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28618         registers for frame unwinding purposes, add CFI directives.
28619         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28620         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28621         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28622         Likewise.
28624         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28625         __fortify_fail returning.
28626         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28628         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28629         sysdeps/sh/____longjmp_chk.S.
28630         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28631         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28632         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28633         (gen-as-const-headers): Append sigaltstack-offsets.sym.
28635         * sysdeps/sh/abort-instr.h: New file.
28636         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28637         process in case exit returns.
28639         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28640         initialize the GOT register before use.
28642         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28643         calculation of ARGC > 4.
28645         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28646         meaningful names to some local labels.
28648 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28649             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28651         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28652         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28653         (__arch_compare_and_exchange_val_16_acq): Likewise.
28654         (__arch_compare_and_exchange_val_32_acq): Likewise.
28655         (atomic_exchange_and_add): Fix gUSA sequence.
28656         (atomic_add): Likewise.
28657         (atomic_add_negative): Likewise.
28658         (atomic_add_zero): Likewise.
28659         (atomic_bit_test_set): Likewise.
28661 2012-06-22  Andreas Schwab  <schwab@redhat.com>
28663         [BZ #13579]
28664         * include/link.h (struct link_map): Add l_free_initfini.
28665         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28666         l_initfini.
28667         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28668         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28669         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28670         set.
28672 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
28674         * configure.in: Use AC_LANG_SOURCE.
28675         * configure: Regenerate.
28677 2012-06-22  Roland McGrath  <roland@hack.frob.com>
28679         * configure.in (libc_cv_localstatedir): New substituted variable.
28680         * configure: Regenerated.
28681         * config.make.in (localstatedir): New variable, substituted from
28682         libc_cv_localstatedir.
28683         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28684         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28685         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28686         * sysdeps/gnu/configure: Regenerated.
28688 2012-06-21  Jeff Law  <law@redhat.com>
28690         [BZ #14277]
28691         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28692         free.  Simplify list management for _LIBC case.
28694 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
28696         [BZ #14273]
28697         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28698         Clear sign bit of 64-bit integer value before comparing against
28699         overflow value.
28701         * sysdeps/mach/configure: Regenerated.
28703 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
28705         [BZ #14278]
28706         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28708 2012-06-21  Jeff Law  <law@redhat.com>
28710         [BZ #13882]
28711         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
28712         uint16_t for elements in the "seen" array to avoid char overflows.
28713         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28714         * elf/dl-open.c (dl_open_worker): Likewise.
28716 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
28718         * scripts/list-sources.sh: Scan PORTS for translations.
28719         * po/libc.pot: Regenerated.
28721 2012-06-21  Andreas Jaeger  <aj@suse.de>
28723         [BZ #12194]
28724         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28725         warning.
28726         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28727         * bits/byteswap-16.h (__bswap_16): Likewise.
28728         * bits/byteswap.h (__bswap_constant_16): Likewise.
28730 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
28732         [BZ #14117]
28733         * sysdeps/i386/fpu_control.h: Removed.
28734         * sysdeps/x86_64/fpu_control.h: Moved to ...
28735         * sysdeps/x86/fpu_control.h: Here.
28737         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28738         (_FPU_SETCW): Likewise.
28740 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
28742         [BZ #14117]
28743         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28744         * sysdeps/x86/fpu/bits/mathinline.h: This.
28745         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28747         [BZ #14050]
28748         [BZ #14117]
28749         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28750         functions if __x86_64__ is defined.
28752 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
28754         * string/endian.h: Add !__ASSEMBLER__ condition for including
28755         conversion interfaces.
28757 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
28759         [BZ #14241]
28760         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28761         of ABS(x) in calculating zero to negative powers other than odd
28762         integers.
28763         * math/libm-test.inc (pow_test): Add more tests.
28765 2012-06-15  Andreas Jaeger  <aj@suse.de>
28767         * manual/contrib.texi (Contributors): Update entry of Liubov
28768         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28769         Machado Filho.
28771 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
28773         * string/string.h: Add __wur to GNU version of strerror_r.
28775 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
28777         [BZ #14229]
28778         * string/Makefile (tests): Add tst-strtok_r.
28779         * string/tst-strtok_r.c: New file.
28780         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28781         RAX_LP/RDX_LP on SAVE_PTR.
28783 2012-06-14  Roland McGrath  <roland@hack.frob.com>
28785         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28787 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
28789         * libm_test.inc (csqrt_test): Allow more spurious underflow
28790         exceptions.
28791         (j0_test): Likewise.
28792         (j1_test): Likewise.
28793         (y0_test): Likewise.
28794         (y1_test): Likewise.
28796 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
28798         * po/Makefile (libc.pot): Use UTF-8 charset.
28800 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
28802         [BZ #14210]
28803         Suppress sign-conversion warning from FD_SET.
28804         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28805         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28806         not unsigned long int.
28807         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28809 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
28811         [BZ #14050]
28812         [BZ #14117]
28813         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28814         __extern_always_inline instead of __extern_inline.
28815         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28816         (__signbit): Likewise.
28817         (__signbitl): Support C++ namespace.
28818         (lrintf): New inline function.
28819         (lrint): Likewise.
28820         (llrintf): Likewise.
28821         (llrint): Likewise.
28822         (fmaxf): Likewise.
28823         (fmax): Likewise.
28824         (fminf): Likewise.
28825         (fmin): Likewise.
28826         (rint): Likewise.
28827         (rintf): Likewise.
28828         (ceil): Likewise.
28829         (ceilf): Likewise.
28830         (floor): Likewise.
28831         (floorf): Likewise.
28832         (nearbyint): Likewise.
28833         (nearbyintf): Likewise.
28835 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
28837         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28838         non-default versions.
28840 2012-06-11  Roland McGrath  <roland@hack.frob.com>
28842         [BZ #14218]
28843         * manual/argp.texi (Argp): Reword argp_parse description slightly.
28845 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
28847         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28848         (FE_UPWARD, FE_DOWNWARD): Don't define.
28849         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28850         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28852         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28853         reading it.
28854         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28855         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28857 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28859         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28860         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28861         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28862         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28864 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
28866         [BZ #14117]
28867         * sysdeps/i386/fpu/bits/fenv.h: Removed.
28868         * sysdeps/i386/fpu/Implies: New file.
28869         * sysdeps/x86_64/fpu/Implies: Likewise.
28870         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28871         * sysdeps/x86/fpu/bits/fenv.h: This.
28873         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28874         __SSE_MATH__.
28876 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28878         [BZ #14134]
28879         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28880         character 0xffff that matches the last element of the
28881         conversion table.
28883 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28885         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28886         fmodl commit.
28888 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28890         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28891         values higher than 25.6283.
28893 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28895         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28896         subnormal exponent extraction and add some __builtin_expect.
28897         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28898         Fix for subnormal mantissa calculation.
28900 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
28902         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28903         cpu2 is -1 and errno is not ENOSYS.
28905 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
28907         [BZ #14117]
28908         * sysdeps/i386/i486/bits/string.h: Renamed to ...
28909         * sysdeps/x86/bits/string.h: This.
28910         * sysdeps/x86_64/bits/string.h: Removed.
28912         * sysdeps/i386/i486/bits/string.h: Define inline functions only
28913         if not compiling for x86-64, but compiling for >= i486.
28915         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28916         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28918         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28919         New macro from Linux kernel 3.4.0.
28920         (FP_XSTATE_MAGIC2): Likewise.
28921         (FP_XSTATE_MAGIC2_SIZE): Likewise.
28922         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28923         (struct _fpx_sw_bytes): New struct.
28924         (struct _xsave_hdr): Likewise.
28925         (struct _ymmh_state): Likewise.
28926         (struct _xstate): Likewise.
28928         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28929         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28930         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28931         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28932         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28933         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28935         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28936         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28937         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28938         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28939         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28940         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28942 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28944         [BZ #13743]
28945         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28946         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28947         (sysdep_headers): Include sys/platform/ppc.h.
28948         * sysdeps/powerpc/test-gettimebase.c: Test for
28949         __ppc_get_timebase() to catch future ISA opcode/insn changes.
28950         * manual/Makefile (appendices): Include platform.texi.
28951         * manual/contrib.texi (Contributors): Update @node pointers.
28952         * manual/maint.texi (Maintenance): Likewise.
28953         (Platform): New node.
28954         * manual/platform.texi: New file.  Document the new features.
28956 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28957             Jakub Jelinek  <jakub@redhat.com>
28959         [BZ #14188]
28960         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28961         where __builtin_expect is unavailable.
28963 2012-06-03  David S. Miller  <davem@davemloft.net>
28965         * stdlib/longlong.h: Updated from GCC.
28967 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
28969         [BZ #14042]
28970         * sysdeps/powerpc/powerpc32/mcount.c: New file.
28971         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28972         __mcount_internal.
28973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28974         (GLIBC_2.16): Likewise.
28976 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28978         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28980 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
28982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28983         (default-abi): New variable.
28984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28985         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28986         variable.
28987         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28988         Likewise.
28989         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28990         Likewise.
28991         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28992         Likewise.
28994         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28995         definition.  Document in comment.
28997 2012-06-01  David S. Miller  <davem@davemloft.net>
28999         * stdlib/longlong.h: Updated from GCC.
29001 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
29003         [BZ #14117]
29004         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29005         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29006         sys/debugreg.h sys/io.h here.
29007         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29008         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29009         sys/io.h.
29010         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29011         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29012         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29013         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29014         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29015         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29017         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29018         Define only if __x86_64__ is defined.
29020 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
29022         [BZ #14048]
29023         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29024         Use int64_t for variable i.
29025         * math/libm-test.inc (fmod_test): Add more tests.
29027         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29028         z computation is not scheduled after fetestexcept.
29029         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29030         Use math_force_eval instead of asm to ensure calculation scheduled
29031         before exception test.
29032         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29033         Ensure a1 + u.d computation is not scheduled after fetestexcept.
29035 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
29037         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29038         computation is not scheduled after fetestexcept.
29040 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
29042         [BZ #14117]
29043         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29044         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29046 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29048         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29049         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29051 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
29053         [BZ #14117]
29054         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29055         <bits/wordsize.h>.
29056         (__WCHAR_MIN): Support __WORDSIZE == 64.
29057         (__WCHAR_MAX): Likewise.
29059         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29060         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29062         [BZ #14183]
29063         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29064         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29066         [BZ #14117]
29067         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29068         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29070         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29071         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29073         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29074         Defined to 1 if __x86_64__ isn't defined.
29075         (_STAT_VER_LINUX_OLD): New.
29076         (st_atime): Remove duplicate.
29077         (st_mtime): Likewise.
29078         (st_ctime): Likewise.
29080 2012-05-31  David S. Miller  <davem@davemloft.net>
29082         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29083         entries.
29085 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
29087         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29088         gen-libm-test.pl.
29090         [BZ #14132]
29091         * elf/dl-reloc.c: Include <_itoa.h>.
29092         (_dl_reloc_bad_type): Remove use of INTUSE.
29093         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29094         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29095         * stdio-common/psiginfo.c (psiginfo): Likewise.
29096         * stdio-common/psignal.c (psignal): Likewise.
29097         * string/strsignal.c (strsignal): Likewise.
29098         * include/signal.h (_sys_siglist): Declare hidden proto.
29099         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
29100         INTVARDEF with libc_hidden_data_def.
29101         * stdio-common/itoa-udigits.c: Likewise.
29102         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29103         (_itoa_lower_digits_internal): Remove declaration.
29104         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29105         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29106         (_sys_sigabbrev_internal): Remove aliases.
29107         (_sys_siglist): Define hidden alias.
29109 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
29111         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29112         bits/sysctl.h.
29114 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
29116         [BZ #14117]
29117         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29118         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29120         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29121         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29122         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29123         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29124         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29125         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29127         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29128         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29129         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29131         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29132         with __addr.
29133         (insw): Likewise.
29134         (insl): Likewise.
29135         (outsb): Likewise.
29136         (outsw): Likewise.
29137         (outsl): Likewise.
29139         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29140         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29141         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29143         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29144         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29145         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29146         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29147         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29148         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29150         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29151         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29153         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29154         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29156         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29157         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29158         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29160         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29161         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29162         to ...
29163         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29165         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29166         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29167         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29169         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29170         for x86-64.
29171         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29173 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
29175         * math/math.h (M_El): Use two more decimal places.
29176         (M_LOG2El): Likewise.
29177         (M_LOG10El): Likewise.
29178         (M_LN2l): Likewise.
29179         (M_LN10l): Likewise.
29180         (M_PIl): Likewise.
29181         (M_PI_2l): Likewise.
29182         (M_PI_4l): Likewise.
29183         (M_1_PIl): Likewise.
29184         (M_2_PIl): Likewise.
29185         (M_2_SQRTPIl): Likewise.
29186         (M_SQRT2l): Likewise.
29187         (M_SQRT1_2l): Likewise.
29189 2012-05-31  David S. Miller  <davem@davemloft.net>
29191         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29192         values between float registers.
29193         * sysdeps/sparc/sparc64/memset.S: Likewise.
29194         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29196 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
29198         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29199         -D_FORTIFY_SOURCE=1.
29200         (CPPFLAGS-tst-longjmp_chk.c): Define.
29201         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29202         (CPPFLAGS-tst-longjmp_chk2.c): Define.
29203         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29204         CFLAGS-tst-wchar-h.c.
29206 2012-05-31  Marek Polacek  <polacek@redhat.com>
29208         [BZ #14132]
29209         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29210         __endmntent_internal): Remove declaration.
29211         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29212         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29213         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29215 2012-05-30  David S. Miller  <davem@davemloft.net>
29217         * sysdeps/sparc/sparc32/soft-fp/q_util.c
29218         (___Q_simulate_exceptions): Use real FP ops rather than writing
29219         into the %fsr.
29220         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29221         Likewise.
29223 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29225         [BZ #14117]
29226         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29227         * sysdeps/x86/bits/xtitypes.h: This.
29229         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29230         * sysdeps/x86/bits/wordsize.h: This.
29232         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29233         * sysdeps/x86/bits/huge_vall.h: This.
29235         * sysdeps/i386/bits/select.h: Removed.
29236         * sysdeps/x86_64/bits/select.h: Renamed to ...
29237         * sysdeps/x86/bits/select.h: This.
29239         * sysdeps/i386/bits/setjmp.h: Removed.
29240         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29241         * sysdeps/x86/bits/setjmp.h: This.
29243         * sysdeps/i386/bits/mathdef.h: Removed.
29244         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29245         * sysdeps/x86/bits/mathdef.h: This.
29247 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
29249         [BZ #14132]
29250         * include/sys/socket.h (__connect_internal)
29251         (__libc_sa_len_internal): Remove declaration.
29252         (__connect, __libc_sa_len): Declare hidden_proto.
29253         (SA_LEN): Remove use of INTUSE.
29254         * socket/connect.c: Add libc_hidden_def.
29255         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29256         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29257         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29258         alias.
29259         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29260         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29261         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29262         of adding _internal alias.
29264 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29266         [BZ #14117]
29267         * sysdeps/i386/bits/link.h: Removed.
29268         * sysdeps/i386/bits/linkmap.h: Likewise.
29269         * sysdeps/x86_64/bits/link.h: Renamed to ...
29270         * sysdeps/x86/bits/link.h: This.
29271         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29272         * sysdeps/x86/bits/linkmap.h: This.
29274         * sysdeps/i386/bits/endian.h: Removed.
29275         * sysdeps/x86_64/bits/endian.h: Renamed to ...
29276         * sysdeps/x86/bits/endian.h: This.
29278         * sysdeps/i386/bits/byteswap.h: Removed.
29279         * sysdeps/i386/bits/byteswap-16.h: Likewise.
29280         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29281         * sysdeps/x86/bits/byteswap.h: This.
29282         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29283         * sysdeps/x86/bits/byteswap-16.h: This.
29284         * sysdeps/i386/Implies: Add x86.
29285         * sysdeps/x86_64/Implies: Likewise.
29287 2012-05-30  David S. Miller  <davem@davemloft.net>
29289         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29290         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29291         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29292         (FP_TRAPPING_EXCEPTIONS): Define.
29293         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29294         (FP_TRAPPING_EXCEPTIONS): Define.
29295         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29296         subnormals only when inexact has been signalled or underflow
29297         exceptions are enabled.
29298         (_FP_PACK_CANONICAL): Likewise.
29300 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29302         [BZ #14183]
29303         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29304         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29306 2012-05-30  Richard Henderson  <rth@twiddle.net>
29308         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29309         with #ifndef NOT_IN_libc.
29311         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
29312         marked to avoid plt entry.
29314 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29316         [BZ #14112]
29317         * Makeconfig (default-abi): New macro.
29318         (abi-includes): Likewise.
29319         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
29320         $(abi-$(default-abi)-lib-soname) for soname if defined.
29321         ($(common-objpfx)gnu/lib-names.stmp): Generate from
29322         abi-variants.
29323         * Makefile (installed-stubs): Likewise.
29324         * include/stubs-biarch.h: Removed.
29325         * scripts/lib-names.awk: Only handle one library at a time.
29326         * scripts/soversions.awk: Remove WORDSIZE support.
29327         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29328         entries.
29329         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29330         Removed.
29331         (syscall-list-default-condition): Likewise.
29332         (syscall-list-default-condition): Likewise.
29333         (syscall-list-includes): Likewise.
29334         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29335         syscall-list-* with abi-*.  Handle undefined abi-variants.
29336         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29337         * sysdeps/unix/sysv/linux/i386/Implies: New file.
29338         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29339         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29340         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29341         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29342         Removed.
29343         (syscall-list-32-options): Likewise.
29344         (syscall-list-32-condition): Likewise.
29345         (syscall-list-64-options): Likewise.
29346         (syscall-list-64-condition): Likewise.
29347         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29348         macro.
29349         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29350         Renamed to ...
29351         (abi-*): This.
29352         (abi-64-ld-soname): New macro.
29353         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29354         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29355         Renamed to ...
29356         (abi-*): This.
29357         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29358         * sysdeps/x86_64/x32/shlib-versions: Likewise.
29360 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
29362         * sysdeps/unix/sysv/linux/kernel-features.h
29363         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29364         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29365         include <kernel-features.h>.
29366         [!__NR_ftruncate64]: Remove conditional code.
29367         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29368         [__NR_ftruncate64]: Make code unconditional.
29369         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29370         * sysdeps/unix/sysv/linux/truncate64.c: Do not
29371         include <kernel-features.h>.
29372         [!__NR_ftruncate64]: Remove conditional code.
29373         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29374         [__NR_ftruncate64]: Make code unconditional.
29375         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29377         include <kernel-features.h>.
29378         [!__NR_ftruncate64]: Remove conditional code.
29379         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29380         [__NR_ftruncate64]: Make code unconditional.
29381         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29383         include <kernel-features.h>.
29384         [!__NR_ftruncate64]: Remove conditional code.
29385         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29386         [__NR_ftruncate64]: Make code unconditional.
29387         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29389         * configure.in (libc_cv_fpie): Weaken to a compile test using
29390         LIBC_TRY_CC_OPTION.
29391         * configure: Regenerated.
29393 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29395         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29397         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29399         Refreshed.
29400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29401         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29403         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29405         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29406         Refreshed.
29408 2012-05-27  David S. Miller  <davem@davemloft.net>
29410         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29411         (___Q_zero): New.
29412         (__Q_simulate_exceptions): Return void.  Change to simulate
29413         exceptions by writing into the %fsr.
29414         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29415         (__Qp_handle_exceptions): Likewise.
29416         (numbers): Delete.
29417         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29418         __Qp_handle_exceptions.
29419         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29420         __Qp_handle_exceptions.
29421         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29422         as unused and give dummy FP_RND_NEAREST initializer.
29423         (FP_INHIBIT_RESULTS): Define.
29424         (___Q_simulate_exceptions): Update declaration.
29425         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29426         formatting.
29427         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29428         as unused and give dummy FP_RND_NEAREST initializer.
29429         (__Qp_handle_exceptions): Update declaration.
29430         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29431         formatting.
29433 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
29435         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29436         the temporary FPU control word.
29437         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29438         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29439         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29440         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29441         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29442         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29443         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29444         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29445         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29446         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29447         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29449 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29451         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29452         fields.
29454 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
29456         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29457         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29458         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29459         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29460         Likewise.
29461         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29462         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29463         Likewise.
29465 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
29467         * po/h.po: Update from translation team.
29469 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
29471         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29473         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29474         handling of denormals.
29475         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29476         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29477         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29478         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29479         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29480         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29481         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29482         Likewise.
29484 2012-05-26  Marek Polacek  <polacek@redhat.com>
29486         [BZ #14152]
29487         * math/libm-test.inc (fma_test): Don't always expect underflow
29488         exception.
29490 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29492         [BZ #12416]
29493         * elf/tst-execstack.c: Include stackinfo.h.
29494         (do_test): Adjust test case to ensure that pthread_getattr_np
29495         behaviour remains the same after marking stack executable.
29497 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
29499         * sysdeps/unix/sysv/linux/kernel-features.h
29500         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29501         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29502         kernel-features.h.
29503         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29504         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29505         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29506         kernel-features.h.
29507         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29508         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29510 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
29512         * configure.in: Define the default includes to being none.
29513         * configure: Regenerated.
29515 2012-05-25  Roland McGrath  <roland@hack.frob.com>
29517         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29518         * sysdeps/x86_64/setjmp.S: Likewise.
29519         * sysdeps/i386/bsd-setjmp.S: Likewise.
29520         * sysdeps/i386/bsd-_setjmp.S: Likewise.
29521         * sysdeps/i386/setjmp.S: Likewise.
29522         * sysdeps/i386/__longjmp.S: Likewise.
29523         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29524         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29526         * include/stap-probe.h: New file.
29527         * configure.in: Handle --enable-systemtap.
29528         * configure: Regenerated.
29529         * config.h.in (USE_STAP_PROBE): New #undef.
29530         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29531         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29532         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29534 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
29536         [BZ #13717]
29537         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29538         to 2.4.0 where earlier.
29539         * sysdeps/unix/sysv/linux/configure: Regenerated.
29540         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29541         <kernel-features.h>.
29542         [__ASSUME_32BITUIDS]: Make code unconditional.
29543         [!__ASSUME_32BITUIDS]: Remove conditional code.
29544         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29545         <kernel-features.h>.
29546         [__ASSUME_32BITUIDS]: Make code unconditional.
29547         [!__ASSUME_32BITUIDS]: Remove conditional code.
29548         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29549         [__ASSUME_32BITUIDS]: Make code unconditional.
29550         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29551         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/i386/getgroups.c: Do not include
29564         <kernel-features.h>.
29565         [__ASSUME_32BITUIDS]: Make code unconditional.
29566         [!__ASSUME_32BITUIDS]: Remove conditional code.
29567         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29568         <kernel-features.h>.
29569         [__ASSUME_32BITUIDS]: Make code unconditional.
29570         [!__ASSUME_32BITUIDS]: Remove conditional code.
29571         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29572         <kernel-features.h>.
29573         [__ASSUME_32BITUIDS]: Make code unconditional.
29574         [!__ASSUME_32BITUIDS]: Remove conditional code.
29575         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29576         <kernel-features.h>.
29577         [__ASSUME_32BITUIDS]: Make code unconditional.
29578         [!__ASSUME_32BITUIDS]: Remove conditional code.
29579         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29580         <kernel-features.h>.
29581         [__ASSUME_32BITUIDS]: Make code unconditional.
29582         [!__ASSUME_32BITUIDS]: Remove conditional code.
29583         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29584         <kernel-features.h>.
29585         [__ASSUME_32BITUIDS]: Make code unconditional.
29586         [!__ASSUME_32BITUIDS]: Remove conditional code.
29587         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29588         <kernel-features.h>.
29589         [__ASSUME_32BITUIDS]: Make code unconditional.
29590         [!__ASSUME_32BITUIDS]: Remove conditional code.
29591         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29592         <kernel-features.h>.
29593         [__NR_setresgid] (__setresgid): Do not declare.
29594         [__ASSUME_32BITUIDS]: Make code unconditional.
29595         [!__ASSUME_32BITUIDS]: Remove conditional code.
29596         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29597         <kernel-features.h>.
29598         [__NR_setresuid] (__setresuid): Do not declare.
29599         [__ASSUME_32BITUIDS]: Make code unconditional.
29600         [!__ASSUME_32BITUIDS]: Remove conditional code.
29601         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29602         <kernel-features.h>.
29603         [__ASSUME_32BITUIDS]: Make code unconditional.
29604         [!__ASSUME_32BITUIDS]: Remove conditional code.
29605         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29606         <kernel-features.h>.
29607         [__ASSUME_32BITUIDS]: Make code unconditional.
29608         [!__ASSUME_32BITUIDS]: Remove conditional code.
29609         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29610         <kernel-features.h>.
29611         [__ASSUME_32BITUIDS]: Make code unconditional.
29612         [!__ASSUME_32BITUIDS]: Remove conditional code.
29613         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29614         <kernel-features.h>.
29615         [__ASSUME_32BITUIDS]: Make code unconditional.
29616         [!__ASSUME_32BITUIDS]: Remove conditional code.
29617         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29618         <kernel-features.h>.
29619         [__ASSUME_32BITUIDS]: Make code unconditional.
29620         [!__ASSUME_32BITUIDS]: Remove conditional code.
29621         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29622         <kernel-features.h>.
29623         [__ASSUME_32BITUIDS]: Make code unconditional.
29624         [!__ASSUME_32BITUIDS]: Remove conditional code.
29625         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29626         <kernel-features.h>.
29627         [__ASSUME_32BITUIDS]: Make code unconditional.
29628         [!__ASSUME_32BITUIDS]: Remove conditional code.
29629         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29630         <kernel-features.h>.
29631         [__ASSUME_32BITUIDS]: Make code unconditional.
29632         [!__ASSUME_32BITUIDS]: Remove conditional code.
29633         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29634         <kernel-features.h>.
29635         [__ASSUME_32BITUIDS]: Make code unconditional.
29636         [!__ASSUME_32BITUIDS]: Remove conditional code.
29637         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29638         <kernel-features.h>.
29639         [__ASSUME_32BITUIDS]: Make code unconditional.
29640         [!__ASSUME_32BITUIDS]: Remove conditional code.
29641         * sysdeps/unix/sysv/linux/kernel-features.h
29642         (__ASSUME_SETRESUID_SYSCALL): Remove.
29643         (__ASSUME_SETRESGID_SYSCALL): Likewise.
29644         (__ASSUME_32BITUIDS): Likewise.
29645         (__ASSUME_LDT_WORKS): Likewise.
29646         (__ASSUME_O_DIRECTORY): Likewise.
29647         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29648         architecture but not kernel version.
29649         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29650         (__ASSUME_MMAP2_SYSCALL): Likewise.
29651         (__ASSUME_STAT64_SYSCALL): Likewise.
29652         (__ASSUME_IPC64): Likewise.
29653         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29654         <kernel-features.h>.
29655         [__ASSUME_32BITUIDS]: Make code unconditional.
29656         [!__ASSUME_32BITUIDS]: Remove conditional code.
29657         * sysdeps/unix/sysv/linux/opendir.c: Do not include
29658         <kernel-features.h>.
29659         [__ASSUME_O_DIRECTORY]: Make code unconditional.
29660         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29661         132096]: Remove conditional code.
29662         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29663         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29664         <kernel-features.h>.
29665         [__ASSUME_32BITUIDS]: Make code unconditional.
29666         [!__ASSUME_32BITUIDS]: Remove conditional code.
29667         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29668         <kernel-features.h>.
29669         [__ASSUME_32BITUIDS]: Make code unconditional.
29670         [!__ASSUME_32BITUIDS]: Remove conditional code.
29671         * sysdeps/unix/sysv/linux/setegid.c: Do not include
29672         <kernel-features.h>.
29673         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29674         unconditional.
29675         (__setresgid): Do not declare.
29676         [__ASSUME_32BITUIDS]: Make code unconditional.
29677         [!__ASSUME_32BITUIDS]: Remove conditional code.
29678         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29679         <kernel-features.h>.
29680         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29681         unconditional.
29682         (__setresuid): Do not declare.
29683         [__ASSUME_32BITUIDS]: Make code unconditional.
29684         [!__ASSUME_32BITUIDS]: Remove conditional code.
29685         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29686         <kernel-features.h>.
29687         [__ASSUME_32BITUIDS]: Make code unconditional.
29688         [!__ASSUME_32BITUIDS]: Remove conditional code.
29689         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29690         <kernel-features.h>.
29691         [__ASSUME_32BITUIDS]: Make code unconditional.
29692         [!__ASSUME_32BITUIDS]: Remove conditional code.
29694 2012-05-25  Richard Henderson  <rth@twiddle.net>
29696         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29697         dl_hwcap to ifunc resolver.
29698         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29699         elf_ifunc_invoke.
29700         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29701         dl_hwcap to ifunc resolver.
29702         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29704 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29706         [BZ #14153]
29707         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29708         for |x| <= 2**-26, not 2**-57.
29709         * math/libm-test.inc (acos_test): Do not allow spurious underflow
29710         exception.
29712 2012-05-24  Jeff Law  <law@redhat.com>
29714         * stdio-common/Makefile (tests): Add bug25.
29715         * stdio-common/bug25.c: New test.
29717 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
29719         [BZ #13576]
29720         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29721         multiple of MALLOC_ALIGNMENT in size.
29722         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29724 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29726         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29727         Require >= 256.
29728         (FILENAME_MAX): Use macro-int-constant.
29729         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
29730         (_IOFBF): Use macro-int-constant.
29731         (_IOLBF): Likewise.
29732         (_IONBF): Likewise.
29733         (SEEK_CUR): Likewise.
29734         (SEEK_END): Likewise.
29735         (SEEK_SET): Likewise.
29736         (TMP_MAX): Likewise.
29737         (EOF): Use macro-int-constant.  Require < 0.
29738         (NULL): Use macro-constant.  Require == 0.
29739         (stdin): Require type to be FILE *.
29740         (stdout): Likewise.
29741         (stderr): Likewise.
29742         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29743         macro-int-constant.
29744         (EXIT_SUCCESS): Likewise.
29745         (NULL): Use macro-constant.  Require == 0.
29746         (RAND_MAX): Use macro-int-constant.
29747         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29748         [C99-based standards] (strtof): Require function.
29749         [C99-based standards] (strtold): Likewise.
29750         [C99-based standards] (strtoll): Likewise.
29751         [C99-based standards] (strtoull): Likewise.
29752         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29753         [ISO || ISO99 || ISO11] (limits.h): Likewise.
29754         [ISO || ISO99 || ISO11] (math.h): Likewise.
29755         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29756         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29757         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29759 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
29761         [BZ #14132]
29762         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29763         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29764         * intl/dgettext.c (DCGETTEXT): Likewise.
29765         * intl/gettext.c (DCGETTEXT): Likewise.
29766         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29767         * posix/regex_internal.h (gettext): Likewise.
29768         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29769         Remove declaration.
29770         * include/argz.h (__argz_count_internal)
29771         (__argz_stringify_internal): Remove declaration.
29772         (__argz_count, __argz_stringify): Declare hidden proto.
29773         * intl/dcgettext.c: Remove use of INTDEF.
29774         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29775         * string/argz-stringify.c: Likewise.
29776         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29777         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29778         Declare hidden proto.
29779         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29780         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29781         Declare hidden proto.
29782         * include/stdio.h (__asprintf_internal): Don't declare.
29783         (__asprintf): Don't define as macro.  Declare hidden proto.
29784         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29785         (__fsetlocking): Declare hidden proto.
29786         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29787         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29788         hidden proto.
29789         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29790         (_IO_setlinebuf): Remove use of INTUSE.
29791         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29792         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29793         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29794         Remove declaration.
29795         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29796         (_IO_do_flush): Remove use of INTUSE.
29797         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29798         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29799         (_IO_adjust_column, _IO_least_wmarker)
29800         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29801         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29802         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29803         (_IO_default_doallocate, _IO_wdefault_doallocate)
29804         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29805         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29806         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29807         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29808         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29809         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29810         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29811         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29812         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29813         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29814         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29815         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29816         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29817         proto.
29818         (_IO_flush_all_internal, _IO_adjust_column_internal)
29819         (_IO_default_uflow_internal, _IO_default_finish_internal)
29820         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29821         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29822         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29823         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29824         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29825         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29826         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29827         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29828         (_IO_file_close_internal, _IO_file_close_it_internal)
29829         (_IO_file_underflow_internal, _IO_file_overflow_internal)
29830         (_IO_file_init_internal, _IO_file_attach_internal)
29831         (_IO_file_fopen_internal, _IO_file_read_internal)
29832         (_IO_file_sync_internal, _IO_file_seek_internal)
29833         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29834         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29835         (_IO_str_underflow_internal, _IO_str_overflow_internal)
29836         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29837         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29838         (_IO_list_all_internal, _IO_link_in_internal)
29839         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29840         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29841         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29842         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29843         (_IO_do_write_internal, _IO_padn_internal)
29844         (_IO_getline_info_internal, _IO_getline_internal)
29845         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29846         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29847         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29848         (_IO_vfscanf_internal, _IO_vfprintf_internal)
29849         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29850         (_IO_init_internal, _IO_un_link_internal): Don't declare.
29851         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29852         with libc_hidden_ver, remove use of INTUSE.
29853         * libio/genops.c: Likewise.
29854         * libio/freopen.c: Likewise.
29855         * libio/freopen64.c: Likewise.
29856         * libio/iofclose.c: Likewise.
29857         * libio/iofdopen.c: Likewise.
29858         * libio/iofflush.c: Likewise.
29859         * libio/iofflush_u.c: Likewise.
29860         * libio/iofgets.c: Likewise.
29861         * libio/iofgets_u.c: Likewise.
29862         * libio/iofopen.c: Likewise.
29863         * libio/iofopncook.c: Likewise.
29864         * libio/iofread.c: Likewise.
29865         * libio/iofread_u.c: Likewise.
29866         * libio/ioftell.c: Likewise.
29867         * libio/iofwrite.c: Likewise.
29868         * libio/iogetline.c: Likewise.
29869         * libio/iogets.c: Likewise.
29870         * libio/iogetwline.c: Likewise.
29871         * libio/iopadn.c: Likewise.
29872         * libio/iopopen.c: Likewise.
29873         * libio/ioseekoff.c: Likewise.
29874         * libio/ioseekpos.c: Likewise.
29875         * libio/iosetbuffer.c: Likewise.
29876         * libio/iosetvbuf.c: Likewise.
29877         * libio/ioungetc.c: Likewise.
29878         * libio/ioungetwc.c: Likewise.
29879         * libio/iovdprintf.c: Likewise.
29880         * libio/iovsprintf.c: Likewise.
29881         * libio/iovsscanf.c: Likewise.
29882         * libio/memstream.c: Likewise.
29883         * libio/obprintf.c: Likewise.
29884         * libio/oldfileops.c: Likewise.
29885         * libio/oldiofclose.c: Likewise.
29886         * libio/oldiofdopen.c: Likewise.
29887         * libio/oldiofopen.c: Likewise.
29888         * libio/oldiopopen.c: Likewise.
29889         * libio/oldstdfiles.c: Likewise.
29890         * libio/putc.c: Likewise.
29891         * libio/setbuf.c: Likewise.
29892         * libio/setlinebuf.c: Likewise.
29893         * libio/stdfiles.c: Likewise.
29894         * libio/strops.c: Likewise.
29895         * libio/vasprintf.c: Likewise.
29896         * libio/vscanf.c: Likewise.
29897         * libio/vsnprintf.c: Likewise.
29898         * libio/vswprintf.c: Likewise.
29899         * libio/wfiledoalloc.c: Likewise.
29900         * libio/wfileops.c: Likewise.
29901         * libio/wgenops.c: Likewise.
29902         * libio/wmemstream.c: Likewise.
29903         * libio/wstrops.c: Likewise.
29904         * libio/__fpurge.c: Likewise.
29905         * libio/__fsetlocking.c: Likewise.
29906         * assert/assert.c: Likewise.
29907         * debug/fgets_chk.c: Likewise.
29908         * debug/fgets_u_chk.c: Likewise.
29909         * debug/fread_chk.c: Likewise.
29910         * debug/fread_u_chk.c: Likewise.
29911         * debug/gets_chk.c: Likewise.
29912         * debug/obprintf_chk.c: Likewise.
29913         * debug/vasprintf_chk.c: Likewise.
29914         * debug/vdprintf_chk.c: Likewise.
29915         * debug/vsnprintf_chk.c: Likewise.
29916         * debug/vsprintf_chk.c: Likewise.
29917         * malloc/mtrace.c: Likewise.
29918         * misc/error.c: Likewise.
29919         * misc/syslog.c: Likewise.
29920         * stdio-common/asprintf.c: Likewise.
29921         * stdio-common/fxprintf.c: Likewise.
29922         * stdio-common/getw.c: Likewise.
29923         * stdio-common/isoc99_fscanf.c: Likewise.
29924         * stdio-common/isoc99_scanf.c: Likewise.
29925         * stdio-common/isoc99_vfscanf.c: Likewise.
29926         * stdio-common/isoc99_vscanf.c: Likewise.
29927         * stdio-common/isoc99_vsscanf.c: Likewise.
29928         * stdio-common/printf-prs.c: Likewise.
29929         * stdio-common/printf_fp.c: Likewise.
29930         * stdio-common/printf_fphex.c: Likewise.
29931         * stdio-common/printf_size.c: Likewise.
29932         * stdio-common/putw.c: Likewise.
29933         * stdio-common/scanf.c: Likewise.
29934         * stdio-common/sprintf.c: Likewise.
29935         * stdio-common/tmpfile.c: Likewise.
29936         * stdio-common/vfprintf.c: Likewise.
29937         * stdio-common/vfscanf.c: Likewise.
29938         * stdlib/strfmon_l.c: Likewise.
29939         * sunrpc/openchild.c: Likewise.
29940         * sunrpc/xdr_stdio.c: Likewise.
29941         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29942         * sysdeps/mach/hurd/tmpfile.c: Likewise.
29944 2012-05-24  Roland McGrath  <roland@hack.frob.com>
29946         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29948         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29949         in the third column, to generate for the shared library an IFUNC
29950         that uses _dl_vdso_vsym.
29951         * Makerules (COMPILE.c, compile-stdin.c): New variables.
29952         * Makeconfig (object-suffixes-noshared): New variable.
29954         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29955         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29956         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29957         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29959         [BZ #14132]
29960         * include/sys/time.h (__gettimeofday): Remove macro.
29961         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29962         * time/gettimeofday.c (__gettimeofday): Remove #undef.
29963         Remove INTDEF.
29964         (__gettimeofday): Add libc_hidden_def.
29965         (gettimeofday): Add libc_hidden_weak.
29966         * sysdeps/mach/gettimeofday.c: Likewise.
29967         * sysdeps/posix/gettimeofday.c: Likewise.
29968         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29969         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29970         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29971         (__gettimeofday_internal): Remove strong_alias.
29972         (__gettimeofday): Add libc_hidden_def.
29973         (gettimeofday): Add libc_hidden_weak.
29974         * sysdeps/unix/syscalls.list (gettimeofday):
29975         Remove __gettimeofday_internal alias.
29977 2012-05-24  Daniel Jacobowitz  <drow@false.org>
29978             H.J. Lu  <hongjiu.lu@intel.com>
29980         [BZ #12495]
29981         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29982         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29983         (largebin_index_32_big): New.
29984         (largebin_index): Use it for 16-byte alignment.
29985         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
29986         correction with front_misalign.
29988 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
29990         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29991         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29992         Likewise.
29993         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29994         Likewise.
29995         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29996         Likewise.
29997         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29998         Likewise.
29999         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30000         Likewise.
30001         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30002         Likewise.
30003         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30004         Likewise.
30005         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30006         Likewise.
30007         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30008         Likewise.
30009         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30010         Likewise.
30011         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30012         Likewise.
30013         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30014         Likewise.
30016         * scripts/data/c++-types-x32-linux-gnu.data: New file.
30017         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30019 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30021         [BZ #10846]
30022         [BZ #14036]
30023         * math/libm-test.inc (exp_test): Add test from bug 14036.
30024         (pow_test): Add test from bug 10846.
30026         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30027         and other flags.
30028         (special_function): Do not include flags in test name.
30029         (parse_args): Likewise.
30030         * sysdeps/i386/fpu/libm-test-ulps: Update.
30031         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30032         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30033         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30036         * math/gen-libm-test.pl (%beautify): Add entries for underflow
30037         exceptions.
30038         * math/libm-test.inc ("Philosophy"): Update comment about
30039         exception testing.
30040         (UNDERFLOW_EXCEPTION): New macro.
30041         (UNDERFLOW_EXCEPTION_OK): Likewise.
30042         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30043         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30044         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30045         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30046         (INVALID_EXCEPTION_OK): Update value.
30047         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30048         (OVERFLOW_EXCEPTION_OK): Likewise.
30049         (IGNORE_ZERO_INF_SIGN): Likewise.
30050         (test_exceptions): Handle underflow exceptions.
30051         (acos_test): Update for underflow exception expectations.
30052         (cexp_test): Likewise.
30053         (clog_test): Likewise.
30054         (clog10_test): Likewise.
30055         (csqrt_test): Likewise.
30056         (ctan_test): Likewise.
30057         (ctanh_test): Likewise.
30058         (exp_test): Likewise.
30059         (exp10_test): Likewise.
30060         (exp2_test): Likewise.
30061         (expm1_test): Likewise.
30062         (fma_test): Likewise.
30063         (j0_test): Likewise.
30064         (jn_test): Likewise.
30065         (nexttoward_test): Likewise.
30066         (pow_test): Likewise.
30067         (scalbn_test): Likewise.
30068         (scalbln_test): Likewise.
30069         (tan_test): Likewise.
30070         (y1_test): Likewise.
30071         * sysdeps/i386/fpu/libm-test-ulps: Update.
30072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30074 2012-05-23  David S. Miller  <davem@davemloft.net>
30076         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30077         (__libc_sigaction): Remove unused local variables.
30079 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
30081         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30083 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
30085         mktime: avoid signed integer overflow
30086         * time/mktime.c (__mktime_internal): Do not mishandle the case
30087         where diff == INT_MIN.
30089         mktime: simplify computation of average
30090         * time/mktime.c (ranged_convert): Use new time_t_avg function
30091         instead of rolling our own (probably-slower) code.
30093         mktime: do not assume signed right shift propagates sign bit
30094         * time/mktime.c (isdst_differ): New static function.
30095         (__mktime_internal): No need to normalize tm_isdst now.
30096         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30097         tm_isdst values.
30099         mktime: merge another wrapv change from gnulib
30100         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30101         from some compilers.
30103         mktime: remove incorrect attempt at unusual arithmetics
30104         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30105         The code didn't really work on such machines anyway.
30106         (TYPE_MINIMUM): Assume two's complement.
30107         (twos_complement_arithmetic): Verify that long_int and time_t
30108         are two's complement (or unsigned, in the latter case).
30110         mktime: check signed shifts on long_int and time_t, too
30111         * time/mktime.c (SHR): Check that shifts work as desired
30112         on the types long_int and time_t too, as SHR is used on
30113         such types.
30115         mktime: do not assume 'long' is wide enough
30116         * time/mktime.c (verify): Move decl up.
30117         (long_int): New type.
30118         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30119         to remove assumption in the code that 'long' is wide enough to
30120         store year values.  This assumption is not true on x32 and on
30121         some non-glibc platforms.
30123         mktime: merge wrapv change from gnulib
30124         * time/mktime.c (WRAPV): New macro.
30125         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30126         (guess_time_tm, __mktime_internal): Do not assume that signed
30127         integer overflow wraps around; modern compilers generate code
30128         where this assumption is no longer valid.
30130 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
30132         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30133         Replace "jmp L(pseudo_end)" with "ret".
30134         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30135         Likewise.
30137 2012-05-23  Andreas Jaeger  <aj@suse.de>
30139         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30140         * sysdeps/unix/sysv/linux/poll.c: Remove file.
30142 2012-05-23  Andreas Jaeger  <aj@suse.de>
30143             Maximilian Attems  <max@stro.at>
30145         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30146         New macros.
30148 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
30150         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30151         code so that pseudo_end is just ret and the stack pointer is
30152         correct also for static library in error case.
30154 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
30156         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30157         move to syscalls.list.
30158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30163         * manual/install.texi (Running make install): Do not mention Linux
30164         kernel version for which pt_chown is not needed.
30165         (Linux): Do not mention problems with nscd with 2.0 kernels.
30166         * INSTALL: Regenerated.
30168 2012-05-23  Andreas Jaeger  <aj@suse.de>
30170         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30171         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30172         macro.
30173         * sysdeps/unix/sysv/linux/s390/bits/mman.h
30174         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30175         * sysdeps/unix/sysv/linux/sh/bits/mman.h
30176         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30177         * sysdeps/unix/sysv/linux/i386/bits/mman.h
30178         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30179         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30180         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30181         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30182         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30183         * sysdeps/unix/sysv/linux/bits/in.h
30184         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30186 2012-05-22  Roland McGrath  <roland@hack.frob.com>
30188         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30189         (PREPARE_VERSION): Just use assert instead, it will be elided
30190         under [NDEBUG] anyway.
30192 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30194         * sysdeps/unix/sysv/linux/Makefile: Include
30195         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
30196         (sysdep_routines): Remove sysctl.
30197         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30198         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30199         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30200         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30201         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30203 2012-05-22  Andreas Jaeger  <aj@suse.de>
30205         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30206         that pseudo_end is just ret and the stack pointer is correct also
30207         for static library in error case.
30209 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
30211         [BZ #14122]
30212         * nss/nsswitch.c (defconfig_entries): New variable.
30213         (__nss_database_lookup): Don't leak defconfig entries.
30214         (nss_parse_service_list): Don't leak on error paths.
30215         (free_database_entries): New function.
30216         (free_defconfig): New function.
30217         (free_mem): Move common code to free_database_entries.
30219 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30221         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30222         Add arch_prctl.
30223         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30225         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30226         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30227         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30228         New macro.
30229         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30230         (INTERNAL_SYSCALL_TYPES): Likewise.
30231         (LOAD_ARGS_TYPES_[1-6]): Likewise.
30232         (LOAD_REGS_TYPES_[1-6]): Likewise.
30233         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30234         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30236 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30238         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30239         copysignl for GLIBC_2_0.
30240         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30241         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30242         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30243         logbl for GLIBC_2_0.
30244         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30245         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30247 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30249         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30250         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30252         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30253         Use "neg %eax".
30255         * time/mktime.c: Update copyright years.
30257 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
30259         mktime: merge comment-quoting-style change from gnulib
30260         * time/mktime.c: Quote 'like this' in comments.
30261         The GNU coding standards suggest that we no longer quote `like this',
30262         as "`" and "'" are typically rendered asymmetrically nowadays.
30263         The typical gnulib style is to quote 'like this' when quoting
30264         code, and "like this" when quoting English.
30266         * time/mktime.c (compile-command): Add "-I.".
30268         mktime: merge mktime-internal.h change from gnulib
30269         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30271         mktime: merge time_r change from gnulib
30272         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30274         mktime: merge DEBUG change from gnulib
30275         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30276         case system <time.h> has a #define.
30278         mktime: merge <sys/types.h> change from gnulib
30279         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30280         since <time.t> is now guaranteed to define time_t.
30282         mktime: merge HAVE_CONFIG_H change from gnulib
30283         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30285 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30287         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30288         Use "neg %eax".
30290         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30291         __rlim_t cast.
30292         (struct rusage): Use anonymous union to pad each field to
30293         __syscall_slong_t.
30295 2012-05-21  David S. Miller  <davem@davemloft.net>
30297         * Makefules (o-iterator): Remove .s cases.
30298         (compile-command.s): Delete.
30299         (COMPILE.s): Delete.
30300         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30302 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
30304         * configure.in (libc_cv_predef_stack_protector): Only consider
30305         "foobar" and "__stack_chk_fail" lines in libc_undefs.
30306         * configure: Regenerated.
30308 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
30310         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30311         New macro.  Use R*LP on int and pointer.
30312         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
30313         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30314         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
30315         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30317         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30318         [__WORDSIZE_TIME64_COMPAT32] instead of
30319         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30320         (struct utmp): Likewise.
30321         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30322         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30323         Renamed to ...
30324         (__WORDSIZE_TIME64_COMPAT32): This.
30325         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30326         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30327         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30328         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30329         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30330         (__WORDSIZE_TIME64_COMPAT32): New macro.
30332 2012-05-21  Andreas Jaeger  <aj@suse.de>
30334         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30335         only if [SHARED]. Add prototype for __wcschr_ia32.
30337 2012-05-21  Roland McGrath  <roland@hack.frob.com>
30339         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30340         of %rbp unmolested in the jmp_buf while mangling the low bits.
30341         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30342         unmolested high bits of %rbp while demangling the low bits.
30343         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30345 2012-05-21  Andreas Jaeger  <aj@suse.de>
30347         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30348         * sunrpc/svc_simple.c: Use it for registerrpc.
30349         * sunrpc/xcrypt.c: Use it for passwd2des.
30351         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30353 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
30355         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30356         Don't define if [__SYSCALL_WORDSIZE != 32].
30357         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30358         New macro.
30360 2012-05-21  Bruno Haible  <bruno@clisp.org>
30361             Andreas Jaeger  <aj@suse.de>
30363         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30364         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30365         inptr and inend for must_buffer_ch.
30366         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30367         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30368         * stdio-common/Makefile (tests): Remove bug15.
30369         (bug15-ENV): Remove macro.
30370         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30371         anymore.
30373 2012-05-19  Andreas Jaeger  <aj@suse.de>
30374             Roland McGrath  <roland@hack.frob.com>
30376         * manual/contrib.texi: Completely rewritten. It contains now an
30377         alphabetical list of contributors and their contributions.
30379 2012-05-21  Richard Henderson  <rth@twiddle.net>
30381         * misc/getauxval.c (__getauxval): Use unsigned long int.
30382         * misc/sys/auxv.h: Include <sys/cdefs.h>.
30383         (getauxval): Use unsigned long int.
30385 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
30387         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30389 2012-05-21  Roland McGrath  <roland@hack.frob.com>
30391         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30392         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30393         __alignof__ (long double).
30395 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30397         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30399 2012-05-20  Richard Henderson  <rth@twiddle.net>
30401         * misc/getauxval.c: New file.
30402         * misc/sys/auxv.h: New file.
30403         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30404         (routines): Add getauxval.
30405         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30406         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30407         * elf/dl-sysdep.c (_dl_auxv): Remove.
30408         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30409         * elf/dl-support.c (_dl_auxv): New variable.
30410         (_dl_aux_init): Initialize it.
30411         * manual/startup.texi (Auxiliary Vector): New node.
30412         * sysdeps/generic/bits/hwcap.h: New file.
30413         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30414         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
30415         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30416         * sysdeps/sparc/sysdep.h: ... here.  Include it.
30417         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30418         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
30419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30420         Update.
30421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30422         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30423         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30424         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30425         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30426         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30427         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30428         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30430 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30434 2012-05-19  David S. Miller  <davem@davemloft.net>
30436         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30438 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
30440         [BZ #14123]
30441         * math/s_ccosh.c: Include <float.h>
30442         (__ccosh): Avoid internal overflow calculating sinh and cosh
30443         values before multiplying by sin and cos values.
30444         * math/s_ccoshf.c: Likewise.
30445         * math/s_ccoshl.c: Likewise.
30446         * math/s_csin.c: Likewise.
30447         * math/s_csinf.c: Likewise.
30448         * math/s_csinl.c: Likewise.
30449         * math/s_csinh.c: Likewise.
30450         * math/s_csinhf.c: Likewise.
30451         * math/s_csinhl.c: Likewise.
30452         * math/libm-test.inc (ccos_test): Add more tests.
30453         (ccosh_test): Likewise.
30454         (csin_test): Likewise.
30455         (csinh_test): Likewise.
30456         * sysdeps/i386/fpu/libm-test-ulps: Update.
30457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30459 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
30461         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30462         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30464         * sysdeps/x86_64/x32/_itoa.h: Add comment.
30466 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
30468         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30469         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30470         * sysdeps/powerpc/soft-fp/Versions: Likewise.
30471         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30472         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30473         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30474         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30475         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30476         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30477         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30478         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30479         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30480         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30481         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30482         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30483         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30484         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30485         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30486         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30487         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30488         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30489         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30490         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30491         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30492         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30493         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30494         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30495         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30496         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30497         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30498         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30500 2012-05-18  Andreas Jaeger  <aj@suse.de>
30502         * csu/.gitignore: Delete.
30504 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
30506         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30507         (timex): Use __syscall_slong_t.
30509 2012-05-18  Andreas Jaeger  <aj@suse.de>
30510             Carlos O'Donell  <carlos_odonell@mentor.com>
30512         * manual/install.texi (Configuring and compiling): Update
30513         description about files modified in the source directory.
30514         * INSTALL: Regenerated.
30516 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
30518         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30519         value.  Use "or" to set return value to -1.
30520         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30521         negate return value.
30523 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30525         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30526         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
30527         failure if the compiler has Graphite support disabled.
30528         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30529         Likewise.
30530         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30531         (CFLAGS-memmove.c): Likewise.
30532         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30533         Likewise.
30535 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
30537         * sysdeps/x86_64/x32/_itoa.h: New file.
30539         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30540         getdents system call only if kernel and user dirents have the
30541         same d_ino and d_off.
30543         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30544         LLONG_MAX != LONG_MAX.
30545         (_itoa_word): Use _ITOA_WORD_TYPE on value.
30546         (_fitoa_word): Likewise.
30548         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30549         years.
30550         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30551         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30552         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30554         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30555         include <bits/wordsize.h>.  Check __x86_64__ instead of
30556         __WORDSIZE.
30557         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30558         if __x86_64__ is defined.  Use anonymous union on fpstate.
30560         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30561         anonymous union.
30563 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
30565         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30566         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30567         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30568         Refer to _rtld_local_ro instead of _rtld_global_ro.
30569         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30570         Likewise.
30571         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30572         Likewise.
30573         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30574         Likewise.
30575         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30576         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30577         of _rtld_global, and rtld_progname instead of _dl_argv[0].
30579         * sysdeps/powerpc/powerpc32/dl-machine.c
30580         (__elf_machine_runtime_setup) [PROF]: Don't reference
30581         _dl_prof_resolve.
30583 2012-05-18  Andreas Jaeger  <aj@suse.de>
30585         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30586         function only available for GCCs before 3.4 since GCC 3.4
30587         introduced a builtin.
30588         (lrint): Likewise.
30589         (llrintf): Likewise.
30590         (llrint): Likewise.
30591         (fmaxf): Likewise.
30592         (fmax): Likewise.
30593         (fminf): Likewise.
30594         (fmin): Likewise.
30595         (rint): Likewise.
30596         (rintf): Likewise.
30597         (nearbyint): Likewise.
30598         (nearbyintf): Likewise.
30599         (ceil): Likewise.
30600         (ceilf): Likewise.
30601         (floor): Likewise.
30602         (floorf): Likewise.
30604 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30606         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30607         on both fields and cast pointer to __syscall_ulong_t.
30609         * bits/types.h (__fsword_t): New type.
30610         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30611         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30612         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30613         (__FSWORD_T_TYPE): Likewise.
30614         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30615         (__FSWORD_T_TYPE): Likewise.
30616         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30617         (__FSWORD_T_TYPE): Likewise.
30618         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30619         (__FSWORD_T_TYPE): Likewise.
30620         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30621         __SWORD_TYPE with __fsword_t.
30622         (statfs64): Likewise.
30624 2012-05-17  David S. Miller  <davem@davemloft.net>
30626         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30628 2012-05-17  Andreas Jaeger  <aj@suse.de>
30630         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30631         warning.
30633 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30635         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30637 2012-05-17  Andreas Jaeger  <aj@suse.de>
30639         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30640         when it is used.
30642 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
30644         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30646 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30648         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30649         * sysdeps/x86_64/tst-mallocalign1.c: New file.
30651 2012-05-17  Andreas Jaeger  <aj@suse.de>
30652             Carlos O'Donell  <carlos_odonell@mentor.com>
30654         [BZ #14059]
30655         * sysdeps/x86_64/multiarch/init-arch.h
30656         (bit_YMM_Usable): Rename to...
30657         (bit_AVX_Usable): ... this.
30658         (bit_FMA4_Usable): New macro.
30659         (bit_XMM_state): New macro.
30660         (bit_YMM_state): New macro.
30661         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30662         [__ASSEMBLER__] (index_AVX_Usable): ... this.
30663         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30664         (CPUID_OSXSAVE): New macro.
30665         (CPUID_AVX): New macro.
30666         (CPUID_FMA4): New macro.
30667         (index_YMM_Usable): Rename to...
30668         (index_AVX_Usable): ... this.
30669         (HAS_AVX): Use HAS_ARCH_FEATURE.
30670         (HAS_FMA4): Likewise.
30671         (HAS_YMM_USABLE): Remove.
30672         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30673         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30674         are present.
30675         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30676         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30677         * sysdeps/x86_64/multiarch/Makefile: Likewise.
30678         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30679         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30681 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
30683         * math/libm-test.c: Support platforms without multiple rounding modes.
30684         * math/bug-nextafter.c: Support platforms without FP exceptions.
30685         * math/bug-nexttoward.c: Likewise.
30686         * math/test-fenv.c: Likewise.
30687         * math/test-misc.c: Likewise.
30688         * stdlib/bug-getcontext.c: Likewise.
30690 2012-05-17  Andreas Jaeger  <aj@suse.de>
30692         * manual/examples/search.c (critter_cmp): Change signature to
30693         avoid warnings.
30694         * manual/string.texi (Collation Functions): Likewise.
30696 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30698         * bits/types.h: Fold copyright years.
30699         * bits/typesizes.h: Likewise.
30700         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30701         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30702         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30703         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30704         * time/time.h: Likewise.
30706 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
30708         [BZ #208]
30709         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30710         in instead of returning them.  Return void.
30711         (__libc_mallinfo): Accumulate over all arenas.
30712         (__malloc_stats): Adjust for change in int_mallinfo interface.
30714 2012-05-16  Roland McGrath  <roland@hack.frob.com>
30716         [BZ #10375]
30717         * configure.in (NM): Add AC_CHECK_TOOL for it.
30718         (libc_extra_cflags): New substituted variable.
30719         Check for -fstack-protector being used implicitly.
30720         * configure: Regenerated.
30721         * config.make.in (config-extra-cflags): New variable,
30722         gets @libc_extra_cflags@.
30723         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30725         [BZ #10375]
30726         * configure.in: Check for _FORTIFY_SOURCE being predefined.
30727         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30728         * configure: Regenerated.
30729         * config.make.in (CPPUNDEFS): New substituted variable.
30730         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30731         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30732         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30734 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30736         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30737         (mq_attr): Use __syscall_slong_t.
30739 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30741         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30742         Check __x86_64__ instead of __WORDSIZE.
30743         (_STAT_VER_LINUX): Likewise.
30744         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
30745         __syscall_ulong_t and __syscall_slong_t.
30746         (stat64): Likewise.
30748 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30750         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30752 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30754         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30756 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30758         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30759         __syscall_ulong_t.
30761         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30762         include <bits/wordsize.h>.  Check __x86_64__ instead of
30763         __WORDSIZE.
30764         (greg_t): Use "__extension__ long long int" if __x86_64__ is
30765         defined.
30766         (mcontext_t): Replace "unsigned long" with "unsigned long long".
30768         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30769         include <bits/wordsize.h>.  Check __x86_64__ instead of
30770         __WORDSIZE.
30771         (user_regs_struct): Use "__extension__ unsigned long long"
30772         instead of "unsigned long" if __x86_64__ is defined.
30773         (user): Likewise.  Pad after pointer field if __ILP32__ is
30774         defined.
30776 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
30778         * configure.in (makeinfo): Require version 4.5 or later.  Allow
30779         versions 5 to 9.
30780         * configure: Regenerated.
30781         * manual/install.texi (texinfo): Increase version requirement to
30782         4.5 or later.
30783         * INSTALL: Regenerated.
30785         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30787 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30789         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30791         * sysdeps/x86_64/x32/ffs.c: New file.
30793         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30794         __syscall_ulong_t.
30795         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30796         defined.  Use __syscall_ulong_t.
30797         (shminfo): Use __syscall_ulong_t.
30798         (shm_info): Likewise.
30800         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30801         __syscall_ulong_t.
30803         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30804         <bits/wordsize.h>.
30805         (msgqnum_t): Use __syscall_ulong_t.
30806         (msglen_t): Likewise.
30807         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
30808         __syscall_ulong_t.
30810         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30811         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30813         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30815         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30816         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30818         * sysvipc/sys/msg.h (msgbuf): Replace long int with
30819         __syscall_slong_t.
30821         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30822         include <bits/wordsize.h>.  Check __x86_64__ instead of
30823         __WORDSIZE.
30825         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30826         "unsigned long long int" if __x86_64__ is defined.
30827         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30829         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30830         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30831         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30833         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30834         <stdint.h>.
30835         (GET_PC): Cast to uintptr_t first.
30836         (GET_FRAME): Likewise.
30837         (GET_STACK): Likewise.
30839         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30840         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30841         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30842         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30843         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30844         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30845         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30846         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30847         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30848         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30849         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30850         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30851         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30852         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30853         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30854         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30855         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30856         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30857         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30858         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30859         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30860         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30861         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30862         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30863         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30864         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30865         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30866         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30867         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30869 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
30871         * Makerules (+depfiles): Also collect depfiles from .oS in
30872         $(extra-objs).
30873         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30874         .oS, $(libnldbl-routines)).
30876         * Makerules (native-compile-mkdep-flags): Define.
30877         * sunrpc/Makefile (extra-objs): Add $(addprefix
30878         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30879         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30880         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
30881         calling $(make-target-directory).
30883 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30885         * bits/types.h (__snseconds_t): Removed.
30886         * time/time.h (struct timespec): Replace __snseconds_t with
30887         __syscall_slong_t.
30888         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30889         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30890         Likewise.
30891         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30892         (__SNSECONDS_T_TYPE): Likewise.
30893         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30894         (__SNSECONDS_T_TYPE): Likewise.
30895         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30896         (__SNSECONDS_T_TYPE): Likewise.
30898 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30900         * sysdeps/mach/hurd/bits/typesizes.h
30901         (__SYSCALL_SLONG_TYPE): New macro.
30902         (__SYSCALL_ULONG_TYPE): Likewise.
30904 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30906         * bits/types.h (__syscall_slong_t): New type.
30907         (__syscall_ulong_t): Likewise.
30909         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30910         (__SYSCALL_ULONG_TYPE): Likewise.
30911         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30912         (__SYSCALL_SLONG_TYPE): Likewise.
30913         (__SYSCALL_ULONG_TYPE): Likewise.
30914         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30915         (__SYSCALL_SLONG_TYPE): Likewise.
30916         (__SYSCALL_ULONG_TYPE): Likewise.
30917         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30918         (__SYSCALL_SLONG_TYPE): Likewise.
30919         (__SYSCALL_ULONG_TYPE): Likewise.
30921 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30923         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30924         Add sigaltstack-offsets.sym.
30925         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30926         <sigaltstack-offsets.h>.
30927         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
30928         longjmp_msg pointer.
30929         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
30930         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30931         signal stack.
30932         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30934 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
30936         * elf/stackguard-macros.h: Remove file.
30937         * sysdeps/generic/stackguard-macros.h: New file.
30938         * sysdeps/i386/stackguard-macros.h: Likewise.
30939         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30940         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30941         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30942         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30943         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30944         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30945         * sysdeps/x86_64/stackguard-macros.h: Likewise.
30946         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30947         <elf/stackguard-macros.h>.
30949         [BZ #14109]
30950         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30951         __aligned__ in attribute.
30952         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30953         (gregset_t): Likewise.
30955 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30957         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30958         * sysdeps/x86_64/64/Implies-after: Here.  New file.
30959         * sysdeps/x86_64/x32/Implies-after: New file.
30961 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30963         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30964         and access return value for _dl_profile_fixup.  Use R10_LP to
30965         load frame size.
30967 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30969         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30971 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30973         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30974         * sysdeps/x86_64/x32/sysdep.h: New file.
30976 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30978         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30979         * sysdeps/x86_64/setjmp.S: Likewise.
30981 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30983         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30984         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30985         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30986         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30987         remove unused global constant.
30989 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
30991         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30992         include of <not-cancel.h>.
30994 2012-05-15  Roland McGrath  <roland@hack.frob.com>
30996         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30998 2012-05-15  Jeff Law  <law@redhat.com>
30999             Andreas Jaeger  <aj@suse.de>
31001         [BZ #13594]
31002         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31003         out from...
31004         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31005         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31006         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31007         code changing __hst_map_handle.map.
31009 2012-05-15  Roland McGrath  <roland@hack.frob.com>
31011         * configure.in (sysnames): Look for Implies-before and Implies-after
31012         files.
31013         * configure: Regenerated.
31015 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31017         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31018         8-byte data alignment with LP_SIZE alignment.
31020 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31022         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31023         into R10_LP.
31025 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31027         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31029 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31031         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31032         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31033         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31034         Likewise.
31035         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31037 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31039         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31040         (stackinfo_sub_sp): Likewise.
31042 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31044         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31045         RAX_LP.
31047 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31049         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31050         into R*_LP.
31052 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31054         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31055         sizes into R*_LP.
31057 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31059         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31061 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31063         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31064         into R11_LP and load __x86_64_shared_cache_size_half into
31065         R8_LP.
31067 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31069         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31070         R8_LP.
31072 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31074         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31075         logb for POWER7.
31076         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31077         logbf for POWER7.
31078         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31079         logbl for POWER7.
31080         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31081         powerpc32/power7/fpu/s_logb.c via #include.
31082         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31083         powerpc32/power7/fpu/s_logbf.c via #include.
31084         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31085         powerpc32/power7/fpu/s_logbl.c via #include.
31087 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
31089         * README.libm: Remove file.
31091 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31093         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31094         count for x32.  Use R*_LP and omit operand-size suffix.
31096 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31098         * shlib-versions: Move x86_64-.*-linux.* entries to ...
31099         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
31100         * sysdeps/x86_64/x32/shlib-versions: New file.
31102 2012-05-14  Roland McGrath  <roland@hack.frob.com>
31104         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31105         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31106         Use _dl_fatal_printf instead.
31108 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
31110         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31111         set if not set by the user.  Do not allow for being unset.
31112         * sysdeps/unix/sysv/linux/configure: Regenerated.
31114 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31116         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31117         the `q' suffix from lea and replace .quad with ASM_ADDR.
31119 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31121         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31122         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
31123         instead of $17.
31124         (PTR_DEMANGLE): Likewise.
31126 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31128         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31129         (LP_OP): Likewise.
31130         (ASM_ADDR): Likewise.
31131         (RAX_LP): Likewise.
31132         (RBP_LP): Likewise.
31133         (RBX_LP): Likewise.
31134         (RCX_LP): Likewise.
31135         (RDI_LP): Likewise.
31136         (RSI_LP): Likewise.
31137         (RSP_LP): Likewise.
31138         (R8_LP): Likewise.
31139         (R9_LP): Likewise.
31140         (R10_LP): Likewise.
31141         (R10_LP): Likewise.
31142         (R11_LP): Likewise.
31143         (R12_LP): Likewise.
31144         (R13_LP): Likewise.
31145         (R14_LP): Likewise.
31146         (R15_LP): Likewise.
31148 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31150         * sysdeps/x86_64/x32/dl-machine.h: New file.
31152 2012-05-14  Andreas Jaeger  <aj@suse.de>
31154         * manual/Makefile (subdir): Remove export of subdir.
31155         (all): Remove target.
31156         (.PHONY): Remove all from list.
31157         (mkinstalldirs): Remove.
31158         (.PHONY): Remove installdirs from list.
31159         ($(inst_infodir)/libc.info): Use make-target-directory.
31160         (installdirs): Remove.
31161         (subdir_%): Remove.
31162         (glibc-targets): Remove.
31163         (lib): Remove.
31164         (stubs): Remove.
31165         ($(objpfx)stubs ../po/manual.pot): Remove.
31166         ($(objpfx)stamp%): Remove.
31167         (make-target-directory): Remove.
31168         (subdir_install): Remove.
31169         (routines): Remove.
31170         (aux): Remove.
31171         (sources): Remove.
31172         (objects): Remove.
31173         (headers): Remove.
31175         [BZ #13750]
31176         * manual/.gitignore: Remove, it's not needed anymore.
31177         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31178         all files in it.
31179         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31180         directory.
31181         (texis): Renamed to $(objpfx)texis.
31182         (texis-path): New, contains path to generated files.
31183         (chapters.%): Use texis-path for complete path, add extra argument
31184         libc-texinfo.sh.
31185         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31186         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31187         (summary,texi, stamp-summary): Use complete path of
31188         files. Generate files in build dir.
31189         (dir-add.texi): Build in build dir.
31190         (libm-err.texi,stamp-libm-err): Likewise.
31191         (version.texi, stamp-version): Likewise.
31192         (.%c.texi): Likewise.
31193         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31194         (mostlyclean): Remove target.
31195         (realclean): Remove target.
31196         (generated): Add new variable with contents from mostlyclean and
31197         realclean, remove entries duplicated in common-mostlyclean, add
31198         stamp-libm-err and stamp-version.
31199         (generated-dirs): Add libc directory.
31200         ($(inst_infodir)/libc.info): Install files from build dir.
31202         * manual/install.texi (Configuring and compiling): Adjust since
31203         the info files are not part of the tar ball anymore.
31205 2012-05-14  Andreas Jaeger  <aj@suse.de>
31207         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31208         variable.
31210 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
31212         [BZ #13717]
31213         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31214         to 2.2.0 where earlier.
31215         * sysdeps/unix/sysv/linux/configure: Regenerated.
31216         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31217         Remove conditional code.
31218         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31219         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31220         Remove conditional code.
31221         [!__NR_lchown]: Likewise.
31222         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31223         [__NR_lchown]: Likewise.
31224         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31225         comment referencing __ASSUME_LCHOWN_SYSCALL.
31226         * sysdeps/unix/sysv/linux/i386/sigaction.c
31227         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31228         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31229         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31230         Remove conditional code.
31231         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31232         (__protocol_available): Remove #if 0 code.
31233         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31234         conditional code.
31235         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31236         * sysdeps/unix/sysv/linux/kernel-features.h
31237         (__ASSUME_GETCWD_SYSCALL): Don't define.
31238         (__ASSUME_REALTIME_SIGNALS): Likewise.
31239         (__ASSUME_PREAD_SYSCALL): Likewise.
31240         (__ASSUME_PWRITE_SYSCALL): Likewise.
31241         (__ASSUME_POLL_SYSCALL): Likewise.
31242         (__ASSUME_LCHOWN_SYSCALL): Likewise.
31243         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31244         non-SPARC.
31245         (__ASSUME_SIOCGIFNAME): Don't define.
31246         (__ASSUME_MSG_NOSIGNAL): Likewise.
31247         (__ASSUME_SENDFILE): Define unconditionally.
31248         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31249         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31250         conditional code.
31251         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31252         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31253         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31254         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31255         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31256         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31257         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31259         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31260         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31262         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31263         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31265         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31266         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31268         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31269         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31271         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31272         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31274         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31275         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31277         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31278         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31280         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31281         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31282         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31283         Remove conditional code.
31284         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31285         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31286         Remove conditional code.
31287         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31288         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31289         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31290         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31291         Remove conditional code.
31292         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31293         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31294         Remove conditional code.
31295         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31296         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31297         Remove conditional code.
31298         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31299         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31300         Remove conditional code.
31301         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31302         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31303         Remove conditional code.
31304         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31305         * sysdeps/unix/sysv/linux/sh/pwrite64.c
31306         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31307         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31308         * sysdeps/unix/sysv/linux/sigaction.c
31309         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31310         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31311         * sysdeps/unix/sysv/linux/sigpending.c
31312         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31313         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31314         * sysdeps/unix/sysv/linux/sigprocmask.c
31315         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31316         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31317         * sysdeps/unix/sysv/linux/sigsuspend.c
31318         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31319         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31320         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31321         (__libc_missing_rt_sigs): Remove.
31322         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31323         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31324         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31325         Remove conditional code.
31326         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31327         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31328         return 1.
31329         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31330         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31331         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31332         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31334 2012-05-14  Andreas Jaeger  <aj@suse.de>
31336         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31337         it's not used in glibc.
31338         (__coshm1): Likewise.
31339         (__acosh1p): Likewise.
31340         (__sgn): Likewise.
31342         * manual/string.texi (Copying and Concatenation): Add missing
31343         variable in concat example.
31344         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31346 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31348         [BZ #14103]
31349         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31350         __builtin_clzl with __builtin_clzll.
31352 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31354         [BZ #14104]
31355         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31356         libc_freeres_ptr.
31358 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31360         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31361         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31362         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31363         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31365 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
31367         * NEWS: Update ia64 info.
31369 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
31371         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31372         used as bcopy.
31374 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
31376         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31377         * sysdeps/unix/syscalls.list (dup3): Likewise.
31378         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31379         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31381 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
31383         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31384         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31386 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
31388         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31389         thread pointer.
31390         (TLS_IE): Use mov/add instead of movq/addq to load thread
31391         pointer.
31392         (TLS_GD_PREFIX): New.
31393         (TLS_GD): Use it.
31395 2012-05-11  David S. Miller  <davem@davemloft.net>
31397         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31398         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31399         (_FPU_SETCW): Likewise.
31401 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31403         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31404         is 32-byte aligned.
31406 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
31408         [BZ #11837]
31409         * iconvdata/gb18030.c: Update tables.
31410         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
31411         characters specially.
31412         (BODY for TO_LOOP): Add encoding of missing ranges.
31414 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
31416         [BZ #13673]
31417         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31418         * sysdeps/mach/hurd/dup3.c: Likewise.
31419         * sysdeps/mach/hurd/readlinkat.c: Likewise.
31420         * sysdeps/powerpc/memmove.c:: Likewise.
31422 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31424         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31425         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31427 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31429         * elf/elf.h (R_X86_64_RELATIVE64): New.
31430         (R_X86_64_NUM): Updated.
31431         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31432         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
31433         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31434         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31435         tst-quad1pie tst-quad2pie
31436         (modules-names): Add tst-quadmod1 tst-quadmod2.
31437         ($(objpfx)tst-quad1): New dependency.
31438         ($(objpfx)tst-quad2): Likewise.
31439         ($(objpfx)tst-quad1pie): Likewise.
31440         ($(objpfx)tst-quad2pie): Likewise.
31441         * sysdeps/x86_64/tst-quad1.c: New file.
31442         * sysdeps/x86_64/tst-quad1pie.c: New file.
31443         * sysdeps/x86_64/tst-quad2.c: Likewise.
31444         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31445         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31446         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31447         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31448         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31450 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31452         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31453         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31454         * streams/stropts.h (t_scalar_t): Define type.
31456         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31457         (_PATH_PRESERVE): Set to "/var/lib".
31458         (_PATH_RWHODIR): Set to "/var/spool/rwho".
31460         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31461         instead of int.
31463         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31464         if __dir_mkfile succeeded.
31466         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31467         checking for _hurd_dtablesize.  Unlock it right after having
31468         finished _hurd_dtable allocation.
31470 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31472         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31473         * sysdeps/mach/hurd/configure: Regenerated.
31474         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31475         special-casing to...
31476         * sysdeps/gnu/configure.in: ... this new file.
31477         * sysdeps/unix/sysv/linux/configure: Regenerated.
31478         * sysdeps/gnu/configure: New generated file.
31480         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31481         for Linux: use nsec instead of usec, as well as:
31482         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31483         members of type struct timespec.
31484         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31485         New macros.
31486         (struct stat64): Likewise.
31487         (_STATBUF_ST_NSEC): New macro.
31488         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31490         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31491         __strtoul_internal rather than strtoul.
31493 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31495         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31496         and reject them.
31498 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31500         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31501         which preserves existing values.
31502         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31504 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31506         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31507         TIMEOUT values.  Return EINVAL for NFDS values either negative or
31508         greater than FD_SETSIZE.
31510 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31512         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31513         allocated, call __vm_protect to finish enabling the existing space, and
31514         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31515         allocate the remainder.
31517 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31519         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31520         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
31522 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31524         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31525         sysdeps/mach/hurd/readlink.c.
31527         * posix/tst-sysconf.c (posix_options): Only use
31528         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31529         _POSIX_SYNCHRONIZED_IO when they are defined
31530         * sysdeps/mach/hurd/bits/posix_opt.h:
31531         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31532         (_XOPEN_REALTIME): Undefine macro.
31533         (_XOPEN_REALTIME_THREADS): Undefine macro.
31534         (_XOPEN_SHM): Undefine macro.
31535         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31536         macro to -1.
31537         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31538         macro to -1.
31539         (_POSIX_ASYNC_IO): Undefine macro.
31540         (_POSIX_PRIORITIZED_IO): Undefine macro.
31541         (_POSIX_SPIN_LOCKS): Define macro to -1.
31543         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31544         SA_NODEFER, SA_RESETHAND.
31545         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31546         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31547         F_DUPFD_CLOEXEC.
31549 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31551         * elf/Makefile (pldd-modules): Define unconditionally.
31553 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31555         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31557 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31559         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31560         Return ENOENT when name is empty.
31561         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31563 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31565         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31567         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31569 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31571         Fix mlock in all cases except non-readable pages.
31572         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31573         instead of VM_PROT_ALL as parameter to __vm_wire function.
31575         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31576         (__mkdir): When path is `/', just fail with EEXIST.
31577         * sysdeps/mach/hurd/mkdirat.c: Likewise.
31579 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31581         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31582         <sys/uio.h> (for writev).
31583         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31584         and <sys/param.h> (for MIN).
31586 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31588         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31589         REQUESTED_TIME.  Properly set the remaining time and return EINTR
31590         if interrupted.
31592 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31594         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31595         Depend on against $(link-rpcuserlibs).
31597 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31599         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31600         (__libc_stack_end): Do not use attribute_relro.
31601         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31602         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
31603         to libthread-provided value.
31604         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31605         attribute_relro.
31607 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31609         [BZ #3748]
31610         * bits/libc-lock.h (__libc_once_get): New macro.
31611         * sysdeps/mach/bits/libc-lock.h: Likewise.
31612         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31613         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31614         instead of using implementation details.
31616         * libio/fileops.c: Unconditionally include <kernel-features.h>.
31617         * libio/freopen.c: Likewise.
31618         * libio/freopen64.c: Likewise.
31619         * misc/syslog.c: Likewise.
31620         * nscd/connections.c: Likewise.
31621         * nscd/netgroupcache.c: Likewise.
31622         * sysdeps/posix/getcwd.c: Likewise.
31624 2012-05-10  Roland McGrath  <roland@hack.frob.com>
31626         * math/w_ilogbf.c: Add #include <limits.h>.
31628 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31630         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
31631         path instead of returning without unlocking.
31633         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31634         immediate-write ioctls.
31635         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31637 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31639         * sysdeps/mach/hurd/i386/init-first.c (init): Use
31640         __builtin_frame_address instead of making assumptions about the
31641         location of the return address relative to DATA.  Force early load of
31642         the return address.
31643         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31644         __builtin_frame_address.
31646         dup3 for GNU Hurd.
31647         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31648         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
31649         implement dup3 and do some further code clean-ups.
31650         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31651         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31653 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31655         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31657         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31658         HURD_CRITICAL_END around holding _hurd_dtable_lock.
31659         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31660         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31661         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31662         d->port.lock.
31664         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31665         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
31666         when handler == SIG_ERR, not when handler != SIG_ERR.
31668 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31670         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31671         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31672         definitions.
31674         accept4 for GNU Hurd.
31675         * include/sys/socket.h (__libc_accept4): New prototype.
31676         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
31677         to implement __libc_accept4.
31678         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31679         __libc_accept4.
31680         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31682         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31683         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31684         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31685         signal-defines.sym.
31687 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31689         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31691 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31693         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31694         assertion on O_CLOEXEC flag.
31695         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31696         * hurd/intern-fd.c: Likewise.
31697         * hurd/port2fd.c: Likewise.
31699 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31701         [BZ #3906]
31702         * bits/in.h (IPV6_PKTINFO): Define new macro.
31703         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31705 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31707         [BZ #13954]
31708         [BZ #13955]
31709         [BZ #13956]
31710         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31711         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31712         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31713         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31714         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31715         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31716         * math/libm-test.inc (logb_test) : Additional logb tests.
31718 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
31719             Andreas Jaeger  <aj@suse.de>
31721         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31722         * configure: Regenerated.
31723         * config.h.in (LINK_OBSOLETE_RPC): New macro.
31724         * config.make.in (link-obsolete-rpc): New substituted variable.
31725         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31726         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31727         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31728         (shared-only-routines): Don't set it under [link-obsolete-rpc],
31729         so that libc.a contains the symbols.
31730         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31731         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31732         * sunrpc/auth_none.c: Likewise.
31733         * sunrpc/auth_unix.c: Likewise.
31734         * sunrpc/authdes_prot.c: Likewise.
31735         * sunrpc/authuxprot.c: Likewise.
31736         * sunrpc/clnt_gen.c: Likewise.
31737         * sunrpc/clnt_perr.c: Likewise.
31738         * sunrpc/clnt_raw.c: Likewise.
31739         * sunrpc/clnt_simp.c: Likewise.
31740         * sunrpc/clnt_tcp.c: Likewise.
31741         * sunrpc/clnt_udp.c: Likewise.
31742         * sunrpc/clnt_unix.c: Likewise.
31743         * sunrpc/des_crypt.c: Likewise.
31744         * sunrpc/des_soft.c: Likewise.
31745         * sunrpc/get_myaddr.c: Likewise.
31746         * sunrpc/key_call.c: Likewise.
31747         * sunrpc/key_prot.c: Likewise.
31748         * sunrpc/netname.c: Likewise.
31749         * sunrpc/pm_getmaps.c: Likewise.
31750         * sunrpc/pm_getport.c: Likewise.
31751         * sunrpc/pmap_clnt.c: Likewise.
31752         * sunrpc/pmap_prot.c: Likewise.
31753         * sunrpc/pmap_prot2.c: Likewise.
31754         * sunrpc/pmap_rmt.c: Likewise.
31755         * sunrpc/publickey.c: Likewise.
31756         * sunrpc/rpc_cmsg.c: Likewise.
31757         * sunrpc/rpc_common.c: Likewise.
31758         * sunrpc/rpc_dtable.c: Likewise.
31759         * sunrpc/rpc_prot.c: Likewise.
31760         * sunrpc/rpc_thread.c: Likewise.
31761         * sunrpc/rtime.c: Likewise.
31762         * sunrpc/svc.c: Likewise.
31763         * sunrpc/svc_auth.c: Likewise.
31764         * sunrpc/svc_raw.c: Likewise.
31765         * sunrpc/svc_run.c: Likewise.
31766         * sunrpc/svc_tcp.c: Likewise.
31767         * sunrpc/svc_udp.c: Likewise.
31768         * sunrpc/svc_unix.c: Likewise.
31769         * sunrpc/svcauth_des.c: Likewise.
31770         * sunrpc/xcrypt.c: Likewise.
31771         * sunrpc/xdr.c: Likewise.
31772         * sunrpc/xdr_array.c: Likewise.
31773         * sunrpc/xdr_float.c: Likewise.
31774         * sunrpc/xdr_intXX_t.c: Likewise.
31775         * sunrpc/xdr_mem.c: Likewise.
31776         * sunrpc/xdr_rec.c: Likewise.
31777         * sunrpc/xdr_ref.c: Likewise.
31778         * sunrpc/xdr_sizeof.c: Likewise.
31779         * sunrpc/xdr_stdio.c: Likewise.
31781 2012-05-10  Roland McGrath  <roland@hack.frob.com>
31783         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31784         change.  Update copyright years.
31786 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
31788         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31790 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
31791             Joseph Myers  <joseph@codesourcery.com>
31792             Paul Pluzhnikov  <ppluzhnikov@google.com>
31794         [BZ #14012]
31795         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31796         requiring rpcgen.
31797         [cross-compiling] (extra-libs): Likewise.
31798         [cross-compiling] (extra-libs-others): Likewise.
31799         [cross-compiling] (librpcsvc-routines): Likewise.
31800         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31801         [cross-compiling] (omit-deps): Likewise.
31802         (sunrpc-CPPFLAGS): New variable.
31803         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31804         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31805         (cross-rpcgen-objs): New variable.
31806         (extra-objs): Append $(cross-rpcgen-objs).
31807         ($(cross-rpcgen-objs)): New rule.
31808         ($(objpfx)cross-rpcgen): Likewise.
31809         (rpcgen-cmd): Define to use $(built-program-file).  Expand
31810         comment.
31811         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31812         ($(objpfx)x%.stmp): Likewise.
31813         * sunrpc/proto.h [IS_IN_build] (_): Define.
31814         [IS_IN_build] (_libc_intl_domainname): Likewise.
31816 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31818         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31819         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31820         and R_X86_64_TPOFF64.
31822 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
31824         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31825         sysdeps/unix/sysv/syscalls.list.
31826         (stime): Likewise.
31827         (utime): Likewise.
31828         * sysdeps/unix/sysv/syscalls.list: Remove file.
31830 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
31832         [BZ #3440]
31833         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31834         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31835         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31836         (__LC_IDENTIFICATION): Make these macros useful in #if
31837         expressions, as required by C99.
31839 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
31841         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31842         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
31843         after this.
31845 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
31847         * stdlib/longlong.h: Updated from GCC.
31849 2012-05-09  Andreas Jaeger  <aj@suse.de>
31851         * nscd/nscd.c (run_modes): Make named enum, reorder so that
31852         default is first entry.
31853         (run_mode): Set type.
31854         (main): Remove informal message about syslog.
31855         (options): Fix typo.
31857         [BZ #14053]
31858         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31859         to asm.
31860         (lrint): Likewise.
31861         (llrintf): Likewise.
31862         (llrint): Likewise.
31863         (rint): Likewise.
31864         (rintf): Likewise.
31865         (nearbyint): Likewise.
31866         (nearbyintf): Likewise.
31868 2012-05-09  Andreas Jaeger  <aj@suse.de>
31869             Pedro Alves  <palves@redhat.com>
31871         * nscd/nscd.c (run_mode): Use enum.
31872         (main): Cleanup coding style issue.
31874 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
31875             Andreas Jaeger  <aj@suse.de>
31877         * nscd/nscd.c (go_background): Replaced with...
31878         (run_mode): ... this.
31879         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31880         (options): Add -F --foreground.
31881         (main): Implement it.
31882         (parse_opt): Parse it.
31884 2012-05-09  Andreas Jaeger  <aj@suse.de>
31886         [BZ #14083]
31887         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31888         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31889         -Wconversion warning.
31890         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31891         Likewise.
31893 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
31895         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
31896         == 0.
31897         (LC_ALL): Use macro-int-constant.
31898         (LC_COLLATE): Likewise.
31899         (LC_CTYPE): Likewise.
31900         (LC_MESSAGES): Likewise.
31901         (LC_MONETARY): Likewise.
31902         (LC_NUMERIC): Likewise.
31903         (LC_TIME): Likewise.
31904         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31905         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31906         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31907         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31908         Specify type.
31909         [C99-based standards] (float_t): Expect type.
31910         [C99-based standards] (double_t): Expect type.
31911         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
31912         type.
31913         [C99-based standards] (HUGE_VALL): Likewise.
31914         [C99-based standards] (INFINITY): Likewise.
31915         [C99-based standards] (NAN): Likewise.
31916         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31917         [C99-based standards] (FP_NAN): Likewise.
31918         [C99-based standards] (FP_NORMAL): Likewise.
31919         [C99-based standards] (FP_SUBNORMAL): Likewise.
31920         [C99-based standards] (FP_ZERO): Likewise.
31921         [C99-based standards] (FP_FAST_FMA): Use
31922         optional-macro-int-constant.  Specify type.  Require == 1.
31923         [C99-based standards] (FP_FAST_FMAF): Likewise.
31924         [C99-based standards] (FP_FAST_FMAL): Likewise.
31925         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31926         [C99-based standards] (FP_ILOGBNAN): Likewise.
31927         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31928         Specify type.
31929         [C99-based standards] (MATH_ERREXCEPT): Likewise.
31930         [C99-based standards] (math_errhandling): Specify type.
31931         [ISO99 || ISO11] (signgam): Do not allow.
31932         [non-C99-based standards] (copysignf): Do not allow.
31933         [non-C99-based standards] (exp2f): Likewise.
31934         [non-C99-based standards] (log2f): Likewise.
31935         [non-C99-based standards] (modff): Allow.
31936         [non-C99-based standards] (erff): Do not allow.
31937         [non-C99-based standards] (erfcf): Likewise.
31938         [non-C99-based standards] (gammaf): Likewise.
31939         [non-C99-based standards] (hypotf): Likewise.
31940         [non-C99-based standards] (j0f): Likewise.
31941         [non-C99-based standards] (j1f): Likewise.
31942         [non-C99-based standards] (jnf): Likewise.
31943         [non-C99-based standards] (lgammaf): Likewise.
31944         [non-C99-based standards] (tgammaf): Likewise.
31945         [non-C99-based standards] (y0f): Likewise.
31946         [non-C99-based standards] (y1f): Likewise.
31947         [non-C99-based standards] (ynf): Likewise.
31948         [non-C99-based standards] (isnanf): Likewise.
31949         [non-C99-based standards] (acoshf): Likewise.
31950         [non-C99-based standards] (asinhf): Likewise.
31951         [non-C99-based standards] (atanhf): Likewise.
31952         [non-C99-based standards] (cbrtf): Likewise.
31953         [non-C99-based standards] (expm1f): Likewise.
31954         [non-C99-based standards] (ilogbf): Likewise.
31955         [non-C99-based standards] (log1pf): Likewise.
31956         [non-C99-based standards] (logbf): Likewise.
31957         [non-C99-based standards] (nextafterf): Likewise.
31958         [non-C99-based standards] (remainderf): Likewise.
31959         [non-C99-based standards] (rintf): Likewise.
31960         [non-C99-based standards] (scalbf): Likewise.
31961         [non-C99-based standards] (copysignl): Likewise.
31962         [non-C99-based standards] (exp2l): Likewise.
31963         [non-C99-based standards] (log2l): Likewise.
31964         [non-C99-based standards] (modfl): Allow.
31965         [non-C99-based standards] (erfl): Do not allow.
31966         [non-C99-based standards] (erfcl): Likewise.
31967         [non-C99-based standards] (gammal): Likewise.
31968         [non-C99-based standards] (hypotl): Likewise.
31969         [non-C99-based standards] (j0l): Likewise.
31970         [non-C99-based standards] (j1l): Likewise.
31971         [non-C99-based standards] (jnl): Likewise.
31972         [non-C99-based standards] (lgammal): Likewise.
31973         [non-C99-based standards] (tgammal): Likewise.
31974         [non-C99-based standards] (y0l): Likewise.
31975         [non-C99-based standards] (y1l): Likewise.
31976         [non-C99-based standards] (ynl): Likewise.
31977         [non-C99-based standards] (isnanl): Likewise.
31978         [non-C99-based standards] (acoshl): Likewise.
31979         [non-C99-based standards] (asinhl): Likewise.
31980         [non-C99-based standards] (atanhl): Likewise.
31981         [non-C99-based standards] (cbrtl): Likewise.
31982         [non-C99-based standards] (expm1l): Likewise.
31983         [non-C99-based standards] (ilogbl): Likewise.
31984         [non-C99-based standards] (log1pl): Likewise.
31985         [non-C99-based standards] (logbl): Likewise.
31986         [non-C99-based standards] (nextafterl): Likewise.
31987         [non-C99-based standards] (remainderl): Likewise.
31988         [non-C99-based standards] (rintl): Likewise.
31989         [non-C99-based standards] (scalbl): Likewise.
31990         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31991         [non-C99-based standards] (FP_*): Do not allow.
31992         [C99-based standards] (FP_*): Change to
31993         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31994         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31995         allow.
31996         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31997         (SIG_ERR): Likewise.
31998         [X/Open-based standards] (SIG_HOLD): Likewise.
31999         (SIG_IGN): Likewise.
32000         (SIGABRT): Use macro-int-constant.  Specify type.  Require
32001         positive value.
32002         (SIGFPE): Likewise.
32003         (SIGILL): Likewise.
32004         (SIGINT): Likewise.
32005         (SIGSEGV): Likewise.
32006         (SIGTER): Likewise.
32007         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32008         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32009         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32010         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32011         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32012         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32013         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32014         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32015         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32016         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32017         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32018         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32019         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32020         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32021         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32022         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32023         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32024         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32025         [X/Open-based standards] (SIGTRAP): Likewise.
32026         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32027         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32028         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32029         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32030         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32031         allow.
32033 2012-05-08  Ian Wienand  <ianw@vmware.com>
32035         [BZ #14080]
32036         * time/tzset.c (__tzset_parse_tz): Update default rules for
32037         daylight time changes in the Energy Policy Act of 2005.
32039 2012-05-09  Andreas Jaeger  <aj@suse.de>
32041         [BZ #13983]
32042         * elf/ldconfig.c (parse_conf): Change string to make clear that
32043         ldconfig only issued a warning if ld.so.conf does not exist.
32045 2012-05-08  David S. Miller  <davem@davemloft.net>
32047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32048         movxtod instead of popping the value on the stack.
32050         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32052 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
32054         * config.h.in: Add HAVE_ARM_PCS_VFP.
32056 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
32058         [BZ #13979]
32059         * include/features.h: Warn if user requests __FORTIFY_SOURCE
32060         checking but the checks are disabled for any reason.
32062 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
32064         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32065         and ELF64_R_TYPE with ELFW(R_TYPE).
32067 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
32069         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32070         (ulimit): Likewise.
32072         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32073         (settimeofday): Likewise.
32075 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
32077         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
32078         a struct th_u2 inside the union, and move tu_block/tu_code into
32079         a new th_u3 union of tu_block/tu_code inside of that.  Move
32080         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
32081         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
32082         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32083         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32084         (th_stuff): Change to th_u1.tu_stuff.
32085         (th_data): Define.
32086         (th_msg): Change to th_u1.th_u2.tu_data.
32088 2012-05-07  David S. Miller  <davem@davemloft.net>
32090         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32092         [BZ #14074]
32093         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32094         (SETUP_PIC_REG): Use it.
32095         (SETUP_PIC_REG_LEAF): Use it.
32097 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
32099         [BZ #13885]
32100         [BZ #13923]
32101         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32102         USE_AS_EXPM1L.
32103         (EXPL_FINITE): Likewise.
32104         (FLDLOG): Likewise.
32105         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32106         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32107         e_expl.S.
32108         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32109         USE_AS_EXPM1L.
32110         (EXPL_FINITE): Likewise.
32111         (FLDLOG): Likewise.
32112         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32113         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32114         e_expl.S.
32115         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
32116         test of -max_value argument for long double.
32117         * sysdeps/i386/fpu/libm-test-ulps: Update.
32118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32120 2012-05-06  David S. Miller  <davem@davemloft.net>
32122         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32123         quad soft-float symbols whose references which are compiler
32124         generated.
32125         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32127 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
32129         [BZ #13884]
32130         [BZ #13914]
32131         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32132         USE_AS_EXP10L.
32133         (EXPL_FINITE): Likewise.
32134         (FLDLOG): Likewise.
32135         (c0): Likewise.
32136         (c1): Likewise.
32137         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
32138         Adjust comments for base varying.
32139         (__expl_finite): Change alias to EXPL_FINITE.
32140         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32141         e_expl.S.
32142         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32143         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32144         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32145         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32146         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32147         USE_AS_EXP10L.
32148         (EXPL_FINITE): Likewise.
32149         (FLDLOG): Likewise.
32150         (c0): Likewise.
32151         (c1): Likewise.
32152         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
32153         Adjust comments for base varying.
32154         (__expl_finite): Change alias to EXPL_FINITE.
32155         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
32156         tests for bugs.
32157         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32159         [BZ #14064]
32160         * math/libm-test.inc (check_float_internal): Correct ulp
32161         calculation for subnormal expected results.
32163 2012-05-06  Andreas Jaeger  <aj@suse.de>
32165         * Makeconfig (+math-flags): New, set to -frounding-math.
32166         (+cflags): Add +math-flags so that all of glibc gets compiled with
32167         it.
32169         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32171 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
32173         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32174         Disable one test.
32176         [BZ #13787]
32177         [BZ #13922]
32178         [BZ #14036]
32179         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32180         (__ieee754_expl): Allow for and saturate large arguments.
32181         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32182         (u_threshold): Likewise.
32183         (__exp): Call __ieee754_exp before checking for overflow and
32184         underflow.
32185         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32186         (u_threshold): Likewise.
32187         (__expf): Call __ieee754_expf before checking for overflow and
32188         underflow.
32189         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32190         (u_threshold): Likewise.
32191         (__expl): Call __ieee754_expl before checking for overflow and
32192         underflow.
32193         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32194         (__ieee754_expl): Allow for and saturate large arguments.
32195         * math/libm-test.inc (exp_test): Add another test.  Do not allow
32196         missing overflow exception on overflow.
32197         (expm1_test): Do not allow missing overflow exception on overflow.
32199         * sysdeps/i386/fpu/e_expl.c: Move to ...
32200         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
32201         rather than using inline asm.
32202         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32203         * sysdeps/x86_64/fpu/e_expl.S: Copy from
32204         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32206         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32207         (nice): Likewise.
32208         (poll): Likewise.
32209         (signal): Likewise.
32210         (time): Likewise.
32211         (times): Likewise.
32213 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
32215         * sysdeps/unix/syscalls.list (adjtime): Add entry from
32216         sysdeps/unix/common/syscalls.list.
32217         (fchmod): Likewise.
32218         (fchown): Likewise.
32219         (ftruncate): Likewise.
32220         (getrusage): Likewise.
32221         (gettimeofday): Likewise.
32222         (setpgid): Likewise.
32223         (setregid): Likewise.
32224         (setreuid): Likewise.
32225         (sigaction): Likewise.
32226         (truncate): Likewise.
32227         (vhangup): Likewise.
32228         * sysdeps/unix/common/syscalls.list: Remove file.
32229         * sysdeps/unix/bsd/Implies: Don't include unix/common.
32230         * sysdeps/unix/sysv/linux/Implies: Likewise.
32232 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
32234         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32235         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32236         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32237         Moved to ...
32238         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32239         Here.
32240         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32241         to ...
32242         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32243         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32244         to ...
32245         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32246         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32247         to ...
32248         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32249         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32250         to ...
32251         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32252         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32253         to ...
32254         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32255         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32256         to ...
32257         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32258         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32259         to ...
32260         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32261         Here.
32262         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32263         to ...
32264         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32265         Here.
32266         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32267         to ...
32268         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32269         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32270         Moved to ...
32271         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32272         Here.
32273         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32274         to ...
32275         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32277 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
32279         * sysdeps/unix/common/bits/dirent.h: Remove file.
32280         * sysdeps/unix/common/bits/fcntl.h: Likewise.
32282         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32283         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32284         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32285         * sysdeps/unix/bsd/isatty.c: Likewise.
32286         * sysdeps/unix/bsd/tcdrain.c: Likewise.
32287         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32288         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32290 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32292         [BZ #13563]
32293         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32294         long double comparison inaccuracies.
32295         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32296         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32298 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
32300         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32301         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32303 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
32305         [BZ #14049]
32306         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32307         nonzero digits before rounding a hex value.
32308         * stdlib/tst-strtod.c (tests): Add another test.
32310 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32312         * sysdeps/s390/fpu/libm-test-ulps: Update.
32314 2012-05-03  Andreas Jaeger  <aj@suse.de>
32316         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32317         does not get optimized out.
32318         (malloc_opt_barrier): New.
32320 2012-05-03  Andreas Jaeger  <aj@suse.de>
32321             Roland McGrath  <roland@hack.frob.com>
32323         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
32324         intermediate file deletion.
32325         (generated): Add .symlist files.
32327 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
32329         [BZ #13775]
32330         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32331         Redirect under this condition.
32332         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32333         [__USE_GNU] (__dprintf_chk): Not under this condition.
32334         [__USE_GNU] (__vdprintf_chk): Likewise.
32335         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32336         under this condition.
32337         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32338         [__USE_XOPEN2K8] (dprintf): Define under this condition.
32339         [__USE_XOPEN2K8] (vdprintf): Likewise.
32340         [__USE_GNU] (__dprintf_chk): Not under this condition.
32341         [__USE_GNU] (__vdprintf_chk): Likewise.
32342         [__USE_GNU] (dprintf): Likewise.
32343         [__USE_GNU] (vdprintf): Likewise.
32345 2012-05-03  Roland McGrath  <roland@hack.frob.com>
32347         * elf/Makefile (common-generated): Set this instead of generated for
32348         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
32349         $(all-built-dso)-derived lists.
32351 2012-05-03  Andreas Jaeger  <aj@suse.de>
32353         * sysdeps/i386/fpu/libm-test-ulps: Update.
32355         * FAQ: Removed.
32356         * FAQ.in: Likewise.
32357         * scripts/gen-FAQ.pl: Likewise.
32358         * manual/install.texi (Installation): Point to online location of
32359         FAQ.
32360         * Makefile (files-for-dist): Remove FAQ.
32361         (FAQ): Remove.
32363 2012-05-02  Allan McRae  <allan@archlinux.org>
32365         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32366         (LDFLAGS-reldepmod5.so): Likewise.
32367         (LDFLAGS-reldep6mod1.so): Likewise.
32368         (LDFLAGS-reldep6mod4.so): Likewise.
32369         (LDFLAGS-reldep8mod3.so): Likewise.
32370         (LDFLAGS-unload4mod1.so): Likewise.
32371         (LDFLAGS-unload4mod2.so): Likewise.
32372         (LDFLAGS-tst-initorder): Likewise.
32373         (LDFLAGS-tst-initordera2.so): Likewise.
32374         (LDFLAGS-tst-initordera3.so): Likewise.
32375         (LDFLAGS-tst-initordera4.so): Likewise.
32376         (LDFLAGS-tst-initorderb2.so): Likewise.
32377         (LDFLAGS-noload): Likewise.
32378         (LDFLAGS-next): Likewise.
32379         (LDFLAGS-order2mod1.so): Likewise.
32380         (LDFLAGS-order2mod2.so): Likewise.
32381         (LDFLAGS-tst-initorder2): Likewise.
32382         (LDFLAGS-tst-initorder2a.so): Likewise.
32383         (LDFLAGS-tst-initorder2b.so): Likewise.
32384         (LDFLAGS-tst-initorder2c.so): Likewise.
32385         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32387 2012-05-02  David S. Miller  <davem@davemloft.net>
32389         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32391 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
32393         [BZ #14055]
32394         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32396 2012-05-02  Andreas Jaeger  <aj@suse.de>
32398         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32399         since we manipulate rounding mode.
32400         (CPPFLAGS-test-idouble.c): Likewise.
32401         (CPPFLAGS-test-ifloat.c): Likewise.
32402         (CFLAGS-test-ldouble.c): Likewise.
32403         (CFLAGS-test-double.c): Likewise.
32404         (CFLAGS-test-float.c): Likewise.
32405         (CFLAGS-test-misc.c): Likewise.
32406         (CFLAGS-test-test-fenv.c): Likewise.
32408 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32410         [BZ #2550]
32411         [BZ #2570]
32412         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32413         comparisons to determine direction to adjust input.
32415 2012-05-01  Roland McGrath  <roland@hack.frob.com>
32417         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32418         output to the target.
32420         * scripts/localplt.awk: New file.
32421         * elf/Makefile ($(objpfx)check-localplt): Target removed.
32422         (check-localplt-CFLAGS): Variable removed.
32423         ($(all-built-dso:=.jmprel)): New static pattern rule.
32424         (generated): Add those targets.
32425         (localplt-built-dso): New variable.
32426         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32428         * elf/check-localplt.c: File removed.
32430         * scripts/check-execstack.awk: New file.
32431         * elf/Makefile ($(objpfx)check-execstack): Target removed.
32432         (check-execstack-CFLAGS): Variable removed.
32433         ($(objpfx)check-execstack.h): Target removed.
32434         ($(objpfx)execstack-default): New target.
32435         (generated): Add that instead of check-execstack.h.
32436         ($(all-built-dso:=.phdr)): New static pattern rule.
32437         (generated): Add those targets.
32438         * elf/check-execstack.c: File removed.
32440         * scripts/check-textrel.awk: New file.
32441         * elf/Makefile ($(objpfx)check-textrel): Target removed.
32442         (check-textrel-CFLAGS): Variable removed.
32443         (all-built-dso): Use := to define.o
32444         ($(all-built-dso:=.dyn)): New static pattern rule.
32445         (generated): Add those targets.
32446         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32447         * config.make.in (READELF): New substituted variable.
32448         * elf/check-textrel.c: File removed.
32450 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
32452         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32453         allow.
32454         * conform/data/ctype.h-data [C99-based standards] (isblank):
32455         Expect function.
32456         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32457         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32458         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32459         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32460         Specify type.  Require positive value.
32461         (EILSEQ): Likewise.
32462         (ERANGE): Likewise.
32463         [ISO || POSIX] (EILSEQ): Do not expect.
32464         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32465         Specify type.  Require positive value.
32466         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32467         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32468         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32469         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32470         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32471         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32472         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32473         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32474         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32475         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32476         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32477         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32478         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32479         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32480         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32481         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32482         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32483         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32484         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32485         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32486         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32487         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32488         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32489         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32490         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32491         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32492         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32493         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32494         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32495         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32496         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32497         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32498         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32499         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32500         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32501         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32502         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32503         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32504         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32505         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32506         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32507         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32508         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32509         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32510         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32511         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32512         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32513         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32514         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32515         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32516         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32517         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32518         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32519         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32520         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32521         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32522         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32523         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32524         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32525         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32526         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32527         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32528         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32529         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32530         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32531         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32532         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32533         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32534         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32535         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32536         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32537         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32538         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32539         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32540         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32541         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32542         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32543         Require >= 2.
32544         (FLT_ROUNDS): Expect as macro, not constant.
32545         (FLT_MANT_DIG): Use macro-int-constant.
32546         (DBL_MANT_DIG): Likewise.
32547         (LDBL_MANT_DIG): Likewise.
32548         (FLT_DIG): Likewise.
32549         (DBL_DIG): Likewise.
32550         (LDBL_DIG): Likewise.
32551         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
32552         (DBL_MIN_EXP): Likewise.
32553         (LDBL_MIN_EXP): Likewise.
32554         (FLT_MAX_EXP): Use macro-int-constant.
32555         (DBL_MAX_EXP): Likewise.
32556         (LDBL_MAX_EXP): Likewise.
32557         (FLT_MAX_10_EXP): Likewise.
32558         (DBL_MAX_10_EXP): Likewise.
32559         (LDBL_MAX_10_EXP): Likewise.
32560         (FLT_MAX): Use macro-constant.
32561         (DBL_MAX): Likewise.
32562         (LDBL_MAX): Likewise.
32563         (FLT_EPSILON): Use macro-constant.  Give upper bound.
32564         (DBL_EPSILON): Likewise.
32565         (LDBL_EPSILON): Likewise.
32566         (FLT_MIN): Likewise.
32567         (DBL_MIN): Likewise.
32568         (LDBL_MIN): Likewise.
32569         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32570         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32571         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32572         [ISO11] (FLT_HAS_SUBNORM): Likewise.
32573         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32574         [ISO11] (DBL_DECIMAL_DIG): Likewise.
32575         [ISO11] (FLT_DECIMAL_DIG): Likewise.
32576         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32577         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32578         [ISO11] (FLT_TRUE_MIN): Likewise.
32579         [ISO11] (LDBL_TRUE_MIN): Likewise.
32580         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32581         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32582         (SCHAR_MIN): Use macro-int-constant.  Specify type.
32583         (SCHAR_MAX): Likewise.
32584         (UCHAR_MAX): Likewise.
32585         (CHAR_MIN): Likewise.
32586         (CHAR_MAX): Likewise.
32587         (MB_LEN_MAX): Use macro-int-constant.
32588         (SHRT_MIN): Use macro-int-constant.  Specify type.
32589         (SHRT_MAX): Likewise.
32590         (USHRT_MAX): Likewise.
32591         (INT_MAX): Likewise.
32592         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
32593         bound negative.
32594         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
32595         bound with "U".
32596         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
32597         bound with "L".
32598         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
32599         bound negative.  Suffix upper bound with "L".
32600         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
32601         bound with "UL".
32602         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32603         Specify type.
32604         [C99-based standards] (LLONG_MAX): Likewise.
32605         [C99-based standards] (ULLONG_MAX): Likewise.
32606         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
32607         == 0.
32608         [ISO11] (max_align_t): Require type.
32609         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32611         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32612         from $CFLAGS, without defining away __attribute__ calls.
32613         (checknamespace): Use $CFLAGS_namespace.
32615         * conform/conformtest.pl (@keywords): Only include C99 keywords
32616         for standards based on C99 or C11.
32618         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32619         Disable tests.
32620         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32621         UNIX98]: Likewise.
32623         * conform/conformtest.pl: Handle "macro-int-constant" and test for
32624         usability of symbols in #if.
32626         * conform/conformtest.pl: If macro or constant types start
32627         "promoted:", expect the symbol to be of the following type
32628         promoted by the integer promotions.
32630         * conform/conformtest.pl: Parse all "constant" and "macro" lines
32631         in one place.  Also handle "macro-constant".
32633         * conform/conformtest.pl: Only accept expected macro values with
32634         "==".  Parse all "macro" lines in one place.
32635         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32637         * conform/conformtest.pl: Handle braced types on "constant" lines
32638         instead of handling "typed-constant".
32639         * conform/data/signal.h-data: Use "constant" instead of
32640         "typed-constant".
32642         * conform/conformtest.pl: Handle "optional-" at start of lines in
32643         one place rather than duplicating several cases.  Handle each
32644         format of "macro" line with initial "optional-".
32646         * conform/conformtest.pl: Only accept expected constant or
32647         optional-constant values with "==".  Parse all "constant" lines in
32648         one place.  Parse all "optional-constant" lines in one place.
32649         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32650         * conform/data/fmtmsg.h-data: Likewise.
32651         * conform/data/netinet/in.h-data: Likewise.
32652         * conform/data/tar.h-data: Likewise.
32653         * conform/data/limits.h-data: Use "==" form on "constant" and
32654         "optional-constant" lines.
32656         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32657         Use -std=c99 for XOPEN2K.
32658         (@knownproblems): Remove.
32659         (newtoken): Don't check %isknown.
32661         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32662         Do not expect macro.
32663         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32664         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32665         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32666         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32667         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32668         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32669         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32670         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32671         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32672         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32673         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32674         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32675         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32676         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32677         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32678         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32679         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32680         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32681         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32682         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32683         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32684         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32685         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32686         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32687         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32688         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32689         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32690         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32691         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32692         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32693         [XPG3] (acosh): Likewise.
32694         [XPG3] (asinh): Likewise.
32695         [XPG3] (atanh): Likewise.
32696         [XPG3] (cbrt): Likewise.
32697         [XPG3] (expm1): Likewise.
32698         [XPG3] (ilogb): Likewise.
32699         [XPG3] (log1p): Likewise.
32700         [XPG3] (logb): Likewise.
32701         [XPG3] (nextafter): Likewise.
32702         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32703         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32704         [XPG3] (remainder): Likewise.
32705         [XPG3] (rint): Likewise.
32706         [XPG3 || XPG4 || UNIX98] (round): Likewise.
32707         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32708         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32709         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32710         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32711         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32712         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32713         [UNIX98 || XOPEN2K] (scalb): Expect.
32714         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32715         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32716         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32717         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32718         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32719         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32720         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32721         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32722         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32723         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32724         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32725         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32726         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32727         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32728         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32729         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32730         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32731         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32732         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32733         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32734         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32735         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32736         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32737         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32738         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32739         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32740         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32741         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32742         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32743         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32744         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32745         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32746         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32747         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32748         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32749         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32750         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32751         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32752         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32753         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32754         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32755         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32756         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32757         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32758         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32759         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32760         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32761         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32762         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32763         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32764         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32765         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32766         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32767         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32768         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32769         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32770         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32771         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32772         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32773         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32774         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32775         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32776         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32777         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32778         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32779         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32780         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32781         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32782         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32783         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32784         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32785         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32786         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32787         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32788         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32789         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32790         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32791         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32792         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32793         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32794         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32795         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32796         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32797         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32798         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32799         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32800         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32801         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32802         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32803         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32804         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32805         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32806         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32807         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32808         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32809         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32810         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32811         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32812         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32813         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32814         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32815         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32816         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32817         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32818         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32819         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32820         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32821         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32822         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32823         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32824         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32825         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32826         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32827         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32828         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32829         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32830         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32831         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32832         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32833         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32834         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32835         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32836         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32837         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32838         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32839         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32840         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32841         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32842         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32843         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32844         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32845         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32846         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32847         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32848         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32849         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32850         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32852         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32853         _XOPEN_SOURCE_EXTENDED for XPG4.
32855         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32857         * Makeconfig (localtime): Remove variable.
32858         (inst_localtime-file): Likewise.
32860 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32863         Update.
32864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32865         Update.
32866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32867         Update.
32868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32869         Update.
32870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32871         Update.
32872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32873         Update.
32874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32875         Update.
32876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32877         Update.
32878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32879         Update.
32881 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
32883         [BZ #2550]
32884         [BZ #2570]
32885         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32886         comparisons to determine direction to adjust input.
32887         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32888         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32889         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32890         Likewise.
32891         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32892         Likewise.
32893         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32894         Likewise.
32895         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32896         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32897         Likewise.
32898         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32899         Likewise.
32900         * math/libm-test.inc (nexttoward_test): Add more tests.
32902 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32904         [BZ #14040]
32905         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32906         in version GLIBC_2.1, not GLIBC_2.0.
32907         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32908         Likewise.
32910 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
32912         [BZ #13942]
32913         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32914         (1 - x) * (1 + x).
32915         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32916         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32917         * math/libm-test.inc (acos_test): Add more tests.
32918         (asin_test): Likewise.
32919         * sysdeps/i386/fpu/libm-test-ulps: Update.
32920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32922         [BZ #14034]
32923         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32924         of square root.
32925         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32926         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32927         * math/libm-test.inc (acos_test_tonearest): New function.
32928         (acos_test_towardzero): Likewise.
32929         (acos_test_downward): Likewise.
32930         (acos_test_upward): Likewise.
32931         (asin_test_tonearest): Likewise.
32932         (asin_test_towardzero): Likewise.
32933         (asin_test_downward): Likewise.
32934         (asin_test_upward): Likewise.
32935         (main): Call the new functions.
32936         * sysdeps/i386/fpu/libm-test-ulps: Update.
32937         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32939         [BZ #13884]
32940         [BZ #13924]
32941         * math/e_exp10.c: Include <float.h>.
32942         (__ieee754_exp10): Handle underflow here rather than multiplying
32943         large negative argument by M_LN10.
32944         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32945         of __ieee754_expf.
32946         * math/e_exp10l.c: Include <float.h>.
32947         (__ieee754_exp10l): Handle underflow here rather than multiplying
32948         large negative argument by M_LN10l.
32949         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
32950         spurious overflow exception on underflow.
32952 2012-04-29  Marek Polacek  <polacek@redhat.com>
32954         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32955         (__fortify_function): New macro.
32956         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32957         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32958         __extern_always_inline.
32959         * libio/bits/stdio2.h: Likewise.
32960         * libio/bits/stdio.h: Likewise.
32961         * string/string.h: Likewise.
32962         * string/bits/string3.h: Likewise.
32963         * include/stdio.h: Likewise.
32964         * stdlib/bits/stdlib.h: Likewise.
32965         * stdlib/stdlib.h: Likewise.
32966         * rt/bits/mqueue2.h: Likewise.
32967         * rt/mqueue.h: Likewise.
32968         * posix/bits/unistd.h: Likewise.
32969         * posix/unistd.h: Likewise.
32970         * io/bits/poll2.h: Likewise.
32971         * io/bits/fcntl2.h: Likewise.
32972         * io/fcntl.h: Likewise.
32973         * io/sys/poll.h: Likewise.
32974         * misc/bits/syslog.h: Likewise.
32975         * misc/bits/syslog-ldbl.h: Likewise.
32976         * misc/sys/syslog.h: Likewise.
32977         * socket/bits/socket2.h: Likewise.
32978         * socket/sys/socket.h: Likewise.
32979         * debug/tst-chk1.c: Likewise.
32980         * wcsmbs/bits/wchar2.h: Likewise.
32981         * wcsmbs/bits/wchar-ldbl.h: Likewise.
32982         * wcsmbs/wchar.h: Likewise.
32984 2012-04-29  Andreas Jaeger  <aj@suse.de>
32986         * Makerules (tests): Remove enable-check-abi protection.
32987         (check-abi-warn): Remove.
32988         (check-abi-%): Remove check-abi-warn usage.
32990         * configure.in: Remove check-abi configure option.
32991         * configure: Regenerated.
32992         * config.make.in (enable-check-abi): Remove.
32994 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
32996         [BZ #14033]
32997         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32998         double functions to double *_finite functions.
33000         [BZ #13941]
33001         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33002         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33003         LDBL_MIN_EXP.
33004         * stdio-common/Makefile (tests): Add tst-sprintf3.
33005         * stdio-common/tst-sprintf3.c: New file.
33007         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33008         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33010 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
33012         * conform/conformtest.pl: Remove duplicate typed-constant
33013         handling.
33015 2012-04-28  David S. Miller  <davem@davemloft.net>
33017         * Makerules (%.abilist): Add vpath on sysdep_dirs.
33018         (check-abi-%): Remove AWK script prerequisite and explicit
33019         abilist directory.
33020         (check-abi): Rewrite to just diff the symlist with the abilist.
33021         (config-tls, config-abi-config): Delete, no longer used.
33022         (update-abi-%): Remove AWK script and explicit abilist directory.
33023         (update-abi): Rewrite to simply compare and conditionally copy the
33024         symlist and the sysdep abilist file.  Remove update-abi-config
33025         checks.
33026         * abilist/ld.abilist: Remove.
33027         * abilist/libBrokenLocale.abilist: Remove.
33028         * abilist/libanl.abilist: Remove.
33029         * abilist/libcrypt.abilist: Remove.
33030         * abilist/libdl.abilist: Remove.
33031         * abilist/librt.abilist: Remove.
33032         * abilist/libthread_db.abilist: Remove.
33033         * abilist/libutil.abilist: Remove.
33034         * scripts/extract-abilist.awk: Remove.
33035         * scripts/merge-abilist.awk: Remove.
33036         * sysdeps/generic/libcidn.abilist: New file.
33037         * sysdeps/generic/libnss_compat.abilist: New file.
33038         * sysdeps/generic/libnss_db.abilist: New file.
33039         * sysdeps/generic/libnss_dns.abilist: New file.
33040         * sysdeps/generic/libnss_files.abilist: New file.
33041         * sysdeps/generic/libnss_hesiod.abilist: New file.
33042         * sysdeps/generic/libnss_nis.abilist: New file.
33043         * sysdeps/generic/libnss_nisplus.abilist: New file.
33044         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33045         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33046         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33047         file.
33048         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33049         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33050         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33051         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33052         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33053         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33054         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33055         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33056         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33057         file.
33058         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33059         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33060         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33061         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33062         file.
33063         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33064         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33065         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33066         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33067         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33068         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33069         file.
33070         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33071         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33072         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33073         file.
33074         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33075         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33076         New file.
33077         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33078         New file.
33079         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33080         New file.
33081         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33082         New file.
33083         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33084         New file.
33085         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33086         New file.
33087         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33088         New file.
33089         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33090         New file.
33091         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33092         New file.
33093         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33094         New file.
33095         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33096         New file.
33097         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33098         New file.
33099         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33100         New file.
33101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33102         file.
33103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33104         New file.
33105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33106         New file.
33107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33108         file.
33109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33110         New file.
33111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33112         New file.
33113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33114         file.
33115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33116         New file.
33117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33118         New file.
33119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33120         New file.
33121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33122         New file.
33123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33124         New file.
33125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33126         New file.
33127         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33129         file.
33130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33131         New file.
33132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33133         file.
33134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33135         file.
33136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33137         file.
33138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33139         file.
33140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33141         file.
33142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33143         New file.
33144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33145         file.
33146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33147         file.
33148         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33149         New file.
33150         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33151         file.
33152         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33154         file.
33155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33156         New file.
33157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33158         file.
33159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33160         file.
33161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33162         file.
33163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33164         file.
33165         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33166         file.
33167         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33168         New file.
33169         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33170         file.
33171         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33172         file.
33173         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33174         New file.
33175         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33176         file.
33177         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33178         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33179         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33180         file.
33181         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33182         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33183         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33184         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33185         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33186         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33187         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33188         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33189         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33190         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33191         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33193         file.
33194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33195         New file.
33196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33197         file.
33198         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33199         file.
33200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33201         file.
33202         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33203         file.
33204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33205         file.
33206         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33207         New file.
33208         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33209         New file.
33210         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33211         file.
33212         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33213         New file.
33214         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33215         file.
33216         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33217         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33218         file.
33219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33220         New file.
33221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33222         file.
33223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33224         file.
33225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33226         file.
33227         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33228         file.
33229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33230         file.
33231         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33232         New file.
33233         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33234         New file.
33235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33236         file.
33237         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33238         New file.
33239         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33240         file.
33242 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
33244         * conform/conformtest.pl: Fix typo in handling typed-constant from
33245         allow-header.
33247 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
33249         * README: Cut down references to pre-2.6 Linux kernels and
33250         Linuxthreads.  Update lists of configurations in libc and ports
33251         and sort alphabetically.  Say "or newer" with Linux kernel version
33252         requirements.
33254         * config.h.in [IS_IN_build]: Allow compiling without optimization.
33256 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33258         [BZ #887]
33259         * math/libm-test.inc (logb_test_downward): New test to expose
33260         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33261         rounding mode.
33263 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
33265         [BZ #14027]
33266         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33267         to be done.
33268         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33269         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33271 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
33273         * sysdeps/unix/i386/brk.S: Remove file.
33274         * sysdeps/unix/i386/dl-brk.S: Likewise.
33275         * sysdeps/unix/i386/pipe.S: Likewise.
33276         * sysdeps/unix/i386/sigreturn.S: Likewise.
33277         * sysdeps/unix/i386/syscall.S: Likewise.
33278         * sysdeps/unix/i386/vfork.S: Likewise.
33279         * sysdeps/unix/i386/wait.S: Likewise.
33281         * sysdeps/unix/common/tcsendbrk.c: Move to ...
33282         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33284         * configure.in (arm*-none*): Do not allow without
33285         --enable-hacker-mode.
33286         (netbsd*): Remove case setting base_os.
33287         (386bsd*): Likewise.
33288         (freebsd*): Likewise.
33289         (bsdi*): Likewise.
33290         (osf*): Likewise.
33291         (sunos*): Likewise.
33292         (ultrix*): Likewise.
33293         (newsos*): Likewise.
33294         (dynix*): Likewise.
33295         (*bsd*): Likewise.
33296         (sysv*): Likewise.
33297         (isc*): Likewise.
33298         (esix*): Likewise.
33299         (sco*): Likewise.
33300         (minix*): Likewise.
33301         (irix4*): Likewise.
33302         (irix6*): Likewise.
33303         (solaris[2-9]*): Likewise.
33304         (none): Likewise.
33305         * configure: Regenerated.
33307 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33309         [BZ #11521]
33310         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33311         overflow or cancellation in calculating denominator.
33312         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33313         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33314         down expression to avoid unexpected rounding in newer GCCs.
33315         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33317 2012-04-26  David S. Miller  <davem@davemloft.net>
33319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33320         long-double compat symbols.
33321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33335 2012-04-25  David S. Miller  <davem@davemloft.net>
33337         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33338         HWCAP_* values only after the memory barriers have been defined.
33339         (atomic_full_barrier): Define.
33340         (atomic_read_barrier): Define.
33341         (atomic_write_barrier): Define.
33343 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33345         * shlib-versions: Add libgcc_s version information.
33346         * sysdeps/generic/libgcc_s.h: Remove.
33347         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33348         libgcc_s.h.
33349         * sysdeps/gnu/unwind-resume.c: Likewise.
33350         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33352 2012-04-25  David S. Miller  <davem@davemloft.net>
33354         * sysdeps/unix/sparc/brk.S: Delete.
33355         * sysdeps/unix/sparc/dl-brk.S: Delete.
33356         * sysdeps/unix/sparc/pipe.S: Delete.
33357         * sysdeps/unix/sparc/sysdep.S: Delete.
33358         * sysdeps/unix/sparc/sysdep.h: Delete.
33359         * sysdeps/unix/sparc/vfork.S: Delete.
33360         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33361         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33362         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33363         (ret_ERRVAL, r0, r1, MOVE): Define.
33364         (JUMPTARGET): Remove.
33365         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33366         sysdeps/unix/sparc/sysdep.h
33367         (ENTRY, END): Remove.
33368         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33370 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
33372         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33373         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33374         -DIS_IN_build.
33376         * timezone/README: Update upstream location and email address for
33377         tzcode and tzdata.
33378         * timezone/zdump.c: Update from tzcode 2012b.
33379         * timezone/zic.c: Likewise.
33381         * configure.in (libc_cv_as_needed): Remove test.
33382         * configure: Regenerated.
33383         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33384         conditional definition.
33385         [$(have-as-needed) != yes] (no-as-needed): Likewise.
33386         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33387         * config.make.in (have-as-needed): Remove variable.
33389 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33390             Paul Pluzhnikov  <ppluzhnikov@google.com>
33392         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33393         strings correctly.
33395 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
33397         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33398         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33399         * sysdeps/sh/strlen.S: Likewise.
33401 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
33403         * sysdeps/unix/fork.S: Remove file.
33404         * sysdeps/unix/i386/fork.S: Likewise.
33405         * sysdeps/unix/sparc/fork.S: Likewise.
33407         * sysdeps/unix/system.c: Remove file.
33408         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33410         * sysdeps/unix/getegid.S: Remove file.
33411         * sysdeps/unix/geteuid.S: Likewise.
33413 2012-04-24  Roland McGrath  <roland@hack.frob.com>
33415         * scripts/check-localplt.awk: New file.
33416         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33417         of diff.
33418         * scripts/data/localplt-generic.data: Add a comment.
33420         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33421         NODE when __dir_mkfile failed.
33422         * sysdeps/mach/hurd/symlinkat.c: Likewise.
33423         Reported by Ludovic Courtès <ludo@gnu.org>.
33425 2012-04-24  Andreas Jaeger  <aj@suse.de>
33427         * Makerules (common-clean): Also remove gen-as-const-headers
33428         files.
33430 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
33432         * Makerules (native-compile): Do not change working directory for
33433         build.  Use $(OUTPUT_OPTION) in command.
33434         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33436 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33438         [BZ #13886]
33439         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33440         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33441         * math/libm-test.inc (floor_test): Add more tests.
33442         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33444 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
33446         * sysdeps/unix/getdents.c: Remove file.
33447         * sysdeps/unix/sysv/getdents.c: Likewise.
33448         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33450         * sysdeps/unix/syscalls.list (madvise): Add syscall from
33451         sysdeps/unix/mman/syscalls.list.
33452         (mmap): Likewise.
33453         (mprotect): Likewise.
33454         (msync): Likewise.
33455         (munmap): Likewise.
33456         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33457         * sysdeps/unix/mman/syscalls.list: Remove.
33458         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33460         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33461         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33462         * configure: Regenerated.
33463         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33464         $(libgcc_s_suffix).
33465         * config.make.in (libgcc_s_suffix): Remove variable.
33467 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
33469         * sysdeps/unix/sysv/gethostname.c: Move to ...
33470         * sysdeps/posix/gethostname.c: ... here.
33472         * sysdeps/unix/execve.S: Remove file.
33474         * sysdeps/unix/_exit.S: Remove file.
33476 2012-04-23  Andreas Jaeger  <aj@suse.de>
33478         [BZ #13739]
33479         * manual/Makefile: Remove make dist support, there's no
33480         need for a stand-alone documentation tar ball.
33481         (TEXI2DVI): Define always, it's not in Makeconfig.
33482         (dist): Removed.
33483         (tar-it): Removed.
33484         (edition): Removed.
33485         (glibc-doc-$(edition).tar): Removed
33486         (%.Z): Removed.
33487         (%.gz): Removed.
33488         (%.uu): Removed.
33489         (ETAGS): Remove, it's in Makeconfig.
33490         (move-if-change): Remove, it's in Makeconfig.
33492 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
33494         [BZ #13970]
33495         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33496         (strtod, strtof, strtold, strtol, strtoul, strtoq)
33497         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33498         (strtod_l, strtof_l, strtold_l): Remove __wur.
33499         It is not necessarily an error to ignore strtol's return value.
33500         One can reliably look at the stored endptr to decide whether
33501         the number had valid syntax.
33503 2012-04-21  Andreas Jaeger  <aj@suse.de>
33505         [BZ #13739]
33506         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33508 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
33510         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33511         * sysdeps/unix/sysv/Versions: Remove file.
33513 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
33515         [BZ #13927]
33516         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33518 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
33520         [BZ #7064]
33521         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33522         version from __vm86.
33524 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
33526         * sysdeps/unix/common/lxstat.c: Remove file.
33527         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33529         * sysdeps/unix/sysv/Makefile: Remove file.
33531         * sysdeps/unix/sysv/direct.h: Remove file.
33533         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33534         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33535         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33536         * sysdeps/unix/sysv/bits/signum.h: Likewise.
33537         * sysdeps/unix/sysv/bits/stat.h: Likewise.
33538         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33539         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33541         * sysdeps/unix/sysv/setrlimit.c: Remove file.
33543         * sysdeps/unix/xmknod.c: Remove file.
33544         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33546         * sysdeps/unix/sysv/settimeofday.c: Remove file.
33548         * sysdeps/unix/sysv/i386/time.S: Remove file.
33550         * sysdeps/unix/fxstat.c: Remove file.
33551         * sysdeps/unix/xstat.c: Likewise.
33552         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33554         * sysdeps/unix/sysv/sigaction.c: Remove file.
33556         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33557         (sysdep_headers): Remove variable.
33558         [termio.h not in sysdep_headers] (generated): Likewise.
33559         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33560         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33561         * sysdeps/unix/sysv/tcdrain.c: Likewise.
33562         * sysdeps/unix/sysv/tcflow.c: Likewise.
33563         * sysdeps/unix/sysv/tcflush.c: Likewise.
33564         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33565         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33566         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33567         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33568         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33570         * sysdeps/unix/siglist.c: Remove file.
33572         * sysdeps/unix/getppid.S: Remove file.
33574         * sysdeps/unix/mkdir.c: Remove file.
33575         * sysdeps/unix/rmdir.c: Likewise.
33577 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
33579         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33580         ERR_MAX value.
33581         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33582         errlist-compat value.
33584 2012-04-18  David S. Miller  <davem@davemloft.net>
33586         * sysdeps/generic/memcopy.h (reg_char): Delete.
33587         * debug/strcat_chk.c: Use char, not reg_char.
33588         * debug/strcpy_chk.c: Likewise.
33589         * debug/strncat_chk.c: Likewise.
33590         * debug/strncpy_chk.c: Likewise.
33591         * string/memchr.c: Likewise.
33592         * string/memrchr.c: Likewise.
33593         * string/rawmemchr.c: Likewise.
33594         * string/strcat.c: Likewise.
33595         * string/strchr.c: Likewise.
33596         * string/strchrnul.c: Likewise.
33597         * string/strcmp.c: Likewise.
33598         * string/strcpy.c: Likewise.
33599         * string/strncat.c: Likewise.
33600         * string/strncmp.c: Likewise.
33601         * string/strncpy.c: Likewise.
33603 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
33605         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33606         __builtin_memcopy is called when src and dest ranges are known to not
33607         overlap.
33609 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
33611         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33612         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33613         fwd_align_merge macro call.
33614         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33615         bwd_align_merge macro call.
33616         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33618 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
33620         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33621         bwd_align_merge macros.
33622         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33623         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33624         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33626 2012-04-18  David S. Miller  <davem@davemloft.net>
33628         * sysdeps/sparc/sparc64/memcopy.h: Delete.
33630 2012-04-18  Andreas Jaeger  <aj@suse.de>
33632         [BZ# 6794]
33633         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33634         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33635         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33637         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33638         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33639         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33641         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33642         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33643         Adjust for changed ldbl-128 files.
33645         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33646         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33647         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33649 2012-04-17  David S. Miller  <davem@davemloft.net>
33651         * sysdeps/sparc/sparc32/memcopy.h: Delete.
33653 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
33655         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33656         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33657         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33658         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33659         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33660         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33662 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33664         [BZ #6794]
33665         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33666         * math/libm-test.inc: Add ilogb errno and exception tests.
33667         * math/w_ilogb.c: New file: ilogb wrapper.
33668         * math/w_ilogbf.c: New file: ilogbf wrapper.
33669         * math/w_ilogbl.c: New file: ilogbl wrapper.
33670         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33671         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33672         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33673         exception being thrown with 0.0 as argument.
33674         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33675         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33676         exception being thrown with 0.0 as argument.
33677         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33678         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33679         exception being thrown with 0.0 as argument.
33680         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33681         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33682         exception being thrown with 0.0 as argument.
33683         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33684         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33685         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33686         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33687         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33688         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33689         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33690         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33691         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33693 2012-04-17  Petr Baudis  <pasky@ucw.cz>
33695         * include/sys/uio.h: Change __vector to __iovec to avoid clash
33696         with altivec.
33698 2012-04-16  Marek Polacek  <polacek@redhat.com>
33700         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33702 2012-04-16  Marek Polacek  <polacek@redhat.com>
33704         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33705         operands of fdivp instruction.
33707 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
33709         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33710         * elf/tst-auditmod3b.c: Likewise.
33711         * elf/tst-auditmod4b.c: Likewise.
33712         * elf/tst-auditmod5b.c: Likewise.
33713         * elf/tst-auditmod6b.c: Likewise.
33714         * elf/tst-auditmod6c.c: Likewise.
33715         * elf/tst-auditmod7b.c: Likewise.
33716         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33717         * sysdeps/x86_64/preconfigure.in: Likewise.
33718         * sysdeps/x86_64/preconfigure: Regenerated.
33720 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
33722         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33723         __ILP32__.
33725 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
33727         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33728         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33730 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
33732         [BZ #13973]
33733         * locale/iso-639.def: Fix gl language name. Spotted by
33734         Yaron Shahrabani.
33736 2012-04-12  Roland McGrath  <roland@hack.frob.com>
33738         [BZ #2074]
33739         * libio/libio.h (__io_write_fn): Update comment.
33741 2012-04-12  Petr Baudis  <pasky@ucw.cz>
33743         [BZ #2074]
33744         * stdio.texi (Hook Functions): The user provided writer function
33745         is not allowed to return -1.
33747 2012-04-11  David S. Miller  <davem@davemloft.net>
33749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33751 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
33753         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33754         Add a leading slash to rtkaio.
33756 2012-04-11  Jim Meyering  <meyering@redhat.com>
33758         [BZ #11959]
33759         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33760         It is not necessarily an error to ignore fwrite's return
33761         value.  One can reliably use ferror to test for errors after
33762         the fact.
33764 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
33766         * bits/types.h (__snseconds_t): New type.
33767         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33769         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33770         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33771         (__SNSECONDS_T_TYPE): Likewise.
33772         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33773         (__SNSECONDS_T_TYPE): Likewise.
33774         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33775         (__SNSECONDS_T_TYPE): Likewise.
33777 2012-04-10  Andreas Jaeger  <aj@suse.de>
33779         [BZ #2636]
33780         * manual/time.texi (Processor Time): Return type of times is
33781         elapsed real time since an arbitrary point in the past.
33782         (CPU Time): Move CLK_TCK from here...
33783         (Processor Time): ...to here.  Correct description.
33784         * manual/conf.texi (Constants for Sysconf): Correct description of
33785         _SC_CLK_TCK.
33787 2012-04-10  David S. Miller  <davem@davemloft.net>
33789         [BZ #13967]
33790         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33791         where the is a gap between DT_REL(A) and DT_JMPREL.
33793 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
33795         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33796         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33797         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33799 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33801         * elf/dl-support.c (_dl_inhibit_cache): New variable.
33802         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33803         (dl_main): Handle --inhibit-cache.
33804         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33805         _dl_inhibit_cache.
33806         * elf/dl-load.c (_dl_map_object): Use it.
33807         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33809 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
33811         [BZ #13872]
33812         * sysdeps/i386/fpu/e_powl.S (p78): New object.
33813         (__ieee754_powl): Saturate large exponents rather than testing for
33814         overflow of y*log2(x).
33815         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33816         * math/libm-test.inc (pow_test): Do not permit spurious overflow
33817         exceptions.
33819         [BZ #11521]
33820         * math/s_ctan.c: Include <float.h>.
33821         (__ctan): Avoid internal overflow or cancellation in calculating
33822         denominator.
33823         * math/s_ctanf.c: Likewise.
33824         * math/s_ctanl.c: Likewise.
33825         * math/s_ctanh.c: Likewise.
33826         * math/s_ctanhf.c: Likewise.
33827         * math/s_ctanhl.c: Likewise.
33828         * math/libm-test.inc (ctan_test): Add more tests.
33829         (ctanh_test): Likewise.
33830         * sysdeps/i386/fpu/libm-test-ulps: Update.
33831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33833 2012-04-09  Andreas Jaeger  <aj@suse.de>
33835         [BZ #6894]
33836         * manual/filesys.texi (Directory Entries): Mention that d_namlen
33837         is an optional BSD extension.
33839         [BZ #10254]
33840         * manual/stdio.texi (Opening Streams): Document additional fopen
33841         parameters.
33843 2012-04-09  Roland McGrath  <roland@hack.frob.com>
33845         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33846         %eax without telling the compiler.
33848 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
33850         [BZ # 13963]
33851         * manual/install.texi: Use sourceware.org.
33853 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
33855         [BZ #13873]
33856         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33857         (__ieee754_pow): Generate overflow and underflow using huge*huge
33858         and tiny*tiny rather than just returning constant infinity or zero
33859         for large exponents.
33860         * math/libm-test.inc (pow_test): Require overflow exceptions for
33861         applicable cases of large exponents.
33863         [BZ #706]
33864         * sysdeps/i386/fpu/e_pow.S (p10): New object.
33865         (__ieee754_pow): Use iterative multiplication algorithm only for
33866         integer exponents with absolute value below 1024.  Check for odd
33867         integer exponents when using algorithm for real exponents.
33868         * math/libm-test.inc (pow_test): Add more tests.
33869         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33871 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
33873         [BZ #13705]
33874         * math/libm-test.inc (exp_test): Do not allow overflow exception
33875         on underflow test.
33877 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
33879         [BZ #13705]
33880         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33881         instead of __kernel_standard_f.
33883 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
33885         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33886         * sysdeps/x86_64/memset_chk.S: Likewise.
33888 2012-04-08  Andreas Jaeger  <aj@suse.de>
33890         [BZ #10153]
33891         * manual/startup.texi (Environment Access): Describe return value
33892         for putenv and setenv.
33894         [BZ #6895]
33895         * manual/filesys.texi (Directory Entries): Add description for
33896         DT_LNK.
33898         [BZ #6890]
33899         * manual/filesys.texi (Directory Entries): Clarify that it's file
33900         system not operating system in the description of DT_UNKNOWN.
33902         [BZ #6578]
33903         * manual/syslog.texi (closelog): Fix reference, it's openlog.
33905 2012-04-08  Stephen Compall  <s11@member.fsf.org>
33907         [BZ #6649]
33908         * manual/llio.texi (Opening and Closing Files): Add cross
33909         reference to explain mode argument.
33911 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
33913         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33914         * sysdeps/x86_64/memset_chk.S: Likewise.
33916 2012-04-07  David S. Miller  <davem@davemloft.net>
33918         * elf/elf.h (R_SPARC_WDISP10): Define.
33919         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33920         R_SPARC_SIZE32.
33921         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33922         R_SPARC_SIZE64 and R_SPARC_H34.
33924 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
33926         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33927         conditions and remove no longer applicable assertion.
33929 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
33931         * bits/byteswap.h: Include <features.h>.
33932         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33933         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33935 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
33937         * bits/byteswap.h (__bswap_16): Removed.
33938         Include <bits/byteswap-16.h> to get __bswap_16.
33939         * sysdeps/i386/bits/byteswap.h: Likewise.
33940         * sysdeps/s390/bits/byteswap.h: Likewise.
33941         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33942         * bits/byteswap-16.h: New file.
33943         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33944         * sysdeps/s390/bits/byteswap-16.h: Likewise.
33945         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33946         * string/Makefile (headers): Add bits/byteswap-16.h.
33948 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33950         [BZ #13895]
33951         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33952         extra indirection.
33953         * nss/Makefile (tests-static, tests): Add tst-nss-static.
33954         * nss/tst-nss-static.c: New.
33956 2012-04-06  Robert Millan  <rmh@gnu.org>
33958         [BZ #6486]
33959         * manual/llio.texi (File Position Primitive): lseek
33960         refers to WHENCE when it really means OFFSET.
33962 2012-04-06  Andreas Jaeger  <aj@suse.de>
33964         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33965         strncmp declarations.
33967         * abilist/libc.abilist: Add __poll and __ppoll.
33969 2012-04-05  David S. Miller  <davem@davemloft.net>
33971         * scripts/check-local-headers.sh: Accept a host triplet in the
33972         path matched by the exclude regexp.
33974         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33975         definition.
33976         * sysdeps/powerpc/powerpc32/dl-machine.h
33977         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33978         * sysdeps/s390/s390-32/dl-machine.h
33979         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33980         * sysdeps/sparc/sparc32/dl-machine.h
33981         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33982         * sysdeps/sparc/sparc64/dl-machine.h
33983         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33985         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33986         lazy binding.
33987         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33988         undefined symbol errors.
33990         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33991         DT_NEEDED entries.
33993 2012-04-05  Michael Matz  <matz@suse.de>
33995         [BZ #13592]
33996         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33998 2012-04-05  Andreas Jaeger  <aj@suse.de>
34000         [BZ #13908]
34001         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34002         comment.
34004 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34006         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34007         which ROUND is no valid rounding mode.
34009 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34011         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34012         read again.
34013         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34015 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34017         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34018         an exception using FPU order intentionally.
34020 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34022         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34023         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34024         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34025         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34027 2012-04-05  Simon Josefsson  <simon@josefsson.org>
34029         [BZ #12340]
34030         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34031         EINVAL when BUFLEN is too smal.
34033 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
34035         [BZ #13553]
34036         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34037         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34039 2012-04-03  Andreas Jaeger  <aj@suse.de>
34041         [BZ #13938]
34042         * manual/setjmp.texi (System V contexts): Fix sentence.
34044         [BZ #13926]
34045         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34046         New macro for this case.
34047         [!__GNUC__] (__bswap_64): New inline function for this case.
34048         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34049         * bits/byteswap.h: Likewise.
34050         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34051         ull, guard with __GLIBC_HAVE_LONG_LONG.
34053         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34054         __GLIBC_HAVE_LONG_LONG.
34056         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34057         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34059 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34061         [BZ #13691]
34062         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34063         inptr and inend, rather than using last_ch.
34065 2012-04-02  David S. Miller  <davem@davemloft.net>
34067         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34068         * stdio-common/printf-parse.h (read_int): Change return type to
34069         'int', return -1 on INT_MAX overflow.
34070         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34071         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
34072         overflows INT_MAX.  Check for overflow of in-format-string precision
34073         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
34074         SIZE_MAX not INT_MAX for integer overflow test.
34075         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34076         skip the construct in the format string but do not record anything.
34077         * stdio-common/bug22.c: Adjust to test both width/prevision
34078         INT_MAX overflow as well as total length INT_MAX overflow.  Check
34079         explicitly for proper errno values.
34081 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
34083         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34084         CHAR_MAX.
34085         * string/test-strcmp.c [! WIDE]: Likewise.
34086         * time/tst-mktime2.c: Likewise for INT_MAX.
34087         * string/test-string.h: #include <sys/param.h> for MIN.
34089         * csu/init-first.c (__libc_init_first): Call __ctype_init.
34090         * sysdeps/i386/init-first.c (init): Likewise.
34091         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34092         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34093         * sysdeps/sh/init-first.c (init): Likewise.
34095 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
34097         * po/ru.po: Update from translation team.
34098         * po/vi.po: Likewise.
34100 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34102         * resolv/nss_dns/dns-host.c: Merge copyright years.
34104 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34106         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34107         Optimize memcpy with prefetch if
34108         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
34109         src, dst pointers have unequal 16 byte alignments.
34111 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34113         [BZ #13928]
34114         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34115         from a CNAME entry and return the minimum ttl for the query.
34116         (gaih_getanswer_slice): Likewise.
34118 2012-03-30  Jeff Law  <law@redhat.com>
34120         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34121         due to long keys.
34122         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34123         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34125         * resolv/nss_dns/dns-host.c: Update copyright year.
34127 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
34129         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
34130         requests to save a system call.  Fix check that all bytes are sent.
34132         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34133         comments for sendmmsg.
34135 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34137         [BZ #13691]
34138         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34139         with only 1 character between 0x0041 and 0x01b0.
34140         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34141         * wcsmbs/tst-mbsnrtowcs.c: New file.
34143 2012-03-29  David S. Miller  <davem@davemloft.net>
34145         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34146         small copies by hand.
34148 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34150         [BZ #13761]
34151         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34152         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34153         group memberships.
34155 2012-03-28  David S. Miller  <davem@davemloft.net>
34157         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34158         that branches into memcpy.
34159         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34160         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34161         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34162         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34163         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34164         bits.
34165         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34166         implementation too.
34167         * sysdeps/sparc/mempcpy.S: New file.
34169         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34170         the IFUNC routine in the libc case.
34171         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34173         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34174         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34175         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34176         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34177         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34178         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34179         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34180         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34182         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34183         loop to 256 bytes instead of 64 bytes and fix test signedness.
34185         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34186         * sysdeps/sparc/sparc32/Makefile: rather than here...
34187         * sysdeps/sparc/sparc64/Makefile: and here.
34189 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
34191         * malloc/mallocbug.c: Avoid warnings about unused variables.
34193 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34195         [BZ #13760]
34196         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34197         in the right place. Discard and retry query if response is
34198         larger than input buffer size.
34200 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
34202         [BZ #369]
34203         [BZ #2678]
34204         [BZ #3866]
34205         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34206         x for large integer exponent.
34207         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34208         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
34209         sign of result as needed afterwards.
34210         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34211         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34212         result for underflowing pow the same as for overflow.
34213         (__kernel_standard_l): Handle powl overflow and underflow here
34214         rather than calling __kernel_standard.
34215         * math/libm-test.inc (pow_test): Add more tests.
34217         [BZ #3868]
34218         [BZ #13879]
34219         [BZ #13910]
34220         [BZ #13911]
34221         [BZ #13912]
34222         [BZ #13913]
34223         [BZ #13915]
34224         [BZ #13916]
34225         [BZ #13917]
34226         [BZ #13918]
34227         [BZ #13919]
34228         [BZ #13920]
34229         [BZ #13921]
34230         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34231         * sysdeps/ieee754/k_standard.c: Include <float.h>.
34232         (__kernel_standard_l): New function.
34233         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34234         __kernel_standard.
34235         * math/w_acosl.c (__acosl): Likewise.
34236         * math/w_asinl.c (__asinl): Likewise.
34237         * math/w_atan2l.c (__atan2l): Likewise.
34238         * math/w_atanhl.c (__atanhl): Likewise.
34239         * math/w_coshl.c (__coshl): Likewise.
34240         * math/w_exp10l.c (__exp10l): Likewise.
34241         * math/w_exp2l.c (__exp2l): Likewise.
34242         * math/w_fmodl.c (__fmodl): Likewise.
34243         * math/w_hypotl.c (__hypotl): Likewise.
34244         * math/w_j0l.c (__j0l, __y0l): Likewise.
34245         * math/w_j1l.c (__j1l, __y1l): Likewise.
34246         * math/w_jnl.c (__jnl, __ynl): Likewise.
34247         * math/w_lgammal.c (__lgammal): Likewise.
34248         * math/w_log10l.c (__log10l): Likewise.
34249         * math/w_log2l.c (__log2l): Likewise.
34250         * math/w_logl.c (__logl): Likewise.
34251         * math/w_powl.c (__powl): Likewise.
34252         * math/w_remainderl.c (__remainderl): Likewise.
34253         * math/w_scalbl.c (sysv_scalbl): Likewise.
34254         * math/w_sinhl.c (__sinhl): Likewise.
34255         * math/w_sqrtl.c (__sqrtl): Likewise.
34256         * math/w_tgammal.c (__tgammal): Likewise.
34257         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34258         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34259         * math/libm-test.inc (acos_test): Add more tests.
34260         (acosh_test): Likewise.
34261         (asin_test): Likewise.
34262         (atanh_test): Likewise.
34263         (exp_test): Likewise.
34264         (exp10_test): Likewise.
34265         (exp2_test): Likewise.
34266         (expm1_test): Likewise.
34267         (lgamma_test): Likewise.
34268         (log_test): Likewise.
34269         (log10_test): Likewise.
34270         (log1p_test): Likewise.
34271         (log2_test): Likewise.
34272         (pow_test): Do not allow some spurious overflow exceptions.
34273         (sqrt_test): Add more tests.
34274         (tgamma_test): Likewise.
34275         (y0_test): Likewise.
34276         (y1_test): Likewise.
34277         (yn_test): Likewise.
34279 2012-03-27  Anton Blanchard  <anton@samba.org>
34281         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34282         MAP_HUGETLB.
34283         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34284         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34285         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34287 2012-03-27  David S. Miller  <davem@davemloft.net>
34289         * conform/Makefile: Run run-conformtest.sh using $(BASH).
34291         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34292         have-as-vis3 check.
34294 2012-03-27  Andreas Jaeger  <aj@suse.de>
34296         * sysdeps/x86_64/elf/configure.in: Moved to ...
34297         * sysdeps/x86_64/configure.in: ... here.
34298         * sysdeps/x86_64/elf/start.S: Moved to ...
34299         * sysdeps/x86_64/start.S: ... here.
34300         * sysdeps/x86_64/elf/configure: Delete.
34302         * sysdeps/x86_64/configure.in: Merge contents from
34303         sysdeps/i386/configure.in (without i686 check).
34305         * sysdeps/i386/elf/Versions: Merge into ...
34306         * sysdeps/i386/Versions: ... this.
34307         * sysdeps/i386/elf/Versions: Delete file.
34308         * sysdeps/i386/elf/start.S: Moved to ...
34309         * sysdeps/i386/start.S: ...here.
34310         * sysdeps/i386/elf/configure.in: Merge into...
34311         * sysdeps/i386/configure.in: ...here.
34312         * sysdeps/i386/elf/configure.in: Delete file.
34313         * sysdeps/i386/elf/configure: Delete file.
34315         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34316         * debug/backtracesyms.c: ... here.
34317         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34318         * debug/backtracesymsfd.c: ... here.
34319         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34320         * sysdeps/generic/ifunc-sel.h: ... here.
34322         * sysdeps/unix/i386/start.c: Delete file.
34323         * sysdeps/unix/sparc/start.c: Delete file.
34324         * sysdeps/unix/start.c: Delete file.
34326         * sysdeps/sh/elf/configure.in: Moved to ...
34327         * sysdeps/sh/configure.in: ... here.
34328         * sysdeps/sh/elf/start.S: Moved to ...
34329         * sysdeps/sh/start.S: ... here.
34330         * sysdeps/sh/elf/configure: Delete file.
34332         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34333         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34334         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34335         * sysdeps/powerpc/powerpc64/entry.h: ... here.
34336         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34337         * sysdeps/powerpc/powerpc64/start.S: here.
34338         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34339         * sysdeps/powerpc/powerpc64/Makefile: ... this.
34340         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34341         * sysdeps/powerpc/powerpc64/configure.in: ... this.
34342         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34344         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34345         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34346         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34347         * sysdeps/powerpc/powerpc32/start.S: ... here.
34348         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34349         * sysdeps/powerpc/powerpc32/configure.in: ... this.
34350         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34352         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34353         * sysdeps/powerpc/ifunc-sel.h: ... here.
34354         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34355         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34357         * sysdeps/sparc/elf/configure.in: Moved to ...
34358         * sysdeps/sparc/configure.in: ... here.
34359         * sysdeps/sparc/elf/configure: Delete file.
34360         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34361         * sysdeps/sparc/sparc32/start.S: ... here.
34362         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34363         * sysdeps/sparc/sparc64/start.S: ... here.
34364         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34365         * sysdeps/sparc/sparc32/Makefile: ... this.
34366         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34367         * sysdeps/sparc/sparc64/Makefile: ... this.
34369         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34370         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34371         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34372         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34373         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34374         * sysdeps/s390/s390-32/setjmp.S: ... here.
34375         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34376         * sysdeps/s390/s390-32/configure.in: ... here.
34377         * sysdeps/s390/s390-32/elf/configure: Delete file.
34378         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34379         * sysdeps/s390/s390-32/start.S: ... here.
34381         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34382         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34383         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34384         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34385         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34386         * sysdeps/s390/s390-64/setjmp.S: ... here.
34387         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34388         * sysdeps/s390/s390-64/configure.in: ... here
34389         * sysdeps/s390/s390-64/elf/configure: Delete file.
34390         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34391         * sysdeps/s390/s390-64/start.S: ... here.
34392         * sysdeps/s390/s390-64/elf/configure: Delete.
34394         * configure.in: Remove support for elf directories in sysdeps.
34396         * configure: Regenerated.
34397         * sysdeps/i386/configure: Regenerated.
34398         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34399         * sysdeps/powerpc/powerpc64/configure: Regenerated.
34400         * sysdeps/s390/s390-32/configure: Regenerated.
34401         * sysdeps/s390/s390-64/configure: Regenerated.
34402         * sysdeps/sh/configure: Regenerated.
34403         * sysdeps/sparc/configure: Regenerated.
34404         * sysdeps/x86_64/configure: Regenerated.
34406 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
34408         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34410         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34411         denormal result into account.
34413 2012-03-25  Roland McGrath  <roland@hack.frob.com>
34415         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34416         Reported by Allan McRae <allan@archlinux.org>.
34418 2012-03-23  Jeff Law  <law@redhat.com>
34420         * nss/getnssent.c (__nss_getent): Fix typo.
34422 2012-03-23  David S. Miller  <davem@davemloft.net>
34424         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34426 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
34428         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34429         to pad to uint64_t for each field.
34430         (dl_tls_index): Replace unsigned long with uint64_t.
34432 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
34433         Paul Pluzhnikov  <ppluzhnikov@google.com>
34435         [BZ #6528]
34436         * grp/Makefile (otherlibs): Don't set it.
34437         * inet/Makefile (otherlibs): Likewise.
34438         * login/Makefile (otherlibs): Likewise.
34439         * nscd/Makefile (otherlibs): Likewise.
34440         * posix/Makefile (otherlibs): Likewise.
34441         * pwd/Makefile (otherlibs): Likewise.
34442         * rt/Makefile (otherlibs): Likewise.
34443         * sunrpc/Makefile (otherlibs): Likewise.
34444         * nss/Makefile (otherlibs): Likewise.
34445         Add libnss_files to routines and static-only-routines.
34446         ($(objpfx)getent): Remove rule.
34447         * resolv/Makefile: Add libnss_dns and libresolv to routines and
34448         static-only-routines.
34450 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
34452         [BZ #13892]
34453         * math/s_cexp.c: Include <float.h>.
34454         (__cexp): Handle exp result overflowing not necessarily
34455         overflowing both real and imaginary parts of result.
34456         * math/s_cexpf.c: Likewise.
34457         * math/s_cexpl.c: Likewise.
34458         * math/libm-test.inc (cexp_test): Add more tests.
34459         * sysdeps/i386/fpu/libm-test-ulps: Update.
34460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34462 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34464         * include/link.h (ELFW): New macro.
34465         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34466         Replace ELF64_R_TYPE with ELFW(R_TYPE).
34468 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34470         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34471         with uint64_t.
34473 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34475         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34476         declaration.
34477         (struct La_x32_retval): Likewise.
34479 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34481         * sysdeps/x86_64/preconfigure.in: New file.
34482         * sysdeps/x86_64/preconfigure: New generated file.
34484 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
34486         [BZ #13824]
34487         * math/e_exp2l.c: Include <float.h>.
34488         (__ieee754_exp2l): Handle overflow and underflow cases
34489         separately.  Only pass fractional part of argument to
34490         __ieee754_expl.
34491         * math/libm-test.inc (exp2_test): Add more tests.
34493         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34494         negating x to take absolute value.
34495         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34496         Likewise.
34497         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34498         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34499         Likewise.
34500         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34501         computing low part if x was negated.
34502         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34504 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
34506         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34507         la_x32_gnu_pltexit.
34508         (pltexit): Cast int_retval to ptrdiff_t.
34509         * elf/tst-auditmod3b.c: Likewise.
34510         * elf/tst-auditmod4b.c: Likewise.
34511         * elf/tst-auditmod5b.c: Likewise.
34512         * elf/tst-auditmod6b.c: Likewise.
34513         * elf/tst-auditmod6c.c: Likewise.
34514         * elf/tst-auditmod7b.c: Likewise.
34516         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34517         and x32_gnu_pltexit.
34519         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34520         __ELF_NATIVE_CLASS.
34521         (La_x32_regs): New macro.
34522         (La_x32_retval): Likewise.
34523         (la_x32_gnu_pltenter): New function prototype.
34524         (la_x32_gnu_pltexit): Likewise.
34526 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
34528         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34529         exponent.
34531         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34533         * configure.in (libc_cv_cc_nofma): Check for option to disable
34534         generation of FMA instructions.
34535         * configure: Regenerate.
34536         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34537         * sysdeps/ieee754/dbl-64/Makefile: New file.
34538         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34539         Remove brandred-fma4.
34540         (CFLAGS-brandred-fma4.c): Remove.
34541         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34542         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34543         define.
34544         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34545         define.
34547 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
34549         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34550         LLONG_MAX != LONG_MAX.
34551         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34552         (_fitoa_word): Likewise.
34553         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34554         LLONG_MAX != LONG_MAX.
34555         * stdio-common/_itowa.h: Include <_itoa.h>.
34556         (_itowa_word): Use _ITOA_WORD_TYPE on value.
34557         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
34558         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
34559         only if not defined.
34560         (_ITOA_WORD_TYPE): Likewise.
34561         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34562         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34564 2012-03-21  David S. Miller  <davem@davemloft.net>
34566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34568 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
34570         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34571         of x86_64 when setting libc_cv_slibdir, libdir and
34572         libc_cv_localedir.
34573         * sysdeps/unix/sysv/linux/configure: Regenerated.
34575 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
34577         * manual/lang.texi (Old Varargs): Remove section.
34578         (How Variadic): Update menu.
34579         (va_start): Do not mention varargs.h.
34581 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34582             Joseph Myers  <joseph@codesourcery.com>
34584         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34585         link test.
34586         * configure: Regenerated.
34588 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34590         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34591         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34592         conformtest.pl
34594 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
34596         * NOTES: Remove.
34597         * Makefile (files-for-dist): Remove NOTES.
34598         (NOTES): Remove rule.
34599         * README: Don't refer to NOTES.
34600         * manual/creature.texi: Don't include macros.texi.
34601         * manual/intro.texi (creature.texi): Remove comment referring to
34602         NOTES.
34604         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34605         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34606         * configure: Regenerated.
34607         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34608         LIBC_TRY_CC_OPTION.
34609         (libc_cv_as_i686): Likewise.
34610         (libc_cv_cc_avx): Likewise.
34611         (libc_cv_cc_sse2avx): Likewise.
34612         (libc_cv_cc_fma4): Likewise.
34613         (libc_cv_cc_novzeroupper): Likewise.
34614         * sysdeps/i386/configure: Regenerated.
34616         [BZ #13883]
34617         * sysdeps/i386/fpu/s_cexp.S: Remove.
34618         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34619         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34620         * math/libm-test.inc (cexp_test): Add more tests.
34621         * sysdeps/i386/fpu/libm-test-ulps: Update.
34622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34624 2012-03-21  Allan McRae  <allan@archlinux.org>
34626         * timezone/Makefile: Do not install iso3166.tab and zone.tab
34628 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
34630         [BZ #13871]
34631         * math/w_exp2.c: Do not include <float.h>.
34632         (o_threshold, u_threshold): Remove.
34633         (__exp2): Calculate result before checking finiteness and calling
34634         __kernel_standard.
34635         * math/w_exp2f.c: Likewise.
34636         * math/w_exp2l.c: Likewise.
34637         * math/libm-test.inc (exp2_test): Require overflow exception for
34638         1e6 input.
34640         [BZ #3866]
34641         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34642         range of signed 64-bit integers before using fistpll.  Remove
34643         checks for whether integers fit in mantissa bits.
34644         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34645         the range of signed 32-bit integers before using fistpl.  Remove
34646         checks for whether integers fit in mantissa bits.
34647         * sysdeps/i386/fpu/e_powl.S (p64): New object.
34648         (__ieee754_powl): Test for y outside the range of signed 64-bit
34649         integers before using fistpll.  Reduce 64-bit values to 63-bit
34650         ones as needed.
34651         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34652         divide-by-zero is raised for zero to large negative powers.
34653         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34654         (__ieee754_powl): Test for y outside the range of signed 64-bit
34655         integers before using fistpll.  Reduce 64-bit values to 63-bit
34656         ones as needed.
34657         * math/libm-test.inc (pow_test): Add more tests.
34659 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34661         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34662         <stdio-common/_itoa.h>.
34663         * debug/segfault.c: Likewise.
34664         * elf/dl-cache.c: Likewise.
34665         * elf/dl-minimal.c: Likewise.
34666         * elf/dl-misc.c: Likewise.
34667         * elf/dl-sysdep.c: Likewise.
34668         * elf/dl-version.c: Likewise.
34669         * elf/rtld.c: Likewise.
34670         * hurd/hurdsock.c: Likewise.
34671         * hurd/lookup-retry.c: Likewise.
34672         * malloc/malloc.c: Likewise.
34673         * malloc/mtrace.c: Likewise.
34674         * nscd/nscd_getgr_r.c: Likewise.
34675         * nscd/nscd_getpw_r.c: Likewise.
34676         * nscd/nscd_getserv_r.c: Likewise.
34677         * posix/getopt_init.c: Likewise.
34678         * posix/wordexp.c: Likewise.
34679         * stdio-common/_itoa.c: Likewise.
34680         * stdio-common/printf_fphex.c: Likewise.
34681         * stdio-common/vfprintf.c: Likewise.
34682         * string/_strerror.c: Likewise.
34683         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34684         * sysdeps/i386/i686/hp-timing.h: Likewise.
34685         * sysdeps/mach/_strerror.c: Likewise.
34686         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34687         * sysdeps/mach/hurd/sethostid.c: Likewise.
34688         * sysdeps/mach/hurd/xmknodat.c: Likewise.
34689         * sysdeps/mach/xpg-strerror.c: Likewise.
34690         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34691         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34692         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34693         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34694         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34695         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34696         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34697         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34698         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34699         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34700         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34701         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34702         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34703         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34704         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34705         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34706         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34707         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34708         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34709         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34710         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34712         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34714         * stdio-common/_itoa.h: Moved to ...
34715         * sysdeps/generic/_itoa.h: Here.
34717         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34719         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34720         instead of "_itoa.h" and "_itowa.h".
34721         * stdio-common/vfprintf.: Likewise.
34723 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34725         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34726         <bits/wordsize.h>.
34727         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34728         (__signbit): Likwise.
34729         (llrintf): Likwise.
34730         (llrint): Likwise.
34732 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34734         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34735         __WORDSIZE != 64.
34737 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
34739         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34740         OVERFLOW_EXCEPTION_OK.
34741         * math/libm-test.inc ("Philosophy"): Update comment about
34742         exception testing.
34743         (OVERFLOW_EXCEPTION): Define.
34744         (OVERFLOW_EXCEPTION_OK): Likewise.
34745         (INVALID_EXCEPTION_OK): Renumber.
34746         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34747         (IGNORE_ZERO_INF_SIGN): Likewise.
34748         (test_exceptions): Handle FE_OVERFLOW.
34749         (exp10_test): Expect overflow exceptions.
34750         (exp2_test): Likewise.
34751         (expm1_test): Likewise.
34752         (nextafter_test): Likewise.
34753         (pow_test): Likewise.
34754         (scalbn_test): Likewise.
34755         (scalbln_test): Likewise.
34757 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34759         * sysdeps/x86_64/bits/atomic.h
34760         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34761         64bit integer.
34762         (atomic_exchange_acq): Likewise.
34763         (__arch_exchange_and_add_body): Likewise.
34764         (__arch_add_body): Likewise.
34765         (atomic_add_negative): Likewise.
34766         (atomic_add_zero): Likewise.
34768 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34770         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34771         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34773 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34775         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34776         Check __x86_64__ instead of __WORDSIZE.
34778 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34780         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34782 2012-03-19  David S. Miller  <davem@davemloft.net>
34784         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34786         * sysdeps/sparc/fpu/fenv_private.h: New file.
34787         * sysdeps/sparc/fpu/math_private.h: Use it.
34788         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34789         Remove.
34790         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34791         (libc_feholdexcept_setroundl): Remove.
34792         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34793         Remove.
34794         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34795         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34797 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34799         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34800         int64_t instead of long int.
34801         (INSERT_WORDS64): Likwise.
34803 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34805         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34806         _Unwind_GetCFA return to _Unwind_Ptr first.
34808 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
34810         [BZ #13629]
34811         * math/s_clog.c: Include <float.h>.
34812         (__clog): Scale large or subnormal inputs.
34813         * math/s_clogf.c: Likewise.
34814         * math/s_clogl.c: Likewise.
34815         * math/s_clog10.c: Include <float.h>.
34816         (M_LOG10_2): Define.
34817         (__clog10): Scale large or subnormal inputs.
34818         * math/s_clog10f.c: Likewise.
34819         * math/s_clog10l.c: Likewise.
34820         * math/libm-test.inc (clog_test): Add more tests.
34821         (clog10_test): Likewise.
34822         * sysdeps/i386/fpu/libm-test-ulps: Update.
34823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34825         [BZ #11451]
34826         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34827         x and y.
34828         * math/libm-test.inc (atan2_test): Add another test.
34830         * Makerules (common-objdir-compile): Remove.
34831         * sysdeps/unix/Makefile (config-generated): Do not add
34832         $(unix-generated) to variable.
34833         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34834         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34835         Remove rule.
34836         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34837         Likewise.
34838         [generic bits/local_lim.h] (before-compile): Do not append to
34839         variable.
34840         [generic bits/local_lim.h] (common-generated): Likewise.
34841         [generic sys/param.h] (before-compile): Do not append to variable.
34842         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34843         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34844         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34845         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34846         include.
34847         [generic sys/param.h] (sys/param.h-includes): Remove variable.
34848         [generic sys/param.h] (sys/param.h-includes): Remove rule.
34849         [generic sys/param.h] ($(addprefix
34850         $(common-objpfx),$(sys/param.h-includes))): Likewise.
34851         [generic sys/param.h] (common-generated): Do not append to
34852         variable.
34853         [generic sys/param.h] (sysdep_headers): Likewise.
34854         [generic bits/errno.h] (before-compile): Do not append to
34855         variable.
34856         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34857         rule.
34858         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34859         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34860         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34861         [generic bits/errno.h] (common-generated): Do not append to
34862         variable.
34863         [generic bits/ioctls.h] (before-compile): Do not append to
34864         variable.
34865         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34866         rule.
34867         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34868         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34869         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34870         rule.
34871         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34872         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34873         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34874         [generic bits/ioctls.h] (common-generated): Do not append to
34875         variable.
34876         [generic sys/syscall.h] (syscall.h): Remove variable.
34877         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34878         rule.
34879         [generic sys/syscall.h] (before-compile): Do not append to
34880         variable.
34881         [generic sys/syscall.h] (common-generated): Likewise.
34882         * sysdeps/unix/errnos-tmpl.c: Remove file.
34883         * sysdeps/unix/errnos.awk: Likewise.
34884         * sysdeps/unix/ioctls-tmpl.c: Likewise.
34885         * sysdeps/unix/ioctls.awk: Likewise.
34886         * sysdeps/unix/mk-local_lim.c: Likewise.
34887         * sysdeps/unix/snarf-ioctls: Likewise.
34889 2012-03-19  Richard Henderson  <rth@twiddle.net>
34891         * sysdeps/i386/fpu/fenv_private.h: New file.
34892         * sysdeps/i386/fpu/math_private.h: Use it.
34893         (math_opt_barrier, math_force_eval): Remove.
34894         (libc_feholdexcept_setround_53bit): Remove.
34895         (libc_feupdateenv_53bit): Remove.
34896         * sysdeps/x86_64/fpu/math_private.h: Likewise.
34897         (math_opt_barrier, math_force_eval): Remove.
34898         (libc_feholdexcept): Remove.
34899         (libc_feholdexcept_setround): Remove.
34900         (libc_fetestexcept, libc_fesetenv): Remove.
34901         (libc_feupdateenv_test): Remove.
34902         (libc_feupdateenv, libc_feholdsetround): Remove.
34903         (libc_feresetround): Remove.
34905         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34906         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34908         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34909         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34910         (libc_feupdateenv_testl): New.
34911         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34912         (libc_feupdateenv_testf): New.
34913         (libc_feupdateenv): Use libc_feupdateenv_test.
34914         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34915         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34917         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34918         (libc_feholdsetroundf, libc_feholdsetroundl): New.
34919         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34920         (libc_feresetround_noex): New.
34921         (libc_feresetround_noexf): New.
34922         (libc_feresetround_noexl): New.
34923         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34924         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34925         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34926         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34927         SET_RESTORE_ROUND.
34928         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34929         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34930         (__cos): Likewise.
34931         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34932         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34933         SET_RESTORE_ROUND_NOEX.
34934         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34935         SET_RESTORE_ROUND_NOEXF.
34936         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34937         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34938         (libc_feholdsetroundf): New.
34939         (libc_feresetround, libc_feresetroundf): New.
34941         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34942         (libc_feholdexcept_setround_53bit): Convert from macro to function.
34943         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
34945         * sysdeps/generic/math_private.h: Include <fenv.h>.
34946         (default_libc_feholdexcept): New.
34947         (default_libc_feholdexcept_setround): New.
34948         (default_libc_fesetenv, default_libc_feupdateenv): New.
34949         (libc_feholdexcept): Only define if undefined.
34950         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34951         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34952         (libc_feholdexcept_setroundl): Likewise.
34953         (libc_feholdexcept_setround_53bit): Likewise.
34954         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34955         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34956         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34957         (libc_feupdateenv_53bit): Likewise.
34958         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34959         (libc_feholdexcept): Convert from macro to inline function.
34960         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34961         (libc_fesetenv, libc_feupdateenv): Likewise.
34963         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34964         not previously defined.
34965         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34966         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34967         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34968         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34969         * sysdeps/ieee754/flt-32/math_private.h: New file.
34970         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34971         math_private.h below SET_FLOAT_WORD.
34972         (__isnan, __isinf_ns, __finite): Remove.
34973         (__isnanf, __isinf_nsf, __finitef): Remove.
34975 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
34977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34979 2012-03-17  David S. Miller  <davem@davemloft.net>
34981         [BZ #6471]
34982         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34983         for 2.16.
34985 2012-03-16  David S. Miller  <davem@davemloft.net>
34987         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34988         warnings.
34990         [BZ #6471]
34991         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34992         properly.
34993         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34994         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34995         sysdep_routines when subdir is sysvipc.
34996         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34997         __getshmlba helper.
34999         * sysdeps/sparc/fpu/libm-test/ulps: Update.
35001 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35003         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35004         [__LP64__].
35006 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35008         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35009         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35010         (__lround): Renamed to ...
35011         (__llround): This.  Replace long int with long long int.
35012         Define lround functions as aliases of llround functions.
35013         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35015 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35017         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35018         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
35019         adresses to uintptr_t.  Replace "long int" and "unsigned long
35020         int" with "greg_t" on va_arg.
35022 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35024         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35025         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35027         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35028         Move e_machine check before EI_CLASS check.  Handle x32
35029         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35030         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35031         SKIP_EM_IA_64 and include
35032         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35034         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35035         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35036         (add_system_dir): New macro.
35038         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35039         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35041 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
35043         [BZ #2551]
35044         [BZ #2552]
35045         [BZ #2553]
35046         [BZ #2554]
35047         [BZ #2562]
35048         [BZ #2563]
35049         [BZ #2565]
35050         [BZ #2566]
35051         [BZ #2576]
35052         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35053         (y0): Likewise.
35054         * math/w_j0f.c (j0f): Likewise.
35055         (y0f): Likewise.
35056         * math/w_j0l.c (__j0l): Likewise.
35057         (__y0l): Likewise.
35058         * math/w_j1.c (j1): Likewise.
35059         (y1): Likewise.
35060         * math/w_j1f.c (j1f): Likewise.
35061         (y1f): Likewise.
35062         * math/w_j1l.c (__j1l): Likewise.
35063         (__y1l): Likewise.
35064         * math/w_jn.c (jn): Likewise.
35065         (yn): Likewise.
35066         * math/w_jnf.c (jnf): Likewise.
35067         (ynf): Likewise.
35068         * math/w_jnl.c (__jnl): Likewise.
35069         (__ynl): Likewise.
35070         * math/libm-test.inc (j0_test): Add more tests.
35071         (j1_test): Likewise.
35072         (jn_test): Likewise.  Add trailing semicolon to existing test.
35073         (y0_test): Likewise.
35074         (y1_test): Likewise.
35075         * sysdeps/i386/fpu/libm-test-ulps: Update.
35076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35078         [BZ #13851]
35079         [BZ #13854]
35080         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35081         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35082         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35083         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35084         (__tanl): Set errno for infinite argument.
35085         * sysdeps/i386/fpu/mptan.c: Remove.
35086         * sysdeps/i386/fpu/s_tan.S: Likewise.
35087         * sysdeps/i386/fpu/s_tanl.S: Likewise.
35088         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35089         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35090         * math/libm-test.inc (tan_test): Add more tests and enable more
35091         tests for double and long double.
35092         * sysdeps/i386/fpu/libm-test-ulps: Update.
35093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35095 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
35097         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35098         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35100 2012-03-16  Roland McGrath  <roland@hack.frob.com>
35102         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35103         * configure.in: Use it for both main tree and add-ons.
35104         * configure: Regenerated.
35106 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35108         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35110 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
35112         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35113         in comment.
35115         [BZ #13851]
35116         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35117         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35118         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35119         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35120         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35121         infinite argument.
35122         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35123         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35124         != 0 for prec == 2.
35125         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35126         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35127         * sysdeps/i386/fpu/s_cosl.S: Likewise.
35128         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35129         * sysdeps/i386/fpu/s_sinl.S: Likewise.
35130         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35131         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35132         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35133         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35134         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35135         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35136         * math/libm-test.inc (cos_test): Add more tests and enable more
35137         tests for long double.
35138         (sin_test): Likewise.
35139         (sincos_test): Likewise.
35140         * sysdeps/i386/fpu/libm-test-ulps: Update.
35141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35143 2012-03-16  David S. Miller  <davem@davemloft.net>
35145         * sysdeps/sparc/fpu/math_private.h: New file.
35147 2012-03-15  David S. Miller  <davem@davemloft.net>
35149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35150         file.
35151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
35152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35153         file.
35154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35155         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35156         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35157         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35158         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35159         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35160         sysdep routines.
35161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35163         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35164         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35166         * sysdeps/sparc/sparc-ifunc.h: New file.
35167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35168         sparc-ifunc.h
35169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35171         Likewise.
35172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35173         Likewise.
35174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35178         Likewise.
35179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
35183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35184         Likewise.
35185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35186         Likewise.
35187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35191         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35192         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35193         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35194         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35195         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35196         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35197         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35198         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35199         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35200         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35201         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35202         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35203         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35204         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35205         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35206         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35207         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35208         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35209         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35210         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35212 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
35214         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35215         scaling.
35216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35218 2012-03-15  Andreas Jaeger  <aj@suse.de>
35220         [BZ #13852]
35221         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35222         ieee754/flt-32 implementation for sin, cos and sincos.
35223         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35224         * sysdeps/i386/fpu/s_cosf.S: Likewise.
35225         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35226         * sysdeps/i386/fpu/s_sinf.S: Likewise.
35227         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35228         ieee754/flt-32 implementation for tan.
35230         * math/libm-test.inc (cos_test): Enable some large input tests for
35231         float as well
35232         (sin_test): Likewise.
35233         (sincos_test): Likewise.
35234         (tan_test): Add tests for large input.
35236         * sysdeps/i386/fpu/libm-test-ulps: Update.
35238 2012-03-15  Andreas Jaeger  <aj@suse.de>
35240         [BZ #13658]
35241         * math/libm-test.inc (cos_test): Add more test cases.
35242         (sin_test): Likewise.
35243         (sincos_test): Likewise.
35245 2012-03-15  Andreas Jaeger  <aj@suse.de>
35247         [BZ #13837]
35248         * math/libm-test.inc (cos_test): Add a test case for large input
35249         value.
35250         (sin_test): Likewise.
35251         (sincos_test): Likewise.
35253 2012-03-15  Andreas Jaeger  <aj@suse.de>
35254             Joseph Myers  <joseph@codesourcery.com>
35256         [BZ #13658]
35257         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
35258         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35259         * sysdeps/i386/fpu/branred.c: Likewise.
35260         * sysdeps/i386/fpu/dosincos.c: Likewise.
35261         * sysdeps/i386/fpu/mpa.c: Likewise.
35262         * sysdeps/i386/fpu/s_cos.S: Likewise.
35263         * sysdeps/i386/fpu/s_sin.S: Likewise.
35264         * sysdeps/i386/fpu/s_sincos.S: Likewise.
35265         * sysdeps/i386/fpu/sincos32.c: Likewise.
35267         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35268         Define.
35269         (libc_feupdateenv_53bit): Define.
35270         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35271         Define.
35272         (libc_feupdateenv_53bit): Define.
35274         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35275         53 bit (without extend i386 double precision).
35277         * math/libm-test.inc (sincos_test): Add tests for large input.
35278         (sin): Likewise.
35279         (cos): Likewise.
35281         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35283 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
35285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35287 2012-03-15  David S. Miller  <davem@davemloft.net>
35289         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35290         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35291         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35292         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35295         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35297         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35298         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35299         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35300         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35301         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35302         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35303         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
35304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35305         file.
35306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
35307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35308         file.
35309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
35310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35311         file.
35312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
35313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35314         file.
35315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35316         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35317         fmin/fmax sysdep routines.
35318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35320 2012-03-14  David S. Miller  <davem@davemloft.net>
35322         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35323         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35324         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35325         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35326         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35327         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35328         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35329         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35330         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35331         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35332         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35333         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35334         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35335         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35336         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35337         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35338         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35339         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35340         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35341         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35342         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35343         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35344         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35345         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35346         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35347         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35348         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35349         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
35350         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35351         routines.
35352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35353         file.
35354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
35355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35356         file.
35357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
35358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35359         file.
35360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
35361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35362         file.
35363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
35364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35365         file.
35366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
35367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35368         file.
35369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35370         file.
35371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35372         file.
35373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35374         file.
35375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35376         New file.
35377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35378         file.
35379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35380         file.
35381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
35382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35383         file.
35384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
35385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35386         file.
35387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
35388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35389         file.
35390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
35391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35392         VIS3 routines.
35394         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35395         New file.
35397         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35399         * sysdeps/sparc/configure.in: New file.
35400         * sysdeps/sparc/configure: Generate.
35401         * configure.in (libc_cv_sparc_as_vis3): Substitute.
35402         * configure: Regenerate.
35403         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35404         * config.make.in (have-as-vis3): New.
35405         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35406         available use -Av9d instead of -Av9a.
35407         * sysdeps/sparc/sparc64/Makefile: Likewise.
35408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
35409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35410         New file.
35411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35412         file.
35413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35414         New file.
35415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35416         file.
35417         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35418         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35419         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35420         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35421         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35423         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35424         fzeros/fnegs to load 0x80000000 into a float register instead of
35425         using the stack.
35426         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35428 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
35430         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35431         bits/syscall.h.
35432         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35433         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35434         ($(inst_includedir)/bits/syscall.h): Remove rule.
35435         ($(objpfx)bits/syscall.d): Include instead of
35436         $(objpfx)syscall-list.d.
35437         (generated): Change syscall-list.h and syscall-list.d to
35438         bits/syscall.h and bits/syscall.d.
35440 2012-03-14  Roland McGrath  <roland@hack.frob.com>
35442         [BZ #13846]
35443         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35445 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
35447         [BZ #13841]
35448         * math/s_csqrt.c: Include <float.h>.
35449         (__csqrt): Scale large or subnormal inputs.
35450         * math/s_csqrtf.c: Likewise.
35451         * math/s_csqrtl.c: Likewise.
35452         * math/libm-test.inc (csqrt_test): Add more tests.
35453         * sysdeps/i386/fpu/libm-test-ulps: Update.
35454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35456         [BZ #13840]
35457         * math/libm-test.inc (hypot_test): Add more tests.
35459 2012-03-13  David S. Miller  <davem@davemloft.net>
35461         [BZ #13840]
35462         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35463         double-precision for the calculation instead of scaling.
35465 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
35467         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35468         manipulate bits before adding and subtracting TWO52[sx].
35469         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35470         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35471         Likewise.
35472         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35474 2012-03-13  David S. Miller  <davem@davemloft.net>
35476         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35477         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35478         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35479         rtld-global-offsets.h
35480         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35482         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35483         large parameters.
35485         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35487         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35488         'err' in the ifdef scope in which it is actually used.
35490         * nss/nss_db/db-init.c: Include string.h
35492 2012-03-12  David S. Miller  <davem@davemloft.net>
35494         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35495         masking out of the most significant byte of random value used.
35496         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35497         Fix coding style in previous change.
35499         * sysdeps/unix/sysv/linux/kernel-features.h
35500         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35501         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35502         expression.
35503         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35504         later.
35506 2012-03-11  David S. Miller  <davem@davemloft.net>
35508         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35509         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35510         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35511         for 'resultvar' otherwise things get truncated on 64-bit.
35513         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35514         Fix masking out of the most significant byte of random value used.
35516         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35518 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
35520         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35522 2012-03-09  David S. Miller  <davem@davemloft.net>
35524         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35525         variables with appropriate CPP guards.
35526         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35527         from the frame pointer, not the stack pointer.  Correct layout
35528         comments.  Fix test on resulting framesize and the management of
35529         the outregs buffer for pltexit.  Preserve floating point return
35530         values across _dl_call_pltexit call.
35531         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35532         framesize and the management of the outregs buffer for pltexit.
35533         Preserve floating point return values across _dl_call_pltexit
35534         call.
35535         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35536         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35537         (la_sparc64_gnu_pltexit): New functions.
35538         (print_exit): Fix format string for return register value.
35540 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
35542         * sunrpc/Makefile (others): Add rpcgen.
35543         ($(objpfx)rpcgen): Remove special build rule and dependency on
35544         libc.
35545         * sunrpc/rpcgen.c: New file.
35547 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
35549         [BZ #13673]
35550         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35551         * stdio-common/bug-vfprintf-nargs.c: Likewise.
35552         * sysdeps/i386/crti.S: Likewise.
35553         * sysdeps/i386/crtn.S: Likewise.
35554         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35555         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35556         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35557         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35558         * sysdeps/sh/crti.S: Likewise.
35559         * sysdeps/sh/crtn.S: Likewise.
35560         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35562         [BZ #13673]
35563         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35564         with URL.
35565         * locale/programs/locfile-kw.gperf: Likewise.
35566         * locale/programs/charmap-kw.h: Regenerated.
35567         * locale/programs/locfile-kw.h: Likewise.
35569         [BZ #13673]
35570         * intl/plural.y: Replace FSF snail mail address with URL.
35571         * intl/plural.c: Regenerated.
35573 2012-03-09  Richard Henderson  <rth@twiddle.net>
35575         * include/math_private.h: Remove file.
35576         * math/math_private.h: Move file ...
35577         * sysdeps/generic/math_private.h: ... here.
35579         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35580         * sysdeps/powerpc/fpu/math_private.h: Likewise.
35581         * sysdeps/x86_64/fpu/math_private.h: Likewise.
35583         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
35584         and <math_private.h>.
35585         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35586         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35587         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35588         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35589         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35590         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35591         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35592         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35593         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35594         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35595         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35596         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35597         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35598         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35599         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35600         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35601         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35602         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35603         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35604         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35605         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35606         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35607         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35608         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35609         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35610         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35611         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35612         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35613         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35614         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35615         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35616         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35617         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35618         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35619         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35620         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35621         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35622         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35623         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35624         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35625         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35626         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35627         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35628         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35629         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35630         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35631         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35632         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35633         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35634         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35635         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35636         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35637         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35638         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35639         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35640         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35641         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35642         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35643         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35644         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35645         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35646         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35647         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35648         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35649         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35650         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35651         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35652         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35653         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35654         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35655         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35656         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35657         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35658         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35659         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35660         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35661         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35662         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35663         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35664         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35665         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35666         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35667         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35668         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35669         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35670         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35671         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35672         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35673         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35674         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35675         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35676         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35677         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35678         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35679         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35680         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35681         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35682         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35683         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35684         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35685         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35686         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35687         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35688         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35689         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35690         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35691         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35692         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35693         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35694         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35695         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35696         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35697         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35698         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35699         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35700         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35701         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35702         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35703         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35704         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35705         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35706         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35707         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35708         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35709         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35710         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35711         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35712         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35713         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35714         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35715         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35716         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35717         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35718         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35719         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35720         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35721         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35722         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35723         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35724         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35725         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35726         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35727         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35728         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35729         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35730         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35731         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35732         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35733         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35734         * sysdeps/ieee754/k_standard.c: Likewise.
35735         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35736         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35737         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35738         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35739         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35740         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35741         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35742         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35743         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35744         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35745         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35746         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35747         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35748         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35749         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35750         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35751         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35752         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35753         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35754         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35755         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35756         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35757         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35758         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35759         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35760         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35761         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35762         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35763         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35764         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35765         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35766         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35767         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35768         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35769         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35770         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35771         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35772         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35773         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35774         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35775         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35776         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35777         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35778         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35779         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35780         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35781         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35782         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35783         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35784         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35785         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35786         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35787         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35788         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35789         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35790         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35791         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35792         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35793         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35794         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35795         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35796         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35797         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35798         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35799         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35800         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35801         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35802         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35803         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35804         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35805         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35806         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35807         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35808         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35809         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35810         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35811         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35812         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35813         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35814         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35815         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35816         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35817         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35818         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35819         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35820         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35821         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35822         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35823         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35824         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35825         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35826         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35827         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35828         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35829         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35830         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35831         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35832         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35833         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35834         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35835         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35836         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35837         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35838         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35839         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35840         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35841         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35842         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35843         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35844         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35845         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35846         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35847         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35848         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35849         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35850         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35851         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35852         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35853         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35854         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35855         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35856         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35857         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35858         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35859         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35860         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35861         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35862         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35863         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35864         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35865         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35866         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35867         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35868         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35869         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35870         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35871         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35872         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35873         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35874         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35875         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35876         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35877         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35878         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35879         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35880         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35881         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35882         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35883         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35884         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35885         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35886         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35887         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35888         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35889         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35890         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35891         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35892         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35893         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35894         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35895         * sysdeps/ieee754/s_lib_version.c: Likewise.
35896         * sysdeps/ieee754/s_matherr.c: Likewise.
35897         * sysdeps/ieee754/s_signgam.c: Likewise.
35898         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35899         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35900         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35901         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35902         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35903         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35904         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35905         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35906         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35907         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35908         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35909         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35910         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35911         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35912         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35913         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35914         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35915         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35916         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35917         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35918         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35920 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
35922         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35923         * sunrpc/rpc_main.c: Likewise.
35924         * sunrpc/rpc_svcout.c: Likewise.
35926 2012-03-09  David S. Miller  <davem@davemloft.net>
35928         * include/math_private.h: New file.
35930 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
35932         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35933         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35934         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35935         from <bits/socket_type.h>.
35936         (enum __socket_type): Don't define here.
35937         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35938         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35939         bits/socket_type.h.
35941         [BZ #13566]
35942         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35943         checking __USE_GNU.
35945         * Makerules ($(inst_includedir)/%.h): New rule.
35946         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35947         (install-others): Remove variable setting.
35948         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35950 2012-03-08  Richard Henderson  <rth@twiddle.net>
35952         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35953         from macro to inline function; merge with the
35954         !__LIBC_INTERNAL_MATH_INLINES version.
35955         (__ieee754_sqrtf): Likewise.
35957         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35958         to inline function.
35959         (__rintf, __floor, __floorf): Likewise.
35961         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35962         macro to inline function.
35963         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35965         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35966         not <math/math_private.h>.
35968 2012-03-08  David S. Miller  <davem@davemloft.net>
35970         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35971         copyright year.
35972         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35974 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
35976         * resolv/gai_misc.c (handle_requests): Fix struct timespec
35977         normalization.
35978         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35979         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35981 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
35983         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
35984         be defined individually, they must be defined as a block.  Define
35985         S for printing a string instead of hidint the different by using a
35986         macro for adding the 'l'.
35987         * stdio-common/tst-fphex-wide.c: Adjust.
35989 2012-03-07  Marek Polacek  <polacek@redhat.com>
35991         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35993 2012-03-08  Marek Polacek  <polacek@redhat.com>
35995         [BZ #13806]
35996         * stdio-common/Makefile (tests): Add tst-fphex-wide.
35997         * stdio-common/tst-fphex.c: Define a few macros to make the
35998         test reusable.  Use them.
35999         * stdio-common/tst-fphex-wide.c: New file.
36001 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
36003         [BZ #6911]
36004         * manual/macros.texi (gnusystems): New macro.
36005         (nongnusystems): Likewise.
36006         (gnulinuxhurdsystems): Likewise.
36007         (gnuhurdsystems): Likewise..
36008         (gnulinuxsystems): Likewise.
36009         * manual/charset.texi: Use new macros or @theglibc{} to refer to
36010         variants of the GNU system, not "GNU system".
36011         * manual/conf.texi: Likewise.
36012         * manual/errno.texi: Likewise.  Update example of errno macro
36013         expansion.
36014         * manual/filesys.texi: Likewise.
36015         (getumask): Document as specific to GNU/Hurd.
36016         * manual/install.texi: Likewise.  Reword some references to
36017         GNU/Linux.
36018         * manual/intro.texi: Likewise.
36019         * manual/io.texi: Likewise.
36020         (File Name Portability): Detail which constraints are inapplicable
36021         to all GNU systems and which are only inapplicable to GNU/Hurd.
36022         * manual/job.texi: Likewise.
36023         * manual/llio.texi: Likewise.
36024         (O_NOCTTY): Document as present on GNU/Linux.
36025         * manual/maint.texi: Likewise.
36026         * manual/memory.texi: Likewise.
36027         * manual/pattern.texi: Likewise.
36028         * manual/pipe.texi: Likewise.
36029         * manual/process.texi: Likewise.
36030         * manual/resource.texi: Likewise.
36031         (RUSAGE_CHILDREN): Remove statement about specifying a particular
36032         child on GNU/Hurd.
36033         * manual/setjmp.texi: Likewise.
36034         * manual/signal.texi: Likewise.
36035         * manual/startup.texi: Likewise.
36036         * manual/stdio.texi: Likewise.
36037         * manual/terminal.texi: Likewise.
36038         (ONLCR): Document as POSIX.
36039         (OXTABS): Document availability on GNU/Linux as XTABS.
36040         (ONOEOT): Document availability separately from other bits.
36041         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36042         * manual/time.texi: Likewise.
36043         * manual/users.texi: Likewise.
36044         * INSTALL: Regenerated.
36045         * sysdeps/gnu/errlist.c: Regenerated.
36047         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36048         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36049         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
36050         puts.
36051         * configure: Regenerated.
36053 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
36055         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36056         default includes instead of AC_HEADER_CHECK.
36057         * sysdeps/i386/configure: Regenerated.
36059         [BZ #10716]
36060         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36061         * math/s_cacoshf.c (__cacoshf): Likewise.
36062         * math/s_cacoshl.c (__cacoshl): Likewise.
36063         * math/s_casinh.c (__casinh): Set signs of result from argument.
36064         * math/s_casinhf.c (__casinhf): Likewise.
36065         * math/s_casinhl.c (__casinhl): Likewise.
36066         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36067         (casinh_test): Add more tests.
36068         * sysdeps/i386/fpu/libm-test-ulps: Update.
36069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36071 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
36073         * po/zh_TW.po: Update from translation team.
36075         * login/Makefile (distribute): Remove variable.
36076         * catgets/Makefile: Likewise.
36077         * mach/Makefile: Likewise.
36078         * malloc/Makefile: Likewise.
36079         * misc/Makefile: Likewise.
36080         * iconv/Makefile: Likewise.
36081         * nscd/Makefile: Likewise.
36082         * hurd/Makefile: Likewise.
36083         * manual/Makefile: Likewise.
36084         * locale/Makefile: Likewise.
36085         * intl/Makefile: Likewise.
36086         * conform/Makefile: Likewise.
36087         * nss/Makefile: Likewise.
36088         * time/Makefile: Likewise.
36089         * soft-fp/Makefile: Likewise.
36090         * dirent/Makefile: Likewise.
36091         * gmon/Makefile: Likewise.
36092         * po/Makefile: Likewise.
36093         * rt/Makefile: Likewise.
36094         * socket/Makefile: Likewise.
36095         * math/Makefile: Likewise.
36096         * signal/Makefile: Likewise.
36097         * debug/Makefile: Likewise.
36098         * elf/Makefile: Likewise.
36099         * timezone/Makefile: Likewise.
36100         * stdlib/Makefile: Likewise.
36101         * iconvdata/Makefile: Likewise.
36102         * sunrpc/Makefile: Likewise.
36103         * io/Makefile: Likewise.
36104         * argp/Makefile: Likewise.
36105         * inet/Makefile: Likewise.
36106         * hesiod/Makefile: Likewise.
36107         * grp/Makefile: Likewise.
36108         * csu/Makefile: Likewise.
36109         * wctype/Makefile: Likewise.
36110         * crypt/Makefile: Likewise.
36111         * libio/Makefile: Likewise.
36112         * string/Makefile: Likewise.
36113         * nis/Makefile: Likewise.
36114         * resolv/Makefile: Likewise.
36115         * stdio-common/Makefile: Likewise.
36116         * wcsmbs/Makefile: Likewise.
36117         * dlfcn/Makefile: Likewise.
36118         * posix/Makefile: Likewise.
36120         [BZ #6959]
36121         * timezone/Makefile: Don't install timezone files, just the programs
36122         and scripts.
36124 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
36126         * nss/databases.def: Add missing gshadow entry.
36128         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
36130 2012-03-06  Marek Polacek  <polacek@redhat.com>
36132         [BZ #13726]
36133         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36134         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36135         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36136         * stdio-common/tst-long-dbl-fphex.c: New file.
36138 2012-03-06  David S. Miller  <davem@davemloft.net>
36140         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36141         (set_obp_int): New function.
36142         (get_obp_int): New function.
36143         (__get_clockfreq_via_dev_openprom): Likewise.
36144         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36145         Avoid unused variable warnings on 'val' and use builtin_expect.
36146         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36147         __builtin_expect.
36148         (INLINE_CLONE_SYSCALL): Likewise.
36150 2012-03-05  David S. Miller  <davem@davemloft.net>
36152         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36154 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
36156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36158         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36159         only for |x| >= 40.
36160         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36162 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
36164         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36165         Replace gettimeofday with __vdso_gettimeofday.
36167         * sysdeps/unix/sysv/linux/x86_64/init-first.c
36168         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36169         __vdso_clock_gettime and __vdso_getcpu.
36171         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36172         time with __vdso_time.
36174 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
36176         * manual/lang.texi (size_t): Note types to which size_t may be
36177         equivalent with the GNU C Library, but do not describe when
36178         differences between them are significant.
36180 2012-03-05  Andreas Jaeger  <aj@suse.de>
36182         * sysdeps/i386/fpu/libm-test-ulps: Update.
36184 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
36186         [BZ #3976]
36187         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36188         (__ieee754_pow): Save and restore rounding mode and use
36189         round-to-nearest for main computations.
36190         * math/libm-test.inc (pow_test_tonearest): New function.
36191         (pow_test_towardzero): Likewise.
36192         (pow_test_downward): Likewise.
36193         (pow_test_upward): Likewise.
36194         (main): Call the new functions.
36195         * sysdeps/i386/fpu/libm-test-ulps: Update.
36196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36198         [BZ #3976]
36199         * math/libm-test.inc (cosh_test_tonearest): New function.
36200         (cosh_test_towardzero): Likewise.
36201         (cosh_test_downward): Likewise.
36202         (cosh_test_upward): Likewise.
36203         (sinh_test_tonearest): Likewise.
36204         (sinh_test_towardzero): Likewise.
36205         (sinh_test_downward): Likewise.
36206         (sinh_test_upward): Likewise.
36207         (main): Call the new functions.
36208         * sysdeps/i386/fpu/libm-test-ulps: Update.
36209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36211 2012-03-05  Tom de Vries  <tom@codesourcery.com>
36213         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36214         default stack guard is set in last bytes.
36215         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36217 2012-03-05  Kees Cook  <keescook@chromium.org>
36219         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
36221         [BZ #13656]
36222         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36223         possibly allocate from heap instead of stack.
36224         * stdio-common/bug-vfprintf-nargs.c: New file.
36225         * stdio-common/Makefile (tests): Add nargs overflow test.
36227 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
36229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36231 2012-03-03  Marek Polacek  <polacek@redhat.com>
36233         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36234         * math/math_private.h: Likewise.
36235         * stdlib/tst-strtod.c: Likewise.
36236         * sysdeps/i386/i486/bits/atomic.h: Likewise.
36237         * sysdeps/x86_64/bits/atomic.h: Likewise.
36239 2012-03-02  David S. Miller  <davem@davemloft.net>
36241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36242         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36245         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36246         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36247         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36248         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36250 2012-03-02  Roland McGrath  <roland@hack.frob.com>
36252         [BZ #13792]
36253         * manual/examples/README: New file, says the example source files
36254         can be used under GPL>=2.
36255         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36256         line containing just "*/".
36257         * manual/examples/add.c: Add copyright header (GPL>=2).
36258         * manual/examples/argp-ex1.c: Likewise.
36259         * manual/examples/argp-ex2.c: Likewise.
36260         * manual/examples/argp-ex3.c: Likewise.
36261         * manual/examples/argp-ex4.c: Likewise.
36262         * manual/examples/atexit.c: Likewise.
36263         * manual/examples/db.c: Likewise.
36264         * manual/examples/dir.c: Likewise.
36265         * manual/examples/dir2.c: Likewise.
36266         * manual/examples/execinfo.c: Likewise.
36267         * manual/examples/filecli.c: Likewise.
36268         * manual/examples/filesrv.c: Likewise.
36269         * manual/examples/fmtmsgexpl.c: Likewise.
36270         * manual/examples/genpass.c: Likewise.
36271         * manual/examples/inetcli.c: Likewise.
36272         * manual/examples/inetsrv.c: Likewise.
36273         * manual/examples/isockad.c: Likewise.
36274         * manual/examples/longopt.c: Likewise.
36275         * manual/examples/memopen.c: Likewise.
36276         * manual/examples/memstrm.c: Likewise.
36277         * manual/examples/mkfsock.c: Likewise.
36278         * manual/examples/mkisock.c: Likewise.
36279         * manual/examples/mygetpass.c: Likewise.
36280         * manual/examples/pipe.c: Likewise.
36281         * manual/examples/popen.c: Likewise.
36282         * manual/examples/rprintf.c: Likewise.
36283         * manual/examples/search.c: Likewise.
36284         * manual/examples/select.c: Likewise.
36285         * manual/examples/setjmp.c: Likewise.
36286         * manual/examples/sigh1.c: Likewise.
36287         * manual/examples/sigusr.c: Likewise.
36288         * manual/examples/stpcpy.c: Likewise.
36289         * manual/examples/strdupa.c: Likewise.
36290         * manual/examples/strftim.c: Likewise.
36291         * manual/examples/strncat.c: Likewise.
36292         * manual/examples/subopt.c: Likewise.
36293         * manual/examples/swapcontext.c: Likewise.
36294         * manual/examples/termios.c: Likewise.
36295         * manual/examples/testopt.c: Likewise.
36296         * manual/examples/testpass.c: Likewise.
36297         * manual/examples/timeval_subtract.c: Likewise.
36299         [BZ #13792]
36300         * manual/time.texi (Elapsed Time): Move timeval_subtract example
36301         function to ...
36302         * manual/timeval_subtract.c.texi: ... here, new file.
36304 2012-03-02  David S. Miller  <davem@davemloft.net>
36306         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36308 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
36310         [BZ #3976]
36311         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36312         (__sin): Save and restore rounding mode and use round-to-nearest
36313         for all computations.
36314         (__cos): Save and restore rounding mode and use round-to-nearest
36315         for all computations.
36316         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36317         <fenv.h>.
36318         (tan): Save and restore rounding mode and use round-to-nearest for
36319         all computations.
36320         * math/libm-test.inc (cos_test_tonearest): New function.
36321         (cos_test_towardzero): Likewise.
36322         (cos_test_downward): Likewise.
36323         (cos_test_upward): Likewise.
36324         (sin_test_tonearest): Likewise.
36325         (sin_test_towardzero): Likewise.
36326         (sin_test_downward): Likewise.
36327         (sin_test_upward): Likewise.
36328         (tan_test_tonearest): Likewise.
36329         (tan_test_towardzero): Likewise.
36330         (tan_test_downward): Likewise.
36331         (tan_test_upward): Likewise.
36332         (main): Call the new functions.
36333         * sysdeps/i386/fpu/libm-test-ulps: Update.
36334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36336         [BZ #10135]
36337         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36338         small n, then large n, before computing and testing k+n.
36339         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36340         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36341         Likewise.
36342         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36343         Likewise.
36344         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36345         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36346         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36347         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36348         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36349         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36350         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36351         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36352         * math/libm-test.inc (scalbn_test): Add more tests.
36353         (scalbln_test): Likewise.
36355         * manual/filesys.texi (mode_t): Describe constraints on size and
36356         signedness, not exact equivalence to a particular type.
36357         (ino_t): Likewise.
36358         (ino64_t): Likewise.
36359         (dev_t): Likewise.
36360         (nlink_t): Likewise.
36361         (blkcnt_t): Likewise.
36362         (blkcnt64_t): Likewise.
36363         * manual/llio.texi (off_t): Likewise.
36365         [BZ #3976]
36366         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36367         (__ieee754_exp): Save and restore rounding mode and use
36368         round-to-nearest for all computations.
36369         * math/libm-test.inc (exp_test_tonearest): New function.
36370         (exp_test_towardzero): Likewise.
36371         (exp_test_downward): Likewise.
36372         (exp_test_upward): Likewise.
36373         (main): Call the new functions.
36374         * sysdeps/i386/fpu/libm-test-ulps: Update.
36375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36377 2012-03-01  Chris Demetriou  <cgd@google.com>
36379         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36380         have predictable order.
36382 2012-03-01  David S. Miller  <davem@davemloft.net>
36384         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36386         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36387         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36388         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36389         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36391         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36392         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36393         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36394         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36395         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36396         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36397         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36398         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36399         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36401         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36403         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36404         * sysdeps/sparc/fpu/libm-test-ulps: to here.
36405         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36407         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36408         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36409         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36410         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36411         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36412         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36413         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36414         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36415         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36416         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36417         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36418         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36419         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36420         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36421         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36422         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36423         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36424         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36425         * sysdeps/sparc/elf/configure: Regenerated.
36427 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
36429         * configure.in (AS, LD): Require binutils 2.20 or later.
36430         * configure: Regenerated.
36431         * manual/install.texi (Tools for Compilation): Give binutils 2.20
36432         as required minimum version.
36433         * INSTALL: Regenerated.
36435         [BZ #2541]
36436         [BZ #4108]
36437         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36438         before squaring exponent.
36439         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36440         bottom long double and 27 bits of top long double before squaring
36441         exponent.
36442         * math/libm-test.inc (erfc_test): Add more tests.
36443         * sysdeps/i386/fpu/libm-test-ulps: Update.
36444         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36447 2012-03-01  Kai Tietz  <ktietz@redhat.com>
36449         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36450         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36451         containing bit-fields.
36452         * soft-fp/extended.h (_FP_UNION_E): Likewise.
36453         * soft-fp/single.h (_FP_UNION_S): Likewise.
36454         * soft-fp/double.h (_FP_UNION_D): Likewise.
36456 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
36458         [BZ #13786]
36459         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36460         not include ../strcmp.S.
36461         [USE_AS_STRNCASECMP_L]: Likewise.
36462         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36463         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36464         * sysdeps/i386/i686/multiarch/strncase_l-c.c
36465         (__strncasecmp_l_ia32): Define as alias to
36466         __strncasecmp_l_nonascii.
36468         [BZ #5794]
36469         * math/libm-test.inc (expm1_test): Add test for bug 5794.
36470         * sysdeps/i386/fpu/libm-test-ulps: Update.
36471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36473         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36476 2012-02-29  Jeff Law  <law@redhat.com>
36478         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36479         out of bounds read.
36481 2012-02-29  Marek Polacek  <polacek@redhat.com>
36483         [BZ #13706]
36484         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36485         * elf/Makefile: Add rules to run tst-unused-dep.out.
36487 2012-02-28  David S. Miller  <davem@davemloft.net>
36489         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36490         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36491         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36492         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36493         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36494         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36496 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
36498         * math/libm-test.inc (llround_test): Move one test from
36499         lround_test.  Use TEST_f_L in moved test.
36500         (lround_test): Move misplaced test to llround_test.  Add testcase
36501         from bug 2561.
36503 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
36505         * sysdeps/x86_64/fpu/e_expf.S: New file.
36506         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36508 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
36510         [BZ #13637]
36511         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36512         of remain_len that may cause incomplete multi-byte character and
36513         false match.
36514         * posix/bug-regex33.c: New file.
36515         * posix/Makefile (tests): Add bug-regex33.
36517 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
36519         * manual/macros.texi: New file.
36520         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36521         * manual/libc.texinfo: Include macros.texi.
36522         * manual/creatute.texi: Likewise.
36523         * manual/install.texi: Likewise.
36524         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36525         @glibcadj{} in references to the GNU C Library.
36526         * manual/charset.texi: Likewise.
36527         * manual/conf.texi: Likewise.
36528         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
36529         when not using those macros.
36530         * manual/creature.texi: Likewise.
36531         * manual/crypt.texi: Likewise.
36532         * manual/errno.texi: Likewise.
36533         * manual/filesys.texi: Likewise.
36534         * manual/header.texi: Likewise.
36535         * manual/install.texi: Likewise.
36536         * manual/intro.texi: Likewise.
36537         * manual/io.texi: Likewise.
36538         * manual/job.texi: Likewise.
36539         * manual/lang.texi: Likewise.
36540         * manual/libc.texiinfo: Likewise.
36541         * manual/llio.texi: Likewise.
36542         * manual/locale.texi: Likewise.
36543         * manual/maint.texi: Likewise.
36544         * manual/math.texi: Likewise.
36545         * manual/memory.texi: Likewise.
36546         * manual/message.texi: Likewise.
36547         * manual/nss.texi: Likewise.
36548         * manual/pattern.texi: Likewise.
36549         * manual/process.texi: Likewise.
36550         * manual/resource.texi: Likewise.
36551         * manual/search.texi: Likewise.
36552         * manual/setjmp.texi: Likewise.
36553         * manual/signal.texi: Likewise.
36554         * manual/socket.texi: Likewise.
36555         * manual/startup.texi: Likewise.
36556         * manual/stdio.texi: Likewise.
36557         * manual/string.texi: Likewise.
36558         * manual/sysinfo.texi: Likewise.
36559         * manual/syslog.texi: Likewise.
36560         * manual/terminal.texi: Likewise.
36561         * manual/time.texi: Likewise.
36562         * manual/users.texi: Likewise.
36563         * INSTALL: Regenerated.
36564         * NOTES: Regenerated.
36565         * sysdeps/gnu/errlist.c: Regenerated.
36567 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
36569         * include/dirent.h: Include <dirstream.h> before
36570         <dirent/dirent.h>.
36572 2012-02-28  David S. Miller  <davem@davemloft.net>
36574         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36575         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36576         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36577         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36579 2012-02-27  David S. Miller  <davem@davemloft.net>
36581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36583         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36584         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36586         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36587         frame pointer instead of stack pointer relative arg slot.
36588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36589         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36590         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36592 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
36594         [BZ #3992]
36595         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36597 2012-02-27  David S. Miller  <davem@davemloft.net>
36599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36600         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36603         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36604         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36605         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36606         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36608 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
36610         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36611         later.  Allow versions 5-9.
36612         * configure: Regenerated.
36613         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36614         required minimum version and 4.6 as recommended version.  Do not
36615         mention bugs in GCC 2.7 and 2.8.
36616         * INSTALL: Regenerated.
36618 2012-02-27  David S. Miller  <davem@davemloft.net>
36620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36621         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36622         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36623         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36624         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36625         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36626         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36627         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36629         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36630         manipulate bits before adding and subtracting TWO112[sx].
36631         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36633 2012-02-27  Roland McGrath  <roland@hack.frob.com>
36635         [BZ #13775]
36636         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36637         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36638         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36639         being in POSIX, because they are in 1003.1-2008.
36641         * rt/tst-aio.c: Include <fcntl.h>.
36642         * rt/tst-aio7.c: Likewise.
36643         * rt/tst-aio64.c: Likewise.
36645         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36647 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
36649         * manual/install.texi (--with-headers): Describe headers as
36650         interface headers, not private headers.
36651         (Specific advice for GNU/Linux systems): Describe use of headers
36652         from "make headers_install", not private headers from older
36653         kernels.
36654         * INSTALL: Regenerated.
36655         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36656         Change to 2.6.19.
36657         * sysdeps/unix/sysv/linux/configure: Regenerated.
36659         * manual/llio.texi (fclean): Remove documentation.
36661         * manual/Makefile (libc-texi-generated): New variable.  Include
36662         version.texi.
36663         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36664         $(libc-texi-generated), not duplicated list of files.
36665         (version.texi, stamp-version): New rules.
36666         (realclean): Remove $(libc-texi-generated), not individual files
36667         from that list.  Do not remove dir-add.texinfo.
36668         * manual/libc.texinfo: Comment out uses of edition numbers and
36669         references to printed manual.  Remove last-updated dates.
36670         (EDITION): Comment out.
36671         (ISBN): Likewise.
36672         (VERSION, UPDATED): Remove.
36673         (version.texi): Include.
36675 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
36677         * sysdeps/posix/spawni.c: Include <signal.h>.
36678         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36679         * sysdeps/pthread/aio_fsync.c: Likewise.
36681 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
36683         * conform/Makefile (tests): Run only when not cross-compiling and
36684         when fast-check is not defined.
36686         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36687         * conform/data/limits.h-data: Fixes for POSIX2008.
36688         * conform/run-conformtest.sh: Run all tests.
36689         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36690         headers.
36691         * include/bits/dlfcn.h: Likewise.
36692         * include/langinfo.h: Likewise.
36693         * include/monetary.h: Likewise.
36694         * include/sys/poll.h: Likewise.
36696         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36697         for __USE_GNU.
36698         * posix/spawn.h: Define __need_sigset_t.
36699         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36700         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36701         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
36702         to get sigevent_t only.
36703         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36704         only for __USE_GNU.
36705         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36706         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36707         process_vm_writev only for __USE_GNU.
36708         * termios/termios.h: Declare tcgetsid also for POSIX2008.
36710         * conform/Makefile: For now ignore errors from run-conformtest.
36711         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
36712         POSIX to avoid namespace pollution.  Don't prepend headers.
36713         * conform/data/aio.h-data: Fixes for POSIX testing.
36714         * conform/data/fcntl.h-data: Likewise.
36715         * conform/data/glob.h-data: Likewise.
36716         * conform/data/grp.h-data: Likewise.
36717         * conform/data/pthread.h-data: Likewise.
36718         * conform/data/pwd.h-data: Likewise.
36719         * conform/data/signal.h-data: Likewise.
36720         * conform/data/spawn.h-data: Likewise.
36721         * conform/data/stdio.h-data: Likewise.
36722         * conform/data/stdlib.h-data: Likewise.
36723         * conform/data/stropts.h-data: Likewise.
36724         * conform/data/sys/mman.h-data: Likewise.
36725         * conform/data/sys/stat.h-data: Likewise.
36726         * conform/data/sys/types.h-data: Likewise.
36727         * conform/data/sys/wait.h-data: Likewise.
36728         * conform/data/time.h-data: Likewise.
36729         * conform/data/unistd.h-data: Likewise.
36730         * conform/data/utime.h-data: Likewise.
36732         * io/sys/stat.h: fchmod was always in POSIX.
36733         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36734         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36735         * rt/aio.h: Define __need_timespec before including <time.h>.
36736         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36737         struct.  Add forward declaration of pthread_attr_t and use it in
36738         sigevent.
36739         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36740         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36741         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36742         always remove CLK_TCK definition.
36744 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
36746         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36748 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
36750         * conform/run-conformtest.sh: New file.
36751         * conform/Makefile: Run run-conformtest for tests.
36752         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
36753         support.
36755         * conform/data/uchar.h-data: New file.
36756         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36757         * conform/data/arpa/inet.h-data: Likewise.
36758         * conform/data/assert.h-data: Likewise.
36759         * conform/data/complex.h-data: Likewise.
36760         * conform/data/cpio.h-data: Likewise.
36761         * conform/data/ctype.h-data: Likewise.
36762         * conform/data/dirent.h-data: Likewise.
36763         * conform/data/dlfcn.h-data: Likewise.
36764         * conform/data/errno.h-data: Likewise.
36765         * conform/data/fcntl.h-data: Likewise.
36766         * conform/data/float.h-data: Likewise.
36767         * conform/data/fmtmsg.h-data: Likewise.
36768         * conform/data/fnmatch.h-data: Likewise.
36769         * conform/data/ftw.h-data: Likewise.
36770         * conform/data/glob.h-data: Likewise.
36771         * conform/data/grp.h-data: Likewise.
36772         * conform/data/iconv.h-data: Likewise.
36773         * conform/data/inttypes.h-data: Likewise.
36774         * conform/data/langinfo.h-data: Likewise.
36775         * conform/data/libgen.h-data: Likewise.
36776         * conform/data/limits.h-data: Likewise.
36777         * conform/data/locale.h-data: Likewise.
36778         * conform/data/math.h-data: Likewise.
36779         * conform/data/monetary.h-data: Likewise.
36780         * conform/data/mqueue.h-data: Likewise.
36781         * conform/data/ndbm.h-data: Likewise.
36782         * conform/data/net/if.h-data: Likewise.
36783         * conform/data/netdb.h-data: Likewise.
36784         * conform/data/netinet/in.h-data: Likewise.
36785         * conform/data/nl_types.h-data: Likewise.
36786         * conform/data/poll.h-data: Likewise.
36787         * conform/data/pthread.h-data: Likewise.
36788         * conform/data/pwd.h-data: Likewise.
36789         * conform/data/regex.h-data: Likewise.
36790         * conform/data/sched.h-data: Likewise.
36791         * conform/data/search.h-data: Likewise.
36792         * conform/data/semaphore.h-data: Likewise.
36793         * conform/data/setjmp.h-data: Likewise.
36794         * conform/data/signal.h-data: Likewise.
36795         * conform/data/spawn.h-data: Likewise.
36796         * conform/data/stdarg.h-data: Likewise.
36797         * conform/data/stdio.h-data: Likewise.
36798         * conform/data/stdlib.h-data: Likewise.
36799         * conform/data/string.h-data: Likewise.
36800         * conform/data/strings.h-data: Likewise.
36801         * conform/data/stropts.h-data: Likewise.
36802         * conform/data/sys/ipc.h-data: Likewise.
36803         * conform/data/sys/mman.h-data: Likewise.
36804         * conform/data/sys/msg.h-data: Likewise.
36805         * conform/data/sys/resource.h-data: Likewise.
36806         * conform/data/sys/select.h-data: Likewise.
36807         * conform/data/sys/sem.h-data: Likewise.
36808         * conform/data/sys/shm.h-data: Likewise.
36809         * conform/data/sys/socket.h-data: Likewise.
36810         * conform/data/sys/stat.h-data: Likewise.
36811         * conform/data/sys/statvfs.h-data: Likewise.
36812         * conform/data/sys/time.h-data: Likewise.
36813         * conform/data/sys/timeb.h-data: Likewise.
36814         * conform/data/sys/times.h-data: Likewise.
36815         * conform/data/sys/types.h-data: Likewise.
36816         * conform/data/sys/uio.h-data: Likewise.
36817         * conform/data/sys/un.h-data: Likewise.
36818         * conform/data/sys/utsname.h-data: Likewise.
36819         * conform/data/sys/wait.h-data: Likewise.
36820         * conform/data/syslog.h-data: Likewise.
36821         * conform/data/tar.h-data: Likewise.
36822         * conform/data/termios.h-data: Likewise.
36823         * conform/data/utime.h-data: Likewise.
36824         * conform/data/utmpx.h-data: Likewise.
36825         * conform/data/varargs.h-data: Likewise.
36826         * conform/data/wchar.h-data: Likewise.
36827         * conform/data/wctype.h-data: Likewise.
36828         * conform/data/wordexp.h-data: Likewise.
36830         * include/stropts.h: New file.
36831         * include/uchar.h: New file.
36832         * include/aio.h: Changes to allow conformtest.pl to use the headers.
36833         * include/assert.h: Likewise.
36834         * include/ctype.h: Likewise.
36835         * include/dirent.h: Likewise.
36836         * include/dlfcn.h: Likewise.
36837         * include/fcntl.h: Likewise.
36838         * include/fnmatch.h: Likewise.
36839         * include/glob.h: Likewise.
36840         * include/grp.h: Likewise.
36841         * include/libio.h: Likewise.
36842         * include/locale.h: Likewise.
36843         * include/math.h: Likewise.
36844         * include/net/if.h: Likewise.
36845         * include/netdb.h: Likewise.
36846         * include/netinet/in.h: Likewise.
36847         * include/pthread.h: Likewise.
36848         * include/pwd.h: Likewise.
36849         * include/regex.h: Likewise.
36850         * include/sched.h: Likewise.
36851         * include/search.h: Likewise.
36852         * include/setjmp.h: Likewise.
36853         * include/signal.h: Likewise.
36854         * include/stdio.h: Likewise.
36855         * include/stdlib.h: Likewise.
36856         * include/string.h: Likewise.
36857         * include/sys/cdefs.h: Likewise.
36858         * include/sys/mman.h: Likewise.
36859         * include/sys/msg.h: Likewise.
36860         * include/sys/resource.h: Likewise.
36861         * include/sys/select.h: Likewise.
36862         * include/sys/socket.h: Likewise.
36863         * include/sys/stat.h: Likewise.
36864         * include/sys/statvfs.h: Likewise.
36865         * include/sys/time.h: Likewise.
36866         * include/sys/times.h: Likewise.
36867         * include/sys/uio.h: Likewise.
36868         * include/sys/utsname.h: Likewise.
36869         * include/sys/wait.h: Likewise.
36870         * include/termios.h: Likewise.
36871         * include/time.h: Likewise.
36872         * include/ulimit.h: Likewise.
36873         * include/unistd.h: Likewise.
36874         * include/utime.h: Likewise.
36875         * include/wchar.h: Likewise.
36876         * include/wctype.h: Likewise.
36877         * include/wordexp.h: Likewise.
36879         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36881         * time/time.h: TIME_UTC must be a macro.
36882         Make timespec_get available for ISO C11 only as well.
36884 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
36886         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36887         Reported by Peng Haitao <penght@cn.fujitsu.com>.
36889 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36891         * configure.in: Use -o not -a in test for unsupported multi-arch.
36893 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36895         * manual/texinfo.tex: Update to version 2012-01-19.16.
36897 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36899         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36901 2012-02-24  Roland McGrath  <roland@hack.frob.com>
36903         [BZ #13738]
36904         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36905         * manual/fdl-1.3.texi: New file.
36906         * manual/fdl-1.1.texi: File removed.
36908         [BZ #13738]
36909         * manual/libc.texinfo (FDL_VERSION): New @set.
36910         Use it for mention of FDL in cover text.
36911         (Documentation License): Use it in @include file name.
36913 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36914             Roland McGrath  <roland@hack.frob.com>
36916         [BZ #5461]
36917         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36918         (not LONG_LONG_MAX and LONG_LONG_MIN.
36919         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36920         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
36921         name.
36922         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36924 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36926         [BZ #2547]
36927         [BZ #11365]
36928         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36929         manipulate bits before adding and subtracting TWO23[sx].
36930         * math/libm-test.inc (nearbyint_test): Add more tests.
36932 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36934         [BZ #2548]
36935         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36936         bits before adding and subtracting TWO23[sx].
36937         * math/libm-test.inc (rint_test): Add more tests.
36938         (rint_test_tonearest): Likewise.
36939         (rint_test_towardzero): Likewise.
36940         (rint_test_downward): Likewise.
36941         (rint_test_upward: Likewise.
36943 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36945         [BZ #10110]
36946         * include/stdc-predef.h: New file.  Extracted from features.h.
36947         * include/features.h: Include stdc-predef.h.
36948         * Makefile (headers): Add stdc-predef.h.
36949         * CONFORMANCE (Compiler limitations): Update.
36951 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36953         * manual/libc.texinfo (VERSION, UPDATED): Revert.
36955 2012-02-21  David S. Miller  <davem@davemloft.net>
36957         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36958         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36960 2012-02-20  David S. Miller  <davem@davemloft.net>
36962         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36963         using a normal save/restore sequence, rather than allocating a
36964         dummy stack frame just to store a frame pointer and restore.
36965         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36967 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36969         * manual/install.texi: Fix stray word in line-wrapped comment.
36971 2012-02-20  David S. Miller  <davem@davemloft.net>
36973         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36974         both binutils and gcc support GOTDATA.
36976         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36977         "rd %pc" in the PIC register setup sequences.
36979         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36980         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36981         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36982         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36983         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36984         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36985         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36986         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36987         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36988         (SYSCALL_ERROR_HANDLER): Likewise.
36989         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36990         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36991         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36992         (SYSCALL_ERROR_HANDLER): Likewise.
36994         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36995         (HAVE_GCC_GOTDATA): New.
36996         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36997         relocation support in both binutils and gcc.
36998         * sysdeps/sparc/elf/configure: Regenerate.
37000         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37001         * sysdeps/sparc/sparc32/elf/configure: Delete.
37002         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37003         * sysdeps/sparc/sparc64/elf/configure: Delete.
37004         * sysdeps/sparc/elf/configure.in: New file.
37005         * sysdeps/sparc/elf/configure: Generate.
37007         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37008         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37009         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37010         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37011         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37013 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
37015         * manual/install.texi: Do not mention specific glibc version
37016         numbers.
37017         * manual/libc.texinfo (VERSION, UPDATED): Update.
37018         (@copying): Use @copyright{} and range of years.
37020 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
37022         [BZ #13695]
37023         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37024         [crti.S not in sysdirs] (generated): Do not append.
37025         [crti.S not in sysdirs] (omit-deps): Likewise.
37026         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37027         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37028         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37029         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37030         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37031         Likewise.
37032         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37033         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37034         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37035         * csu/defs.awk: Remove file.
37036         * sysdeps/generic/initfini.c: Likewise.
37037         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37038         variable.
37039         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37040         Likewise.
37042 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
37044         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37045         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37046         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37047         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37048         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37049         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37050         <bits/epoll.h>.
37051         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37052         (__EPOLL_PACKED): Define to empty if not defined by
37053         <bits/epoll.h>.
37054         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37055         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37056         bits/epoll.h.
37058 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
37060         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37061         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37062         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37063         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37064         <bits/timerfd.h>.
37065         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37066         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37067         bits/timerfd.h.
37069 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
37071         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37072         in C locale.
37073         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37074         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37075         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37078 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
37080         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37081         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37083 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
37085         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37086         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37087         defined.
37088         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37089         Likewise.
37090         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37091         entry for 2.16.
37093 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
37095         * math/w_acos.c: Use non-signaling floating-point comparisons.
37096         * math/w_acosf.c: Likewise.
37097         * math/w_acosh.c: Likewise.
37098         * math/w_acoshf.c: Likewise.
37099         * math/w_acoshl.c: Likewise.
37100         * math/w_acosl.c: Likewise.
37101         * math/w_asin.c: Likewise.
37102         * math/w_asinf.c: Likewise.
37103         * math/w_asinl.c: Likewise.
37104         * math/w_atanh.c: Likewise.
37105         * math/w_atanhf.c: Likewise.
37106         * math/w_atanhl.c: Likewise.
37107         * math/w_exp2.c: Likewise.
37108         * math/w_exp2f.c: Likewise.
37109         * math/w_exp2l.c: Likewise.
37110         * math/w_j0.c: Likewise.
37111         * math/w_j0f.c: Likewise.
37112         * math/w_j0l.c: Likewise.
37113         * math/w_j1.c: Likewise.
37114         * math/w_j1f.c: Likewise.
37115         * math/w_j1l.c: Likewise.
37116         * math/w_jn.c: Likewise.
37117         * math/w_jnf.c: Likewise.
37118         * math/w_log.c: Likewise.
37119         * math/w_log10.c: Likewise.
37120         * math/w_log10f.c: Likewise.
37121         * math/w_log10l.c: Likewise.
37122         * math/w_log2.c: Likewise.
37123         * math/w_log2f.c: Likewise.
37124         * math/w_log2l.c: Likewise.
37125         * math/w_logf.c: Likewise.
37126         * math/w_logl.c: Likewise.
37127         * math/w_sqrt.c: Likewise.
37128         * math/w_sqrtf.c: Likewise.
37129         * math/w_sqrtl.c: Likewise.
37130         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37131         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37132         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37133         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37134         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37136 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
37138         [BZ #9739]
37139         * manual/string.texi (strnlen): Use correct parameter name in
37140         equivalent expression.
37142 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
37144         [BZ #11174]
37145         * manual/users.texi (seteuid): Consistently use neweuid for
37146         argument name.
37148 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
37150         [BZ #13704]
37151         * manual/nss.texi (Services in the NSS configuration): Correct
37152         list of services in example configuration file.
37154 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
37156         [BZ #11322]
37157         * manual/arith.texi: Remove statements about negative zero
37158         behaving identically to zero.
37160 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
37162         [BZ #5993]
37163         * manual/install.texi: Do not document upgrading from libc5.
37165 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
37167         [BZ #4596]
37168         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37170 2012-02-18  David S. Miller  <davem@davemloft.net>
37172         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37173         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37174         %o7 across the call.
37175         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37176         instead.
37177         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37178         SETUP_PIC_REG_LEAF.
37179         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37180         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37181         * sysdeps/sparc/crtn.S: Likewise.
37183 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
37185         * aout/Makefile: Remove.
37187 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
37189         [BZ #13058]
37190         * manual/examples/argp-ex1.c (main): Format definition in GNU
37191         style.
37192         * manual/examples/argp-ex2.c (main): Likewise.
37193         * manual/examples/argp-ex3.c (main): Likewise.
37194         * manual/examples/argp-ex4.c (main): Likewise.
37195         * manual/examples/longopt.c (main): Use new-style prototype
37196         definition.
37197         * manual/examples/strncat.c (main): Specify return type and use
37198         (void) for arguments.
37199         * manual/examples/subopt.c (main): Use char **argv argument.
37201 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37203         [BZ #5077]
37204         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37205         rounding modes.
37207 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
37209         [BZ #6907]
37210         * manual/string.texi (strchr): Change when strchrnul is
37211         recommended.
37213 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
37215         [BZ #174]
37216         * manual/locale.texi (setlocale): Document LOCPATH.
37218 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37220         [BZ #10210]
37221         * manual/process.texi (execle): Move @dots{} before last argument.
37223 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
37225         [BZ #12047]
37226         * manual/charset.texi (Generic Charset Conversion): Fix typo
37227         (LC_TYPE -> LC_CTYPE).
37229 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
37231         [BZ #5805]
37232         * manual/arith.texi (scalbn): Use @var{} on parameter names.
37233         (scalbnf): Likewise.
37234         (scalbnl): Likewise.
37235         (scalbln): Likewise.
37236         (scalblnf): Likewise.
37237         (scalblnl): Likewise.
37238         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37239         (vwarnx): Likewise.
37240         (verr): Likewise.
37241         (verrx): Likewise.
37242         * manual/filesys.texi (telldir): Use braces around return type.
37243         * manual/llio.texi (mmap): Add space after comma.
37244         (mmap64): Likewise.
37245         * manual/math.texi (jn): Use @var{} on parameter names.
37246         (jnf): Likewise.
37247         (jnl): Likewise.
37248         (yn): Likewise.
37249         (ynf): Likewise.
37250         (ynl): Likewise.
37251         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37252         line.
37253         * manual/resource.texi (ulimit): Use @dots{} instead of literal
37254         "...".
37255         (sched_get_priority_min): Remove semicolon on @deftypefun line.
37256         (sched_get_priority_max): Likewise.
37257         * manual/signal.texi (sigvec): Add space after comma.
37258         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37259         names.
37260         (if_indextoname): Likewise.
37261         (if_freenameindex): Likewise.
37262         (sendto): Use ',' instead of '.' in prototype.
37263         * manual/startup.texi (syscall): Use @dots{} instead of literal
37264         "...".
37265         * manual/stdio.texi (__fpending): Separate initial words of
37266         paragraph from @deftypefun line.
37267         * manual/syslog.texi (syslog): Use @dots{} instead of literal
37268         "...".
37269         (vsyslog): Use @var{} on parameter names.
37270         * manual/terminal.texi (stty): Use @var{} on parameter names.
37271         * manual/users.texi (getutmp): Use @var{} on parameter names.
37272         (getutmpx): Likewise.
37274 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37276         [BZ #6884]
37277         * manual/stdio.texi (fopen): Fix typos in description of
37278         ",ccs=STRING".
37280 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
37282         [BZ #4026]
37283         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37284         get clock_id definition.
37286 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
37288         [BZ #4822]
37289         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37290         (madvise): Cast every argument to void on its own.
37292 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37294         [BZ #9902]
37295         * manual/startup.texi (Exit Status): Fix typo.
37297 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37299         [BZ #10140]
37300         * manual/examples/argp-ex1.c: Include <stdlib.h>.
37301         * manual/examples/argp-ex2.c: Likewise.
37302         * manual/examples/argp-ex3.c: Likewise.
37304 2012-02-16  Richard Henderson  <rth@redhat.com>
37306         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37307         * sysdeps/s390/s390-32/initfini.c: Remove.
37308         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37309         * sysdeps/s390/s390-64/initfini.c: Remove.
37311 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37313         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37314         compiler output for sysdeps/generic/initfini.c.
37315         * sysdeps/sh/elf/initfini.c: Remove file.
37317 2012-02-16  David S. Miller  <davem@davemloft.net>
37319         [BZ #11494]
37320         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37322         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37323         * sysdeps/sparc/crti.S: New file.
37324         * sysdeps/sparc/crtn.S: New file.
37325         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37326         * sysdeps/sparc/sparc64/Makefile: Likewise.
37328 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
37330         [BZ #3335]
37331         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37333 2012-02-15  Roland McGrath  <roland@hack.frob.com>
37335         [BZ #4822]
37336         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37338         * mach/devstream.c (cookie_io_functions_t): Macro removed.
37339         (write, read, close): Likewise.
37340         Patch by Aurelien Jarno <aurelien@aurel32.net>.
37342 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
37344         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37345         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37346         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37347         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37348         <bits/signalfd.h>.
37349         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37350         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37351         bits/signalfd.h.
37353 2012-02-14  Marek Polacek  <polacek@redhat.com>
37355         * sysdeps/x86_64/crti.S: New file.
37356         * sysdeps/x86_64/crtn.S: New file.
37357         * sysdeps/x86_64/elf/initfini.c: Remove file.
37359 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
37361         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37362         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37363         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37364         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37365         <bits/inotify.h>.
37366         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37367         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37368         bits/inotify.h.
37370 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
37372         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37373         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37374         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37375         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37376         <bits/eventfd.h>.
37377         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37378         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37379         bits/eventfd.h.
37381 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
37383         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37384         __feraiseexcept instead of feraiseexcept.
37386         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37387         nanosleep invocations.
37388         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37389         strings, and add error checking for a nanosleep invocations.
37391 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
37393         Replace FSF snail mail address with URLs, as per GNU coding standards.
37394         Most of the snail mail addresses were wrong anyway, and omitting
37395         them makes the source code easier to maintain.  Almost all of the
37396         changes are to license notices and to locale LC_IDENTIFICATION
37397         addresses, except for this one:
37398         * manual/libc.texinfo: In "Published by", give the FSF's URL,
37399         not its snail mail address.
37401 2012-02-09  Richard Henderson  <rth@twiddle.net>
37403         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37404         of kernel-features.h.
37406         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37408 2012-02-08  Marek Polacek  <polacek@redhat.com>
37410         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37411         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37412         * sysdeps/gnu/_G_config.h: Likewise.
37413         * sysdeps/generic/_G_config.h: Likewise.
37415 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
37417         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37418         tests.
37419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37421         * sysdeps/powerpc/powerpc32/crti.S: New file.
37422         * sysdeps/powerpc/powerpc32/crtn.S: New file.
37423         * sysdeps/powerpc/powerpc64/crti.S: New file.
37424         * sysdeps/powerpc/powerpc64/crtn.S: New file.
37426         * Makeconfig (have-initfini): Don't set.
37427         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37428         * configure.in (nopic_initfini): Don't substitute.
37429         * config.h.in (HAVE_INITFINI): Don't #undef.
37430         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37431         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37433 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
37435         Support crti.S and crtn.S provided directly by architectures.
37436         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37437         [crti.S in sysdirs] (omit-deps): Likewise.
37438         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37439         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37440         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37441         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37442         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37443         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37444         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37445         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37446         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37447         compiler output for sysdeps/generic/initfini.c.
37448         * sysdeps/i386/elf/Makefile: Remove file.
37449         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37451 2012-02-07  Marek Polacek  <polacek@redhat.com>
37453         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37454         * sysdeps/gnu/_G_config.h: Likewise.
37455         * sysdeps/mach/hurd/_G_config.h: Likewise.
37457 2012-02-07  Marek Polacek  <polacek@redhat.com>
37459         * math/Makefile (tests): Add tst-CMPLX2.
37460         * math/tst-CMPLX2.c: New file.
37462 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
37464         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37466         * math/libm-test.inc (jn_test): Add missing L suffix.
37468 2012-02-06  Marek Polacek  <polacek@redhat.com>
37470         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37471         * sysdeps/i386/fpu/e_powf.S: Likewise.
37472         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37473         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37474         * sysdeps/i386/fpu/e_acosh.S: Likewise.
37475         * sysdeps/i386/fpu/e_pow.S: Likewise.
37476         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37477         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37478         * sysdeps/i386/fpu/s_expm1.S: Likewise.
37479         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37480         * sysdeps/i386/fpu/e_log2.S: Likewise.
37481         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37482         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37483         * sysdeps/i386/fpu/e_powl.S: Likewise.
37484         * sysdeps/i386/fpu/s_log1p.S: Likewise.
37485         * sysdeps/i386/fpu/e_log10f.S: Likewise.
37486         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37487         * sysdeps/i386/fpu/e_logl.S: Likewise.
37488         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37489         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37490         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37491         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37492         * sysdeps/i386/fpu/e_log2f.S: Likewise.
37493         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37494         * sysdeps/i386/fpu/e_log.S: Likewise.
37495         * sysdeps/i386/fpu/s_cexp.S: Likewise.
37496         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37497         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37498         * sysdeps/i386/fpu/e_logf.S: Likewise.
37499         * sysdeps/i386/fpu/e_log10l.S: Likewise.
37500         * sysdeps/i386/fpu/e_atanh.S: Likewise.
37501         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37502         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37503         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37504         * sysdeps/i386/fpu/e_log10.S: Likewise.
37505         * sysdeps/i386/fpu/s_frexp.S: Likewise.
37506         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37507         * sysdeps/i386/fpu/s_asinh.S: Likewise.
37508         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37509         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37510         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37511         * sysdeps/i386/asm-syntax.h: Likewise.
37512         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37513         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37514         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37515         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37516         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37517         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37518         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37519         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37520         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37521         * sysdeps/powerpc/sysdep.h: Likewise.
37522         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37523         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37525 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
37527         [BZ #411]
37528         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37530 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
37532         * sysdeps/i386/sysdep.h: Include <features.h>.
37533         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37534         version.
37536 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
37538         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37539         Define.
37540         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37541         LOAD_PIC_REG_STR.
37543 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
37545         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37546         (SETUP_PIC_REG): Use GET_PC_THUNK.
37547         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37548         macro.
37550 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
37552         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37553         for non-PIC compilation.
37554         (SETUP_PIC_REG): Add .p2align directive.
37555         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37556         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37557         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37558         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37559         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37560         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37561         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37562         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37563         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37564         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37565         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37566         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37567         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37568         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37569         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37570         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37571         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37572         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37573         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37574         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37575         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37576         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37577         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37578         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37579         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37580         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37581         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37582         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37583         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37584         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37585         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37586         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37587         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37588         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37589         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37590         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37591         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37592         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37593         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37594         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37595         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37597 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
37599         * math/tst-CMPLX.c: Include <stdio.h>.
37601 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
37603         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37604         float.
37605         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37606         * sysdeps/sparc/bits/mathdef.h: Likewise.
37608 2012-01-31  Marek Polacek  <polacek@redhat.com>
37610         * libio/libio.h: Don't define _PARAMS.
37611         * locale/programs/config.h: Don't define PARAMS.
37612         * stdlib/strtol_l.c: Likewise.
37613         (__strtol_l): Remove PARAMS from the prototype.
37615 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
37617         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
37618         names.  Just use the correct names.  Remove unnecessary wrapper
37619         functions.
37620         * malloc/arena.c: Likewise.
37621         * malloc/hooks.c: Likewise.
37623         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37624         ARENA_TEST says not to.  Simplify test for creation of a new arena.
37625         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37627 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
37629         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37630         into tail calls.
37631         (update_get_addr): New function.
37632         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37633         GET_ADDR_MODULE parameter.
37635 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
37637         * crypt/cert.c: Remove __STDC__ conditionals.
37638         * crypt/crypt-entry.c: Likewise.
37639         * crypt/crypt_util.c: Likewise.
37640         * libio/filedoalloc.c: Likewise.
37641         * libio/fileops.c: Likewise.
37642         * libio/genops.c: Likewise.
37643         * libio/iofclose.c: Likewise.
37644         * libio/iofdopen.c: Likewise.
37645         * libio/iofopen.c: Likewise.
37646         * libio/iofopen64.c: Likewise.
37647         * libio/iogetdelim.c: Likewise.
37648         * libio/iopopen.c: Likewise.
37649         * libio/obprintf.c: Likewise.
37650         * libio/oldfileops.c: Likewise.
37651         * libio/oldiofclose.c: Likewise.
37652         * libio/oldiofdopen.c: Likewise.
37653         * libio/oldiofopen.c: Likewise.
37654         * libio/oldiopopen.c: Likewise.
37655         * libio/wfiledoalloc.c: Likewise.
37656         * libio/wgenops.c: Likewise.
37657         * locale/programs/xmalloc.c: Likewise.
37658         * misc/syslog.c: Likewise.
37659         * stdio-common/xbug.c: Likewise.
37660         * string/memchr.c: Likewise.
37661         * string/memcmp.c: Likewise.
37662         * string/memrchr.c: Likewise.
37663         * string/rawmemchr.c: Likewise.
37664         * sysdeps/posix/getcwd.c: Likewise.
37665         * time/strftime_l.c: Likewise.
37667 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
37669         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37670         * config.make.in (config-cflags-sse2avx): Define.
37671         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37672         Fix typo.
37674 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
37676         * scripts/config.guess: Update from upstream config git repository.
37677         * scripts/config.sub: Likewise.
37679 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
37681         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37682         (EM_NUM): Update.
37683         (R_TILEPRO_*, R_TILEGX_*): New macros.
37685         * scripts/firstversions.awk: Fix bug in version range handling.
37687         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37689         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37691         * include/sys/epoll.h: New file.
37692         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37693         libc_hidden_def.
37695 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
37697         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37698         Avoid unnecessary __WORDSIZE == 64 test.
37699         (fmaxf): Use VEX format if possible.
37700         (fmax): Likewise.
37701         (fminf): Likewise.
37702         (fmin): Likewise.
37704         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37705         * math/math_private.h: Remove libc_fegetround* and
37706         libc_fesetround*.
37707         * sysdeps/i386/configure.in: Check for -msse2avx.
37708         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37709         also if SSE2AVX is defined.
37710         Remove libc_fegetround* and libc_fesetround*.
37711         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37712         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
37713         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37714         of HAS_YMM_USABLE.
37715         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37716         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37717         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37718         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37719         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37721         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37723 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37725         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37726         size is not set.
37727         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37729 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
37731         [BZ #13618]
37732         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37733         relocation.
37734         * Makeconfig (libm): Define.
37735         * elf/Makefile: Add rules to build and run tst-relsort1.
37736         * elf/tst-relsort1.c: New file.
37737         * elf/tst-relsort1mod1.c: New file.
37738         * elf/tst-relsort1mod2.c: New file.
37740 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
37742         * math/s_ldexp.c: Remove __STDC__ conditionals.
37743         * math/s_ldexpf.c: Likewise.
37744         * math/s_ldexpl.c: Likewise.
37745         * math/s_nextafter.c: Likewise.
37746         * math/s_nexttowardf.c: Likewise.
37747         * math/s_significand.c: Likewise.
37748         * math/s_significandf.c: Likewise.
37749         * math/s_significandl.c: Likewise.
37750         * math/w_jnl.c: Likewise.
37751         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37752         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37753         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37754         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37755         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37756         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37757         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37758         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37759         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37760         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37761         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37762         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37763         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37764         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37765         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37766         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37767         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37768         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37769         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37770         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37771         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37772         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37773         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37774         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37775         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37776         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37777         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37778         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37779         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37780         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37781         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37782         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37783         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37784         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37785         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37786         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37787         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37788         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37789         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37790         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37791         * sysdeps/ieee754/k_standard.c: Likewise.
37792         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37793         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37794         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37795         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37796         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37797         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37798         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37799         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37800         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37801         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37802         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37803         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37804         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37805         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37806         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37807         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37808         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37809         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37810         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37811         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37812         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37813         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37814         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37815         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37816         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37817         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37818         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37819         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37820         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37821         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37822         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37823         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37824         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37825         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37826         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37827         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37828         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37829         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37830         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37831         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37832         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37833         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37834         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37835         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37836         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37837         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37838         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37839         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37840         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37841         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37842         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37843         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37844         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37845         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37846         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37847         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37848         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37849         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37850         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37851         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37852         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37853         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37854         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37855         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37856         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37857         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37858         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37859         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37860         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37861         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37862         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37863         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37864         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37865         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37866         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37867         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37868         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37869         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37870         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37871         * sysdeps/ieee754/s_matherr.c: Likewise.
37872         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37873         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37874         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37875         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37877 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
37879         * crypt/md5.h: Remove __STDC__ conditionals.
37880         * libio/libioP.h: Likewise.
37881         * locale/programs/config.h: Likewise.
37882         * sysdeps/generic/sysdep.h: Likewise.
37883         * sysdeps/i386/asm-syntax.h: Likewise.
37884         * sysdeps/s390/asm-syntax.h: Likewise.
37885         * sysdeps/unix/sysdep.h: Likewise.
37886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37889 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
37891         * libio/libio.h: Remove __STDC__ conditionals.
37892         * malloc/obstack.h: Likewise.
37893         * math/complex.h: Likewise.
37894         * math/math.h: Likewise.
37895         * sysdeps/generic/_G_config.h: Likewise.
37896         * sysdeps/gnu/_G_config.h: Likewise.
37897         * sysdeps/mach/hurd/_G_config.h: Likewise.
37898         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37899         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37900         * sysdeps/sparc/bits/mathdef.h: Likewise.
37902 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
37904         [BZ #13583]
37905         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37906         Clean up HAS_* macros.
37907         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37908         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37909         possible.
37910         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37911         HAS_AVX.
37912         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37913         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37914         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37915         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37916         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37918 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
37920         * elf/tst-unique3.cc (gets): Remove declaration.
37921         * elf/tst-unique3lib.cc (gets): Likewise.
37922         * elf/tst-unique3lib2.cc (gets): Likewise.
37923         * elf/tst-unique4.cc (gets): Likewise.
37925 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
37927         * include/stdio.h: Add C++ protection.  Add gets declarations and
37928         definitions.
37929         * debug/tst-chk1.c: Don't declare gets here.
37930         * stdio-common/tst-gets.c: Likewise.
37932 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
37934         * posix/glob: Remove directory.
37936 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
37938         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37940 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
37942         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37943         of the non-standard EPFNOSUPPORT.
37945 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37947         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37948         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37949         ANYWHERE set to 1 only on KERN_NO_SPACE error.
37951 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
37953         * wcsmbs/uchar.h: Test __STDC_VERSION__.
37955 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
37957         * nscd/aicache.c (addhstaiX): Do not cache negative results of
37958         transient errors.
37959         * nscd/grpcache.c (cache_addgr): Likewise.
37960         * nscd/hstcache.c (cache_addhst): Likewise.
37961         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37962         * nscd/pwdcache.c (cache_addpw): Likewise.
37963         * nscd/servicescache.c (cache_addserv): Likewise.
37965 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
37967         * malloc/malloc.c: Various cleanups.
37968         * malloc/hooks.c: Likewise.
37970         * stdlib/Makefile (tests): Add bug-fmtmsg1.
37971         * stdlib/bug-fmtmsg1.c: New file.
37973         * stdlib/fmtmsg.c (init): Add missing unlock.
37974         Patch by Peng Haitao <penght@cn.fujitsu.com>.
37976 2012-01-12  Marek Polacek  <polacek@redhat.com>
37978         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37979         and _GNU_SOURCE.
37981 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
37983         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37984         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37985         macro to ensure uniqueness of label name.
37986         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37987         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37989 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
37991         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37993         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37994         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37995         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37996         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37998 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
38000         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38002         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38003         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38004         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38006         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38008         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
38009         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38010         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38011         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
38013         * math/bits/math-finite.h: Add ldexp support.
38015 2012-01-10  Marek Polacek  <polacek@redhat.com>
38017         * locale/programs/localedef.h (show_archive_content): Add noreturn
38018         attribute.
38020 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
38022         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38024 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
38026         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38028         * io/Makefile (headers): Add bits/poll2.h.
38030 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
38032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38033         typo #include statement.
38035 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
38037         * include/sys/cdefs.h: Define __attribute_alloc_size.
38038         * catgets/gencat.c: Add alloc_size attribute and apply consistently
38039         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38040         * elf/pldd.c: Likewise.
38041         * iconv/iconv_charmap.c: Likewise.
38042         * iconv/iconvconfig.c: Likewise.
38043         * iconv/strtab.c: Likewise.
38044         * locale/programs/locale.c: Likewise.
38045         * locale/programs/localedef.h: Likewise.
38046         * locale/programs/simple-hash.c: Likewise.
38047         * nscd/nscd.h: Likewise.
38048         * nss/makedb.c: Likewise.
38049         * sysdeps/generic/ldconfig.h: Likewise.
38050         * locale/programs/localedef.c: Remove xmalloc prototype.
38051         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38053 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
38055         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38056         appropriate.
38058 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
38060         * math/Makefile (tests): Add tst-CMPLX.
38061         * math/tst-CMPLX.c: New file.
38063         * math/complex.h (CMPLXL): Fix typo.
38065         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38066         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38067         GLIBC_2.16.
38068         * debug/tst-chk1.c: Add poll and ppoll tests.
38069         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38070         * include/sys/poll.h: Add hidden proto for ppoll.
38071         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38072         * sysdeps/mach/hurd/ppoll.c: Likewise.
38073         * io/ppoll.c: Likewise.
38074         * debug/poll_chk.c: New file.
38075         * debug/ppoll_chk.c: New file.
38076         * include/bits/poll2.h: New file.
38077         * io/bits/poll2.h: New file.
38079         [BZ #1350]
38080         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38082         * configure.in: static is always set to yes.  Remove.
38083         * config.make.in: Don't set build-static.
38084         * Makeconfig: Remove use of build-static.
38085         * dlfcn/Makefile: Likewise.
38086         * elf/Makefile: Likewise.
38087         * math/Makefile: Likewise.
38088         * misc/Makefile: Likewise.
38089         * nptl/Makefile: Likewise.
38090         * sysdeps/mach/hurd/Makefile: Likewise.
38092         * configure.in: PWD_P is not used anymore.
38093         * config.make.in: Remove PWD_P entry.
38095         * configure.in: Remove last remnants of RANLIB.
38096         No need to check for signed size_t anymore.
38097         Don't set libc_commonpagesize and libc_relro_required here for Alpha
38098         and IA-64.
38099         Remove __builtin_expect test because we require at least gcc 3.4.
38100         * aclocal.m4: Likewise.
38102         * wcsmbs/mbrtoc16.c: Implement using towc function.
38103         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38104         * wcsmbs/wcsmbsload.c: Likewise.
38105         * iconv/gconv_simple.c: Likewise.
38106         * iconv/gconv_int.h: Likewise.
38107         * iconv/gconv_builtin.h: Likewise.
38108         * iconv/iconv_prog.c: Remove CHAR16 handling.
38110         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38112         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38114         * configure.in: Remove --with-elf and --enable-bounded options.
38115         Dont set base_machine for ia64.  More non-ELF conditions removed.
38116         Remove testing and setting of leading underscore information.
38117         * config.make.in (build-bounded): Set to no.
38118         * config.h.in: Remove NO_UNDERSCORES entry.
38119         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
38120         them.
38121         * csu/start.c: Remove !NO_UNDERSCORE code.
38122         * locale/localeinfo.h: Likewise.
38123         * sysdeps/generic/machine-gmon.h: Likewise.
38124         * sysdeps/generic/sysdep.h: Likewise.
38125         * sysdeps/i386/sysdep.h: Likewise.
38126         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38127         * sysdeps/mach/sysdep.h: Likewise.
38128         * sysdeps/s390/s390-32/sysdep.h: Likewise.
38129         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38130         * sysdeps/sh/sysdep.h: Likewise.
38131         * sysdeps/sparc/sparc32/alloca.S: Likewise.
38132         * sysdeps/unix/i386/sysdep.S: Likewise.
38133         * sysdeps/unix/sparc/start.c: Likewise.
38134         * sysdeps/unix/sparc/sysdep.S: Likewise.
38135         * sysdeps/unix/sparc/sysdep.h: Likewise.
38136         * sysdeps/unix/start.c: Likewise.
38137         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38138         * sysdeps/x86_64/sysdep.h: Likewise.
38140 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
38142         [BZ #13553]
38143         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38144         for non-gcc.
38145         * argp/argp-fmtstream.h: Use const instead __const.
38146         * argp/argp.h: Likewise.
38147         * assert/assert.h: Likewise.
38148         * bits/fenv.h: Likewise.
38149         * bits/sched.h: Likewise.
38150         * bits/sigset.h: Likewise.
38151         * bits/sigthread.h: Likewise.
38152         * catgets/nl_types.h: Likewise.
38153         * conform/data/pthread.h-data: Likewise.
38154         * crypt/crypt-private.h: Likewise.
38155         * crypt/crypt.h: Likewise.
38156         * crypt/crypt_util.c: Likewise.
38157         * ctype/ctype.h: Likewise.
38158         * debug/execinfo.h: Likewise.
38159         * debug/mbsnrtowcs_chk.c: Likewise.
38160         * debug/mbsrtowcs_chk.c: Likewise.
38161         * debug/wcsnrtombs_chk.c: Likewise.
38162         * debug/wcsrtombs_chk.c: Likewise.
38163         * debug/wcstombs_chk.c: Likewise.
38164         * dirent/dirent.h: Likewise.
38165         * dlfcn/dlfcn.h: Likewise.
38166         * elf/neededtest4.c: Likewise.
38167         * grp/grp.h: Likewise.
38168         * gshadow/gshadow.h: Likewise.
38169         * iconv/gconv.h: Likewise.
38170         * iconv/gconv_int.h: Likewise.
38171         * iconv/gconv_simple.c: Likewise.
38172         * iconv/iconv.h: Likewise.
38173         * iconv/loop.c: Likewise.
38174         * iconv/skeleton.c: Likewise.
38175         * include/aio.h: Likewise.
38176         * include/aliases.h: Likewise.
38177         * include/argz.h: Likewise.
38178         * include/arpa/inet.h: Likewise.
38179         * include/assert.h: Likewise.
38180         * include/dirent.h: Likewise.
38181         * include/dlfcn.h: Likewise.
38182         * include/execinfo.h: Likewise.
38183         * include/fcntl.h: Likewise.
38184         * include/fenv.h: Likewise.
38185         * include/glob.h: Likewise.
38186         * include/grp.h: Likewise.
38187         * include/libintl.h: Likewise.
38188         * include/mntent.h: Likewise.
38189         * include/netdb.h: Likewise.
38190         * include/pwd.h: Likewise.
38191         * include/rpc/netdb.h: Likewise.
38192         * include/sched.h: Likewise.
38193         * include/search.h: Likewise.
38194         * include/shadow.h: Likewise.
38195         * include/signal.h: Likewise.
38196         * include/stdio.h: Likewise.
38197         * include/stdlib.h: Likewise.
38198         * include/string.h: Likewise.
38199         * include/sys/socket.h: Likewise.
38200         * include/sys/stat.h: Likewise.
38201         * include/sys/statfs.h: Likewise.
38202         * include/sys/statvfs.h: Likewise.
38203         * include/sys/syslog.h: Likewise.
38204         * include/sys/time.h: Likewise.
38205         * include/sys/uio.h: Likewise.
38206         * include/time.h: Likewise.
38207         * include/unistd.h: Likewise.
38208         * include/utmp.h: Likewise.
38209         * include/wchar.h: Likewise.
38210         * include/wctype.h: Likewise.
38211         * inet/aliases.h: Likewise.
38212         * inet/arpa/inet.h: Likewise.
38213         * inet/netinet/ether.h: Likewise.
38214         * inet/netinet/in.h: Likewise.
38215         * intl/libintl.h: Likewise.
38216         * io/bits/fcntl2.h: Likewise.
38217         * io/fcntl.h: Likewise.
38218         * io/ftw.h: Likewise.
38219         * io/sys/poll.h: Likewise.
38220         * io/sys/stat.h: Likewise.
38221         * io/sys/statfs.h: Likewise.
38222         * io/sys/statvfs.h: Likewise.
38223         * io/utime.h: Likewise.
38224         * libio/bits/stdio.h: Likewise.
38225         * libio/bits/stdio2.h: Likewise.
38226         * libio/libio.h: Likewise.
38227         * libio/libioP.h: Likewise.
38228         * libio/stdio.h: Likewise.
38229         * locale/lc-ctype.c: Likewise.
38230         * locale/locale.h: Likewise.
38231         * login/utmp.h: Likewise.
38232         * malloc/arena.c: Likewise.
38233         * malloc/malloc.c: Likewise.
38234         * malloc/malloc.h: Likewise.
38235         * malloc/mcheck.c: Likewise.
38236         * malloc/mtrace.c: Likewise.
38237         * math/bits/mathcalls.h: Likewise.
38238         * math/fenv.h: Likewise.
38239         * math/math_private.h: Likewise.
38240         * misc/bits/error.h: Likewise.
38241         * misc/bits/syslog.h: Likewise.
38242         * misc/err.h: Likewise.
38243         * misc/error.h: Likewise.
38244         * misc/fstab.h: Likewise.
38245         * misc/mntent.h: Likewise.
38246         * misc/regexp.h: Likewise.
38247         * misc/search.h: Likewise.
38248         * misc/sgtty.h: Likewise.
38249         * misc/sys/mman.h: Likewise.
38250         * misc/sys/syslog.h: Likewise.
38251         * misc/sys/uio.h: Likewise.
38252         * misc/sys/xattr.h: Likewise.
38253         * misc/ttyent.h: Likewise.
38254         * nis/rpcsvc/ypclnt.h: Likewise.
38255         * nss/nss.h: Likewise.
38256         * posix/bits/unistd.h: Likewise.
38257         * posix/fnmatch.h: Likewise.
38258         * posix/glob.h: Likewise.
38259         * posix/sched.h: Likewise.
38260         * posix/spawn.h: Likewise.
38261         * posix/sys/wait.h: Likewise.
38262         * posix/unistd.h: Likewise.
38263         * posix/wordexp.h: Likewise.
38264         * pwd/pwd.h: Likewise.
38265         * resolv/netdb.h: Likewise.
38266         * resource/sys/resource.h: Likewise.
38267         * rt/aio.h: Likewise.
38268         * rt/bits/mqueue2.h: Likewise.
38269         * rt/mqueue.h: Likewise.
38270         * shadow/shadow.h: Likewise.
38271         * signal/signal.h: Likewise.
38272         * socket/send.c: Likewise.
38273         * socket/sendto.c: Likewise.
38274         * socket/sys/socket.h: Likewise.
38275         * stdio-common/printf.h: Likewise.
38276         * stdlib/bits/stdlib.h: Likewise.
38277         * stdlib/fmtmsg.h: Likewise.
38278         * stdlib/monetary.h: Likewise.
38279         * stdlib/stdlib.h: Likewise.
38280         * stdlib/ucontext.h: Likewise.
38281         * streams/stropts.h: Likewise.
38282         * string/argz.h: Likewise.
38283         * string/bits/string2.h: Likewise.
38284         * string/string.h: Likewise.
38285         * string/strings.h: Likewise.
38286         * sunrpc/rpc/auth.h: Likewise.
38287         * sunrpc/rpc/auth_des.h: Likewise.
38288         * sunrpc/rpc/clnt.h: Likewise.
38289         * sunrpc/rpc/netdb.h: Likewise.
38290         * sunrpc/rpc/pmap_clnt.h: Likewise.
38291         * sunrpc/rpc/xdr.h: Likewise.
38292         * sysdeps/generic/inttypes.h: Likewise.
38293         * sysdeps/generic/net/if.h: Likewise.
38294         * sysdeps/generic/sys/swap.h: Likewise.
38295         * sysdeps/gnu/net/if.h: Likewise.
38296         * sysdeps/gnu/utmpx.h: Likewise.
38297         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38298         * sysdeps/i386/i486/bits/string.h: Likewise.
38299         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38300         * sysdeps/s390/bits/string.h: Likewise.
38301         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38302         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38303         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38304         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38305         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38306         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38307         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38308         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38309         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38310         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38311         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38312         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38313         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38314         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38315         * sysdeps/unix/sysv/linux/readv.c: Likewise.
38316         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38317         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38318         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38319         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38320         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38321         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38322         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38323         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38324         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38325         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38326         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38327         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38328         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38329         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38330         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38331         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38332         * sysvipc/sys/ipc.h: Likewise.
38333         * sysvipc/sys/msg.h: Likewise.
38334         * sysvipc/sys/sem.h: Likewise.
38335         * sysvipc/sys/shm.h: Likewise.
38336         * termios/termios.h: Likewise.
38337         * time/sys/time.h: Likewise.
38338         * time/time.h: Likewise.
38339         * wcsmbs/bits/wchar2.h: Likewise.
38340         * wcsmbs/uchar.h: Likewise.
38341         * wcsmbs/wchar.h: Likewise.
38342         * wctype/wctype.h: Likewise.
38344         [BZ #13551]
38345         * Makeconfig: Remove all but ELF support including AIX support.
38346         * Makerules: Likewise.
38347         * config.h.in: Likewise.
38348         * config.make.in: Likewise.
38349         * configure: Likewise.
38350         * configure.in: Likewise.
38351         * csu/Makefile: Likewise.
38352         * csu/version.c: Likewise.
38353         * debug/Makefile: Likewise.
38354         * dlfcn/Makefile: Likewise.
38355         * elf/Makefile: Likewise.
38356         * extra-lib.mk: Likewise.
38357         * iconv/Makefile: Likewise.
38358         * include/libc-symbols.h: Likewise.
38359         * include/shlib-compat.h: Likewise.
38360         * resolv/Makefile: Likewise.
38361         * resolv/res_libc.c: Likewise.
38362         * rt/Makefile: Likewise.
38363         * sysdeps/i386/asm-syntax.h: Likewise.
38364         * sysdeps/i386/sysdep.h: Likewise.
38365         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38366         * sysdeps/mach/sysdep.h: Likewise.
38367         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38368         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38369         * sysdeps/s390/asm-syntax.h: Likewise.
38370         * sysdeps/s390/s390-32/sysdep.h: Likewise.
38371         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38372         * sysdeps/sh/sysdep.h: Likewise.
38373         * sysdeps/unix/sparc/sysdep.h: Likewise.
38374         * sysdeps/wordsize-32/divdi3.c: Likewise.
38375         * sysdeps/x86_64/sysdep.h: Likewise.
38377         * argp/Versions: Remove _argp_unlock_xxx.
38379         [BZ #13559]
38380         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
38381         * abilist/libBrokenLocale.abilist: Likewise.
38382         * abilist/libanl.abilist: Likewise.
38383         * abilist/libc.abilist: Likewise.
38384         * abilist/libcrypt.abilist: Likewise.
38385         * abilist/libdl.abilist: Likewise.
38386         * abilist/libm.abilist: Likewise.
38387         * abilist/libnsl.abilist: Likewise.
38388         * abilist/libpthread.abilist: Likewise.
38389         * abilist/libresolv.abilist: Likewise.
38390         * abilist/librt.abilist: Likewise.
38391         * abilist/libthread_db.abilist: Likewise.
38392         * abilist/libutil.abilist: Likewise.
38393         * abilist/libnss_db.abilist: New file.
38395         * scripts/abilist.awk: Add support for indirect functions.
38397         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38399         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38401         * shlib-versions: Remove entries for ports architectures.
38403         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
38404         files in ports.
38405         * elf/stackguard-macros.h: Remove support for IA-64.
38406         * elf/tst-auditmod1.c: Likewise.
38407         * sysdeps/generic/ldsodefs.h: Likewise.
38409         * sysdeps/unix/sysv/linux/configure.in: Ports should define
38410         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38411         configure files.
38413         [BZ #13552]
38414         * configure.in: Remove --enable-omitfp support.
38415         * FAQ.in: Adjust.
38416         * config.make.in: Likewise.
38417         * Makeconfig: Likewise.
38418         * manual/install.texi: Likewise.
38420         In case anyone cares, the IA-64 architecture could move to ports.
38421         * sysdeps/ia64/*: Removed.
38422         * sysdeps/unix/sysv/linux/ia64/*: Removed.
38423         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
38425         [BZ #13555]
38426         * configure.in: Remove entries for unsupported architectures.
38428         [BZ #13533]
38429         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38430         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
38431         routines.
38432         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38433         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38434         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
38435         fall back to using wcrtomb.
38436         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38437         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
38438         renaming.
38439         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38440         * wcsmbs/tst-c16c32-1.c: New file.
38442         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38443         local variable.
38445         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38447         * elf/tst-unique3.cc: Add explicit declaration of gets.
38448         * elf/tst-unique3lib.cc: Likewise.
38449         * elf/tst-unique3lib2.cc: Likewise.
38450         * elf/tst-unique4.cc: Likewise.
38452         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38454 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
38456         [BZ #13566]
38457         * assert/assert.h (static_assert): Don't define for C++.
38458         * libio/stdio.h (gets): Do declare for C++ <= C++11.
38459         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38461 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
38463         * iconv/loop.c (single loop): Fix assertion in storing of
38464         remaining bytes.
38466         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38468 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
38470         * posix/getconf.c: Update copyright year.
38471         * nss/getent.c: Likewise.
38472         * nss/makedb.c: Likewise.
38473         * iconv/iconvconfig.c: Likewise.
38474         * iconv/iconv_prog.c: Likewise.
38475         * elf/ldconfig.c: Likewise.
38476         * elf/pldd.c: Likewise.
38477         * elf/sotruss.ksh: Likewise.
38478         * catgets/gencat.c: Likewise.
38479         * csu/version.c: Likewise.
38480         * elf/ldd.bash.in: Likewise.
38481         * elf/sprof.c (print_version): Likewise.
38482         * locale/programs/locale.c: Likewise.
38483         * locale/programs/localedef.c: Likewise.
38484         * login/programs/pt_chown.c: Likewise.
38485         * nscd/nscd.c (print_version): Likewise.
38486         * debug/xtrace.sh: Likewise.
38487         * malloc/memusage.sh: Likewise.
38488         * malloc/mtrace.pl: Likewise.
38489         * debug/catchsegv.sh: Likewise.
38491 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
38493         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38494         pure attribute.
38496 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
38498         [BZ #13533]
38499         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38500         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38501         transformations.
38502         * iconv/gconv_int.h: Likewise.
38503         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38504         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38505         from libc for GLIBC_2.16.
38506         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38507         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38508         * wcsmbs/uchar.h: Really define mbstate_t.
38509         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38510         * wcsmbs/c16rtomb.c: New file.
38511         * wcsmbs/mbrtoc16.c: New file.
38512         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38513         for C/POSIX locale.
38514         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38515         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38517         * wcsmbs/wchar.h: Add missing __restrict.
38519 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
38521         [BZ #13532]
38522         * time/Makefile (routines): Add timespec_get.
38523         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38524         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
38525         timespec for ISO C11.
38526         * time/timespec_get.c: New file.
38527         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38528         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38530         [BZ #13531]
38531         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38532         * stdlib/stdlib.h: Declare aligned_alloc.
38533         * Versions.def: Add GLIBC_2.16 for libc.
38534         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38536         [BZ 13527]
38537         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38538         ISO C11.
38540         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
38541         code.
38543         [BZ #13528]
38544         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38546         [BZ #13529]
38547         * assert/assert.h (static_assert): Define.
38549         * version.h: Update for 2.16 development version.
38551         [BZ #13526]
38552         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38553         _ISOC11_SOURCE.
38555         * version.h (RELEASE): Bump for 2.15 release.
38556         * include/features.h (__GLIBC_MINOR__): Bump to 15.
38558         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38559         Patch by Marek Polacek <mpolacek@redhat.com>.
38561         * bits/byteswap.h: Protect long long constants with __extension__.
38562         * sysdeps/i386/bits/byteswap.h: Likewise.
38563         * sysdeps/ia64/bits/byteswap.h: Likewise.
38564         * sysdeps/s390/bits/byteswap.h: Likewise.
38565         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38567 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38569         [BZ #13540]
38570         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38571         destination buffer.
38572         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38574 2011-12-23  Marek Polacek  <polacek@redhat.com>
38576         * elf/dl-addr.c (determine_info): Add inline keyword.
38577         * elf/tst-auditmod4b.c (check_avx): Likewise.
38578         * elf/tst-auditmod6b.c (check_avx): Likewise.
38579         * elf/tst-auditmod6c.c (check_avx): Likewise.
38580         * elf/tst-auditmod7b.c (check_avx): Likewise.
38582 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
38584         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38585         !__SSE_MATH__.
38587 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38589         [BZ #13540]
38590         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38591         processing for last bytes.
38593 2011-08-06  Bruno Haible  <bruno@clisp.org>
38595         [BZ #13061]
38596         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38597         U+0385, not to U+1FEE.
38599         [BZ #13062]
38600         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38601         entry for U+00A5 U+0301.
38603 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
38605         [BZ #13166]
38606         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38607         buffer for the output is too small.
38609         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38610         optimization.
38612         [BZ #13185]
38613         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38614         SSE flags if possible.
38616 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38618         [BZ #13540]
38619         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38620         processing for last bytes.
38622 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
38624         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38625         (syscall-list-default-options, syscall-list-default-condition)
38626         (syscall-list-includes): Define.
38627         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38628         list of ABIs and options and #if conditions for each ABI.  Do not
38629         handle common syscalls between ABIs specially.
38630         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38631         Remove.
38632         (syscall-list-variants, syscall-list-32bit-options)
38633         (syscall-list-32bit-condition, syscall-list-64bit-options)
38634         (syscall-list-64bit-condition): Define.
38635         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38636         (syscall-list-variants, syscall-list-32bit-options)
38637         (syscall-list-32bit-condition, syscall-list-64bit-options)
38638         (syscall-list-64bit-condition): Define.
38639         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38640         Remove.
38641         (syscall-list-variants, syscall-list-32bit-options)
38642         (syscall-list-32bit-condition, syscall-list-64bit-options)
38643         (syscall-list-64bit-condition): Define.
38644         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38645         Remove.
38646         (syscall-list-variants, syscall-list-32bit-options)
38647         (syscall-list-32bit-condition, syscall-list-64bit-options)
38648         (syscall-list-64bit-condition): Define.
38650 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
38652         * locale/iso-639.def: Add brx entry.
38654         [BZ #13328]
38655         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38656         Proposed by Mariusz_Cukr <marcukr@op.pl>.
38658         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38659         __feraiseexcept_renamed.
38661 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
38663         [BZ #13538]
38664         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38665         EPOLLET with unsigned values.
38666         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38667         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38669         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38670         to large cancellation.
38671         * math/s_cacoshf.c: Likewise.
38672         * math/s_cacoshl.c: Likewise.
38674 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
38676         [BZ #13305]
38677         [BZ #12786]
38678         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38679         * math/s_cacoshf.c: Likewise.
38680         * math/s_cacoshl.c: Likewise.
38682 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
38684         [BZ #13439]
38685         * iconv/gconv.h: Define __GCONV_SWAP.
38686         * iconvdata/unicode.c: The swap bit must be stored in __flags.
38687         * iconvdata/utf-16.c: Likewise.
38688         * iconvdata/utf-32.c: Likewise.
38690 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
38692         [BZ #13524]
38693         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38694         numerator after shifting it by one limb.
38696 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
38698         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38699         under [__USE_EXTERN_INLINES].
38701 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
38703         [BZ #13446]
38704         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38706 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38708         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38709         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38710         optimized code.
38711         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38712         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38713         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38714         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38715         for strncasecmp/strncasecmp_l compilation.
38716         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38717         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38719 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
38721         [BZ #13484]
38722         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38723         of __asm__.
38725 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
38727         [BZ #13506]
38728         * time/tzfile.c (__tzfile_read): Check values from file header.
38730 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
38732         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38733         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38734         * powerpc/powerpc32/dl-start.S: Likewise.
38735         * powerpc/powerpc32/elf/start.S: Likewise.
38736         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38737         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38738         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38739         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38740         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38741         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38742         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38743         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38744         * powerpc/powerpc32/fpu/s_round.S: Likewise.
38745         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38746         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38747         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38748         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38749         * powerpc/powerpc32/memset.S: Likewise.
38750         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38751         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38752         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38753         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38754         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38755         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38756         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38757         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38758         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38759         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38760         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38761         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38762         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38764 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38766         * math/libm-test.inc: Added more nearbyint tests.
38767         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38768         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38769         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38770         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38772 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
38774         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38775         FD_CLOEXEC.
38777 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38779         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38780         Add wcscpy-ssse3 wcscpy-c.
38781         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38782         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38783         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38784         * sysdeps/x86_64/wcschr.S: New file.
38785         * sysdeps/x86_64/wcsrchr.S: New file.
38786         * string/test-strcmp.c: Remove checking of wcscmp function for
38787         wrong alignments.
38788         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38789         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38790         wcsrchr-sse2 wcsrchr-c.
38791         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38792         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38793         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38794         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38795         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38796         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38797         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38798         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38799         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38800         * wcsmbc/wcschr.c (WCSCHR): New macro.
38802 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38804         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38805         * wcsmbs/test-wcsrchr.c: New file.
38806         * string/test-strrchr.c: Add wcsrchr support.
38807         (WIDE): New macro.
38808         * wcsmbs/test-wcscpy.c: New file.
38809         * string/test-strcpy.c: Add wcscpy support.
38810         (WIDE): New macro.
38812 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
38814         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38815         the inner loop.
38817 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
38819         [BZ #13472]
38820         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38822 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
38824         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38825         Minor optimizations.
38827         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38828         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38829         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38831 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
38833         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38834         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38835         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38836         for gcc to avoid warnings.
38837         * inet/Makefile (tests): Add tst-checks.
38838         * inet/tst-checks.c: New file.
38840         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38841         warning.
38843         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38844         __wmemcmp_sse2.
38846         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38847         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38849         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38851 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
38853         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38854         problem.
38856         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38858 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
38860         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38861         conditional on GCC version.
38862         (__arch_compare_and_exchange_val_8_acq)
38863         (__arch_compare_and_exchange_val_16_acq)
38864         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38865         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38866         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38868 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
38870         * sysdeps/sh/backtrace.c: New file.
38872 2011-12-02  Andreas Schwab  <schwab@redhat.com>
38874         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
38875         parenthesis.
38877 2011-12-01  Andreas Schwab  <schwab@redhat.com>
38879         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38880         falling back to utime.
38882 2011-11-30  Andreas Schwab  <schwab@redhat.com>
38884         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38885         expectations for float.
38887 2011-11-29  Andreas Schwab  <schwab@redhat.com>
38889         * locale/weight.h (findidx): Add parameter len.
38890         * locale/weightwc.h (findidx): Likewise.
38891         * posix/fnmatch_loop.c (FCT): Adjust caller.
38892         * posix/regcomp.c (build_equiv_class): Likewise.
38893         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38894         * posix/regexec.c (check_node_accept_bytes): Likewise.
38895         * string/strcoll_l.c (STRCOLL): Likewise.
38896         * string/strxfrm_l.c (STRXFRM): Likewise.
38898 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
38900         * Makefile.in: Remove CVSOPT handling.
38901         * configure.in: Remove use of AC_REVISION.
38902         * iconvdata/Makefile (distribute): No need to filter out CVS.
38903         * scripts/list-sources.sh: Remove CVS, subversion and monotone
38904         handling.
38906 2011-11-16  Andreas Schwab  <schwab@redhat.com>
38908         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38909         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38910         [USE_AS_STRNCASECMP_L]: Likewise.
38911         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38912         NO_TLS_DIRECT_SEG_REFS.
38913         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38914         Fix argument offsets for non-PIC.
38915         [USE_AS_STRNCASECMP_L]: Likewise.
38916         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38917         NO_TLS_DIRECT_SEG_REFS.
38919 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
38921         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38922         O_CLOEXEC.
38923         * locale/loadlocale.c (_nl_load_locale): Likewise.
38925 2011-11-15  Andreas Schwab  <schwab@redhat.com>
38927         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38928         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38929         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38930         (SYSCALL_GETTIME): Set errno on error.
38932         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38933         count references to noai6ai_cached.
38935 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
38937         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38939         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38940         FD_CLOEXEC for /proc/self/maps.
38942         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38943         FD_CLOEXEC for /proc/meminfo.
38945         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38946         gai.conf.
38948         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
38949         FD_CLOEXEC for given file.
38951         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38953         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38954         FD_CLOEXEC for /etc/hosts.
38955         (_gethtent): Likewise.
38957         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38959         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38960         cancellation and set FD_CLOEXEC for /etc/netgroup.
38962         * nss/nss_files/files-key.c (search): Don't allow cancellation when
38963         reading /etc/publickey.
38965         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38966         allow cancellation when reading /etc/group.
38968         * nss/nss_files/files-alias.c (internal_setent): Don't allow
38969         cancellation.
38970         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
38972         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38973         when using data file.
38975         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38977         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38978         (write_nis_obj): Use "c" and "e" in fopen.
38980         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38982         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38984         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38986         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38988         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38989         locale.alias.
38991         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38993         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38995         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38997         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38998         file parsing and set FD_CLOEXEC.
39000 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
39002         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39004 2011-11-14  Andreas Schwab  <schwab@redhat.com>
39006         * malloc/arena.c (arena_get2): Don't call reused_arena when
39007         _int_new_arena failed.
39009 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
39011         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39012         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39013         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39014         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39015         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39016         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39017         to compile strcasecmp and strncasecmp.
39018         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39019         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39021         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39023 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
39025         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39026         locale-defines.sym to gen-as-const-headers.
39027         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39028         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39029         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39030         to compile strcasecmp and strncasecmp.
39031         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39032         strcasecmp_l and strncasecmp_l.
39033         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39034         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39035         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39036         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39037         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39038         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39039         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39040         * sysdeps/i386/i686/multiarch/strncase.S: New file.
39041         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39042         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39043         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39045 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
39047         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39048         result of SYSDEP_GETTIME_CPU to retval.
39049         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39050         parameter list to macro.  Remove trailing semicolon.  Adjust users.
39052         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39053         variable.
39055         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39056         mantissa words.
39057         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39059         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39060         from unused variable.
39062         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39063         DWARF definitions.
39064         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39065         for assembling.
39067         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39068         over namespaces.
39070         * sunrpc/rpc_prot.c (rejected): Fix case value.
39072         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39073         unsigned long long int to avoid warnings in shift.
39075         * posix/regex_internal.c (re_string_reconstruct): Actually use result
39076         of use of trans.
39077         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39078         variable tmp.
39080         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39081         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39082         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39084         * nis/nis_table.c (nis_list): Use variable of correct type for
39085         result of __follow_path call.
39087 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39089         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39090         of math functions ceil, trunc, floor, round, and sqrt, when
39091         avaliable on the platform.
39092         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39093         name clash.
39094         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39095         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39096         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39098 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
39100         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39101         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39103 2011-11-11  Roland McGrath  <roland@hack.frob.com>
39105         * include/unistd.h: Fix __readlink return type.
39106         Reported by Chris Metcalf <cmetcalf@tilera.com>.
39108 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
39110         * stdlib/ucontext.h: Undo last change for makecontext.
39112 2011-11-11  Andreas Schwab  <schwab@redhat.com>
39114         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39116         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39117         * setjmp/setjmp.h: Mark functions as non-leaf.
39118         * setjmp/bits/setjmp2.h: Likewise.
39119         * stdlib/ucontext.h: Likewise.
39121 2011-11-10  Andreas Schwab  <schwab@redhat.com>
39123         * malloc/arena.c (_int_new_arena): Don't increment narenas.
39124         (reused_arena): Don't check arena limit.
39125         (arena_get2): Atomically check arena limit.
39127 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
39129         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39130         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39132         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39133         instructions.
39135 2011-11-07  Andreas Schwab  <schwab@redhat.com>
39137         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39138         handler when locking.
39140         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39141         Fix size of allocated buffer.
39143 2011-11-04  Andreas Schwab  <schwab@redhat.com>
39145         [BZ #10103]
39146         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39147         declarations for long double functions.
39148         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39150         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39152 2011-11-03  Andreas Schwab  <schwab@redhat.com>
39154         * nscd/nscd.c (main): Don't start AVC thread until credentials are
39155         installed.
39157         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39158         is disabled.
39160 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39162         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39164 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39166         * include/alloca.h (stackinfo_alloca_round): Define.
39167         (extend_alloca): Use it.
39168         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39169         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39170         here.
39172         * scripts/check-local-headers.sh: Ignore libaudit.h.
39174         * nscd/Makefile (extra-objs): Make recursively expanded.
39176 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
39178         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39179         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39181         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39182         * posix/tst-rfc3484-2.c: Likewise.
39183         * posix/tst-rfc3484-3.c: Likewise.
39185         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39186         process_vm_writev.
39187         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39188         process_vm_writev.
39189         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39190         process_vm_writev from libc using GLIBC_2.15 version.
39192         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39194 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
39196         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39197         stack usage.
39199 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
39201         [BZ #13367]
39202         * nss/getent.c (initgroups_keys): Show error message in case no group
39203         names are given.
39205         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39206         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39207         __bump_nl_timestamp.
39208         * nscd/connections (nscd_init): When host database is served open
39209         netlink socket and request notification about configuration changes.
39210         (main_loop_poll): Track netlink file descriptor and bump timestamp
39211         in case data becomes available.
39212         (main_loop_epoll): Likewise.
39213         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39214         (database_pers_head): Add extra_data fileds.
39215         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39216         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39217         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39218         Adjust caller.
39219         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39220         in6ai data, call __free_in6ai.
39221         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39222         Add -DHAVE_NETLINK.
39223         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
39224         interface information.  Reuse previous data if netlink timestamp
39225         is not changed.
39226         (__bump_nl_timestamp): New function.
39227         (__free_in6ai): New function.
39229 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
39231         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39232         close_not_cancel_no_status here.
39233         (__check_pf): Reorganize code a bit to not call close twice if OOM.
39235 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
39237         [BZ #13276]
39238         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39239         return value.
39241         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
39242         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39243         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39245 2011-07-03  Andreas Jaeger  <aj@suse.de>
39247         [BZ #10709]
39248         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39249         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39250         * math/libm-test.inc (sin_test): Add test case.
39252 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
39254         [BZ #13337]
39255         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39256         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39258         * elf/chroot_canon.c (chroot_canon): Cleanups.
39260         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39262         [BZ #13335]
39263         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39264         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39266         * string/test-strchr.c: Make usable for strchrnul testing.
39267         * string/test-strchrnul.c: New file.
39268         * string/Makefile (strop-tests): Add strchrnul.
39270         * po/it.po: Update from translation team.
39271         * po/es.po: Likewise.
39273 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
39275         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39276         the three constants needed as parameters.  Drop the others.
39277         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39278         __m128i_strloadu_tolower.
39279         Create and initialize variable zero and use it in all the places
39280         where _mm_setzero_si128 was used.
39282         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39283         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39284         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39285         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39286         anymore.
39287         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39288         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39289         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39290         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39291         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39292         __mpranred, __mptan.
39293         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39294         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39295         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39296         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39297         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39298         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39299         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39300         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39301         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39303 2011-10-28  Andreas Schwab  <schwab@redhat.com>
39305         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39306         redefine if SHARED.
39307         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39309         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39310         wide char related routines to wcsmbs subdir.
39312 2011-10-27  Andreas Schwab  <schwab@redhat.com>
39314         [BZ #13344]
39315         * misc/sys/cdefs.h (__THROWNL): Define.
39316         * posix/unistd.h: Use __THREADNL instead of __THREAD
39317         for memory synchronization functions.
39319 2011-10-26  Roland McGrath  <roland@hack.frob.com>
39321         [BZ #13349]
39322         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39323         doesn't exist.
39324         * manual/stdio.texi (Obstack Streams): Node removed.
39326 2011-10-26  Andreas Schwab  <schwab@redhat.com>
39328         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39329         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39330         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39332         * math/math_private.h (math_force_eval): Allow non-addressable
39333         arguments.
39334         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39336 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
39338         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39339         file is not needed.
39341         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39342         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39343         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39344         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39345         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39346         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39347         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39348         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39349         Add AVX variants.
39350         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39351         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39352         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39353         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39354         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39355         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39356         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39357         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39358         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39359         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39360         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39361         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39362         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39363         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39364         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39365         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39366         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39367         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39368         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39370         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39371         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
39373         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39374         place.  Use VEX encoding when compiling for AVX.
39376 2011-10-25  Andreas Schwab  <schwab@redhat.com>
39378         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39379         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39381         * string/test-strchr.c (do_test): Don't generate NUL bytes.
39383 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
39385         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
39386         useless if() expression.
39387         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39388         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39389         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39390         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39391         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39392         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39393         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39394         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39395         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39396         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39397         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39398         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39399         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39400         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39401         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39402         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39403         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39404         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39405         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39407         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39409 2011-10-25  Andreas Schwab  <schwab@redhat.com>
39411         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39412         condition.
39413         * elf/dl-fini.c (_dl_sort_fini): Likewise.
39415 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
39417         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39418         .text section.  Avoid duplicate constants.
39419         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39420         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39421         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39422         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39423         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39424         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39425         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39426         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39427         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39428         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39429         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39430         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39431         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39432         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39433         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39434         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39435         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39436         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39437         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39438         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39439         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39440         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39441         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39442         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39443         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39444         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39445         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39446         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39447         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39448         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39449         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39450         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39451         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39452         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39453         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39454         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39455         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39456         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39457         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39458         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39459         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39460         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39461         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39462         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39463         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39465 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
39467         * sysdeps/x86_64/dla.h: Move to ...
39468         * sysdeps/x86_64/fpu/dla.h: ...here.
39469         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39470         situations.  Use __builtin_fma only for gcc 4.6 and up.
39472         * config.make.in: Add have-mfma4 entry.
39473         * configure.in: Substitute libc_cv_cc_fma4.
39474         * math/Makefile (dbl-only-routines): Add sincostab.
39475         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39476         Use __sincostab not sincos.
39477         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39478         name is a macro.
39479         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39480         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39481         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39482         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
39483         using __copysign.
39484         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
39485         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
39486         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39487         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39488         and __inv.
39489         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39490         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39491         __copysign.
39492         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
39493         define aliases when function name is a macro.
39494         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39495         sysdeps/ieee754/dbl-64/sincos.tbl.
39496         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39497         fma4-enabled routines.
39498         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39499         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39500         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39501         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39502         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39503         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39504         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39505         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39506         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39507         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39508         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39509         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39510         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39511         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39512         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39513         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39514         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39515         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39516         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39517         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39518         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39519         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39520         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39521         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39522         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39523         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39524         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39525         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39526         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39527         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39529         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39530         rename.
39531         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39532         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39533         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39534         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39535         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39536         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39537         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39538         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39540 2011-10-24  Andreas Schwab  <schwab@redhat.com>
39542         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39544 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
39546         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39548         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39549         prediction.
39550         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39552         * string/strnlen.c: Don't define STRNLEN, reverse logic.
39553         Remove unused variable magic_bits.
39554         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39556         * string/strnlen.c: Define and use STRNLEN macro.
39557         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39558         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39559         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39560         * wcsmbs/wcslen.c: Define and use WCSLEN.
39561         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39562         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39563         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39564         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39565         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39566         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39567         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39569 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39571         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39572         strnlen-sse2-no-bsf.
39573         Rename strlen-no-bsf to strlen-sse2-no-bsf.
39574         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39575         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39576         Add strnlen support.
39577         (USE_AS_STRNLEN): New macro.
39578         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39579         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39580         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39581         * sysdeps/x86_64/wcslen.S: New file.
39583 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
39585         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39586         XMM-moves are used for copying on small sizes.
39588 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39590         * wcsmbs/Makefile (strop-tests): Add wcschr.
39591         * wcsmbs/test-wcschr.c: New file.
39592         * string/test-strchr.c: Update.
39593         Add wcschr support.
39594         (WIDE): New macro.
39596 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39598         * wcsmbs/Makefile (strop-tests): Add wcslen.
39599         * wcsmbs/test-wcslen.c: New file.
39600         * string/test-strlen.c: Update.
39601         Add wcslen support.
39602         (WIDE): New macro.
39604 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
39606         * po/it.po: Update from translation team.
39608 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39610         * sysdeps/x86_64/wcscmp.S: Update.
39611         Fix wrong comparison semantics.
39612         wcscmp shall use signed comparison not unsigned.
39613         Don't use substraction to avoid overflow bug.
39614         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39615         * wcsmbc/wcscmp.c: Likewise.
39616         * string/test-strcmp.c: Likewise.
39617         Add new tests to check cases with negative values.
39619 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
39621         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39622         * sysdeps/x86_64/dla.h: ...here.  New file.
39623         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39624         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39625         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39626         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39627         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39628         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39629         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39630         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39631         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39633 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
39635         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39636         __ynl_finite aliases.
39638 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
39640         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39642         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39643         define DLA_FMA.
39644         [DLA_FMA] (EMULV): Use DLA_FMA.
39645         [DLA_FMA] (MUL12): Use EMULV.
39646         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39647         that are not needed.
39648         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39649         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39650         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39651         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39652         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39653         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39654         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39656 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
39658         * math/s_nan.c: Undef __nan.
39659         * math/s_nanf.c: Undef __nanf.
39660         * math/s_nanl.c: Undef __nanl.
39661         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39662         "math_private.h".
39664 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
39666         * math/s_catan.c: Add branch predictions.
39667         * math/s_catanf.c: Likewise.
39668         * math/s_catanh.c: Likewise.
39669         * math/s_catanhf.c: Likewise.
39670         * math/s_catanhl.c: Likewise.
39671         * math/s_catanl.c: Likewise.
39672         * math/s_cexp.c: Likewise.
39673         * math/s_cexpf.c: Likewise.
39674         * math/s_cexpl.c: Likewise.
39675         * math/s_clog.c: Likewise.
39676         * math/s_clog10.c: Likewise.
39677         * math/s_clog10f.c: Likewise.
39678         * math/s_clog10l.c: Likewise.
39679         * math/s_clogf.c: Likewise.
39680         * math/s_clogl.c: Likewise.
39681         * math/s_csqrt.c: Likewise.
39682         * math/s_csqrtf.c: Likewise.
39683         * math/s_csqrtl.c: Likewise.
39684         * math/s_ctanf.c: Likewise.
39685         * math/s_ctanh.c: Likewise.
39686         * math/s_ctanhf.c: Likewise.
39687         * math/s_ctanhl.c: Likewise.
39688         * math/s_ctanl.c: Likewise.
39690         * math/math_private.h: Define __nan, __nanf, __nanl.
39691         * math/s_cacosh.c: Include <math_private.h>.
39692         * math/s_cacoshl.c: Likewise.
39693         * math/s_casinh.c: Likewise.
39694         * math/s_casinhf.c: Likewise.
39695         * math/s_casinhl.c: Likewise.
39696         * math/s_ccos.c: Rely entire on ccosh.
39697         * math/s_ccosf.c: Rely entire on ccoshf.
39698         * math/s_ccosl.c: Rely entirely on ccoshl.
39699         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
39700         Remove tests for FE_INVALID.
39701         * math/s_ccoshf.c: Likewise.
39702         * math/s_ccoshl.c: Likewise.
39703         * math/s_csin.c: Likewise.
39704         * math/s_csinf.c: Likewise.
39705         * math/s_csinh.c Likewise.
39706         * math/s_csinhf.c: Likewise.
39707         * math/s_csinhl.c: Likewise.
39708         * math/s_csinl.c: Likewise.
39709         * math/s_ctan.c: Likewise.
39710         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39711         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39712         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39714 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
39716         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39717         compilation problems.
39719         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39720         __builtin_expect.
39722 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
39724         * sysdeps/i386/configure.in: Test for -mfma4 option.
39725         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39726         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39727         COMMON_CPUID_INDEX_80000001.
39728         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39729         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39730         use it if FMA3 is not supported.
39731         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39733         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39734         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39736 2011-10-20  Andreas Schwab  <schwab@redhat.com>
39738         [BZ #12892]
39739         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39740         it would create a cycle with a link time dependency.
39742 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
39744         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39745         instruction.
39746         * string/Makefile (strop-tests): Add rawmemchr.
39747         * string/test-rawmemchr.c: New file.
39749         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39750         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
39751         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
39752         when compiling str{,n}casecmp and when AVX is available.  Hook up
39753         new optimized code in initializers.
39755 2011-10-19  Andreas Schwab  <schwab@redhat.com>
39757         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39758         __feraiseexcept instead of feraiseexcept.
39760 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
39762         * math/math_private.h: Define defaults for libc_fetestexcept and
39763         libc_feupdateenv.
39764         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39765         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39766         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39767         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39768         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39769         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39770         libc_fetestexcept and libc_feupdateenv.
39772         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39773         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39774         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39775         * sysdeps/x86_64/fpu/math_private.h: Define special version of
39776         libc_feholdexcept_setround.
39778         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39779         Add s_nearbyint-c and s_nearbyintf-c.
39780         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39781         nearbyintf inlines.
39782         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39783         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39784         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39785         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39787         * math/math_private.h: Define defaults for libc_fegetround,
39788         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39789         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39790         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39791         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39792         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39793         standard functions.
39794         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39795         Remove comments and hacks for old compiler versions.
39796         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39797         libc_fegetround, libc_fesetround, libc_feholdexcept, and
39798         libc_feholdexceptl.
39800 2011-10-18  Andreas Schwab  <schwab@redhat.com>
39802         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39803         (__feraiseexcept_renamed): Add __NTH.
39804         (feraiseexcept): Add __NTH.  Rename local variables to fix
39805         namespace violations.
39807 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
39809         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39811         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39813         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39814         recently added interfaces.
39815         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39817         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39818         about macro parameter expansion.
39820         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39821         __NO_MATH_INLINES is defined.  Cleanups.
39823         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39824         and __floorf is target has SSE4.1.
39825         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39826         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39827         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39828         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39830         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39831         name.
39832         (floorf): Likewise.
39834         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39836 2011-10-17  Andreas Schwab  <schwab@redhat.com>
39838         * misc/sys/cdefs.h: Fix last change.
39840         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39841         database lookup.
39843 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
39845         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39847         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39848         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39849         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39850         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39851         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39852         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39853         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39854         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39855         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39856         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39857         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39858         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39859         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39860         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39861         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39862         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39863         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39864         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39865         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39866         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39867         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39868         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39870         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39871         ceil, ceilf, floor, floorf.
39873         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39874         Perform IRELATIVE relocations last.
39876         * elf/do-rel.h: Add another parameter nrelative, replacing the
39877         local variable with the same name.  Change name of the function
39878         to end in Rel or Rela (uppercase).
39879         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39880         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
39881         elf_dynamic_do_##reloc function.
39883 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
39885         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39886         is sufficient, at least on modern CPUs.
39888         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39890         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39891         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39893         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39894         __expl_finite.
39895         * math/bits/math-finite.h: Add entries for exp.
39896         * math/e_expl.c: Add __*_finite alias.
39897         * sysdeps/i386/fpu/e_exp.S: Likewise.
39898         * sysdeps/i386/fpu/e_expf.S: Likewise.
39899         * sysdeps/i386/fpu/e_expl.c: Likewise.
39900         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39901         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39902         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39903         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39904         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39905         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39906         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39908         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39909         is sufficient, at least on modern CPUs.
39911         * ctype/ctype-info.c (__ctype_init): Define.
39912         * include/ctype.h (__ctype_init): Declare.
39913         (__ctype_b_loc): The variable is always initialized.
39914         (__ctype_toupper_loc): Likewise.
39915         (__ctype_tolower_loc): Likewise.
39916         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39917         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39919 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
39921         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39923         * configure.in: Also look in $cxxmachine/include for C++ system
39924         headers.
39926 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39928         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39929         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39930         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39931         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
39932         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39933         (USE_AS_WMEMCMP): New macro.
39934         Fixing indents.
39935         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39936         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39937         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39938         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39939         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39940         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39941         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39942         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39943         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39944         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39945         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39946         (USE_AS_WMEMCMP): New macro.
39947         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39948         * sysdeps/string/test-memcmp.c: Update.
39949         Fix simple_wmemcmp.
39950         Add new tests.
39951         * wcsmbs/wmemcmp.c: Update.
39952         (WMEMCMP): New macro.
39953         Fix overflow bug.
39955 2011-10-12  Andreas Jaeger  <aj@suse.de>
39957         [BZ #13268]
39958         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39960 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
39962         * libio/iofwide.c (do_length): Avoid warning.
39964         * ctype/ctype.h (__isctype_f): Add missing __THROW.
39966 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
39968         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39970         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39971         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39972         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39973         * sysdeps/i386/i686/fpu/e_log.S: New file.
39974         * sysdeps/i386/i686/fpu/e_logf.S: New file.
39975         * sysdeps/i386/i686/fpu/e_logl.S: New file.
39977         * ctype/ctype.h: Add support for inlined isXXX functions when
39978         compiling C++ code.
39980 2011-10-14  Andreas Schwab  <schwab@redhat.com>
39982         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39984         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39986 2011-10-13  Roland McGrath  <roland@hack.frob.com>
39988         [BZ #13291]
39989         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39991 2011-10-13  Andreas Schwab  <schwab@redhat.com>
39993         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39994         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39995         feraiseexcept.
39997         * sysdeps/x86_64/memrchr.S: Check for zero size.
39999         * string/stratcliff.c: Add memrchr tests.
40001 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40003         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40004         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40005         rawmemchr-sse2 rawmemchr-sse2-bsf.
40006         * sysdeps/i386/i686/multiarch/memchr.S: New file.
40007         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40008         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40009         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40010         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40011         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40012         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40013         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40014         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40015         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40016         * string/memrchr.c (MEMRCHR): New macro.
40018 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
40020         Add integration with gcc's -ffinite-math-only and optimize wrapper
40021         functions in libm.
40022         * Versions.def: Define GLIBC_2.15 version for libm.
40023         * math/Makefile (headers): Add bits/math-finite.h.
40024         * math/bits/math-finite.h: New file.
40025         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40026         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40027         * math/e_acoshl.c: Add __*_finite alias.
40028         * math/e_acosl.c: Likewise.
40029         * math/e_asinl.c: Likewise.
40030         * math/e_atan2l.c: Likewise.
40031         * math/e_atanhl.c: Likewise.
40032         * math/e_coshl.c: Likewise.
40033         * math/e_exp10.c: Likewise.
40034         * math/e_exp10f.c: Likewise.
40035         * math/e_exp10l.c: Likewise.
40036         * math/e_exp2l.c: Likewise.
40037         * math/e_fmodl.c: Likewise.
40038         * math/e_gammal_r.c: Likewise.
40039         * math/e_hypotl.c: Likewise.
40040         * math/e_j0l.c: Likewise.
40041         * math/e_j1l.c: Likewise.
40042         * math/e_jnl.c: Likewise.
40043         * math/e_lgammal_r.c: Likewise.
40044         * math/e_log10l.c: Likewise.
40045         * math/e_log2l.c: Likewise.
40046         * math/e_logl.c: Likewise.
40047         * math/e_powl.c: Likewise.
40048         * math/e_sinhl.c: Likewise.
40049         * math/e_sqrtl.c: Likewise.
40050         * math/e_scalb.c: Completely rewritten and optimized.
40051         * math/e_scalbf.c: Likewise.
40052         * math/e_scalbl.c: Likewise.
40053         * math/w_acos.c: Likewise.
40054         * math/w_acosf.c: Likewise.
40055         * math/w_acosl.c: Likewise.
40056         * math/w_acosh.c: Likewise.
40057         * math/w_acoshf.c: Likewise.
40058         * math/w_acoshl.c: Likewise.
40059         * math/w_asin.c: Likewise.
40060         * math/w_asinf.c: Likewise.
40061         * math/w_asinl.c: Likewise.
40062         * math/w_atan2.c: Likewise.
40063         * math/w_atan2f.c: Likewise.
40064         * math/w_atan2l.c: Likewise.
40065         * math/w_atanh.c: Likewise.
40066         * math/w_atanhf.c: Likewise.
40067         * math/w_atanhl.c: Likewise.
40068         * math/w_exp10.c: Likewise.
40069         * math/w_exp10f.c: Likewise.
40070         * math/w_exp10l.c: Likewise.
40071         * math/w_fmod.c: Likewise.
40072         * math/w_fmodf.c: Likewise.
40073         * math/w_fmodl.c: Likewise.
40074         * math/w_j0.c: Likewise.
40075         * math/w_j0f.c: Likewise.
40076         * math/w_j0l.c: Likewise.
40077         * math/w_j1.c: Likewise.
40078         * math/w_j1f.c: Likewise.
40079         * math/w_j1l.c: Likewise.
40080         * math/w_jn.c: Likewise.
40081         * math/w_jnf.c: Likewise.
40082         * math/w_log.c: Likewise.
40083         * math/w_logf.c: Likewise.
40084         * math/w_logl.c: Likewise.
40085         * math/w_log10.c: Likewise.
40086         * math/w_log10f.c: Likewise.
40087         * math/w_log10l.c: Likewise.
40088         * math/w_log2.c: Likewise.
40089         * math/w_log2f.c: Likewise.
40090         * math/w_log2l.c: Likewise.
40091         * math/w_pow.c: Likewise.
40092         * math/w_powf.c: Likewise.
40093         * math/w_powl.c: Likewise.
40094         * math/w_remainder.c: Likewise.
40095         * math/w_remainderf.c: Likewise.
40096         * math/w_remainderl.c: Likewise.
40097         * math/w_scalb.c: Likewise.
40098         * math/w_scalbf.c: Likewise.
40099         * math/w_scalbl.c: Likewise.
40100         * math/w_sqrt.c: Likewise.
40101         * math/w_sqrtf.c: Likewise.
40102         * math/w_sqrtl.c: Likewise.
40103         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40104         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
40105         used.
40106         * math/math_private.h: Declare __kernel_standard_f.
40107         * math/w_cosh.c: Remove cruft and optimize a bit.
40108         * math/w_coshf.c: Likewise.
40109         * math/w_coshl.c: Likewise.
40110         * math/w_exp2.c: Likewise.
40111         * math/w_exp2f.c: Likewise.
40112         * math/w_exp2l.c: Likewise.
40113         * math/w_hypot.c: Likewise.
40114         * math/w_hypotf.c: Likewise.
40115         * math/w_hypotl.c: Likewise.
40116         * math/w_lgamma.c: Likewise.
40117         * math/w_lgamma_r.c: Likewise.
40118         * math/w_lgammaf.c: Likewise.
40119         * math/w_lgammaf_r.c: Likewise.
40120         * math/w_lgammal.c: Likewise.
40121         * math/w_lgammal_r.c: Likewise.
40122         * math/w_sinh.c: Likewise.
40123         * math/w_sinhf.c: Likewise.
40124         * math/w_sinhl.c: Likewise.
40125         * math/w_tgamma.c: Likewise.
40126         * math/w_tgammaf.c: Likewise.
40127         * math/w_tgammal.c: Likewise.
40128         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40129         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40130         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40131         Minor optimizations.  Pretty printing.  Remove cruft.
40132         * sysdeps/i386/fpu/e_acosf.S: Likewise.
40133         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40134         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40135         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40136         * sysdeps/i386/fpu/e_acosl.c: Likewise.
40137         * sysdeps/i386/fpu/e_asin.S: Likewise.
40138         * sysdeps/i386/fpu/e_asinf.S: Likewise.
40139         * sysdeps/i386/fpu/e_atan2.S: Likewise.
40140         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40141         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40142         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40143         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40144         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40145         * sysdeps/i386/fpu/e_exp10.S: Likewise.
40146         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40147         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40148         * sysdeps/i386/fpu/e_exp2.S: Likewise.
40149         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40150         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40151         * sysdeps/i386/fpu/e_fmod.S: Likewise.
40152         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40153         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40154         * sysdeps/i386/fpu/e_hypot.S: Likewise.
40155         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40156         * sysdeps/i386/fpu/e_log.S: Likewise.
40157         * sysdeps/i386/fpu/e_log10.S: Likewise.
40158         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40159         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40160         * sysdeps/i386/fpu/e_log2.S: Likewise.
40161         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40162         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40163         * sysdeps/i386/fpu/e_logf.S: Likewise.
40164         * sysdeps/i386/fpu/e_logl.S: Likewise.
40165         * sysdeps/i386/fpu/e_pow.S: Likewise.
40166         * sysdeps/i386/fpu/e_powf.S: Likewise.
40167         * sysdeps/i386/fpu/e_powl.S: Likewise.
40168         * sysdeps/i386/fpu/e_remainder.S: Likewise.
40169         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40170         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40171         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40172         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40173         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40174         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40175         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40176         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40177         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40178         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40179         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40180         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40181         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40182         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40183         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40184         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40185         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40186         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40187         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40188         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40189         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40190         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40191         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40192         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40193         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40194         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40195         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40196         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40197         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40198         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40199         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40200         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40201         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40202         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40203         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40204         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40205         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40206         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40207         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40208         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40209         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40210         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40211         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40212         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40213         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40214         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40215         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40216         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40217         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40218         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40219         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40220         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40221         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40222         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40223         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40224         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40225         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40226         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40227         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40228         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40229         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40230         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40231         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40232         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40233         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40234         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40235         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40236         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40237         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40238         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40239         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40240         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40241         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40242         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40243         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40244         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40245         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40246         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40247         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40248         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40249         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40250         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40251         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40252         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40253         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40254         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40255         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40256         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40257         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40258         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40259         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40260         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40261         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40262         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40263         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40264         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40265         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40266         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40267         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40268         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40269         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40270         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40271         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40272         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40273         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40274         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40275         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40276         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40277         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40278         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40279         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40280         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40281         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40282         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40283         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40284         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40285         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40286         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40287         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
40288         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40289         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40290         (__isnanf): Likewise.
40291         (__isinf_ns): Likewise.
40292         (__isinf_nsf): Likewise.
40293         (__finite): Likewise.
40294         (__finitef): Likewise.
40295         (__ieee754_sqrt): Define as macro.
40296         (__ieee754_sqrtf): Define as macro.
40297         (__ieee754_sqrtl): Define as macro.
40298         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40299         inlined copy.
40300         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40301         __FINITE_MATH_ONLY__ consistent.
40302         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40304 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
40306         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40307         of rawmemchr.
40309         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40311 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
40313         * po/ja.po: Update from translation team.
40315 2011-10-08  Roland McGrath  <roland@hack.frob.com>
40317         * locale/programs/locarchive.c (prepare_address_space): New function.
40318         (create_archive, enlarge_archive, open_archive): Use it.
40320         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40321         inside [SHARED], where it is used.
40323         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40325         * nss/getent.c (netgroup_keys): Remove unused variable.
40326         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40328 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
40330         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40331         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40332         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40333         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40334         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40335         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40336         * math/Makefile (libm-calls): Add s_isinf_ns.
40337         * math/divtc3.c: Use __isinf_nsl instead of isinf.
40338         * math/multc3.c: Likewise.
40339         * math/s_casin.c: Likewise.
40340         * math/s_casinf.c: Likewise.
40341         * math/s_casinl.c: Likewise.
40342         * math/s_ccos.c: Likewise.
40343         * math/s_ccosf.c: Likewise.
40344         * math/s_ccosl.c: Likewise.
40345         * math/s_ctan.c: Likewise.
40346         * math/s_ctanf.c: Likewise.
40347         * math/s_ctanh.c: Likewise.
40348         * math/s_ctanhf.c: Likewise.
40349         * math/s_ctanhl.c: Likewise.
40350         * math/s_ctanl.c: Likewise.
40351         * math/w_fmod.c: Likewise.
40352         * math/w_fmodf.c: Likewise.
40353         * math/w_fmodl.c: Likewise.
40354         * math/w_remainder.c: Likewise.
40355         * math/w_remainderf.c: Likewise.
40356         * math/w_remainderl.c: Likewise.
40357         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40358         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40359         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40360         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40361         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40362         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40363         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40364         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40366         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40367         of the number.
40368         * stdio-common/printf_fphex.c: Likewise.
40369         * stdio-common/printf_size.c: Likewise.
40371         * math/e_exp10.c: Include math_private.h using <...> not "...".
40372         * math/e_exp10f.c: Likewise.
40373         * math/e_exp10l.c: Likewise.
40374         * math/e_exp2l.c: Likewise.
40375         * math/e_j0l.c: Likewise.
40376         * math/e_j1l.c: Likewise.
40377         * math/e_jnl.c: Likewise.
40378         * math/e_lgammal_r.c: Likewise.
40379         * math/e_rem_pio2l.c: Likewise.
40380         * math/e_scalb.c: Likewise.
40381         * math/e_scalbf.c: Likewise.
40382         * math/e_scalbl.c: Likewise.
40383         * math/k_cosl.c: Likewise.
40384         * math/k_sinl.c: Likewise.
40385         * math/k_tanl.c: Likewise.
40386         * math/s_cacoshf.c: Likewise.
40387         * math/s_catan.c: Likewise.
40388         * math/s_catanf.c: Likewise.
40389         * math/s_catanh.c: Likewise.
40390         * math/s_catanhf.c: Likewise.
40391         * math/s_catanhl.c: Likewise.
40392         * math/s_catanl.c: Likewise.
40393         * math/s_ccosh.c: Likewise.
40394         * math/s_ccoshf.c: Likewise.
40395         * math/s_ccoshl.c: Likewise.
40396         * math/s_cexp.c: Likewise.
40397         * math/s_cexpf.c: Likewise.
40398         * math/s_cexpl.c: Likewise.
40399         * math/s_clog.c: Likewise.
40400         * math/s_clog10.c: Likewise.
40401         * math/s_clog10f.c: Likewise.
40402         * math/s_clog10l.c: Likewise.
40403         * math/s_clogf.c: Likewise.
40404         * math/s_clogl.c: Likewise.
40405         * math/s_csin.c: Likewise.
40406         * math/s_csinf.c: Likewise.
40407         * math/s_csinh.c: Likewise.
40408         * math/s_csinhf.c: Likewise.
40409         * math/s_csinhl.c: Likewise.
40410         * math/s_csinl.c: Likewise.
40411         * math/s_csqrt.c: Likewise.
40412         * math/s_csqrtf.c: Likewise.
40413         * math/s_csqrtl.c: Likewise.
40414         * math/s_ctan.c: Likewise.
40415         * math/s_ctanf.c: Likewise.
40416         * math/s_ctanh.c: Likewise.
40417         * math/s_ctanhf.c: Likewise.
40418         * math/s_ctanhl.c: Likewise.
40419         * math/s_ctanl.c: Likewise.
40420         * math/s_ldexp.c: Likewise.
40421         * math/s_ldexpf.c: Likewise.
40422         * math/s_ldexpl.c: Likewise.
40423         * math/s_significand.c: Likewise.
40424         * math/s_significandf.c: Likewise.
40425         * math/s_significandl.c: Likewise.
40426         * math/w_acos.c: Likewise.
40427         * math/w_acosf.c: Likewise.
40428         * math/w_acosh.c: Likewise.
40429         * math/w_acoshf.c: Likewise.
40430         * math/w_acoshl.c: Likewise.
40431         * math/w_acosl.c: Likewise.
40432         * math/w_asin.c: Likewise.
40433         * math/w_asinf.c: Likewise.
40434         * math/w_asinl.c: Likewise.
40435         * math/w_atan2.c: Likewise.
40436         * math/w_atan2f.c: Likewise.
40437         * math/w_atan2l.c: Likewise.
40438         * math/w_atanh.c: Likewise.
40439         * math/w_atanhf.c: Likewise.
40440         * math/w_atanhl.c: Likewise.
40441         * math/w_cosh.c: Likewise.
40442         * math/w_coshf.c: Likewise.
40443         * math/w_coshl.c: Likewise.
40444         * math/w_dremf.c: Likewise.
40445         * math/w_exp10.c: Likewise.
40446         * math/w_exp10f.c: Likewise.
40447         * math/w_exp10l.c: Likewise.
40448         * math/w_exp2.c: Likewise.
40449         * math/w_exp2f.c: Likewise.
40450         * math/w_fmod.c: Likewise.
40451         * math/w_fmodf.c: Likewise.
40452         * math/w_fmodl.c: Likewise.
40453         * math/w_hypot.c: Likewise.
40454         * math/w_hypotf.c: Likewise.
40455         * math/w_hypotl.c: Likewise.
40456         * math/w_j0.c: Likewise.
40457         * math/w_j0f.c: Likewise.
40458         * math/w_j0l.c: Likewise.
40459         * math/w_j1.c: Likewise.
40460         * math/w_j1f.c: Likewise.
40461         * math/w_j1l.c: Likewise.
40462         * math/w_jn.c: Likewise.
40463         * math/w_jnf.c: Likewise.
40464         * math/w_jnl.c: Likewise.
40465         * math/w_lgamma.c: Likewise.
40466         * math/w_lgamma_r.c: Likewise.
40467         * math/w_lgammaf.c: Likewise.
40468         * math/w_lgammaf_r.c: Likewise.
40469         * math/w_lgammal.c: Likewise.
40470         * math/w_lgammal_r.c: Likewise.
40471         * math/w_log.c: Likewise.
40472         * math/w_log10.c: Likewise.
40473         * math/w_log10f.c: Likewise.
40474         * math/w_log10l.c: Likewise.
40475         * math/w_log2.c: Likewise.
40476         * math/w_log2f.c: Likewise.
40477         * math/w_log2l.c: Likewise.
40478         * math/w_logf.c: Likewise.
40479         * math/w_logl.c: Likewise.
40480         * math/w_pow.c: Likewise.
40481         * math/w_powf.c: Likewise.
40482         * math/w_powl.c: Likewise.
40483         * math/w_remainder.c: Likewise.
40484         * math/w_remainderf.c: Likewise.
40485         * math/w_remainderl.c: Likewise.
40486         * math/w_scalb.c: Likewise.
40487         * math/w_scalbf.c: Likewise.
40488         * math/w_scalbl.c: Likewise.
40489         * math/w_sinh.c: Likewise.
40490         * math/w_sinhf.c: Likewise.
40491         * math/w_sinhl.c: Likewise.
40492         * math/w_sqrt.c: Likewise.
40493         * math/w_sqrtf.c: Likewise.
40494         * math/w_sqrtl.c: Likewise.
40495         * math/w_tgamma.c: Likewise.
40496         * math/w_tgammaf.c: Likewise.
40497         * math/w_tgammal.c: Likewise.
40499         * po/ja.po: Update from translation team.
40501 2011-09-29  Andreas Jaeger  <aj@suse.de>
40503         [BZ #13179]
40504         * sunrpc/netname.c (netname2host): Fix logic.
40506         [BZ #6779]
40507         [BZ #6783]
40508         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40509         correctly.
40510         * math/w_remainder.c (__remainder): Likewise.
40511         * math/w_remainderf.c (__remainderf): Likewise.
40512         * math/libm-test.inc (remainder_test): Add test cases.
40514 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40516         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
40517         sdiv_qrnnd.
40519 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
40521         * string/test-memcmp.c: Avoid unncessary #defines.
40522         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40524 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40526         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40527         Use new sse2 version for core i3 - i7 as it's faster
40528         than sse42 version.
40529         (bit_Prefer_PMINUB_for_stringop): New.
40530         * sysdeps/x86_64/rawmemchr.S: Update.
40531         Replace with faster SSE2 version.
40532         * sysdeps/x86_64/memrchr.S: New file.
40533         * sysdeps/x86_64/memchr.S: Update.
40534         Replace with faster SSE2 version.
40536 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
40538         * elf/dl-load.c (lose): Add cast to avoid warning.
40540 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
40542         * po/ca.po: Update from translation team.
40544         * inet/getnetgrent_r.c: Hook up nscd.
40545         * nscd/Makefile (routines): Add nscd_netgroup.
40546         (nscd-modules): Add netgroupcache.
40547         (CFLAGS-netgroupcache.c): Define.
40548         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40549         (cache_search): Add const to second parameter.
40550         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40551         INNETGR.
40552         (dbs): Add netgrdb entry.
40553         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40554         (verify_persistent_db): Handle netgrdb.
40555         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40556         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40557         GETFDNETGR.
40558         (netgroup_response_header): Define.
40559         (innetgroup_response_header): Define.
40560         (datahead): Add netgroup_response_header and innetgroup_response_header
40561         elements.
40562         * nscd/nscd.conf: Add entries for netgroup cache.
40563         * nscd/nscd.h (dbtype): Add netgrdb.
40564         (_PATH_NSCD_NETGROUP_DB): Define.
40565         (netgroup_iov_disabled): Declare.
40566         (xmalloc, xcalloc, xrealloc): Move declarations here.
40567         (cache_search): Adjust prototype.
40568         Add netgroup-related prototypes.
40569         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40570         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40571         (__nscd_innetgr): Declare.
40572         * nscd/selinux.c (perms): Use access_vector_t as element type and
40573         add netgroup-related initializers.
40574         * nscd/netgroupcache.c: New file.
40575         * nscd/nscd_netgroup.c: New file.
40576         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40577         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40578         For four parameters use innetgr.
40579         * nss/nss_files/files-init.c: Add definition and callback for netgr.
40580         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40581         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40582         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40584         * nscd/connections.c (register_traced_file): Don't register file
40585         for disabled databases.
40587 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
40589         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40591         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40592         from tree and freeing node.
40594 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
40596         * nss/nsswitch.c (__nss_database_lookup): Handle
40597         nss_parse_service_list out of memory case.
40599 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
40601         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40602         out of memory case.
40604 2011-10-04  Andreas Schwab  <schwab@redhat.com>
40606         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40607         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40608         pass it down.
40609         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40610         elf_machine_rela, elf_machine_lazy_rel.
40611         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40612         (ELF_DYNAMIC_DO_REL): Likewise.
40613         (ELF_DYNAMIC_DO_RELA): Likewise.
40614         (ELF_DYNAMIC_RELOCATE): Likewise.
40615         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40616         to ELF_DYNAMIC_DO_REL.
40617         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40618         (dl_main): In trace mode always set __RTLD_NOIFUNC.
40619         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40620         elf_machine_rela.
40621         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40622         skip_ifunc, don't call ifunc function if non-zero.
40623         (elf_machine_rela): Likewise.
40624         (elf_machine_lazy_rel): Likewise.
40625         (elf_machine_lazy_rela): Likewise.
40626         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40627         (elf_machine_lazy_rel): Likewise.
40628         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40629         Likewise.
40630         (elf_machine_lazy_rel): Likewise.
40631         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40632         Likewise.
40633         (elf_machine_lazy_rel): Likewise.
40634         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40635         (elf_machine_lazy_rel): Likewise.
40636         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40637         (elf_machine_lazy_rel): Likewise.
40638         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40639         (elf_machine_lazy_rel): Likewise.
40640         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40641         (elf_machine_lazy_rel): Likewise.
40642         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40643         (elf_machine_lazy_rel): Likewise.
40644         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40645         (elf_machine_lazy_rel): Likewise.
40647 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
40649         * nss/nss_files/files-init.c (_nss_files_init): Use static
40650         initialization for all the *_traced_file variables.
40652 2011-09-28  Andreas Schwab  <schwab@redhat.com>
40654         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40656 2011-09-27  Roland McGrath  <roland@hack.frob.com>
40658         [BZ #13226]
40659         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40661 2011-09-27  Andreas Schwab  <schwab@redhat.com>
40663         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40664         Reread the line before reparsing it.
40666 2011-09-26  Andreas Schwab  <schwab@redhat.com>
40668         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40670 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
40671             Maxim Kuvyrkov  <maxim@codesourcery.com>
40672             Joseph Myers  <joseph@codesourcery.com>
40674         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40675         if needed for __stack_chk_guard.
40677 2011-09-19  Roland McGrath  <roland@hack.frob.com>
40679         * sysdeps/posix/spawni.c (script_execute): Always define it.
40680         It will be optimized away if unused.
40681         (maybe_script_execute): New function.
40682         (__spawni): Call it.
40684         * Makerules: Don't include tls.make.
40685         (config-tls): Always set to thread.
40686         * tls.make.c: File removed.
40688 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
40690         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40691         * config.make.in (CPPFLAGS-config): New substituted variable.
40693 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
40695         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40697         [BZ #13192]
40698         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40699         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40701 2011-09-15  Roland McGrath  <roland@hack.frob.com>
40703         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40704         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40705         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40706         (CALL_FAIL): Likewise.
40707         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40708         (CALL_FAIL): Macro removed.
40709         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40711 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
40713         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40714         for __FINITE_MATH_ONLY__ == 1.
40716 2011-09-15  Andreas Schwab  <schwab@redhat.com>
40718         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40719         __ieee754_sqrt instead of sqrt.
40720         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40721         __ieee754_sqrtf instead of sqrtf.
40722         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40723         __floorf instead of floorf.
40724         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40725         __floorf, __truncf instead of floorf, truncf.
40727 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
40729         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40731         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40732         __extern_always_inline.
40733         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40734         32-bit.
40736 2011-09-14  Andreas Schwab  <schwab@redhat.com>
40738         * elf/rtld.c (dl_main): Also relocate in dependency order when
40739         doing symbol dependency testing.
40741 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
40743         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40744         Always define `refsym'.
40746 2011-09-13  Andreas Schwab  <schwab@redhat.com>
40748         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40749         (__FD_ELT): Renamed from __FDELT.
40750         * misc/bits/select2.h (__FD_ELT): Likewise.
40751         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40752         __FD_MASK instead of __FDELT, __FDMASK.
40753         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40754         Likewise.
40755         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40756         Likewise.
40758         * elf/Makefile (gen-ldd): Fix pattern.
40760         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40761         (init_tls): Likewise.
40763 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
40765         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40767 2011-09-12  Andreas Schwab  <schwab@redhat.com>
40769         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40770         `struct cmsghdr *' instead of `void *'.
40771         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40772         Likewise.
40774 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
40776         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40777         if non-absolute.
40778         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40779         ldd_rewrite_script.
40781 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
40783         * configure.in: Remove --with-tls option.
40784         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40785         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40786         out in case it is missing.
40787         * sysdeps/ia64/elf/configure.in: Likewise.
40788         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40789         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40790         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40791         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40792         * sysdeps/sh/elf/configure.in: Likewise.
40793         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40794         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40795         * sysdeps/x86_64/elf/configure.in: Likewise.
40796         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40797         * sysdeps/mach/hurd/tls.h: Likewise.
40799         [BZ #13067]
40800         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40802         [BZ #13090]
40803         * configure.in: Fix use of AC_INIT.
40805         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40807 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
40809         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40810         __set_errno.
40811         * malloc/hooks.c: Likewise.
40813         [BZ #11929]
40814         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
40815         variables statically.
40816         (narenas): Initialize.
40817         (list_lock): Initialize.
40818         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
40819         initializtion of main_arena and list_lock.  Small cleanups.
40820         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40821         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
40822         Add initializers to main_arena and mp_.
40823         (malloc_state): Remove pagesize member.  Change all users to use
40824         GLRO(dl_pagesize).
40826         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40827         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
40828         is always initialized.
40830         * malloc/malloc.c: Removed unused configurations and dead code.
40831         * malloc/arena.c: Likewise.
40832         * malloc/hooks.c: Likewise.
40833         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40835         * include/tls.h: Removed.  USE___THREAD must always be defined.
40836         * bits/libc-tsd.h: Don't handle !USE___THREAD.
40837         * elf/dl-libc.c: Likewise.
40838         * elf/dl-tsd.c: Likewise.
40839         * include/errno.h: Likewise.
40840         * include/netdb.h: Likewise.
40841         * include/resolv.h: Likewise.
40842         * inet/herrno-loc.c: Likewise.
40843         * inet/herrno.c: Likewise.
40844         * malloc/arena.c: Likewise.
40845         * malloc/hooks.c: Likewise.
40846         * malloc/malloc.c: Likewise.
40847         * resolv/res-state.c: Likewise.
40848         * resolv/res_libc.c: Likewise.
40849         * sysdeps/i386/dl-machine.h: Likewise.
40850         * sysdeps/ia64/dl-machine.h: Likewise.
40851         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40852         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40853         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40854         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40855         * sysdeps/sh/dl-machine.h: Likewise.
40856         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40857         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40858         * sysdeps/unix/i386/sysdep.S: Likewise.
40859         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40860         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40861         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40862         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40863         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40864         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40865         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40866         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40867         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40868         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40869         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40870         * sysdeps/x86_64/dl-machine.h: Likewise.
40871         * tls.make.c: Likewise.
40873         * configure.in: Remove --with-__thread option.  Make tests for
40874         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40875         tls_model attribute fail if no support is available.  Remove
40876         USE_IN_LIBIO.
40877         * Makeconfig: Adjust for dropped configure option.  All features are
40878         now mandatory.
40879         * Makerules: Likewise.
40880         * Versions.def: Likewise.
40881         * argp/argp-fmtstream.c: Likewise.
40882         * argp/argp-fmtstream.h: Likewise.
40883         * argp/argp-help.c: Likewise.
40884         * assert/assert.c: Likewise.
40885         * config.h.in: Likewise.
40886         * config.make.in: Likewise.
40887         * configure: Likewise.
40888         * configure.in: Likewise.
40889         * csu/Versions: Likewise.
40890         * csu/init.c: Likewise.
40891         * elf/tst-audit2.c: Likewise.
40892         * elf/tst-tls10.c: Likewise.
40893         * elf/tst-tls10.h: Likewise.
40894         * elf/tst-tls11.c: Likewise.
40895         * elf/tst-tls12.c: Likewise.
40896         * elf/tst-tls14.c: Likewise.
40897         * elf/tst-tlsmod11.c: Likewise.
40898         * elf/tst-tlsmod12.c: Likewise.
40899         * elf/tst-tlsmod13.c: Likewise.
40900         * elf/tst-tlsmod13a.c: Likewise.
40901         * elf/tst-tlsmod14a.c: Likewise.
40902         * elf/tst-tlsmod15b.c: Likewise.
40903         * elf/tst-tlsmod16a.c: Likewise.
40904         * elf/tst-tlsmod16b.c: Likewise.
40905         * elf/tst-tlsmod7.c: Likewise.
40906         * elf/tst-tlsmod8.c: Likewise.
40907         * elf/tst-tlsmod9.c: Likewise.
40908         * gmon/gmon.c: Likewise.
40909         * grp/fgetgrent_r.c: Likewise.
40910         * grp/putgrent.c: Likewise.
40911         * hurd/fopenport.c: Likewise.
40912         * include/libc-symbols.h: Likewise.
40913         * include/tls.h: Likewise.
40914         * intl/gettextP.h: Likewise.
40915         * intl/loadinfo.h: Likewise.
40916         * locale/global-locale.c: Likewise.
40917         * locale/localeinfo.h: Likewise.
40918         * mach/devstream.c: Likewise.
40919         * malloc/arena.c: Likewise.
40920         * malloc/set-freeres.c: Likewise.
40921         * misc/err.c: Likewise.
40922         * misc/getttyent.c: Likewise.
40923         * misc/mntent_r.c: Likewise.
40924         * posix/getopt.c: Likewise.
40925         * posix/wordexp.c: Likewise.
40926         * pwd/fgetpwent_r.c: Likewise.
40927         * resolv/Versions: Likewise.
40928         * resolv/res_hconf.c: Likewise.
40929         * shadow/fgetspent_r.c: Likewise.
40930         * shadow/putspent.c: Likewise.
40931         * stdio-common/printf_fphex.c: Likewise.
40932         * stdio-common/tmpfile.c: Likewise.
40933         * stdlib/abort.c: Likewise.
40934         * stdlib/fmtmsg.c: Likewise.
40935         * sunrpc/auth_unix.c: Likewise.
40936         * sunrpc/clnt_perr.c: Likewise.
40937         * sunrpc/clnt_tcp.c: Likewise.
40938         * sunrpc/clnt_udp.c: Likewise.
40939         * sunrpc/clnt_unix.c: Likewise.
40940         * sunrpc/openchild.c: Likewise.
40941         * sunrpc/svc_simple.c: Likewise.
40942         * sunrpc/svc_tcp.c: Likewise.
40943         * sunrpc/svc_udp.c: Likewise.
40944         * sunrpc/svc_unix.c: Likewise.
40945         * sunrpc/xdr.c: Likewise.
40946         * sunrpc/xdr_array.c: Likewise.
40947         * sunrpc/xdr_rec.c: Likewise.
40948         * sunrpc/xdr_ref.c: Likewise.
40949         * sunrpc/xdr_stdio.c: Likewise.
40951 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40953         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40955 2011-07-03  Andreas Jaeger  <aj@suse.de>
40957         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40958         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40959         regenerate with gen-libm-tests.pl.
40961 2010-05-12  Petr Baudis  <pasky@suse.cz>
40963         [BZ #11589]
40964         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40965         around j0() zero points by switching to j1().
40966         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40967         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40968         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40969         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40971 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40973         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40974         instead of 0.
40975         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40976         instead of 0.
40977         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40978         Patch in part by Pavel Roskin <proski@gnu.org>.
40980         [BZ #13138]
40981         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40982         realloc.
40983         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
40984         Free memory block if necessary.
40986         [BZ #12847]
40987         * libio/genops.c (INTDEF): For string streams the _lock pointer can
40988         be NULL.  Don't lock in this case.
40990 2011-09-09  Roland McGrath  <roland@hack.frob.com>
40992         * elf/elf.h (ELFOSABI_GNU): New macro.
40993         (ELFOSABI_LINUX): Define to that.
40995 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
40997         * string/strncat.c (strncat): Undef the symbol in case it has been
40998         defined in bits/string.h.
41000 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
41002         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41004         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
41005         link map.
41007 2011-08-17  Andreas Jaeger  <aj@suse.de>
41009         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41011 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
41012             Ian Lance Taylor  <iant@google.com>
41014         * math/libm-test.inc (lround_test): New testcase.
41015         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41017 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
41019         * Makefile: Remove support for automatic cvs check-ins.
41020         * Makerules: Likewise.
41021         * config.make.in: Likewise.
41022         * configure.in: Likewise.
41023         * intl/Makefile: Likewise.
41024         * locale/Makefile: Likewise.
41025         * po/Makefile: Likewise.
41026         * posix/Makefile: Likewise.
41027         * sysdeps/gnu/Makefile: Likewise.
41028         * sysdeps/mach/hurd/Makefile: Likewise.
41029         * sysdeps/sparc/sparc32/Makefile: Likewise.
41031         [BZ #13118]
41032         * posix/Makefile (bug-regex32-ENV): Define.
41033         Patch by John Stanley <jpsinthemix@verizon.net>.
41035         * misc/Makefile (headers): Add bits/select2.h.
41036         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41037         * misc/bits/select2.h: New file.
41038         * include/bits/select2.h: New file.
41039         * debug/Makefile (routines): Add fdelt_chk.
41040         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41041         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41042         FD_ISSET.
41043         * debug/fdelt_chk.c: New file.
41045         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
41046         * wcsmbs/test-wmemcmp.c: Likewise.
41047         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
41048         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
41050 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41052         * string/Makefile (strop-tests): Add memcmp.
41053         * string/test-wmemcmp.c: New file.
41054         * string/test-memcmp.c: Add wmemcmp support.
41056 2011-09-08  Roland McGrath  <roland@hack.frob.com>
41058         [BZ #13153]
41059         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41060         2011-07-19 change.
41062         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41063         garbage value in a __mach_port_mod_refs call in the cases of the
41064         task-self and thread-self ports.
41066 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41068         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41070 2011-09-08  Andreas Schwab  <schwab@redhat.com>
41072         * elf/dl-load.c (lose): Check for non-null L.
41074 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
41076         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41078         * elf/dl-libc.c (dlerror_run): Pass back error code from
41079         dl_catch_error.
41081         [BZ #13123]
41082         * elf/dl-load.c (lose): Free l_origin if it is valid.
41084         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41085         names.
41086         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41087         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41088         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41089         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41090         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41091         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41093 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41095         * sysdeps/powerpc/fpu/e_hypot.c: New file.
41096         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41097         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41098         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41099         * sysdeps/powerpc/fpu/k_cosf.c: New file.
41100         * sysdeps/powerpc/fpu/k_sinf.c: New file.
41101         * sysdeps/powerpc/fpu/s_cosf.c: New file.
41102         * sysdeps/powerpc/fpu/s_sinf.c: New file.
41103         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41104         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41106 2011-08-15  Alan Modra  <amodra@gmail.com>
41108         [BZ #13092]
41109         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41110         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41111         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
41112         ppc_mcount to static-only-routines.
41113         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41114         __mcount_internal.
41115         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41116         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
41118 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
41120         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41121         for finite and infinity parameters.
41123 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41125         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41126         and add nop instructions for throughput optimization.
41127         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41129 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
41131         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41132         aligned copy for power7 with vector-scalar instructions.
41133         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41135 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
41137         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41138         AVX check.
41140 2011-09-07  Andreas Schwab  <schwab@redhat.com>
41142         [BZ #13144]
41143         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41144         last change.
41146 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
41148         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41149         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41150         syscall wrapper around clock_gettime in __vdso_clock_gettime.
41151         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41152         clock_gettime.
41154 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
41156         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41157         Forgot to demangle the pointer.
41159         * sysdeps/i386/sysdep.h: Define atom_text_section.
41160         * sysdeps/x86_64/sysdep.h: Likewise.
41161         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41162         section with atom_text_section.
41163         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41164         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41165         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41166         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41167         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41169         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41170         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41171         already be defined.  Change to take two parameters and don't assign
41172         result to variable.  Adjust all users.
41173         Define INTERNAL_GETTIME if not already defined.
41174         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41175         call.
41176         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41177         HAVE_CLOCK_GETTIME_VSYSCALL.
41178         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41180         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41181         gettimeofday vsyscall, just use time.
41183 2011-09-06  Andreas Schwab  <schwab@redhat.com>
41185         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41186         <errno.h>.
41188 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
41190         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41191         syscall on x86-64.
41192         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41193         syscall.
41194         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41195         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41196         syscall if possible.
41198 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
41200         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41201         e_ident.  Don't pass to find_mapsXX.
41202         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41204 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41206         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41207         strchr-sse2-no-bsf strrchr-sse2-no-bsf
41208         * sysdeps/x86_64/multiarch/strchr.S: Update.
41209         Check bit_slow_BSF bit.
41210         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41211         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41212         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41214 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
41216         [BZ #13134]
41217         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41218         before glibc 2.15.
41219         (tryshell): Define.
41220         (__spawni): Change last parameter to be flag.  Test
41221         SPAWN_XFLAGS_USE_PATH flag to use path or not.
41222         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41223         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41224         * posix/spawni.c: Likewise.
41225         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41226         * posix/spawnp.c: Likewise.  Change normal version to use
41227         SPAWN_XFLAGS_USE_PATH.
41228         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41229         SPAWN_XFLAGS_TRY_SHELL.
41231         [BZ #13150]
41232         * posix/glob.h: Remove gcc 1.x support.
41234         [BZ #13068]
41235         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41237 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41239         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41240         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41241         strrchr-sse2-bsf
41242         * sysdeps/i386/i686/multiarch/strchr.S: New file.
41243         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41244         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41245         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41246         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41247         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41249 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41251         * sysdeps/x86_64/wcscmp.S: New file.
41253         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41254         wcscmp-c wcscmp-sse2
41255         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41256         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41257         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41258         * wcsmbs/wcscmp.c: Allow renaming.
41260 2011-09-05  David S. Miller  <davem@davemloft.net>
41262         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41263         stack slot, rather than the struct return pointer slot.
41264         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41265         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41266         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41267         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41269 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
41271         * po/ja.po: Update from translation team.
41273         [BZ #13144]
41274         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41275         kernel in 64-bit binaries.
41277 2011-09-01  David S. Miller  <davem@davemloft.net>
41279         * elf/elf.h (HWCAP_SPARC_*): Move to..
41280         * sysdeps/sparc/sysdep.h: this new file and add new values.
41281         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41282         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41283         _DL_HWCAP_COUNT to 24.
41284         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41285         entries.
41286         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41287         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41288         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41289         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41290         instead of magic constants.
41291         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41293 2011-08-31  David S. Miller  <davem@davemloft.net>
41295         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41296         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41297         Reimplement to do errno handling inline.
41298         (SYSCALL_ERROR_HANDLER): New macro.
41299         (__SYSCALL_STRING): Do not do errno handling in asm.
41300         (__CLONE_SYSCALL_STRING): Delete.
41301         (__INTERNAL_SYSCALL_STRING): Delete.
41302         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41303         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41304         (PSEUDO): Reimplement to do errno handling inline.
41305         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41306         (SYSCALL_ERROR_HANDLER): New macro.
41307         (__SYSCALL_STRING): Do not do errno handling in asm.
41308         (__CLONE_SYSCALL_STRING): Delete.
41309         (__INTERNAL_SYSCALL_STRING): Delete.
41310         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41311         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41312         i386.
41313         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41314         (inline_syscall*): Add 'err' argument.
41315         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41316         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41317         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41318         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41320         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41321         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41323 2011-08-30  Andreas Schwab  <schwab@redhat.com>
41325         * elf/rtld.c (dl_main): Relocate objects in dependency order.
41327 2011-08-29  Jiri Olsa <jolsa@redhat.com>
41329         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41330         directive.
41332 2011-08-24  David S. Miller  <davem@davemloft.net>
41334         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41336 2011-08-24  Andreas Schwab  <schwab@redhat.com>
41338         * elf/Makefile: Add rules to build and run unload8 test.
41339         * elf/unload8.c: New file.
41340         * elf/unload8mod1.c: New file.
41341         * elf/unload8mod1x.c: New file.
41342         * elf/unload8mod2.c: New file.
41343         * elf/unload8mod3.c: New file.
41345         * elf/dl-close.c (_dl_close_worker): Reset private search list if
41346         it wasn't used.
41348 2011-08-23  David S. Miller  <davem@davemloft.net>
41350         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41351         subtract stack bias.
41352         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41353         %sp not %fp in calculations.
41354         (_JMPBUF_UNWINDS_ADJ): Likewise.
41356         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41357         (aio_suspend): Call it to force an exception region around the
41358         AIO_MISC_WAIT() invocation.
41360 2011-08-23  Andreas Schwab  <schwab@redhat.com>
41362         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41363         backslash.
41365 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
41367         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41368         protection macro.
41369         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41370         and <dl-machine.h>.
41371         (Elf64_FuncDesc): Remove.
41373 2011-08-22  David S. Miller  <davem@davemloft.net>
41375         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41376         sigaltstack check, add missing cfi directives.
41377         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41378         missing cfi directives, and sigaltstack handling.
41380 2011-08-16  Andreas Schwab  <schwab@redhat.com>
41382         [BZ #11724]
41383         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41384         object is seen twice.
41385         * elf/dl-fini.c (_dl_sort_fini): Likewise.
41387         * elf/Makefile (distribute): Add tst-initorder2.c.
41388         (tests): Add tst-initorder2.
41389         (modules-names): Add tst-initorder2a tst-initorder2b
41390         tst-initorder2c tst-initorder2d.  Add rules to build them.
41391         ($(objpfx)tst-initorder2.out): New rule.
41392         * elf/tst-initorder2.c: New file.
41393         * elf/tst-initorder2.exp: New file.
41395 2011-08-22  Andreas Schwab  <schwab@redhat.com>
41397         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41399         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41400         dependencies back to end of function.
41402         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41403         $(elfobjdir)/ld.so.
41405 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
41407         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41408         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41409         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41410         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41411         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41412         of __vdso_gettimeofday.
41413         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41414         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
41415         attribute_hidden.
41416         (_libc_vdso_platform_setup): Remove initialization of
41417         __vdso_gettimeofday and __vdso_time.
41419 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
41421         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41422         and fgetc_unlocked.
41423         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41424         getc_unlocked.
41426         * elf/dl-open.c (add_to_global): Report additions to the global scope
41427         for LD_DEBUG=scopes.
41428         (dl_open_worker): Also print scope of newly loaded dependencies.
41429         (_dl_show_scope): Indicate if there is no scope.
41431         [BZ #13114]
41432         * stdio-common/Makefile (tests): Add bug24.
41433         * stdio-common/bug24.c: New file.
41435 2011-08-19  Andreas Jaeger  <aj@suse.de>
41437         [BZ #13114]
41438         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41439         non-existant file when using close-on-exec mode.
41441 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
41443         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41444         the very first instruction.
41446         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41447         the CFI state in the end.
41448         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41449         inclusion of dl-trampoline.h.
41450         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41452 2011-08-19  Andreas Schwab  <schwab@redhat.com>
41454         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41455         expectations for long double.
41457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41458         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41460 2011-08-14  David S. Miller  <davem@davemloft.net>
41462         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41463         artificual limit depends upon the system page size.
41465 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
41467         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41468         * resolv/Makefile: Define CFLAGS-libresolv.
41470 2011-08-17  Andreas Schwab  <schwab@redhat.com>
41472         * nss/makedb.c (compute_tables): Make variables used in nested
41473         function static.
41475 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
41477         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41478         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41479         if buffer was too small.
41481         * elf/pldd.c (main): Attach to all threads in the process.
41482         Rewrite /proc handling to use *at functions.
41484 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
41486         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41487         specifies first scope to show.
41488         (dl_open_worker): Update callers.  Move printing scope of new
41489         object to before the relocation.
41490         * elf/rtld.c (dl_main): Update _dl_show_scope call.
41491         * sysdeps/generic/ldsodefs.h: Update declaration.
41493         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41494         string for the scope number.
41496 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
41498         * nscd/servicescache.c (cache_addserv): Make sure written is always
41499         initialized.
41501 2011-08-14  Roland McGrath  <roland@hack.frob.com>
41503         * sysdeps/i386/i486/bits/atomic.h
41504         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41505         statement expression, so as to suppress "set but not used" warning.
41506         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41508         * string/strncat.c (STRNCAT): Use prototype definition.
41510         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41511         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41512         -Iprograms here.
41513         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41514         (localedef-modules): Add localedef.
41515         (locale-modules): Add locale.
41517         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41518         * elf/rtld.c (dl_main): Invert order of assignment in last change,
41519         to avoid a warning.
41521 2011-08-14  David S. Miller  <davem@davemloft.net>
41523         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41524         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41526 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
41528         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
41529         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41530         * elf/rtld.c (dl_main): Set l_name of vDSO.
41531         Call _dl_show_scope when DL_DEBUG_SCOPES.
41532         (process_dl_debug): Recognize scopes flag and also set it for all.
41533         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41534         Declare _dl_show_scope.
41536         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41537         (do_dlopen): Pass caller_dlopen to dl_open.
41538         (__libc_dlopen_mode): Initialize caller_dlopen.
41540         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41541         of libc.  Make tolower call locale-independent.  Optimize a bit by
41542         using isdigit instead of isalnum.
41543         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41545 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
41547         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41548         was a dependency or dynamically loaded.
41550 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
41552         * intl/l10nflist.c: Allow architecture-specific pop function.
41553         * sysdeps/x86_64/l10nflist.c: New file.
41555         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41556         classification.
41558 2011-08-10  Andreas Schwab  <schwab@redhat.com>
41560         * include/dirent.h: Add libc_hidden_proto for scandirat and
41561         scandirat64.  Don't declare __scandirat64.
41562         * dirent/scandirat.c: Add libc_hidden_def.
41563         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41564         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41566 2011-08-10  David S. Miller  <davem@davemloft.net>
41568         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41569         enum.
41570         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41571         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41572         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41574 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
41576         * Versions.def [libc]: Add GLIBC_2.15.
41577         * dirent/Makefile (routines): Add scandirat and scandirat64.
41578         * dirent/Versions [libc]: Export scandirat and scandirat64 for
41579         GLIBC_2.15.
41580         * dirent/dirent.h: Declare scandirat and scandirat64.
41581         * dirent/scandirat.c: New file.
41582         * dirent/scandirat64.c: New file.
41583         * sysdeps/wordsize-64/scandirat.c: New file.
41584         * sysdeps/wordsize-64/scandirat64.c: New file.
41585         * dirent/opendir.c: Define opendirat.
41586         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
41587         using scandirat.
41588         * dirent/scandir64.c: Adjust for scandir.c change.
41589         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
41590         __scandirat64, and __scandir_cancel_handler.
41591         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
41592         additional parameter and use openat instead of open (outside of ld.so).
41593         Add new __opendir as wrapper around __opendirat.
41594         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41595         here without requiring old scandirat implementation.
41597 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
41599         * dirent/scandir.c (cancel_handler): Renamed to
41600         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
41601         defined.  Adjust users.
41602         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41603         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41605 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
41607         * string/test-string.h (IMPL): Use __STRING to expand name and then
41608         stringify it.
41610         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
41611         of cleanups.
41613 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41615         * string/Makefile: Update.
41616         (strop-tests): Append strncat.
41617         * string/test-wcscmp.c: New file.
41618         New comprehensive test for wcscmp.
41619         * string/test-strcmp.c: Update.
41620         (WIDE): New define.
41622 2011-07-22  Andreas Schwab  <schwab@redhat.com>
41624         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41625         line.
41627 2011-07-26  Andreas Schwab  <schwab@redhat.com>
41629         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41630         encoding to ACE if AI_IDN.
41632 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
41634         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41635         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41637 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41639         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41640         Fix overflow bug in strncat.
41641         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41643         * string/test-strncat.c: Update.
41644         Add new tests for checking overflow bugs.
41646 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41648         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41649         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41650         * sysdeps/i386/i686/multiarch/strcat.S: New file.
41651         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41652         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41653         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41654         * sysdeps/i386/i686/multiarch/strncat.S: New file.
41655         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41656         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41658         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41659         (USE_AS_STRCAT): Define.
41660         Add strcat and strncat support.
41661         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41663 2011-07-25  Andreas Schwab  <schwab@redhat.com>
41665         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41666         __n bigger than INT_MAX+1.
41667         (__strncmp_g): Likewise.
41669 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
41671         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41672         * libio/stido.h: Likewise.
41674         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41675         (AF_NFC): Define.
41676         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41677         (AF_NFC): Define.
41679         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41680         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41681         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41682         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41683         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41685         [BZ #13021]
41686         * scripts/test-installation.pl: Don't expect libnss_test1 to be
41687         installed.
41689         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41690         typo.
41691         (_dl_x86_64_save_sse): Likewise.
41693 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
41695         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41696         OSXSAVE.
41697         (_dl_x86_64_save_sse): Likewise.
41699         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41701         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41703 2011-07-21  Andreas Schwab  <schwab@redhat.com>
41705         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41706         change.
41707         (_dl_x86_64_save_sse): Use correct AVX check.
41709 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41711         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41712         bug in strncpy/strncat.
41713         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41715 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
41717         * string/tester.c (test_strcat): Add tests for different alignments
41718         of source and destination.
41719         (test_strncat): Likewise.
41721 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
41723         [BZ #12852]
41724         * posix/glob.c (glob): Check passed in values before using them in
41725         expressions to avoid some overflows.
41726         (glob_in_dir): Likewise.
41728         [BZ #13007]
41729         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41730         check for AVX enablement so that we don't crash with old kernels and
41731         new hardware.
41732         * elf/tst-audit4.c: Add same checks here.
41733         * elf/tst-audit6.c: Likewise.
41735         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41737 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
41739         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41741 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
41743         * po/cs.po: Update from translation team.
41744         * po/bg.po: Likewise.
41746 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
41748         * misc/sys/cdefs.h: Add support for const attribute.
41749         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41750         to gnu_dev_{major,minor,makedev} functions.
41752 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
41754         * intl/dcigettext.c (get_output_charset): Add missing bracket.
41756 2011-07-20  Andreas Schwab  <schwab@redhat.com>
41758         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41759         strlen results.
41761 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41763         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41764         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41765         register in order to avoid conflicts with the soft frame pointer
41766         being held in r11 when necessary.
41767         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41768         (INTERNAL_VSYSCALL_NCS): Likewise.
41770 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
41772         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41773         * elf/dl-fini.c (_dl_fini): Adjust caller.
41774         * elf/dl-close.c (_dl_close_worker): Likewise.
41775         * sysdeps/generic/ldsodefs.h: Adjust declaration.
41777 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
41779         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41780         "aux_cache->nlibs < 0".
41782         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41783         in the reload-count case.
41785 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41787         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41788         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41789         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41790         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41791         * sysdeps/x86_64/multiarch/strcat.S: New file.
41792         * sysdeps/x86_64/multiarch/strncat.S: New file.
41793         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41794         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41795         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41796         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41797         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41798         (USE_AS_STRCAT): Define.
41799         Add strcat and strncat support.
41800         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41801         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41802         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41803         * string/strncat.c: Update.
41804         (USE_AS_STRNCAT): Define.
41805         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41806         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41807         and i7.
41808         * sysdeps/x86_64/multiarch/init-arch.h
41809         (bit_Prefer_PMINUB_for_stringop): New.
41810         (index_Prefer_PMINUB_for_stringop): Likewise.
41811         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41812         bit_Prefer_PMINUB_for_stringop.
41814 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
41816         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41817         buffer64.
41818         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41819         of casting of buffer.
41820         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41821         buffer32 and buffer64.
41822         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41823         writes instead of casting of buffer.
41824         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41825         buffer32.
41826         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41827         casting of buffer.
41829 2011-07-19  Andreas Schwab  <schwab@redhat.com>
41831         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41833 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
41835         * nscd/nscd.c (termination_handler): Don't do anything for a database
41836         if it has not yet been initialized.
41838 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
41840         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41842 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
41844         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41846 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
41848         * po/nl.po: Update from translation team.
41849         * po/sv.po: Likewise.
41851 2011-07-16  Roland McGrath  <roland@hack.frob.com>
41853         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41854         now disallowed by GCC.
41856         * configure.in (use-default-link): Default to yes if a test -shared
41857         link meets our qualifications.
41858         * configure: Regenerated.
41860         * config.make.in (output-format): New variable.
41861         * configure.in: Check for ld --print-output-format support.
41862         * configure: Regenerated.
41863         * Makerules ($(common-objpfx)format.lds)
41864         [$(output-format) != unknown]: Just use $(output-format),
41865         instead of the linker-script munging.
41867 2011-07-14  Roland McGrath  <roland@hack.frob.com>
41869         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41870         of $(common-objpfx)shlib.lds.
41871         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41873         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41874         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41876         * configure.in (-z relro check): Adjust test code to add a large
41877         writable data section after it.
41878         * configure: Regenerated.
41880 2011-07-11  Roland McGrath  <roland@hack.frob.com>
41882         * configure.in (-z relro check): Fix test code to make the variable
41883         truly const.
41884         * configure: Regenerated.
41886 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
41888         * nscd/nscd.h (struct traced_file): Define.
41889         (struct database_dyn): Remove inotify_descr, reset_res, and filename
41890         elements.  Add traced_files.
41891         (inotify_fd): Declare.
41892         (register_traced_file): Declare.
41893         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41894         (inotify_fd): Export.
41895         (resolv_conf_descr): Remove.
41896         (nscd_init): Move inotify descriptor creation to main.
41897         Don't register files for notification here.
41898         (register_traced_file): New function.
41899         (invalidate_cache): Don't use reset_res to determine whether to call
41900         res_init, go through the list of registered files.
41901         (main_loop_poll): The inotify descriptors are now stored in the
41902         structures for the traced files.
41903         (main_loop_epoll): Likewise
41904         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
41905         to __nss_disable_nscd.
41906         * nscd/cache.c (prune_cache): There is no single inotify descriptor
41907         for a database anymore.  Check the records for all the registered
41908         files instead.
41909         * nss/Makefile (libnss_files-routines): Add files-init.
41910         (libnss_db-routines): Add db-init.
41911         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41912         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41913         * nss/nss_db/db-init.c: New file.
41914         * nss/nss_files/files-init.c: New file.
41915         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
41916         __nss_lookup_function.
41917         (__nss_lookup_function): Call nss_load_library.
41918         (nss_load_all_libraries): New function.
41919         (__nss_disable_nscd): Take parameter with callback function for files
41920         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
41921         used for the cached services.
41922         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41923         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41924         options for features to all the files in nscd.
41926         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41928 2011-07-10  Roland McGrath  <roland@hack.frob.com>
41930         * csu/elf-init.c (__libc_csu_init): Comment typo.
41932 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
41934         * po/pl.po: Update from translation team.
41935         * po/ja.po: Likewise.
41936         * po/ru.po: Likewise.
41937         * po/ko.po: Likewise.
41938         * po/fr.po: Likewise.
41940 2011-07-09  Roland McGrath  <roland@hack.frob.com>
41942         * configure.in (.ctors/.dtors header and trailer check):
41943         Use an empirical test on a built program.
41944         * configure: Regenerated.
41946         * configure.in (-z relro check): Use an empirical test on a built DSO.
41947         Detect, but do not require, on ia64.
41948         * configure: Regenerated.
41950         * configure.in (READELF): Find it with AC_CHECK_TOOL.
41951         Update tests that use readelf to use $READELF instead.
41952         * configure: Regenerated.
41954 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
41956         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41957         if the result is not used.
41959 2011-07-05  Andreas Jaeger  <aj@suse.de>
41961         [BZ#9696]
41962         * stdlib/tst-strtod.c: Add testcase.
41964 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
41966         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41967         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41968         The latter has a higher limit.  Take additional parameter to pass to
41969         the new function.
41970         (__pathconf): Pass file to __statfs_link_max.
41971         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41972         __statfs_link_max.
41973         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41974         __statfs_link_max.
41976         [BZ #12868]
41977         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41978         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41979         Handle Lustre.
41980         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41981         (__statfs_filesize_max): Likewise.
41982         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41984 2011-07-05  Andreas Jaeger  <aj@suse.de>
41986         * resolv/res_comp.c (dn_skipname): Remove unused variable.
41988 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
41990         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41991         `status' variable.
41992         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41993         Likewise.
41995 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
41997         * Makefile (strop-tests): Add strncat.
41998         * string/test-strncat.c: New file.
42000 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
42002         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42004 2011-06-21  Andreas Jaeger  <aj@suse.de>
42006         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42007         Copy rule from iconvdata/Makefile.
42009 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
42011         [BZ #12922]
42012         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42013         but no long options are defined, just return 'W'.
42015 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
42017         [BZ #9696]
42018         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42020 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
42022         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42023         netgroups to read.
42024         (innetgr): Likewise.
42026 2011-07-05  Roland McGrath  <roland@hack.frob.com>
42028         * config.make.in (install_root): Default to $(DESTDIR).
42030 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
42032         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42034 2011-07-02  Roland McGrath  <roland@hack.frob.com>
42036         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42038         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42039         containing directory rather than embedding absolute directory names.
42041         * scripts/check-local-headers.sh: Rewritten using awk.
42042         Match by word, not by line.  Print error messages for matches.
42043         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42045         * Makerules [shlib-lds-flags empty]:
42046         ($(common-objpfx)libc_pic.opts): New target.
42047         ($(common-objpfx)libc_pic.os.clean): New target.
42048         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42050         * config.make.in (OBJCOPY): New variable.
42051         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42052         * configure: Regenerated.
42054         * config.make.in (use-default-link): New variable.
42055         * configure.in (use_default_link): Grok --with-default-link to set it.
42056         * configure: Regenerated.
42057         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42058         (shlib-lds, shlib-lds-flags): Define to empty.
42060         * Makerules (shlib-lds): New variable.
42061         (shlib-lds-flags): New variable.
42062         (build-shlib, build-moduile, build-module-asneeded): Use it.
42063         ($(common-objpfx)libc.so): Use $(shlib-lds).
42064         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42065         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42067         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42068         DT_FLAGS/DT_FLAGS_1 with zero flags.
42070         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42071         linker script munging.
42073 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
42075         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42076         as 128-bit value.
42077         * crypt/sha512.c (sha512_process_block): Perform total addition using
42078         128-bit if possible.
42079         (__sha512_finish_ctx): Likewise.
42080         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42081         as 64-bit value.
42082         * crypt/sha256.c (SWAP64): Define.
42083         (sha256_process_block): Perform total addition using 64-bit if
42084         possible.
42085         (__sha256_finish_ctx): Likewise.
42087 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
42089         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
42090         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42091         * nscd/hstcache.c (cache_addhst): Likewise.
42092         * nscd/grpcache.c (cache_addgr): Likewise.
42093         * nscd/aicache.c (addhstaiX): Likewise
42094         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42096 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
42098         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42099         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42100         * nscd/hstcache.c (cache_addhst): Likewise.
42101         * nscd/grpcache.c (cache_addgr): Likewise.
42102         * nscd/aicache.c (addhstaiX): Likewise
42104 2011-07-01  Andreas Schwab  <schwab@redhat.com>
42106         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42107         domain only when needed.
42109 2011-06-30  Andreas Schwab  <schwab@redhat.com>
42111         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42112         is always restored.
42114 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
42116         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42117         are re-adding the entry.
42118         * nscd/servicescache.c (cache_addserv): Likewise.
42120 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
42122         * sysdeps/generic/dl-irel.h: fix protection against multiple
42123         inclusions.
42124         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42126 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
42128         [BZ #12935]
42129         * malloc/memusage.sh: Fix quoting in message.
42130         * debug/xtrace.sh: Likewise.
42132         * configure.in: Remove support for --experimental-malloc option, make
42133         it the default.
42134         * config.make.in: Likewise.
42135         * malloc/Makefile: Likewise.
42137 2011-06-27  Andreas Schwab  <schwab@redhat.com>
42139         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42140         two-byte characters.
42142 2011-06-27  Roland McGrath  <roland@hack.frob.com>
42144         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42145         AC_CACHE_CHECK invocation.
42146         * configure: Regenerated.
42148         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42150 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
42152         [BZ #12350]
42153         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
42154         bit from old_res_options.
42156         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42158         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42159         value type for setfct.
42161 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
42163         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42164         __gettimeofday instead of gettimeofday.
42166 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
42168         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42170 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
42172         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42174         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42175         info.
42177 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
42179         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42180         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42181         strcpy-sse2-unaligned strncpy-sse2-unaligned
42182         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42183         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42184         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42185         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42186         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42187         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42188         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42189         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42190         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42191         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42192         (STRCPY): Support SSE2 and SSSE3 versions.
42194 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
42196         [BZ #12874]
42197         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42198         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42199         kernels which artificially limit size of requests.
42201 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
42203         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42204         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42205         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42206         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42207         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42208         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42209         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42210         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42211         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42212         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42213         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42214         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42215         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42216         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42217         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42218         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42219         Enable unaligned load optimization for Intel Core i3, i5 and i7
42220         processors.
42221         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42222         Define.
42223         (index_Fast_Unaligned_Load): Define.
42224         (HAS_FAST_UNALIGNED_LOAD): Define.
42226 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
42228         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42230 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
42232         [BZ #12907]
42233         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42234         until it is clear that the information is realy needed.
42235         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42237 2011-06-22  Andreas Schwab  <schwab@redhat.com>
42239         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42241 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
42243         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42244         /sys/devices/system/cpu/online if it is usable.
42246         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42247         reading the information from the /proc filesystem to once a second.
42249 2011-06-21  Andreas Jaeger  <aj@suse.de>
42251         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42252         NULL after inclusion of kernel headers.
42254 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
42256         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42257         calls to internal_setent.
42259         [BZ #12885]
42260         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42261         addresses using gethostbyname4_r ignore IPv4 addresses.
42263         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42264         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
42266         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42268 2011-06-20  David S. Miller  <davem@davemloft.net>
42270         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42271         inclusions.
42272         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42274         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42275         (elf_irel): Use it.
42276         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42277         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42278         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42279         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42280         * sysdeps/x86_64/dl-irel.h: Likewise.
42282         * elf/dl-runtime.c: Use elf_ifunc_invoke.
42283         * elf/dl-sym.c: Likewise.
42285 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
42287         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
42288         need to dereference resplen2.
42290 2011-06-14  Andreas Schwab  <schwab@redhat.com>
42292         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42294 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
42296         * Makeconfig: Define vardbdir and inst_vardbdir.
42297         * nss/Makefile: Add rules to install db-Makefile.
42299         * nss/nss_db/db-XXX.c: Cleanup.
42301         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42302         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42303         GLIBC_PRIVATE.
42304         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42305         * nss/makedb.c: Implement -g option to specify that value strings
42306         are generated and should not be added to table iterated over for
42307         get*ent calls.
42308         * nss/nss_db/db-initgroups.c: New file.
42310         * nss/getent.c: Add support for initgroups lookups through getgrouplist
42311         interface.
42313         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42314         (internal_getgrouplist): Adjust to name change.
42315         Update use_initgroups_entry if this is not the first call.
42316         * nss/databases.def: Add initgroups entry.
42318         * nss/makedb.c (compute_tables): Check result of multiple hash table
42319         sizes to minimize maximum chain length.
42321 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
42323         * Versions.def: Add entry for libnss_db.
42324         * shlib-versions: Likewise.
42325         * nss/Makefile: Add rules to build libnss_db.
42326         * nss/Versions: Add libnss_db information.  Organize libnss_files
42327         entries better.
42328         * nss/db-Makefile: Add gshadow support.  Change rules for the new
42329         makedb progra.  Some minor improvements to generate smaller files.
42330         * nss/nss_db/nss_db.h: Move NSS database header data structures to
42331         here from...
42332         * nss/makedb.c: ...here.
42333         Improve database format to be smaller and require less memory at
42334         runtime.
42335         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
42336         db anymore.
42337         * nss/nss_db/db-netgrp.c: Likewise.
42338         * nss/nss_db/db-open.c: Likewise.
42339         * nss/nss_files/flies-XXX.x: Adjust comments.
42340         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42341         * nss/nss_files/files-grp.c: Likewise.
42342         * nss/nss_files/files-hosts.c: Likewise.
42343         * nss/nss_files/files-network.c: Likewise.
42344         * nss/nss_files/files-proto.c: Likewise.
42345         * nss/nss_files/files-pwd.c: Likewise.
42346         * nss/nss_files/files-rpc.c: Likewise.
42347         * nss/nss_files/files-service.c: Likewise.
42348         * nss/nss_files/files-sgrp.c: Likewise.
42349         * nss/nss_files/files-spwd.c: Likewise.
42350         * nss/nss_db/db-alias.c: Removed.
42351         * nss/nss_db/dummy-db.h: Removed.
42353 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
42355         * nss/makedb.c: Rewritten to not use database library.
42356         * nss/Makefile: Update to build new makedb program.
42358 2011-06-14  Andreas Jaeger  <aj@suse.de>
42360         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42361         memset declaration.
42363 2011-06-10  Andreas Schwab  <schwab@redhat.com>
42365         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42366         tmpbuf.
42368 2011-06-10  Roland McGrath  <roland@hack.frob.com>
42370         * Makerules (shlib.lds): Fail if the linker script comes out empty.
42371         * elf/Makefile ($(objpfx)ld.so): Likewise.
42373         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42374         Don't list ld.so twice in dependencies.
42376         * posix/bug-regex31.c: Include <stdlib.h>.
42378         * nscd/hstcache.c (cache_addhst): Remove unused variable.
42380         * nis/nss_compat/compat-spwd.c
42381         (getspent_next_nss_netgr): Remove unused variable.
42382         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42384         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42385         nonmembers" output to use the right array.
42387         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42389         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42391         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42392         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42393         * catgets/gencat.c (read_input_file): Likewise.
42394         * locale/programs/locarchive.c (enlarge_archive): Likewise.
42396         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42397         variable definition inside #if's controlling its use.
42399         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42401         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42403         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42405         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42406         unreachable code.
42408         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42410         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42411         * configure: Regenerated.
42413         * Makerules: Revert last change.
42414         * elf/Makefile: Likewise.
42416 2011-06-09  Roland McGrath  <roland@hack.frob.com>
42418         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42419         * elf/Makefile ($(objpfx)librtld.os): Likewise.
42420         (reloc-link): Likewise.
42422 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
42424         * elf/Makefile: Add rules to build pldd.
42425         * elf/pldd.c: New file.
42426         * elf/pldd-xx.c: New file.
42428 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
42430         * version.h: Update for 2.15 development version.
42432 2011-06-07  David S. Miller  <davem@davemloft.net>
42434         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42435         ifuncs.
42436         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42437         elf_machine_lazy_rel): Likewise.
42438         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42439         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42440         elf_machine_lazy_rel): Likewise.
42441         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42442         dl_hwcap via passed in argument.
42443         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42444         Likewise.
42446 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42448         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
42450 2011-06-06  Roland McGrath  <roland@hack.frob.com>
42452         [BZ #12849]
42453         * manual/fdl-1.1.texi: New file, verbatim from:
42454         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42455         * manual/lgpl-2.1.texi: New file, verbatim from:
42456         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42457         * manual/Makefile (licenses): New variable, list those new file names.
42458         (texis): Use it.
42459         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42461         * manual/fdl.texi: File removed.
42462         * manual/lesser.texi: File removed.
42463         * manual/libc.texinfo (Copying, Documentation License):
42464         Use new @include file names, put @appendix directive before @include.
42466 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
42468         [BZ #12841]
42469         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42470         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42471         (mq_open): Add __NTH.
42473 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
42475         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42476         Assume Intel Core i3/i5/i7 processor if AVX is available.
42478 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
42480         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42481         typo.
42483 2011-05-31  Andreas Schwab  <schwab@redhat.com>
42485         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42486         memory.  Use alloca_account.  Fix memory leak when retrying.
42488 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
42490         * version.h (RELEASE): Bump for 2.14 release.
42491         * include/features.h (__GLIBC_MINOR__): Bump to 14.
42493         * config.make.in (RANLIB): Remove entry.
42495 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
42497         * po/Makefile (po-sed-cmd): Add ksh to extensions.
42498         (libc.pot): Work around missing support for .ksh extension in xgettext.
42500         [BZ #12684]
42501         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42502         if both request failed.
42503         (send_dg): In case of server errors clear resplen or *resplen2.
42505         [BZ #12454]
42506         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42507         when there are multiple maps.
42508         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42509         (_dl_fini): Remove test here.
42511         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42513 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
42515         [BZ #12350]
42516         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42517         bit from old_res_options.
42518         (gaih_inet): Likewise.
42520         [BZ #11099]
42521         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
42522         as signed.
42524         * resolv/res_init.c (res_setoptions): Make the code more compact.
42526         [BZ #11558]
42527         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42528         set RES_USEVC.
42530         [BZ #11634]
42531         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42533         * malloc/malloc.h: Mark malloc hook variables as deprecated.
42535         [BZ #11781]
42536         * malloc/malloc.h: Declare malloc hook variables as volatile.
42538         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42539         in last patch.
42541         [BZ #11799]
42542         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
42543         raise in the comment.
42544         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42545         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42546         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
42548 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
42550         [BZ #12811]
42551         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42552         grow the buffers more if it already has to be sufficient.
42553         (build_wcs_upper_buffer): Likewise.
42554         * posix/regexec.c (check_matching): Likewise.
42555         (clean_state_log_if_needed): Likewise.
42556         (extend_buffers): Don't enlarge buffers beyond size of the input
42557         buffer.
42558         Patches mostly by Emil Wojak <emil@wojak.eu>.
42559         * posix/bug-regex32.c: New file.
42560         * posix/Makefile (tests): Add bug-regex32.
42562         * locale/findlocale.c (_nl_find_locale): Return right away if
42563         _nl_explode_name failed.
42564         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42566         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42568         * debug/xtrace.sh: Unify messages.
42569         * malloc/memusage.sh: Likewise.
42571         [BZ #12813]
42572         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42573         time symbol from vDSO.  Substitute with vsyscall if not available.
42574         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42575         __vdso_time.
42577         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42578         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42579         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42580         Add sendmmsg and internal_sendmmsg.
42581         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42582         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42583         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42585         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42586         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42587         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42589 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
42591         [BZ #12813]
42592         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42593         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
42594         available.
42595         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42596         __vdso_getcpu.
42598         [BZ #12814]
42599         * iconvdata/Makefile (tests): Add bug-iconv9.
42600         * iconvdata/bug-iconv9.c: New file.
42602 2011-05-27  Andreas Schwab  <schwab@redhat.com>
42604         [BZ #12814]
42605         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42607 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
42609         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42610         (struct user_regs_struct): Change intcs field back to cs.
42612 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
42614         * po/ja.po: Update from translation team.
42616 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
42618         [BZ #12795]
42619         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42620         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42622 2011-05-20  Andreas Schwab  <schwab@redhat.com>
42624         * stdlib/longlong.h: Update from GCC.
42626 2011-05-23  Andreas Schwab  <schwab@redhat.com>
42628         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42629         parameter name.
42630         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42631         Add parameter name.
42632         (__sysconf): Pass it down.
42634 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
42636         [BZ #12671]
42637         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42638         some situations.
42639         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42640         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42641         add in in __libc_use_alloca calls.  Adjust callers.
42642         (glob): Use malloc in some situations.
42644         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42645         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42646         pltexit.
42648 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
42650         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42651         and CLOCK_BOOTTIME_ALARM.
42653         [BZ #12782]
42654         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42655         is returned.
42657         * string/_strerror.c (__strerror_r): Print negative errors as signed
42658         numbers.
42660         [BZ #12777]
42661         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42662         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42663         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42665         * configure.in: Fix typo in redirection and correct removal of test
42666         files in two cases.
42668         [BZ #12788]
42669         * locale/setlocale.c (new_composite_name): Fix test to check for
42670         identical name of all categories.
42672         [BZ #12792]
42673         * libio/filedoalloc.c (local_isatty): New function.
42674         (_IO_file_doallocate): Use local_isatty.
42675         * stdio-common/perror.c (perror): In case a new stream is used
42676         forward the stream error.
42677         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42678         error flag.
42680 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
42682         [BZ #11869]
42683         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42684         alloca.
42685         * include/alloca.h (extend_alloca_account): Define.
42687         [BZ #11857]
42688         * posix/regex.h: Fix comments with documentation of user-accessible
42689         fields after compilation and describe correct free'ing of pattern
42690         after re_compile_pattern.
42691         Patch by Reuben Thomas <rrt@sc3d.org>.
42693 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
42695         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42696         and -mno-altivec to prevent the compiler from using Altivec and/or
42697         VSX instructions when the corresponding registers are not available.
42699 2011-05-19  Andreas Schwab  <schwab@redhat.com>
42701         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42703 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
42705         * libio/freopen.c (freopen): Use __dup2, not dup2.
42706         * libio/freopen64.c (freopen64): Likewise.
42708 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42710         [BZ #12775]
42711         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42712         * math/Makefile (tests): Add test-powl.
42713         (CFLAGS-test-powl.c): Define.
42714         * math/test-powl.c: New file.
42716 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42718         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42720 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
42722         [BZ #11837]
42723         * iconvdata/gb18030.c: Update to GB18020-2005.
42725 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
42727         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42728         RE_SYNTAX_POSIX_AWK): Update to match recent development.
42729         Patch by Aharon Robbins <arnold@skeeve.com>.
42731         [BZ #11892]
42732         * stdlib/putenv.c (putenv): Don't always create copy of the variable
42733         on the stack.
42735         [BZ #11895]
42736         * misc/pselect.c (__pselect): Handle timeout value errors hidden
42737         through underflows.
42739         [BZ #12766]
42740         * misc/error.c (error_at_line): Ensure file_name and old_file_name
42741         point to strings before performing equality test for error_one_per_line
42742         mode.
42744         [BZ #11697]
42745         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42747         [BZ #11820]
42748         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42749         (struct user_fpregs_struct): Avoid __uint*_t types.
42751         [BZ #6420]
42752         * malloc/mtrace.c (tr_where): Add additional parameter to point to
42753         symbol info.  Use it instead of calling _dl_addr locally.
42754         (lock_and_info): New function.
42755         (tr_freehook): Call lock_and_info and pass symbol info as additional
42756         parameter to tr_where.
42757         (tr_mallochook): Likewise.
42758         (tr_reallochook): Likewise.
42759         (tr_memalignhook): Likewise.
42761         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
42762         used and couldn't be at all thread-safe.
42764 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
42766         * libio/freopen.c (freopen): Don't close old file descriptor
42767         before the new one is opened.  Instead dup the new file descriptor
42768         to the old one after the new stream is created.
42769         * libio/freopen64.c (freopen64): Likewise.
42770         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42771         * libio/fileops.c (_IO_new_file_close_it): Handle new
42772         _IO_FLAGS2_NOCLOSE flag.
42773         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42774         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42775         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42776         _IO_FLAGS2_NOCLOSE flag.
42777         * include/unistd.h: Add hidden_proto for dup3.
42778         Define __have_dup3.
42779         * io/dup3.c: Define hidden symbol.
42780         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42782         [BZ #7101]
42783         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42784         when an incomplete long option is used.
42785         * posix/tst-getopt_long1.c: New file.
42786         * posix/Makefile (tests): Add tst-getopt_long1.
42788         [BZ #10138]
42789         * scripts/config.guess: Update from autoconf-2.68.
42790         * scripts/config.sub: Likewise.
42792         [BZ #10157]
42793         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42794         tests into ...
42795         (has_cpuclock): ...this.  New function.
42796         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42797         macro here based on has_cpuclock code.
42799         [BZ #10149]
42800         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42801         First byte (not low byte) is now always NUL.
42802         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42804         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42805         Use non-cancelable interfaces.
42807         [BZ #9809]
42808         * locale/iso-639.def: Add entry for Sorani.
42810         [BZ #11901]
42811         * include/stdlib.h: Move include protection to the right place.
42812         Define abort_msg_s.  Declare __abort_msg with it.
42813         * stdlib/abort.c (__abort_msg): Adjust type.
42814         * assert/assert.c (__assert_fail_base): New function.  Majority
42815         of code from __assert_fail.  Allocate memory for __abort_msg with
42816         mmap.
42817         (__assert_fail): Now call __assert_fail_base.
42818         * assert/assert-perr.c: Remove bulk of implementation.  Use
42819         __assert_fail_base.
42820         * include/assert.hL Declare __assert_fail_base.
42821         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42822         mmap.
42823         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42825 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
42827         [BZ #11952]
42828         [BZ #12453]
42829         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42830         until all modules are registered in the DTV.
42831         * elf/Makefile: Add rules to build and run tst-tls19.
42832         * elf/tst-tls19.c: New file.
42833         * elf/tst-tls19mod1.c: New file.
42834         * elf/tst-tls19mod2.c: New file.
42835         * elf/tst-tls19mod3.c: New file.
42836         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42838         [BZ #12083]
42839         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42840         correctly.
42842         [BZ #12601]
42843         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42844         two-byte sequence errors.
42845         * iconvdata/Makefile (tests): Add bug-iconv8.
42846         * iconvdata/bug-iconv8.c: New file.
42848         [BZ #12626]
42849         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42850         buf2 definition.
42852         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42854         [BZ #12432]
42855         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42856         (dummy_getcfa): New function.
42857         (init): Get _Unwind_GetCFA address, use dummy if not found.
42858         (backtrace_helper): In recursion check, also check whether CFA changes.
42859         (__backtrace): Completely initialize arg.
42861         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42862         storing incomplete byte sequence in state object.  Avoid testing for
42863         guaranteed too small input if we know there is enough data available.
42865 2011-05-11  Andreas Schwab  <schwab@redhat.com>
42867         * Makeconfig (+link-pie): Indent.
42868         * Rules (binaries-pie): Define if $(have-fpie) and
42869         $(build-shared).
42870         (binaries-shared): Also filter out $(binaries-pie).
42871         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42872         * nscd/Makefile (others-pie): Add nscd.
42873         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42874         ($(objpfx)nscd): Remove command override.
42875         * login/Makefile (others-pie): Add pt_chown.
42876         ($(objpfx)pt_chown): Remove command override.
42877         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42878         remove command overrides.
42880 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
42882         * libio/tst_putwc.c: Fix error messages.
42884         [BZ #12724]
42885         * libio/fileops.c (_IO_new_file_close_it): Always flush when
42886         currently writing and seek to current position when not.
42887         * libio/Makefile (tests): Add bug-fclose1.
42888         * libio/bug-fclose1.c: New file.
42890 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
42892         [BZ #12511]
42893         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42894         don't set DF_1_NODELETE here.
42895         (do_lookup_x): When entering new entry test for copy relocation
42896         and if necessary set DF_1_NODELETE flag.
42897         * elf/tst-unique4.cc: New file.
42898         * elf/tst-unique4.h: New file.
42899         * elf/tst-unique4lib.cc: New file.
42900         * elf/Makefile: Add rules to build and run tst-unique4.
42901         Patch by Piotr Bury <pbury@goahead.com>.
42903 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
42905         [BZ #12052]
42906         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42908         [BZ #12625]
42909         * misc/mntent_r.c (addmntent): Flush the stream after the output
42911         [BZ #12393]
42912         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42913         (is_trusted_path_normalize): Skip initial colon.  Append slash
42914         to empty buffer.  Duplicate is_trusted_path code but allow
42915         constructed patch to be prefix.
42916         (is_dst): Allow $ORIGIN followed by /.
42917         (_dl_dst_substitute): Correct clearing of check_for_trusted.
42918         Correct testing of result of is_trusted_path_normalize
42919         (decompose_rpath): Fix warning.
42921 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
42923         [BZ #11257]
42924         * grp/initgroups.c (internal_getgrouplist): When we found the service
42925         list through the initgroups entry in nsswitch.conf do not always
42926         continue on a successful lookup.  Don't always use the
42927         __nss_group_database value if it is set.
42928         * nss/nsswitch.conf (initgroups): Change action for successful db
42929         lookup to continue for compatibility.
42931 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
42933         [BZ #11532]
42934         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42935         and CP774 modules.
42936         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42937         and CP774 modules.
42938         * iconvdata/tst-tables.sh: Likewise.
42939         * iconvdata/cp770.c: New file.
42940         * iconvdata/cp771.c: New file.
42941         * iconvdata/cp772.c: New file.
42942         * iconvdata/cp773.c: New file.
42943         * iconvdata/cp774.c: New file.
42944         * iconvdata/testdata/CP770: New file.
42945         * iconvdata/testdata/CP770..UTF8: New file.
42946         * iconvdata/testdata/CP771: New file.
42947         * iconvdata/testdata/CP771..UTF8: New file.
42948         * iconvdata/testdata/CP772: New file.
42949         * iconvdata/testdata/CP772..UTF8: New file.
42950         * iconvdata/testdata/CP773: New file.
42951         * iconvdata/testdata/CP773..UTF8: New file.
42952         * iconvdata/testdata/CP774: New file.
42953         * iconvdata/testdata/CP774..UTF8: New file.
42955         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42956         END CHARMAP line.
42957         * iconvdata/gen-8bit-gap.sh: Likewise.
42958         * iconvdata/gen-8bit.sh: Likewise.
42960         * locale/iso-639.def: Add ary entry.
42962         [BZ #11258]
42963         * locale/C-translit.h.in: Add U20A1 transliteration.
42965         [BZ #12178]
42966         * locale/iso-639.def: Add wae entry.
42967         Patch by Kevin Bortis <bortis@translate-wae.ch>.
42969         [BZ #12545]
42970         * locale/programs/localedef.c (construct_output_path): Use ssize_t
42971         for n.
42973         [BZ #12711]
42974         * locale/C-translit.h.in: Add entry for U20B9.
42975         Patch by pravin.d.s@gmail.com.
42977 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
42979         [BZ #12713]
42980         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42981         ENAMETOOLONG use generic getcwd.
42982         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
42983         in rtld.  Use *stat64.
42984         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42985         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42986         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42987         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42988         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42989         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42990         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42991         __fstatat64 macros.
42992         * include/dirent.h: Add libc_hidden_proto for rewinddir.
42993         * dirent/rewinddir.c: Add libc_hidden_def.
42994         * sysdeps/mach/hurd/rewinddir.c: Likewise.
42995         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
42997         * include/dirent.h (__alloc_dir): Add flags parameter.
42998         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42999         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43000         __alloc_dir.
43001         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
43002         from fdopendir if O_CLOEXEC is already set.
43004 2011-03-15  Alan Modra  <amodra@gmail.com>
43006         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43007         l_tls_firstbyte_offset non-zero.  Save padding offset in
43008         l_tls_firstbyte_offset for later use.
43009         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43010         freeing static tls block.
43012 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
43014         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43015         where #ifdef was intended.  The intent is to prevent ARG_MAX from
43016         being defined by the kernel headers.
43018 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
43020         [BZ #12734]
43021         * resolv/resolv.h: Define RES_NOTLDQUERY.
43022         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43023         no-tld-query and set RES_NOTLDQUERY.
43024         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43025         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43026         modern BIND to search name as TLD unless forbidden.
43028 2011-05-07  Petr Baudis  <pasky@suse.cz>
43029             Ulrich Drepper  <drepper@gmail.com>
43031         [BZ #12393]
43032         * elf/dl-load.c (fillin_rpath): Move trusted path check...
43033         (is_trusted_path): ...to here.
43034         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
43035         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
43036         using is_trusted_path_normalize() in setuid scripts.
43038 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43040         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43041         __BEGIN/__END_DECLS.
43043 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
43045         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43046         NSS_STATUS_NOTFOUND if no record was found.
43048 2011-05-05  Andreas Schwab  <schwab@redhat.com>
43050         * sunrpc/Makefile (headers): Add rpc/netdb.h.
43051         (headers-not-in-tirpc): Remove rpc/netdb.h
43052         * resolv/netdb.h: Revert last change.
43054 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43056         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43057         circular dependency between libgcc.a and libc.a.
43059 2011-05-05  Andreas Schwab  <schwab@redhat.com>
43061         * resolv/netdb.h: Don't include <rpc/netdb.h>.
43062         * nis/Makefile: Don't install rpcsvc/*.
43063         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43064         instead of <rpc/types.h>.
43065         (MAXHOSTNAMELEN): Define.
43067 2011-05-03  Andreas Schwab  <schwab@redhat.com>
43069         * elf/ldconfig.c (add_dir): Don't crash on empty path.
43071 2011-04-28  Maciej Babinski  <mbabinski@google.com>
43073         [BZ #12714]
43074         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43075         gethostbyname4_r when IPv6 results are possible.
43077 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
43079         [BZ #12723]
43080         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43081         _PC_PIPE_BUF handling.
43083 2011-04-30  Bruno Haible  <bruno@clisp.org>
43085         [BZ #12717]
43086         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43087         * resolv/netdb.h (getnameinfo): Change type of flags parameter
43088         to 'int'.
43089         * inet/getnameinfo.c (getnameinfo): Likewise.
43091 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
43093         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43094         to groups setting in database lookup.
43095         * nss/nsswitch.conf: Add initgroups entry.
43097 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
43099         [BZ #12685]
43100         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43101         mode string.
43102         Patch by Eric Blake <eblake@redhat.com>.
43104 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
43106         * sunrpc/Makefile (need-export-routines): Add svc_run.
43107         (routines): Remove svc_run.
43108         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43109         * sunrpc/clnt_perr.c (clnt_perrno): Export.
43110         * sunrpc/svc_run.c (svc_run): Likewise.
43111         * sunrpc/svc_udp.c (svcudp_create): Likewise.
43113 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
43115         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43116         problem in reallocation in last patch.
43118 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
43120         * sunrpc/Makefile: Move inclusion of Rules.
43122 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
43124         * nss/nss_files/files-initgroups.c: New file.
43125         * nss/Makefile (libnss_files-routines): Add files-initgroups.
43126         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43127         _nss_files_initgroups_dyn.
43129 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
43131         * elf/elf.h (R_ARM_IRELATIVE): Define.
43133 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
43135         * po/ru.po: Update from translation team.
43137 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
43139         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43140         dependencies.
43142 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
43144         [BZ #12653]
43145         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43146         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43147         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43148         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43149         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43151 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
43153         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43154         differing bytes.
43155         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43156         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43157         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43159 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
43161         [BZ #12420]
43162         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43163         storing it.
43164         * stdlib/bug-getcontext.c: New file.
43165         * stdlib/Makefile: Add rules to build and run bug-getcontext.
43167 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43169         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43170         instructions into .machine "z9-109".
43171         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43172         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43174 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43176         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43177         between environment variables and auxiliary vector.
43179 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
43181         * Makefile: Add rules to build linkobj/libc.so.
43182         * include/libc-symbols.h: Define libc_hidden_nolink.
43183         * include/rpc/auth.h: Mark functions which are to be hidden.
43184         * include/rpc/auth_des.h: Likewise.
43185         * include/rpc/auth_unix.h: Likewise.
43186         * include/rpc/clnt.h: Likewise.
43187         * include/rpc/des_crypt.h: Likewise.
43188         * include/rpc/key_prot.h: Likewise.
43189         * include/rpc/pmap_clnt.h: Likewise.
43190         * include/rpc/pmap_prot.h: Likewise.
43191         * include/rpc/pmap_rmt.h: Likewise.
43192         * include/rpc/rpc_msg.h: Likewise.
43193         * include/rpc/svc.h: Likewise.
43194         * include/rpc/svc_auth.h: Likewise.
43195         * include/rpc/xdr.h: Likewise.
43196         * nis/Makefile: Link all DSOs against linkobj/libc.so.
43197         * nss/Makefile: Likewise.
43198         * sunrpc/Makefile: Don't install headers.  Build library with normal
43199         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
43200         * sunrpc/auth_des.c: Hide exported symbols by default, export some
43201         for the compat linking library.  Remove use of INTDEF/INTUSE.
43202         * sunrpc/auth_none.c: Likewise.
43203         * sunrpc/auth_unix.c: Likewise.
43204         * sunrpc/authdes_prot.c: Likewise.
43205         * sunrpc/authuxprot.c: Likewise.
43206         * sunrpc/clnt_gen.c: Likewise.
43207         * sunrpc/clnt_perr.c: Likewise.
43208         * sunrpc/clnt_raw.c: Likewise.
43209         * sunrpc/clnt_simp.c: Likewise.
43210         * sunrpc/clnt_tcp.c: Likewise.
43211         * sunrpc/clnt_udp.c: Likewise.
43212         * sunrpc/clnt_unix.c: Likewise.
43213         * sunrpc/des_crypt.c: Likewise.
43214         * sunrpc/des_soft.c: Likewise.
43215         * sunrpc/get_myaddr.c: Likewise.
43216         * sunrpc/key_call.c: Likewise.
43217         * sunrpc/key_prot.c: Likewise.
43218         * sunrpc/netname.c: Likewise.
43219         * sunrpc/pm_getmaps.c: Likewise.
43220         * sunrpc/pm_getport.c: Likewise.
43221         * sunrpc/pmap_clnt.c: Likewise.
43222         * sunrpc/pmap_prot.c: Likewise.
43223         * sunrpc/pmap_prot2.c: Likewise.
43224         * sunrpc/pmap_rmt.c: Likewise.
43225         * sunrpc/publickey.c: Likewise.
43226         * sunrpc/rpc_cmsg.c: Likewise.
43227         * sunrpc/rpc_common.c: Likewise.
43228         * sunrpc/rpc_dtable.c: Likewise.
43229         * sunrpc/rpc_prot.c: Likewise.
43230         * sunrpc/rpc_thread.c: Likewise.
43231         * sunrpc/rtime.c: Likewise.
43232         * sunrpc/svc.c: Likewise.
43233         * sunrpc/svc_auth.c: Likewise.
43234         * sunrpc/svc_authux.c: Likewise.
43235         * sunrpc/svc_raw.c: Likewise.
43236         * sunrpc/svc_run.c: Likewise.
43237         * sunrpc/svc_simple.c: Likewise.
43238         * sunrpc/svc_tcp.c: Likewise.
43239         * sunrpc/svc_udp.c: Likewise.
43240         * sunrpc/svc_unix.c: Likewise.
43241         * sunrpc/svcauth_des.c: Likewise.
43242         * sunrpc/xcrypt.c: Likewise.
43243         * sunrpc/xdr.c: Likewise.
43244         * sunrpc/xdr_array.c: Likewise.
43245         * sunrpc/xdr_float.c: Likewise.
43246         * sunrpc/xdr_intXX_t.c: Likewise.
43247         * sunrpc/xdr_mem.c: Likewise.
43248         * sunrpc/xdr_rec.c: Likewise.
43249         * sunrpc/xdr_ref.c: Likewise.
43250         * sunrpc/xdr_sizeof.c: Likewise.
43251         * sunrpc/xdr_stdio.c: Likewise.
43253 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
43255         [BZ #12650]
43256         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43257         * sysdeps/ia64/dl-tls.h: Likewise.
43258         * sysdeps/powerpc/dl-tls.h: Likewise.
43259         * sysdeps/s390/dl-tls.h: Likewise.
43260         * sysdeps/sh/dl-tls.h: Likewise.
43261         * sysdeps/sparc/dl-tls.h: Likewise.
43262         * sysdeps/x86_64/dl-tls.h: Likewise.
43263         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43265 2011-03-14  Andreas Schwab  <schwab@redhat.com>
43267         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43268         rpath element also skip the following colon.
43269         (expand_dynamic_string_token): Add is_path parameter and pass
43270         down to DL_DST_REQUIRED and _dl_dst_substitute.
43271         (decompose_rpath): Call expand_dynamic_string_token with
43272         non-zero is_path.  Ignore empty rpaths.
43273         (_dl_map_object_from_fd): Call expand_dynamic_string_token
43274         with zero is_path.
43276 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
43278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43279         Make cancelable.
43281 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
43283         [BZ #12655]
43284         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43285         Patch by Filipe David Manana <fdmanana@apache.org>.
43287 2011-04-07  Andreas Schwab  <schwab@redhat.com>
43289         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43290         Maintain aligned stack.
43291         (CHECK_RSP): Remove unused macro.
43293 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
43295         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43296         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43298 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
43300         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43302         * include/features.h: Mention __USE_XOPEN2K8 in comment.
43304 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
43306         [BZ #12518]
43307         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43308         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43309         * sysdeps/x86_64/memmove.c: New file.
43310         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43311         (memcpy): Renamed to ...
43312         (__new_memcpy): This.
43313         (memcpy): Provide GLIBC_2_14 memcpy.
43314         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43315         (memcpy): Provide GLIBC_2_2_5 memcpy.
43317 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
43319         [BZ #12631]
43320         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43322 2011-03-30  Andreas Schwab  <schwab@redhat.com>
43324         * misc/syncfs.c: New file.
43325         * misc/Makefile (routines): Add syncfs.
43326         * posix/unistd.h: Declare syncfs.
43327         * sysdeps/unix/syscalls.list: Add syncfs.
43329 2011-04-01  Andreas Schwab  <schwab@redhat.com>
43331         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43332         open_by_handle_at.
43333         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43334         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43335         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43336         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43337         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43338         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43339         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43341 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
43343         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43344         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43345         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43346         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43347         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43348         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43349         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43351         * io/Makefile: Compile fallocate.c, fallocate64.c, and
43352         sync_file_range.c with -fexceptions.
43353         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43354         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43355         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43356         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43357         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43358         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43359         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
43360         sync_file_range as cancellation point
43361         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
43362         now a wrapper around __call_sync_file_range with cancellation handling.
43363         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43364         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
43365         function name to __call_sync_file_range.
43366         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43367         Add call_sync_file_range.
43369 2011-04-01  Andreas Schwab  <schwab@redhat.com>
43371         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43372         bits/timex.h.
43374 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
43376         * iconv/iconv.h: Fix typo in comment.
43377         * io/fcntl.h: Likewise.
43378         * libio/stdio.h: Likewise.
43379         * posix/spawn.h: Likewise.
43380         * posix/unistd.h: Likewise.
43381         * stdlib/stdlib.h: Likewise.
43382         * time/time.h: Likewise.
43383         * wcsmbs/wchar.h: Likewise.
43385         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43386         open_by_handle): Add.
43387         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43388         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
43389         Augment a few comments.
43390         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43391         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43392         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43393         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43394         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43395         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43396         open_by_handle.
43398         * io/fcntl.h (AT_EMPTY_PATH): Define.
43400 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
43402         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43403         * sysdeps/unix/sysv/linux/bits/time.h: New file.
43404         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43405         to...
43406         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
43407         * Versions.def: Add GLIBC_2.14.
43408         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43409         Export.
43411 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
43413         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43414         round counter.
43415         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43417 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43419         [BZ #12597]
43420         * string/test-strncmp.c (do_page_test): New function.
43421         (check2): Likewise.
43422         (test_main): Call check2.
43423         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43425 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
43427         [BZ #12587]
43428         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43429         Handle cache information in CPU leaf 4.
43430         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43432 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
43434         [BZ #12583]
43435         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43436         character representation.
43437         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43439 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
43441         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43442         END(__isnan) to END(__isnanf) to match function entry point/label
43443         EALIGN(__isnanf,...).
43445 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
43447         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43449 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
43451         [BZ #12510]
43452         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43453         copy from the symbol referenced in the relocation to initialize the
43454         used variable.
43455         Patch by Piotr Bury <pbury@goahead.com>.
43456         * elf/Makefile: Add rules to build and tst-unique3.
43457         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43458         * elf/tst-unique3.cc: New file.
43459         * elf/tst-unique3.h: New file.
43460         * elf/tst-unique3lib.cc: New file.
43461         * elf/tst-unique3lib2.cc: New file.
43463         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43465 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
43467         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43468         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
43469         to _start.
43471 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
43473         * elf/dl-load.c (_dl_map_object): If we are looking for the first
43474         to-be-loaded object along a path to loader is ld.so.
43476 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
43477             Ulrich Drepper  <drepper@gmail.com>
43479         * sysdeps/x86_64/memset.S: After aligning destination, code
43480         branches to different locations depending on the value of
43481         misalignment, when multiarch is enabled. Fix this.
43483 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
43485         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43486         Set _x86_64_preferred_memory_instruction for AMD processsors.
43487         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43488         Set bit_Prefer_SSE_for_memop for AMD processors.
43490 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
43492         * libio/fmemopen.c (fmemopen): Optimize a bit.
43494 2011-03-03  Andreas Schwab  <schwab@redhat.com>
43496         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43498 2011-03-03  Roland McGrath  <roland@redhat.com>
43500         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43502 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
43504         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
43505         __bzero_ultra1 instead of __memset_ultra1.
43507 2011-02-23  Andreas Schwab  <schwab@redhat.com>
43508             Ulrich Drepper  <drepper@gmail.com>
43510         [BZ #12509]
43511         * include/link.h (struct link_map): Add l_orig_initfini.
43512         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43513         returning unsuccessfully.
43514         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43515         close of a file loaded at startup, restore the original l_initfini
43516         list.
43517         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43518         list, store the pointer.
43519         * elf/Makefile ($(objpfx)noload-mem): New rule.
43520         (noload-ENV): Define.
43521         (tests): Add $(objpfx)noload-mem.
43522         * elf/noload.c: Include <memcheck.h>.
43523         (main): Call mtrace.  Close all opened handles.
43525 2011-02-17  Andreas Schwab  <schwab@redhat.com>
43527         [BZ #12454]
43528         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43529         dependencies are missing.
43531 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43533         Fix __if_freereq crash: Unlike the generic version which uses free,
43534         Hurd needs munmap.
43535         * sysdeps/mach/hurd/ifreq.h: New file.
43537 2011-01-27  Petr Baudis  <pasky@suse.cz>
43538             Ulrich Drepper  <drepper@gmail.com>
43540         [BZ 12445]#
43541         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43542         to extend_alloca().
43543         * stdio-common/bug23.c: New file.
43544         * stdio-common/Makefile (tests): Add bug23.
43546 2010-09-28  Andreas Schwab  <schwab@redhat.com>
43547             Ulrich Drepper  <drepper@gmail.com>
43549         [BZ #12489]
43550         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43551         before performing relro protection.  At old place add assertion
43552         to make sure nothing changed.
43554 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
43555             Glauber de Oliveira Costa  <glommer@gmail.com>
43557         * elf/elf.h: Add new ARM TLS relocs.
43559 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
43561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43562         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43563         cast from r3.
43564         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
43565         'tests' variable.
43566         * sysdeps/wordsize-64/tst-writev.c: New file.
43568 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
43570         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43571         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43572         insns in _dl_start to prevent a TOC reference before relocs are
43573         resolved.
43575 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
43577         [BZ #12469]
43578         * Makeconfig: Remove RANLIB definition.
43579         * Makerules: Don't use RANLIB.
43580         * aclocal.m4: Remove ranlib test.
43581         * configure.in: No need to check for ranlib.
43582         * elf/rtld-Rules: Don't use RANLIB.
43584 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43586         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43587         protection macro.
43588         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43589         inclusion protection macro.
43591         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43592         SIGRTMIN and SIGRTMAX and print information in that case only when
43593         SIGRTMIN is defined.
43595 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
43597         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43598         arginfo fn returning -1.
43600         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43601         and thousands string is zero terminated.
43603 2011-02-03  Andreas Schwab  <schwab@redhat.com>
43605         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43606         sysdeps/unix/sysv/linux/bits/socket.h.
43608 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43610         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43611         (__CPU_COUNT): Remove old macros.
43612         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43613         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43614         (__CPU_ALLOC, __CPU_FREE): Add macros.
43615         (__sched_cpualloc, __sched_cpufree): Add declarations.
43617 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
43619         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43620         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43621         * nscd/aicache.c (addhstaiX): Return timeout of added value.
43622         (readdhstai): Return value of addhstaiX call.
43623         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43624         (addgrbyX): Return value returned by cache_addgr.
43625         (readdgrbyname): Return value returned by addgrbyX.
43626         (readdgrbygid): Likewise.
43627         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43628         (addpwbyX): Return value returned by cache_addpw.
43629         (readdpwbyname): Return value returned by addhstbyX.
43630         (readdpwbyuid): Likewise.
43631         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43632         (addservbyX): Return value returned by cache_addserv.
43633         (readdservbyname): Return value returned by addservbyX:
43634         (readdservbyport): Likewise.
43635         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43636         (addhstbyX): Return value returned by cache_addhst.
43637         (readdhstbyname): Return value returned by addhstbyX.
43638         (readdhstbyaddr): Likewise.
43639         (readdhstbynamev6): Likewise.
43640         (readdhstbyaddrv6): Likewise.
43641         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43642         (readdinitgroups): Return value returned by addinitgroupsX.
43643         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43644         (prune_cache): Keep track of timeout value of re-added entries.
43645         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43646         * nscd/nscd.h: Adjust prototypes of readd* functions.
43648 2011-02-04  Roland McGrath  <roland@redhat.com>
43650         * nis/nis_server.c (nis_servstate): Use the right name for 0.
43651         (nis_stats): Likewise.
43652         * nis/nis_modify.c (nis_modify): Likewise.
43653         * nis/nis_remove.c (nis_remove): Likewise.
43654         * nis/nis_add.c (nis_add): Likewise.
43656         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43658         * posix/fnmatch_loop.c: Add some consts.
43660         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43662 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
43664         [BZ #12460]
43665         * config.make.in (config-cflags-novzeroupper): Define.
43666         * configure.in: Substitute libc_cv_cc_novzeroupper.
43667         * elf/Makefile (AVX-CFLAGS): Define.
43668         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43669         (CFLAGS-tst-auditmod4a.c): Likewise.
43670         (CFLAGS-tst-auditmod4b.c): Likewise.
43671         (CFLAGS-tst-auditmod6b.c): Likewise.
43672         (CFLAGS-tst-auditmod6c.c): Likewise.
43673         (CFLAGS-tst-auditmod7b.c): Likewise.
43674         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43676 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
43678         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43679         function to the callback.
43680         Patch partly by Jiri Olsa <jolsa@redhat.com>.
43682 2011-02-02  Andreas Schwab  <schwab@redhat.com>
43684         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43685         of errno.
43687 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
43689         [BZ #11724]
43690         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43691         of constructors.
43692         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43693         of destructors.
43694         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43696         [BZ #11724]
43697         * elf/Makefile: Add rules to build and run new test.
43698         * elf/tst-initorder.c: New file.
43699         * elf/tst-initorder.exp: New file.
43700         * elf/tst-initordera1.c: New file.
43701         * elf/tst-initordera2.c: New file.
43702         * elf/tst-initordera3.c: New file.
43703         * elf/tst-initordera4.c: New file.
43704         * elf/tst-initorderb1.c: New file.
43705         * elf/tst-initorderb2.c: New file.
43706         * elf/tst-order-a1.c: New file.
43707         * elf/tst-order-a2.c: New file.
43708         * elf/tst-order-a3.c: New file.
43709         * elf/tst-order-a4.c: New file.
43710         * elf/tst-order-b1.c: New file.
43711         * elf/tst-order-b2.c: New file.
43712         * elf/tst-order-main.c: New file.
43713         New test case by George Gensure <werkt0@gmail.com>.
43715 2010-10-01  Andreas Schwab  <schwab@redhat.com>
43717         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43718         decoding ACE if AI_CANONIDN.
43720 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
43722         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43724 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
43726         * version.h (RELEASE): Bump for 2.13 release.
43727         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43729         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43731         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43732         MADV_NOHUGEPAGE.
43733         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43734         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43735         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43736         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43737         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43738         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43740         * posix/getconf.c: Update copyright year.
43741         * catgets/gencat.c: Likewise.
43742         * csu/version.c: Likewise.
43743         * debug/catchsegv.sh: Likewise.
43744         * debug/xtrace.sh: Likewise.
43745         * elf/ldconfig.c: Likewise.
43746         * elf/ldd.bash.in: Likewise.
43747         * elf/sprof.c (print_version): Likewise.
43748         * iconv/iconv_prog.c: Likewise.
43749         * iconv/iconvconfig.c: Likewise.
43750         * locale/programs/locale.c: Likewise.
43751         * locale/programs/localedef.c: Likewise.
43752         * malloc/memusage.sh: Likewise.
43753         * malloc/mtrace.pl: Likewise.
43754         * nscd/nscd.c (print_version): Likewise.
43755         * nss/getent.c: Likewise.
43757         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43758         PF_CAIF, and PF_ALG.
43759         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43761 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
43763         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43764         (modules-names): Use them.
43765         (ifunc-test-modules, ifunc-pie-tests): Define.
43766         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43767         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43768         (test-extras): Likewise.
43769         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43770         $(compile-command.c).
43771         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43772         (all-built-dso): Define.
43773         (check-textrel.out, check-execstack.out): Depend on it.
43775         * configure.in: Don't override --enable-multi-arch.
43777 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
43779         [BZ #6812]
43780         * nscd/hstcache.c (tryagain): Define.
43781         (cache_addhst): Return tryagain not notfound for temporary errors.
43782         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43783         failed.
43785 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
43787         [BZ #10563]
43788         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43789         to make the syscall.
43790         * sysdeps/unix/sysv/linux/setgroups.c: New file.
43792         [BZ #12378]
43793         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43794         and fall back to matching as normal character if the string ends before
43795         the matching ']' is found.  This is what POSIX requires.
43796         * posix/testfnm.c: Adjust test result.
43797         * posix/globtest.sh: Adjust test result.  Add new test.
43798         * posix/tst-fnmatch.input: Likewise.
43799         * posix/tst-fnmatch2.c: Add new test.
43801 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
43803         * elf/Makefile (check-execstack): Revert last change.  Depend on
43804         check-execstack.h.
43805         (check-execstack.h): New target.
43806         (generated): Add check-execstack.h.
43807         * elf/check-execstack.c: Include "check-execstack.h".
43808         (main): Revert last change.
43809         (handle_file): Return zero if GNU_STACK is absent and
43810         DEFAULT_STACK_PERMS doesn't include PF_X.
43812 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
43814         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43815         in child fails because the descriptor is already closed.
43816         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43817         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43818         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43820         [BZ #12397]
43821         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43822         syscall.
43824         [BZ #10484]
43825         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43826         temporary buffer used to handle multi lookups locally.
43827         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43829 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
43831         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43832         loader is ld.so.
43834 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
43836         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43837         alignment for SSE2.
43839 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
43841         [BZ #12394]
43842         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43843         characters.  When rounding increased number of integer digits recompute
43844         number of groups.
43845         * stdio-common/tst-grouping.c: New file.
43846         * stdio-common/Makefile: Add rules to build and run tst-grouping.
43848 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
43850         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43851         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
43853         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43854         void.
43855         * bits/select.h: Likewise.
43857 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
43859         * po/ja.po: Update from translation team.
43861 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
43863         [BZ #11155]
43864         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43865         implementation just like for lxstat, fxstatat, et al.
43867 2010-12-27  Jim Meyering  <meyering@redhat.com>
43869         [BZ #12348]
43870         * posix/regexec.c (build_trtable): Return failure indication upon
43871         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
43873 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
43875         [BZ #12201]
43876         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43877         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43878         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43879         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43881         [BZ #12207]
43882         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43884         [BZ #12204]
43885         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43886         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43888 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
43890         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43891         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43892         script has SORT_BY_INIT_PRIORITY.
43893         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43894         NO_CTORS_DTORS_SECTIONS is defined.
43895         * elf/soinit.c: Likewise.
43896         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43897         NO_CTORS_DTORS_SECTIONS is defined.
43898         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43899         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43900         * sysdeps/sh/init-first.c: Likewise.
43901         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43903 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
43905         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43906         always use the slow path.
43908 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
43910         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43911         similar rule which adds the sysdep directories to the header search in
43912         order to pick up the correct platform stackinfo.h.
43913         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43914         perform test if it is, otherwise return successfully without testing.
43915         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43916         DEFAULT_STACK_PERMS define in stackinfo.h.
43917         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43918         defined in stackinfo.h.
43919         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43920         DEFAULT_STACK_PERMS defined in stackinfo.h.
43921         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43922         * sysdeps/ia64/stackinfo.h: Likewise.
43923         * sysdeps/s390/stackinfo.h: Likewise.
43924         * sysdeps/sh/stackinfo.h: Likewise.
43925         * sysdeps/sparc/stackinfo.h: Likewise.
43926         * sysdeps/x86_64/stackinfo.h: Likewise.
43927         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43928         PF_X for powerpc64.  Retain PF_X for powerpc32.
43930 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
43932         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43933         accurately.
43934         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43935         GETDENTS_64BIT_ALIGNED.
43937 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
43939         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43941 2010-12-10  Andreas Schwab  <schwab@redhat.com>
43943         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43944         _GNU_SOURCE.
43946         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43947         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43948         Remove __restrict.
43949         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43950         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43952 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
43954         [BZ #11655]
43955         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43956         are initialized.
43958 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
43960         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43962 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
43964         * po/it.po: Update from translation team.
43966 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
43968         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43969         unused codes.
43971 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
43973         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43975 2010-11-24  Andreas Schwab  <schwab@redhat.com>
43977         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43978         specially.
43979         (gaih_getanswer_slice): Likewise.
43981 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
43983         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43985 2010-05-31  Petr Baudis  <pasky@suse.cz>
43987         [BZ #11149]
43988         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43989         silently even in the chroot mode.
43991 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
43993         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43994         last patch a bit.  Pretty printing
43996 2010-05-31  Petr Baudis <pasky@suse.cz>
43998         [BZ #10085]
43999         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44000         initialization of skip_initgroups_dyn.
44002 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
44004         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44005         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44007 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
44009         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44011 2010-11-11  Andreas Schwab  <schwab@redhat.com>
44013         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44014         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44015         (tst-fnmatch-ENV): Set MALLOC_TRACE.
44016         ($(objpfx)tst-fnmatch-mem): New rule.
44017         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44018         * posix/tst-fnmatch.c (main): Call mtrace.
44020 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
44022         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44023         Support Intel processor model 6 and model 0x2c.
44025 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
44027         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44028           signed comparison.
44030 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
44032         [BZ #12205]
44033         * string/test-strncasecmp.c (check_result): New function.
44034         (do_one_test): Use it.
44035         (check1): New function.
44036         (test_main): Use it.
44037         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44038         Support strcasecmp and strncasecmp.
44040 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
44042         [BZ #12194]
44043         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44044         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44046 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
44048         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44049         IFUNC support.
44050         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44051         memset-x86-64.
44052         * sysdeps/x86_64/multiarch/bzero.S: New file.
44053         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44054         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44055         * sysdeps/x86_64/multiarch/memset.S: New file.
44056         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44057         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44058         Set bit_Prefer_SSE_for_memop for Intel processors.
44059         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44060         Define.
44061         (index_Prefer_SSE_for_memop): Define.
44062         (HAS_PREFER_SSE_FOR_MEMOP): Define.
44064 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
44066         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44067         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44069 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
44071         [BZ #12191]
44072         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44073         (__x86_64_raw_data_cache_size_half): Likewise.
44074         (__x86_64_raw_shared_cache_size): Likewise.
44075         (__x86_64_raw_shared_cache_size_half): Likewise.
44077         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44078         (__x86_64_raw_data_cache_size_half): Likewise.
44079         (__x86_64_raw_shared_cache_size): Likewise.
44080         (__x86_64_raw_shared_cache_size_half): Likewise.
44081         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44082         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44083         and __x86_64_raw_shared_cache_size_half.  Round
44084         __x86_64_data_cache_size_half, __x86_64_data_cache_size
44085         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44086         to multiple of 256 bytes.
44088 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
44090         [BZ #12167]
44091         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44092         of inacessible symlinks.  Verify result of symlink before returning it.
44093         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44094         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44096 2010-10-28  Erich Ritz  <erichritz@gmail.com>
44098         * math/math.h (isinf): Fix typo in comment.
44100 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
44102         * po/da.po: Update from translation team.
44104 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
44106         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44107         is added to the list.
44109 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44110             Ulrich Drepper  <drepper@gmail.com>
44112         * elf/dl-object.c (_dl_new_object): Don't append the new object to
44113         the global list here.  Move code to...
44114         (_dl_add_to_namespace_list): ...here.  New function.
44115         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44116         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44117         * elf/dl-load.c (lose): Don't remove the element from the list.
44118         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44119         (_dl_map_object): Likewise.
44121 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
44123         [BZ #12159]
44124         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44125         into all bytes of SSE register.
44126         Patch by Richard Li <richardpku@gmail.com>.
44128 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
44130         [BZ #12140]
44131         * malloc/malloc.c (_int_free): Fill correct number of bytes when
44132         perturbing.
44134 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
44136         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44137         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44138         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44139         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44141         submachine.
44142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44144 2010-10-22  Andreas Schwab  <schwab@redhat.com>
44146         * include/dlfcn.h (__RTLD_SECURE): Define.
44147         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
44148         mode & __RTLD_SECURE instead.
44149         (open_path): Rename preloaded parameter to secure.
44150         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44151         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44152         * elf/dl-deps.c (openaux): Likewise.
44153         * elf/rtld.c (struct map_args): Remove is_preloaded.
44154         (map_doit): Don't use it.
44155         (dl_main): Likewise.
44156         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44157         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44159 2010-09-09  Andreas Schwab  <schwab@redhat.com>
44161         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44162         (sysd-rules-targets): Remove duplicates.
44163         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44164         rtld-%.$o dependency.
44166 2010-10-18  Andreas Schwab  <schwab@redhat.com>
44168         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44169         _dl_map_object do it.
44171 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
44173         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44174         fast fma builtins, define the macros in the C99 standard.
44175         (FP_FAST_FMAF): Likewise.
44176         (FP_FAST_FMAL): Likewise.
44177         * sysdeps/x86_64/bits/mathdef.h: Likewise.
44179         * bits/mathdef.h: Update copyright year.
44180         * sysdeps/powerpc/bits/mathdef.h: Likewise.
44182 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
44184         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44185         builtins, define the macros in the C99 standard.
44186         (FP_FAST_FMAF): Likewise.
44187         (FP_FAST_FMAL): Likewise.
44188         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44189         multiply/add.
44190         (FP_FAST_FMAF): Likewise.
44192 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
44194         [BZ #3268]
44195         * math/libm-test.inc (fma_test): Some new testcases.
44196         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44197         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44198         y and infinite z.  Do multiplication by C already in long double.
44199         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44200         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44201         y and infinite z.  Do bitwise or of inexact bit into u.d.
44202         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44203         * sysdeps/i386/fpu/s_fmaf.S: Removed.
44204         * sysdeps/i386/fpu/s_fma.S: Removed.
44205         * sysdeps/i386/fpu/s_fmal.S: Removed.
44207 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
44209         [BZ #3268]
44210         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44211         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44212         computation is not scheduled after fetestexcept.  Fix value
44213         of minimum denormal long double.
44215 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
44217         [BZ #3268]
44218         * math/libm-test.inc (fma_test): Add some more tests.
44219         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44220         correctly.
44222 2010-10-15  Andreas Schwab  <schwab@redhat.com>
44224         * scripts/data/localplt-s390-linux-gnu.data: New file.
44225         * scripts/data/localplt-s390x-linux-gnu.data: New file.
44227 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
44229         [BZ #3268]
44230         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44231         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44232         instead of dbl-64.
44233         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44234         inlines.
44235         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44236         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44237         if one of x and y is very large and the other is subnormal.
44238         * sysdeps/s390/fpu/s_fmaf.c: New file.
44239         * sysdeps/s390/fpu/s_fma.c: New file.
44240         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44241         * sysdeps/powerpc/fpu/s_fma.S: New file.
44242         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44243         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44244         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44246 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
44248         [BZ #3268]
44249         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44250         fma tests.
44251         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44252         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44253         * sysdeps/i386/i686/multiarch/s_fma.c: Include
44254         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44255         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44256         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44257         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44259 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
44261         [BZ #12078]
44262         * posix/regcomp.c (parse_branch): One more memory leak plugged.
44263         * posix/bug-regex31.input: Add test case.
44265 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
44267         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44268         * posix/bug-regex31.input: New file.
44270         [BZ #12078]
44271         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44272         (parse_sub_exp): Fix last change, use postorder.
44274         * posix/bug-regex31.c: New file.
44275         * posix/Makefile: Add rules to build and run bug-regex31.
44277         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44279         [BZ #12078]
44280         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44282         [BZ #12108]
44283         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44284         to have entries in sys_siglist.
44286         [BZ #12093]
44287         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44288         be NULL.
44290 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
44292         [BZ #3268]
44293         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44294         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44295         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44296         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44297         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44298         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44299         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44300         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44301         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44302         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44303         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44304         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44305         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44306         * math/ftestexcept.c (fetestexcept): Likewise.
44307         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44308         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44309         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44310         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44311         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44312         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44313         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44315 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
44317         [BZ #12107]
44318         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44319         newline.
44321 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
44323         * string/bug-strstr1.c: New file.
44324         * string/Makefile: Add rules to build and run bug-strstr1.
44326 2010-10-05  Eric Blake  <eblake@redhat.com>
44328         [BZ #12092]
44329         * string/str-two-way.h (two_way_long_needle): Always clear memory
44330         when skipping input due to the shift table.
44332 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
44334         [BZ #12005]
44335         * malloc/mcheck.c: Handle large requests.
44337         [BZ #12077]
44338         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44339         for strncmp and strncasecmp.
44340         * string/stratcliff.c: Add tests for strcmp and strncmp.
44341         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44343 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44345         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44346         __set_fpscr.
44348 2010-09-30  Andreas Jaeger  <aj@suse.de>
44350         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44351         (CGROUP_SUPER_MAGIC): Define.
44352         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44353         Handle btrfs and cgroup file systems.
44354         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44355         Likewise.
44357 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
44359         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44360         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44362 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44364         [BZ #12067]
44365         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44366         trying to locate the ELF header.
44368 2010-09-27  Andreas Schwab  <schwab@redhat.com>
44370         [BZ #11611]
44371         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44372         Mask out sign-bit copies when constructing f_fsid.
44374 2010-09-24  Petr Baudis <pasky@suse.cz>
44376         * debug/stack_chk_fail_local.c: Add missing licence exception.
44377         * debug/warning-nop.c: Likewise.
44379 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
44381         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44382         implementing getdents64 using getdents syscall, set d_type if
44383         __ASSUME_GETDENTS32_D_TYPE.
44385 2010-09-16  Andreas Schwab  <schwab@redhat.com>
44387         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44388         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44390 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
44392         [BZ #12037]
44393         * posix/unistd.h: Undo change of feature selection for ftruncate from
44394         2010-01-11.
44396 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
44398         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
44399         detection.
44401 2010-09-20  Andreas Schwab  <schwab@redhat.com>
44403         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44404         fanotify_mark.
44405         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44407 2010-09-14  Andreas Schwab  <schwab@redhat.com>
44409         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44410         variables after CHECK_SP call.
44411         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44413 2010-09-13  Andreas Schwab  <schwab@redhat.com>
44414             Ulrich Drepper  <drepper@redhat.com>
44416         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44417         re-relocationg ld.so.
44418         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44419         _dl_init_paths call.
44420         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
44421         here anymore.
44423 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
44425         * resolv/res_init.c (__res_vinit): Count the default server we added.
44427 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
44428             Ulrich Drepper  <drepper@redhat.com>
44430         [BZ #11968]
44431         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44432         (____longjmp_chk): Use %ebx for saving value across system call.
44433         Add unwind info.
44435 2010-09-06  Andreas Schwab  <schwab@redhat.com>
44437         * manual/Makefile: Don't mix pattern rules with normal rules.
44439 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44441         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44442         operation.
44443         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44444         * libio/iofopncook.c (_IO_cookie_init): Likewise.
44445         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44446         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44447         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44448         Likewise.
44450 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
44452         [BZ #11979]
44453         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44454         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44456 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
44458         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44459         * sysdeps/x86_64/addmul_1.S: Likewise.
44460         * sysdeps/x86_64/lshift.S: Likewise.
44461         * sysdeps/x86_64/mul_1.S: Likewise.
44462         * sysdeps/x86_64/rshift.S: Likewise.
44463         * sysdeps/x86_64/sub_n.S: Likewise.
44464         * sysdeps/x86_64/submul_1.S: Likewise.
44466 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44468         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44469         Define __sched_param instead of SCHED_* and sched_param when
44470         <bits/sched.h> is included with __need_schedparam defined.
44471         * bits/sched.h [__need_schedparam]
44472         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
44473         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44474         (__defined_schedparam): Define to 1.
44475         (__sched_param): New structure, identical to sched_param.
44476         (__need_schedparam): Undefine.
44478 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
44480         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44481         (epoll_create1): Declare.
44483         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44485 2010-08-31  Andreas Schwab  <schwab@redhat.com>
44487         [BZ #7066]
44488         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44489         shifting retval into place.
44491 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
44493         * nis/rpcsvc/nis.h: Update copyright notice.
44494         * nis/rpcsvc/nis.x: Likewise.
44495         * nis/rpcsvc/nis_callback.h: Likewise.
44496         * nis/rpcsvc/nis_callback.x: Likewise.
44497         * nis/rpcsvc/nis_object.x: Likewise.
44498         * nis/rpcsvc/nis_tags.h: Likewise.
44499         * nis/rpcsvc/yp.h: Likewise.
44500         * nis/rpcsvc/yp.x: Likewise.
44501         * nis/rpcsvc/ypupd.h: Likewise.
44502         * nis/yp_xdr.c: Likewise.
44503         * nis/ypupdate_xdr.c: Likewise.
44505         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
44506         mainly the body of pmap_getport.  Add parameters to specify timeouts.
44507         (pmap_getport): Use __libc_rpc_getport.
44508         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44509         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44510         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44512 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
44514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44515         fanotify_mark.
44517 2010-08-27  Roland McGrath  <roland@redhat.com>
44519         * sysdeps/i386/i686/multiarch/Makefile
44520         (CFLAGS-varshift.c): New variable.
44522 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
44524         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44525         * sysdeps/i386/i686/multiarch/varshift.c: New file.
44527         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44529         * sysdeps/x86_64/strlen.S: Minimal code improvement.
44531 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
44533         * sysdeps/x86_64/strlen.S: Unroll the loop.
44534         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44535         strlen-sse2 strlen-sse2-bsf.
44536         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44537         __strlen_no_bsf if bit_Slow_BSF is set.
44538         (__strlen_sse42): Removed.
44539         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44540         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44542 2010-08-25  Roland McGrath  <roland@redhat.com>
44544         * sysdeps/x86_64/multiarch/varshift.S: File removed.
44545         * sysdeps/x86_64/multiarch/varshift.c: New file.
44546         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44547         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44548         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44549         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44551 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
44553         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44554         strlen-sse2 strlen-sse2-bsf.
44555         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44556         __strlen_sse2_bsf if bit_Slow_BSF is unset.
44557         (__strlen_sse2): Removed.
44558         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44559         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44560         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44561         bit_Slow_BSF for Atom.
44562         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44563         (index_Slow_BSF): Define.
44564         (HAS_SLOW_BSF): Define.
44566 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
44568         [BZ #10851]
44569         * resolv/res_init.c (__res_vinit): When no server address at all
44570         is given default to loopback.
44572 2010-08-24  Roland McGrath  <roland@redhat.com>
44574         * configure.in: Remove config-name.h generation.
44575         * configure: Regenerated.
44576         * config-name.in: File removed.
44577         * scripts/config-uname.sh: New file.
44578         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44579         ($(objdir)config-name.h): New target.
44581         * sunrpc/rpc_parse.h: Avoid nested comment.
44583 2010-08-24  Richard Henderson  <rth@redhat.com>
44584             Ulrich Drepper  <drepper@redhat.com>
44585             H.J. Lu  <hongjiu.lu@intel.com>
44587         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44588         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44589         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44590         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
44591         _mm_alignr_epi8 with _mm_loadu_si128.
44592         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44593         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44594         (__m128i_shift_right): Removed.
44595         * sysdeps/i386/i686/multiarch/varshift.h: New file.
44596         * sysdeps/i386/i686/multiarch/varshift.S: New file.
44597         * sysdeps/x86_64/multiarch/varshift.h: New file.
44598         * sysdeps/x86_64/multiarch/varshift.S: New file.
44600 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
44602         * configure.in: Move assembler checks to before sysdep dir checking.
44604 2010-08-20  Petr Baudis  <pasky@suse.cz>
44606         * LICENSES: Sync the sunrpc license.
44608 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
44610         * sunrpc/auth_des.c: Update copyright notice once again.
44611         * sunrpc/auth_none.c: Likewise.
44612         * sunrpc/auth_unix.c: Likewise.
44613         * sunrpc/authdes_prot.c: Likewise.
44614         * sunrpc/authuxprot.c: Likewise.
44615         * sunrpc/bindrsvprt.c: Likewise.
44616         * sunrpc/clnt_gen.c: Likewise.
44617         * sunrpc/clnt_perr.c: Likewise.
44618         * sunrpc/clnt_raw.c: Likewise.
44619         * sunrpc/clnt_simp.c: Likewise.
44620         * sunrpc/clnt_tcp.c: Likewise.
44621         * sunrpc/clnt_udp.c: Likewise.
44622         * sunrpc/clnt_unix.c: Likewise.
44623         * sunrpc/des_crypt.c: Likewise.
44624         * sunrpc/des_soft.c: Likewise.
44625         * sunrpc/get_myaddr.c: Likewise.
44626         * sunrpc/getrpcport.c: Likewise.
44627         * sunrpc/key_call.c: Likewise.
44628         * sunrpc/key_prot.c: Likewise.
44629         * sunrpc/openchild.c: Likewise.
44630         * sunrpc/pm_getmaps.c: Likewise.
44631         * sunrpc/pm_getport.c: Likewise.
44632         * sunrpc/pmap_clnt.c: Likewise.
44633         * sunrpc/pmap_prot.c: Likewise.
44634         * sunrpc/pmap_prot2.c: Likewise.
44635         * sunrpc/pmap_rmt.c: Likewise.
44636         * sunrpc/rpc/auth.h: Likewise.
44637         * sunrpc/rpc/auth_unix.h: Likewise.
44638         * sunrpc/rpc/clnt.h: Likewise.
44639         * sunrpc/rpc/des_crypt.h: Likewise.
44640         * sunrpc/rpc/key_prot.h: Likewise.
44641         * sunrpc/rpc/netdb.h: Likewise.
44642         * sunrpc/rpc/pmap_clnt.h: Likewise.
44643         * sunrpc/rpc/pmap_prot.h: Likewise.
44644         * sunrpc/rpc/pmap_rmt.h: Likewise.
44645         * sunrpc/rpc/rpc.h: Likewise.
44646         * sunrpc/rpc/rpc_des.h: Likewise.
44647         * sunrpc/rpc/rpc_msg.h: Likewise.
44648         * sunrpc/rpc/svc.h: Likewise.
44649         * sunrpc/rpc/svc_auth.h: Likewise.
44650         * sunrpc/rpc/types.h: Likewise.
44651         * sunrpc/rpc/xdr.h: Likewise.
44652         * sunrpc/rpc_clntout.c: Likewise.
44653         * sunrpc/rpc_cmsg.c: Likewise.
44654         * sunrpc/rpc_common.c: Likewise.
44655         * sunrpc/rpc_cout.c: Likewise.
44656         * sunrpc/rpc_dtable.c: Likewise.
44657         * sunrpc/rpc_hout.c: Likewise.
44658         * sunrpc/rpc_main.c: Likewise.
44659         * sunrpc/rpc_parse.c: Likewise.
44660         * sunrpc/rpc_parse.h: Likewise.
44661         * sunrpc/rpc_prot.c: Likewise.
44662         * sunrpc/rpc_sample.c: Likewise.
44663         * sunrpc/rpc_scan.c: Likewise.
44664         * sunrpc/rpc_scan.h: Likewise.
44665         * sunrpc/rpc_svcout.c: Likewise.
44666         * sunrpc/rpc_tblout.c: Likewise.
44667         * sunrpc/rpc_util.c: Likewise.
44668         * sunrpc/rpc_util.h: Likewise.
44669         * sunrpc/rpcinfo.c: Likewise.
44670         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44671         * sunrpc/rpcsvc/key_prot.x: Likewise.
44672         * sunrpc/rpcsvc/klm_prot.x: Likewise.
44673         * sunrpc/rpcsvc/mount.x: Likewise.
44674         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44675         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44676         * sunrpc/rpcsvc/rex.x: Likewise.
44677         * sunrpc/rpcsvc/rstat.x: Likewise.
44678         * sunrpc/rpcsvc/rusers.x: Likewise.
44679         * sunrpc/rpcsvc/sm_inter.x: Likewise.
44680         * sunrpc/rpcsvc/spray.x: Likewise.
44681         * sunrpc/rpcsvc/yppasswd.x: Likewise.
44682         * sunrpc/rtime.c: Likewise.
44683         * sunrpc/svc.c: Likewise.
44684         * sunrpc/svc_auth.c: Likewise.
44685         * sunrpc/svc_authux.c: Likewise.
44686         * sunrpc/svc_raw.c: Likewise.
44687         * sunrpc/svc_run.c: Likewise.
44688         * sunrpc/svc_simple.c: Likewise.
44689         * sunrpc/svc_tcp.c: Likewise.
44690         * sunrpc/svc_udp.c: Likewise.
44691         * sunrpc/svc_unix.c: Likewise.
44692         * sunrpc/svcauth_des.c: Likewise.
44693         * sunrpc/xcrypt.c: Likewise.
44694         * sunrpc/xdr.c: Likewise.
44695         * sunrpc/xdr_array.c: Likewise.
44696         * sunrpc/xdr_float.c: Likewise.
44697         * sunrpc/xdr_mem.c: Likewise.
44698         * sunrpc/xdr_rec.c: Likewise.
44699         * sunrpc/xdr_ref.c: Likewise.
44700         * sunrpc/xdr_sizeof.c: Likewise.
44701         * sunrpc/xdr_stdio.c: Likewise.
44703         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44704         handling.
44706 2010-08-19  Andreas Schwab  <schwab@redhat.com>
44708         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44710 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
44712         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44713         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44714         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44715         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44716         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44717         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44718         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44719         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44720         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44721         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44722         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44723         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44724         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44725         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44727 2010-07-26  Anton Blanchard  <anton@samba.org>
44729         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44730         * malloc/arena.c (heap_trim): Likewise.
44732 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
44734         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44735         here.  Not...
44736         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44737         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44739 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
44741         * sysdeps/i386/elf/Makefile: New file.
44743 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
44745         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44746         from fanotify_init.
44747         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44748         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44750 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
44752         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44753         of strncasecmp_l.
44754         * sysdeps/multiarch/strcmp.S: Likewise.
44756 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
44758         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44759         strncase_l-nonascii.
44760         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44761         Add strncase_l-ssse3.
44762         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44763         * sysdeps/x86_64/strcmp.S: Likewise.
44764         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44765         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44766         * sysdeps/x86_64/strncase.S: New file.
44767         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44768         * sysdeps/x86_64/strncase_l.S: New file.
44769         * string/Makefile (strop-tests): Add strncasecmp.
44770         * string/test-strncasecmp.c: New file.
44772         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44773         warning.
44775         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44776         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44778 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
44780         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44782 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
44784         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44785         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44786         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44788 2010-05-01  Alan Modra  <amodra@gmail.com>
44790         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44791         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44792         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44793         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44794         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44795         tidying.  Don't tail-call __sigjmp_save for static lib.
44796         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44797         save location.
44798         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44799         (CALL_MCOUNT): Add eh info, and nop after bl.
44800         (TAIL_CALL_SYSCALL_ERROR): New macro.
44801         (PSEUDO_RET): Use it.
44802         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44803         Correct save location of integer regs and cr.
44804         (_dl_profile_resolve): Correct cr save location.  Delete nops
44805         after bl when SHARED.  Reduce cfi size a little by better
44806         placement of cfi directives.
44807         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44808         make a stack frame.  Instead use parm save area as a temp.
44809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44810         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
44811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44812         Don't make a stack frame for parent, use parm save area.
44813         Increase child stack frame to 112 bytes.  Don't save unused reg,
44814         and adjust reg usage.  Set up cfi on error recovery and
44815         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44817         (__makecontext): Add dummy nop after jump to exit.
44818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44819         Use correct parm save area and cr save, reduce stack frame.
44820         Correct cfi for possible PSEUDO_RET frame setup.
44821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44822         Branch to local label emitted by PSEUDO_RET rather than
44823         __syscall_error.
44825 2010-08-12  Andreas Schwab  <schwab@redhat.com>
44827         [BZ #11904]
44828         * locale/programs/locale.c (print_assignment): New function.
44829         (show_locale_vars): Use it.
44831 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
44833         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44834         field.
44835         (struct statfs64): Likewise.
44836         (_STATFS_F_FLAGS): Define.
44837         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44838         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44839         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44840         (ST_VALID): Define locally.
44841         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44842         __statvfs_getflags, use the provided value.
44843         * sysdeps/unix/sysv/linux/kernel-features.h: Define
44844         __ASSUME_STATFS_F_FLAGS.
44846         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44848         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44849         Add sys/fanotify.h.
44850         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44851         fanotify_mask for GLIBC_2.13.
44852         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44853         fanotify_init and fanotify_mark.
44854         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44855         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44857         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44858         Add prlimit.
44859         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44860         prlimit64 for GLIBC_2.13.
44861         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44862         prlimit64.
44863         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44864         syscall.
44865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44866         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44867         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44868         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44869         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
44870         add prlimit alias.
44871         * sysdeps/unix/sysv/linux/prlimit.c: New file.
44873         [BZ #11903]
44874         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44875         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44877         * nss/Makefile: Add rules to build and run tst-nss-test1.
44878         * shlib-versions: Add entry for libnss_test1.
44879         * nss/nss_test1.c: New file.
44880         * nss/tst-nss-test1.c: New file.
44882         * nss/nsswitch.c (__nss_database_custom): Define new variable.
44883         (__nss_configure_lookup): Set appropriate entry in
44884         __nss_configure_lookup to true.
44885         * nss/nsswitch.h: Define enum with indeces of databases in
44886         databases and __nss_database_custom arrays.  Declare
44887         __nss_database_custom.
44888         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44889         to avoid using nscd when custom rules are installed.
44890         * nss/getXXbyYY_r.c: Likewise.
44891         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44893         * nss/nss_files/files-parse.c: Whitespace fixes.
44895 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
44897         [BZ #11883]
44898         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44899         * posix/fnmatch_loop.c: Likewise.
44901 2010-07-17  Andi Kleen  <ak@linux.intel.com>
44903         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44904         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44905         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44906         * Versions.def [GLIBC_2.13]: Add.
44908 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
44910         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44911         Also fail if tpwd after pwuid call is NULL.
44913 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44915         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44916         when converting to ms.
44918 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44920         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44921         EOPNOTSUPP errors with ENOTTY.
44922         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44923         EOPNOTSUPP errors with ENOTTY.
44925 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
44927         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44928         Add strcasecmp_l-ssse3.
44929         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44930         strcasecmp.
44931         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44932         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44933         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44935 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
44937         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44939         * string/Makefile (strop-tests): Add strcasecmp.
44940         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44941         strcasecmp_l-nonascii.
44942         (gen-as-const-headers): Add locale-defines.sym.
44943         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44944         * sysdeps/x86_64/strcasecmp.S: New file.
44945         * sysdeps/x86_64/strcasecmp_l.S: New file.
44946         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44947         * sysdeps/x86_64/locale-defines.sym: New file.
44948         * string/test-strcasecmp.c: New file.
44950         * string/test-strcasestr.c: Test both ends of the range of characters.
44951         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44953 2010-07-29  Roland McGrath  <roland@redhat.com>
44955         [BZ #11856]
44956         * manual/locale.texi (Yes-or-No Questions): Fix example code.
44958 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
44960         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44961         for ld.so.
44963 2010-07-27  Andreas Schwab  <schwab@redhat.com>
44965         * manual/memory.texi (Malloc Tunable Parameters): Document
44966         M_PERTURB.
44968 2010-07-26  Roland McGrath  <roland@redhat.com>
44970         [BZ #11840]
44971         * configure.in (-fgnu89-inline check): Set and substitute
44972         gnu89_inline, not libc_cv_gnu89_inline.
44973         * configure: Regenerated.
44974         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44976 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
44978         * string/test-strnlen.c: New file.
44979         * string/Makefile (strop-tests): Add strnlen.
44980         * string/tester.c (test_strnlen): Add a few more test cases.
44981         * string/tst-strlen.c: Better error reporting.
44983         * sysdeps/x86_64/strnlen.S: New file.
44985 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
44987         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44988         lower-latency instructions.
44990 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
44992         * string/test-strcasestr.c: New file.
44993         * string/test-strstr.c: New file.
44994         * string/Makefile (strop-tests): Add strstr and strcasestr.
44995         * string/str-two-way.h: Don't undefine MAX.
44996         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44998 2010-07-21  Andreas Schwab  <schwab@redhat.com>
45000         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45001         strcasestr-nonascii.
45002         (CFLAGS-strcasestr-nonascii.c): Define.
45003         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45004         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45005         Remove unused attribute.
45007 2010-07-20  Roland McGrath  <roland@redhat.com>
45009         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45010         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
45011         ld.so.cache was broken.  With it, there is no way to disable dsocaps
45012         like LD_HWCAP_MASK can disable hwcaps.
45014 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
45016         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45018 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
45020         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45021         call in strcasestr.
45022         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45023         __strcasestr_sse42_nonascii.
45024         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45025         strcasestr-nonascii.c.
45026         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45028 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
45030         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45031         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45032         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45033         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45035 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
45037         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45038         fcntl.
45040 2010-07-06  Andreas Schwab  <schwab@redhat.com>
45042         [BZ #11577]
45043         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45044         dl_signal_cerror.
45046 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
45048         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45049         _PC_PIPE_BUF using F_GETPIPE_SZ.
45051 2010-07-05  Roland McGrath  <roland@redhat.com>
45053         * manual/arith.texi (Rounding Functions): Fix rint description
45054         implicit in round description.
45056 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
45058         * elf/Makefile: Fix linking for a few tests to make recent linker
45059         happy.
45061 2010-06-30  Andreas Schwab  <schwab@redhat.com>
45063         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45064         $(common-objpfx)libc_nonshared.a.
45066 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
45068         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45069         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45070         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45071         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45072         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45073         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45074         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45075         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45090         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45091         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45092         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45093         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45094         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45095         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45096         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45097         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45098         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45099         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45100         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45101         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45117 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
45119         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45120         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
45121         * string/memmove.c (memmove): Renamed to ...
45122         (MEMMOVE): ...this.  Default to memmove.
45123         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45124         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45125         (END_CHK): Define.
45126         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45127         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45128         mempcpy-ssse3-back memmove-ssse3-back.
45129         * sysdeps/x86_64/multiarch/bcopy.S: New file .
45130         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45131         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45132         * sysdeps/x86_64/multiarch/memcpy.S: New file.
45133         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45134         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45135         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45136         * sysdeps/x86_64/multiarch/memmove.c: New file.
45137         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45138         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45139         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45140         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45141         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45142         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45143         Define.
45144         (index_Fast_Copy_Backward): Define.
45145         (HAS_ARCH_FEATURE): Define.
45146         (HAS_FAST_REP_STRING): Define.
45147         (HAS_FAST_COPY_BACKWARD): Define.
45149 2010-06-21  Andreas Schwab  <schwab@redhat.com>
45151         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45152         Restore proper fallback handling.
45154 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
45156         [BZ #11701]
45157         * posix/group_member.c (__group_member): Correct checking loop.
45159         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45160         OOM in getpwuid_r correctly.  Return error number when the caller
45161         should return, otherwise -1.
45162         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45163         call returning > 0 value.
45164         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45166 2010-06-07  Andreas Schwab  <schwab@redhat.com>
45168         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45169         libc_nonshared.a from targets in modules-names.
45171 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
45173         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45174         requires it.
45176 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
45178         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45179         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45180         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45181         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45183 2010-06-02  Andreas Schwab  <schwab@redhat.com>
45185         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45187 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
45189         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45190         and F_GETPIPE_SZ.
45191         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45192         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45193         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45194         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45195         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45196         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45198 2010-06-14  Roland McGrath  <roland@redhat.com>
45200         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45202 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
45204         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45205         __REDIRECT followed by __THROW.
45206         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45207         * posix/getopt.h (getopt): Likewise.
45209 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
45211         * hurd/lookup-at.c (__file_name_lookup_at): Accept
45212         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
45213         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45214         in AT_FLAGS.
45215         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45216         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45218 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
45220         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45222 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
45224         [BZ #11640]
45225         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45226         Properly check family and model.
45228 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
45230         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45232 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
45234         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45236 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
45238         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45239         symbol reference.
45241 2010-05-19  Andreas Schwab  <schwab@redhat.com>
45243         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45244         symbol reference.
45246 2010-05-21  Andreas Schwab  <schwab@redhat.com>
45248         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45249         and internal_recvmmsg.
45250         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45251         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45252         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45253         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45255         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45256         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45257         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45259 2010-05-20  Andreas Schwab  <schwab@redhat.com>
45261         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45263 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
45265         POWER7 optimizations.
45266         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45267         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45269 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
45271         * version.h: Update for 2.13 development version.
45273 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
45275         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45276         exceptions.  Return 0.
45278 2010-05-07  Roland McGrath  <roland@redhat.com>
45280         * elf/ldconfig.c (main): Add a const.
45282 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
45284         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45285         (args_options): Add no-idn option.
45286         (ahosts_keys_int): Add idn_flags to ai_flags.
45287         (parse_option): Handle 'i' option to clear idn_flags.
45289         * malloc/malloc.c (_int_free): Possible race in the most recently
45290         added check.  Only act on the data if no current modification
45291         happened.
45293 See ChangeLog.17 for earlier changes.