[AArch64] Regenerate libm-test-ulps
[platform/upstream/glibc.git] / ChangeLog
1 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2
3         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4
5 2014-06-03  Wilco  <wdijkstr@arm.com>
6
7         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12         Likewise.
13
14 2014-06-03  Wilco  <wdijkstr@arm.com>
15
16         * sysdeps/aarch64/fpu/math_private.h
17         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
18         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
19         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
20         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21         Fix declarations.
22
23 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24
25         * crypt/crypt-private.h: Include ufc-crypt.h.
26         (__b64_from_24bit): Declare extern.
27         * crypt/crypt_util.c(__b64_from_24bit): New function.
28         (b64t): New static const variable.
29         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
30         (b64t): Remove variable.
31         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
32         * crypt/sha256-crypt.c: Include crypt-private.h.
33         (b64t): Remove variable.
34         (__sha256_crypt_r): Remove b64_from_24bit and replace
35         with __b64_from_24bit.
36         * crypt/sha512-crypt.c: Likewise.
37
38 2014-06-02  Roland McGrath  <roland@hack.frob.com>
39
40         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
41         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
42         Label the code __libc_vfork rather than __vfork.
43         [!NOT_IN_libc] (vfork): Define as weak alias.
44         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
45         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
46         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
47
48 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49
50         * malloc/malloc.c (malloc_info): Fix format specifier for
51         n_mmaps.
52
53 2014-06-02  Wilco  <wdijkstr@arm.com>
54
55         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
56         FPCR write.
57
58 2014-06-02  Wilco  <wdijkstr@arm.com>
59
60         [BZ #17009]
61         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
62         Rewrite to reduce FPCR/FPSR accesses.
63
64 2014-06-01  David S. Miller  <davem@davemloft.net>
65
66         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67
68 2014-05-31  David S. Miller  <davem@davemloft.net>
69
70         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
71         to occur in round to nearest mode when |x| >= 2.0
72
73 2014-05-30  Richard Henderson  <rth@twiddle.net>
74
75         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
76         (PSEUDO_RET_NOERRNO): Remove.
77         (ret): Don't redefine.
78         (ret_NOERRNO): Define in terms of ret.
79         (ret_ERRVAL): Likewise.
80
81         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
82         use of PSEUDO_RET; perform the error check directly.
83
84 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
85
86         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
87         with __int128_t.
88
89 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
90
91         * malloc/malloc (malloc_info): Fix formatting.
92
93 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
94             Roland McGrath  <roland@hack.frob.com>
95
96         * malloc/malloc (malloc_info): Also print mmapped statistics.
97
98 2014-05-30  Roland McGrath  <roland@hack.frob.com>
99
100         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
101         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
102
103 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
104
105         * malloc/malloc.c (malloc_info): Inline mi_arena.
106
107 2014-05-29  Richard Henderson  <rth@twiddle.net>
108
109         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
110         Remove comma before expanding ASM_ARGS_##nr.
111         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
112         Make _x0 a strict output; make _x8 a strict input; adjust expansion
113         of ASM_ARGS_##nr.
114         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
115         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
116         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
117         (ASM_ARGS_1): Add leading comma.
118
119         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
120         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
121         to __errno_location.
122         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
123         Remove the expected plt for __errno_location.
124
125         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
126         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
127         call to __read_tp.
128
129         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
130         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
131         it and break it down.
132         (DOCARGS_0, DOCARGS_1): Do nothing.
133         (DOCARGS_2): Update to store into the new stack frame.
134         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
135         (UNDOCARGS_1): Update to restore from the new stack frame.
136         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
137         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
138
139         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
140         (SINGLE_THREAD_P): New parameter for result regno.
141         (PSEUDO): Update to match; use cbz instead of beq.
142
143         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
144         Use ENTRY to define the _nocancel entry point.  Share the syscall
145         and syscall error check paths with the cancel path.
146         (PSEUDO_END): New.
147
148         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
149         whitespace; tabs before and after asm mnemonics.
150
151 2014-05-29  Eric Wong  <normalperson@yhbt.net>
152
153         [BZ #15132]
154         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
155         Call fstat64 or stat64 internally, depending on arguments passed.
156         Replace stat buffer argument with file descriptor argument.
157         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
158         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
159         Pass fd to __internal_statvfs instead of calling fstat64.
160         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
161         Pass fd to __internal_statvfs64 instead of calling fstat64.
162         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
163         Pass -1 to __internal_statvfs instead of calling stat64.
164         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
165         Pass -1 to __internal_statvfs64 instead of calling stat64.
166
167 2014-05-28  Roland McGrath  <roland@hack.frob.com>
168
169         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
170         that was previously under [RESET_PID].
171         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
172
173         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
174         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
175
176 2014-05-27  Roland McGrath  <roland@hack.frob.com>
177
178         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
179
180         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
181         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
182
183 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
184
185         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
186
187 2014-05-27  Andreas Schwab  <schwab@suse.de>
188
189         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
190         TLS_INIT_TP macro.
191         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
192         * elf/rtld.c (init_tls, dl_main): Likewise.
193         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
194         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
195         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
196         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
197         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
198         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
199         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
200         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
201         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
202         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
203         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
204         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
205         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
206         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
207         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
208         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
209         * sysdeps/generic/tls.h: Update description.
210
211 2014-05-27  Will Newton  <will.newton@linaro.org>
212
213         [BZ #16990]
214         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
215         and restore r2 rather than just restoring.
216
217 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
218
219         [BZ #16724]
220         * libio/tst-ftell-append.c: New test case.
221         * libio/Makefile (tests): Add test case.
222         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
223         append mode.
224         * libio/wfileops.c (do_ftell_wide): Likewise.
225
226 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
227
228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
229
230         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
231         ...
232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
234         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
235         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
236         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
237         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
238         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
239         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
240         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
241         Moved ...
242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
243         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
244         Moved ...
245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
246         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
247         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
248         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
249         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
250         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
251         ...
252         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
253         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
254         Moved ...
255         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
256         here.
257         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
258         ...
259         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
260         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
261         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
262
263         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
264         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
265         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
266         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
267
268         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
269         merge into ...
270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
271         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
272         ...
273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
274         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
275         ...
276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
277         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
278         Moved ...
279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
280         here.
281         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
282         Moved ...
283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
284         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
285         Moved ...
286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
287
288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
289         conditional [RESET_PID].
290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
291         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
292         removed.
293         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
294         removed.
295
296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
297         <tcb-offsets.h>.
298         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
299         (__libc_vfork): New strong alias.
300         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
301         removed.
302         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
303         Removed.
304
305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
306         <tcb-offsets.h>.
307         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
308         (__libc_vfork): New strong alias.
309         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
310         removed.
311         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
312         removed.
313
314 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
315
316         * malloc/malloc.c (mi_arena): New function.
317         (malloc_info): Remove nested function mi_arena. Call non-nosted
318         function mi_arena.
319
320 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
321
322         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
323         by insrwi.
324         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
325         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
326         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
327         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
328         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
329         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
330         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
331
332 2014-05-26  Andreas Schwab  <schwab@suse.de>
333
334         [BZ #16984]
335         * locale/programs/repertoire.c (repertoire_read): Add slash
336         between I18NPATH element and file name.
337         * locale/programs/locfile.c (locfile_read): Likewise.
338
339 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
340
341         * nptl/pthread_mutexattr_settype.c
342         (__pthread_mutexattr_settype):
343         Disable lock elision for PTHREAD_MUTEX_NORMAL.
344
345 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
346
347         * nptl/tst-mutex5 (do_test):
348         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
349
350 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
351
352         * benchtests/README: Document 'init' directive.
353         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
354         BENCH_INIT.
355         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
356         (parse_file): Recognize 'init' directive.
357
358 2014-05-26  Kyle McMartin  <kyle@redhat.com>
359
360         [BZ #16796]
361         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
362         alignment of struct pthread.
363
364 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
365
366         [BZ #16878]
367         * nscd/netgroupcache.c (addgetnetgrentX): Look for
368         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
369         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
370         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
371
372 2014-05-25  Richard Henderson  <rth@twiddle.net>
373
374         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
375         (SINGLE_THREAD_P_PIC): Remove.
376         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
377         (SINGLE_THREAD_P_PIC): Remove.
378
379         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
380         branch to syscall error ...
381         (PSEUDO): ... here.
382         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
383         from __local_syscall_error to .Lsyscall_error.
384         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
385         (SYSCALL_ERROR): Update label name.
386
387         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
388         Do not use DOARGS/UNDOARGS.
389         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
390         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
391         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
392         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
393         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
394
395         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
396         block comment.
397
398         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
399         define if !NOT_IN_libc.
400         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
401         define with non-default symbol versions.
402
403 2014-05-23  Richard Henderson  <rth@twiddle.net>
404
405         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
406         (vfork, __vfork): Define via compat_symbol.
407
408         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
409         [!HAVE_IFUNC] (vfork_compat): Remove.
410         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
411
412 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
413
414         [BZ #16978]
415         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
416         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
417         variable.
418
419 2014-05-23  Richard Henderson  <rth@twiddle.net>
420
421         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
422         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
423         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
424         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
425
426         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
427         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
428         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
429         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
430         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
431         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
432         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
433         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
434         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
435         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
436         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
437         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
438         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
439         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
440         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
441         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
442         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
443         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
444         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
445         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
446         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
447         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
448         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
449         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
450         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
451         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
452         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
453         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
454         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
455         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
456         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
457         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
458         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
459         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
460         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
461         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
462         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
463         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
464         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
465         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
466         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
467         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
468         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
469         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
470         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
471         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
472         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
473         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
474         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
475         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
476         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
477         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
478         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
479         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
480         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
481         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
482
483         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
484         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
485         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
486         before exiting on error.
487         (__libc_vfork): New strong alias.
488         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
489         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
490
491         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
492         that was previously under [RESET_PID].
493         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
494
495         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
496
497 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
498
499         [BZ #16977]
500         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
501         value when x - 1 is zero.
502         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
503         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
504         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
505         0.0L for an argument of 1.0L.
506         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
507         Likewise.
508         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
509         value when x - 1 is zero.
510         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
511         * sysdeps/i386/fpu/libm-test-ulps: Update.
512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
513
514 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
515
516         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
517         alphasort and versionsort.
518
519 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
520
521         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
522         macro.
523         [copysignf]: Likewise.
524
525 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
526
527         * crypt/md5-crypt.c: Fix formatting.
528
529 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
530
531         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
532         (b64_from_24bit): New function.
533
534 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
535
536         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
537         libc_hidden_builtin_def to ifunc.
538         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
539         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
540
541 2014-05-21  Roland McGrath  <roland@hack.frob.com>
542
543         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
544         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
545
546 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
547
548         * nscd/Depend (linuxthreads): Remove.
549         (nptl): Add.
550         * resolv/Depend (linuxthreads): Remove.
551         * rt/Depend (linuxthreads): Remove.
552
553         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
554         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
555         $(common-objpfx)elf/.
556         (link-libc-before-gnulib): Likewise.
557         (elfobjdir): Remove variable.
558         * Makefile (install): Use $(elf-objpfx) instead of
559         $(common-objpfx)elf/.
560         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
561         $(elfobjdir)/.
562         (link-libc-deps): Likewise.
563         ($(common-objpfx)libc.so): Likewise.
564         ($(common-objpfx)linkobj/libc.so): Likewise.
565         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
566         instead of $(common-objpfx)elf/.
567         (symbolic-link-list): Likewise.
568         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
569         [$(cross-compiling) = no]: Likewise.
570         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
571         $(elfobjdir)/.
572         (static-gnulib-arch): Likewise.
573         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
574         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
575         $(common-objpfx)elf/.
576
577 2014-05-21  Richard Henderson  <rth@redhat.com>
578
579         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
580         (SINGLE_THREAD_P): Use the correct width load.  Fold
581         into the ldr offset.
582
583         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
584         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
585
586 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
587
588         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
589         (libgcc_s_resume): Use __attribute_used__.
590         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
591         Likewise.
592
593 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
594
595         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
596         optimization when used with float constants.
597
598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
599
600 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
601
602         [BZ #16915]
603         * locale/nl_langinfo_l.c: Make direct reference to every
604         _nl_current_CATEGORY symbol.
605         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
606         (tests-static): Add tst-langinfo-static.
607         (tests-special): Add tst-langinfo-static.out.
608         ($(objpfx)tst-langinfo.out): Redirect output.
609         ($(objpfx)tst-langinfo-static.out): New.
610         * localedata/tst-langinfo.sh: Send output to stdout.
611         * localedata/tst-langinfo-static.c: New file.
612
613         [BZ #16965]
614         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
615         when the shift amount is modulo the limb size.
616
617 2014-05-20  Richard Henderson  <rth@redhat.com>
618
619         [BZ #16967]
620         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
621         Change type of sa_flags from unsigned int to int.
622
623         [BZ #16966]
624         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
625
626         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
627
628 2014-05-20  Will Newton  <will.newton@linaro.org>
629
630         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
631         Test the return value of the system call in the nocancel case.
632
633 2014-05-20  Will Newton  <will.newton@linaro.org>
634             Yvan Roux  <yvan.roux@linaro.org>
635
636         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
637         #include of asm/ptrace.h.
638         (PTRACE_GET_THREAD_AREA): Remove #undef.
639         (PTRACE_GETHBPREGS): Likewise.
640         (PTRACE_SETHBPREGS): Likewise.
641         (struct user_regs_struct): New structure.
642         (struct user_fpsimd_struct): New structure.
643         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
644         #include of asm/ptrace.h and second #include of sys/user.h.
645         (PTRACE_GET_THREAD_AREA): Remove #undef.
646         (PTRACE_GETHBPREGS): Likewise.
647         (PTRACE_SETHBPREGS): Likewise.
648         (ELF_NGREG): Use new struct user_regs_struct.
649         (elf_fpregset_t): Use new struct user_fpsimd_struct.
650
651 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
652
653         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
654         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
655
656 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
657
658         [BZ #16958]
659         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
660         membar to avoid block loads/stores to overlap previous stores.
661
662 2014-05-17  Richard Henderson  <rth@redhat.com>
663
664         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
665         Create the __##syscall_name##_nocancel entry point.
666         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
667         Remove; let the sysdep-cancel.h code create it.
668
669 2014-05-17  David S. Miller  <davem@davemloft.net>
670
671         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
672         Protect with __USE_GNU.
673         (TIOCSET_TEMPT): Likewise.
674         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
675         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
676         these are already provided in bits/ioctl-types.h
677
678 2014-05-16  Roland McGrath  <roland@hack.frob.com>
679
680         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
681         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
682
683         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
684         Use wait4 regardless of [__NR_waitpid].
685
686 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
687
688         PR libgcc/60166
689         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
690         (_FP_NANSIGN_Q): Set the quiet bit.
691
692 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
693
694         * benchtests/Makefile
695         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
696         not $(common-objpfx)math/libm.so.
697         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
698         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
699         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
700         $(common-objpfx)dlfcn/libdl.so.
701         ($(objpfx)tst-audit8): Depend on $(libm), not
702         $(common-objpfx)math/libm.so.
703         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
704         not $(common-objpfx)dlfcn/libdl.so.
705         * math/Makefile
706         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
707         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
708         [$(build-shared) = yes].
709         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
710         $(common-objpfx)nptl/libpthread.so.
711         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
712         $(common-objpfx)math/libm.so$(libm.so-version) or
713         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
714         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
715         $(common-objpfx)dlfcn/libdl.so.
716         * setjmp/Makefile (link-libm): Remove variable.
717         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
718         * stdio-common/Makefile (link-libm): Remove variable.
719         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
720         * stdlib/Makefile (link-libm): Remove variable.
721         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
722         ($(objpfx)tst-strtod-round): Likewise.
723         ($(objpfx)tst-tininess): Likewise.
724         ($(objpfx)tst-strtod-underflow): Likewise.
725         ($(objpfx)tst-strtod6): Likewise.
726         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
727         $(libdl), not $(common-objpfx)nptl/libpthread.so and
728         $(common-objpfx)dlfcn/libdl.so.
729
730 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
731
732         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
733         BSD terminal modes definitions.
734
735 2014-05-16  Roland McGrath  <roland@hack.frob.com>
736
737         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
738         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
739
740         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
741         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
742         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
743         Don't do #include_next.
744         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
745         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
746         Don't do #include_next.
747         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
748         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
749         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
750         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
751
752 2014-05-16  Allan McRae  <allan@archlinux.org>
753
754         * po/sv.po: Update Swedish translation from translation project.
755
756         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
757         in sed expression.
758
759 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
760
761         [BZ #16917]
762         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
763         errno if the TIOCGPTN ioctl fails with an error different than
764         EINVAL.
765         * login/tst-ptsname.c: New file.
766         * login/Makefile (tests): Add tst-ptsname.
767
768         [BZ #16943]
769         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
770         and prlimit64.
771
772 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
773
774         [BZ #16849]
775         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
776         herrno to return EAI_AGAIN.
777
778 2014-05-14  Roland McGrath  <roland@hack.frob.com>
779
780         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
781         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
782         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
783         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
784         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
785         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
786         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
787         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
788         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
789         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
790         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
791         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
792         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
793         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
794         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
795         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
796         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
797         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
798         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
799         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
800         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
801         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
802         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
803         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
804         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
805         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
806         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
807         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
808         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
809         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
810         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
811         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
812         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
813         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
814         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
815         Moved ...
816         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
817         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
818         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
820         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
821         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
822         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
823         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
824         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
826         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
827         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
828         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
829         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
830         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
831         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
832         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
833         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
834         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
835         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
836         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
838         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
839         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
840         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
842         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
843         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
844         Moved ...
845         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
847         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
849         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
851         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
853         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
855         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
857         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
859         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
860         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
861         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
863         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
864         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
865         Moved ...
866         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
867         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
868         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
869
870         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
871         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
872         (libpthread-sysdep_routines): Add elision-related stuff here instead.
873         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
874         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
875         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
876         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
877         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
878         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
879         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
880         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
881         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
882         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
883         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
884         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
885         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
886         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
887         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
888         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
889         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
890         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
891         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
892         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
893         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
894         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
895         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
896         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
897         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
898         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
899         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
900         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
901
902         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
903         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
904
905         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
906         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
907         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
908         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
909         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
910         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
911         Moved ...
912         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
913         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
914         Moved ...
915         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
916         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
917         Moved ...
918         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
919         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
920         Moved ...
921         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
922         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
923         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
924         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
925         Moved ...
926         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
927         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
928         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
929         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
930         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
931         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
932         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
933         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
934         Moved ...
935         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
936         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
937         Moved ...
938         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
939         ... here.
940         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
941         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
942         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
943         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
944         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
945         Moved ...
946         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
947         ... here.
948         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
949         Moved ...
950         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
951         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
952         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
953         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
954         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
955         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
956         Moved ...
957         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
958         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
959         Moved ...
960         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
961         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
962         Moved ...
963         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
964         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
965         Moved ...
966         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
967         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
968         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
969         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
970         Moved ...
971         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
972         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
973         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
974         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
975         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
976         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
977         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
978         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
979         Moved ...
980         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
981         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
982         Moved ...
983         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
984         ... here.
985         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
986         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
987         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
988         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
989         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
990         Moved ...
991         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
992         ... here.
993         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
994         Moved ...
995         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
996         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
997         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
998         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
999         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1000         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1001         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1002         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1003         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1004         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1005         Moved ...
1006         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1007         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1008         Moved ...
1009         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1010         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1011         Moved ...
1012         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1013         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1014         Moved ...
1015         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1016         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1017         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1018         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1019         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1020         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1021         Moved ...
1022         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1023         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1024         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1025         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1026         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1027         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1028         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1029         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1030         Moved ...
1031         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1032         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1033         Moved ...
1034         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1035         ... here.
1036         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1037         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1038         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1039         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1040         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1041         Moved ...
1042         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1043         ... here.
1044         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1045         Moved ...
1046         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1047         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1048         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1049         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1050         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1051         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1052         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1053         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1054         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1055         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1056         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1057
1058         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1059         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1060
1061         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1062         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1063
1064         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1065         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1066         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1067         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1068         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1069         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1070         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1071         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1072         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1073         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1074         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1075         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1076         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1077         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1078         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1079         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1080         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1081         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1082         Moved ...
1083         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1084         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1085         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1086         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1087         Moved ...
1088         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1089         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1090         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1091         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1092         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1093         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1094         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1095         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1096         Moved ...
1097         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1098         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1099         Moved ...
1100         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1101         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1102         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1103         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1104         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1105         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1106         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1107         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1108         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1109         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1110         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1111         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1112         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1113         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1114         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1115         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1116         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1117
1118         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1119         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1120         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1121         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1122         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1123
1124         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1125         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1126         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1127         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1128         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1129         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1130         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1131         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1132         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1133         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1134
1135         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1136         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1137
1138         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1139         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
1140         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1141         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1142         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1143         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1144         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1145         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1146         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1147         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1148         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1149         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1150         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1151         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1152         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1153         Update #include.
1154         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1155         Likewise.
1156         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1157         Likewise.
1158         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1159         Likewise.
1160         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1161         Likewise.
1162         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1163         Likewise.
1164         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1165         Likewise.
1166         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1167         Likewise.
1168         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1169         Likewise.
1170         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1171         Likewise.
1172         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1173         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1174         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1175         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1176         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
1177         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1178         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1179         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1180         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1181         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1182         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1183         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1184         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1185         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
1186         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
1187
1188         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1189         that was previously under [RESET_PID].
1190         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1191         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1192         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1193
1194         * sysdeps/i386/nptl/Implies: New file.
1195         * sysdeps/x86_64/nptl/Implies: New file.
1196         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1197         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1198         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1199         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1200
1201         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1202         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1203         (__libc_vfork): New strong alias.
1204         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1205         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1206
1207         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1208         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1209         (__libc_vfork): New strong alias.
1210         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1211         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1212
1213         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1214         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1215         (__libc_vfork): New strong alias.
1216         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1217         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1218         * nptl/pt-vfork.c: New file.
1219         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1220         (libpthread: GLIBC_2.20): New version set (empty).
1221
1222 2014-05-14  Will Newton  <will.newton@linaro.org>
1223
1224         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1225         rather than #if.
1226
1227 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
1228
1229         [BZ #16564]
1230         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1231         arguments with exponent 65 or above.
1232         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1233         arguments 0x1p113L or above.
1234         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1235         to arguments 0x1p107L or above.
1236         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1237         positive arguments with exponent 65 or above.
1238         * math/auto-libm-test-in: Add more tests of log1p.
1239         * math/auto-libm-test-out: Regenerated.
1240
1241         [BZ #16928]
1242         * math/s_cacos.c (__cacos): Ensure zero real part of result from
1243         non-finite arguments is +0.
1244         * math/s_cacosf.c (__cacosf): Likewise.
1245         * math/s_cacosl.c (__cacosl): Likewise.
1246         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1247         * sysdeps/i386/fpu/libm-test-ulps: Update.
1248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1249
1250         [BZ #16927]
1251         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1252         value.
1253         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1254         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1255         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1256         for explicit high bit of mantissa when testing for argument equal
1257         to 1.
1258         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1259         * sysdeps/i386/fpu/libm-test-ulps: Update.
1260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1261
1262         [BZ #16516]
1263         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1264         (__erf): Scale by 16 instead of 8 in potentially underflowing
1265         case.  Ensure exception if result actually underflows.
1266         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1267         (__erff): Scale by 16 instead of 8 in potentially underflowing
1268         case.  Ensure exception if result actually underflows.
1269         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1270         (efx8): Remove variable.
1271         (__erfl): Scale by 16 instead of 8 in potentially underflowing
1272         case.  Ensure exception if result actually underflows.
1273         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1274         (efx8): Remove variable.
1275         (__erfl): Scale by 16 instead of 8 in potentially underflowing
1276         case.  Ensure exception if result actually underflows.
1277         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1278         (efx8): Remove variable.
1279         (__erfl): Scale by 16 instead of 8 in potentially underflowing
1280         case.  Ensure exception if result actually underflows.
1281         * math/auto-libm-test-in: Add more tests of erf.
1282         * math/auto-libm-test-out: Regenerated.
1283
1284 2014-05-14  Andreas Schwab  <schwab@suse.de>
1285
1286         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1287         Remove code conditionalized on USE___THREAD.
1288
1289         * config.h.in (HAVE_PT_CHOWN): Define as 0.
1290         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1291         not definedness.
1292
1293 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
1294
1295         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1296         Define unconditionally.
1297         (__ASSUME_O_CLOEXEC): Likewise.
1298         (__ASSUME_SOCK_CLOEXEC): Likewise.
1299         (__ASSUME_IN_NONBLOCK): Likewise.
1300         (__ASSUME_PIPE2): Likewise.
1301         (__ASSUME_EVENTFD2): Likewise.
1302         (__ASSUME_SIGNALFD4): Likewise.
1303         (__ASSUME_DUP3): Likewise.
1304         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1305         (__ASSUME_DUP3): Do not define.
1306         (__ASSUME_EVENTFD2): Likewise.
1307         (__ASSUME_IN_NONBLOCK): Likewise.
1308         (__ASSUME_O_CLOEXEC): Likewise.
1309         (__ASSUME_PIPE2): Likewise.
1310         (__ASSUME_SIGNALFD4): Likewise.
1311         (__ASSUME_SOCK_CLOEXEC): Likewise.
1312         (__ASSUME_UTIMES): Undefine.
1313         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1314         (__ASSUME_UTIMES): Do not define.
1315         (__ASSUME_O_CLOEXEC): Likewise.
1316         (__ASSUME_SOCK_CLOEXEC): Likewise.
1317         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1318         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1319         0x020621].
1320         (__ASSUME_PIPE2): Likewise.
1321         (__ASSUME_EVENTFD2): Likewise.
1322         (__ASSUME_SIGNALFD4): Likewise.
1323         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1324         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1325         Do not define.
1326         (__ASSUME_EVENTFD2): Likewise.
1327         (__ASSUME_SIGNALFD4): Likewise.
1328         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1329         (__ASSUME_32BITUIDS): Likewise.
1330         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1331         (__ASSUME_IPC64): Likewise.
1332         (__ASSUME_ST_INO_64_BIT): Likewise.
1333         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1334         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1335         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1336         (__ASSUME_UTIMES): Do not define.
1337         (__ASSUME_PSELECT): Likewise.
1338         (__ASSUME_PPOLL): Likewise.
1339         (__ASSUME_O_CLOEXEC): Likewise.
1340         (__ASSUME_SOCK_CLOEXEC): Likewise.
1341         (__ASSUME_IN_NONBLOCK): Likewise.
1342         (__ASSUME_PIPE2): Likewise.
1343         (__ASSUME_EVENTFD2): Likewise.
1344         (__ASSUME_SIGNALFD4): Likewise.
1345         (__ASSUME_DUP3): Likewise.
1346         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1347         (__ASSUME_UTIMES): Likewise.
1348         (__ASSUME_O_CLOEXEC): Likewise.
1349         (__ASSUME_SOCK_CLOEXEC): Likewise.
1350         (__ASSUME_IN_NONBLOCK): Likewise.
1351         (__ASSUME_PIPE2): Likewise.
1352         (__ASSUME_EVENTFD2): Likewise.
1353         (__ASSUME_SIGNALFD4): Likewise.
1354         (__ASSUME_DUP3): Likewise.
1355         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1356         (__ASSUME_UTIMES): Likewise.
1357         (__ASSUME_O_CLOEXEC): Likewise.
1358         (__ASSUME_SOCK_CLOEXEC): Likewise.
1359         (__ASSUME_IN_NONBLOCK): Likewise.
1360         (__ASSUME_PIPE2): Likewise.
1361         (__ASSUME_EVENTFD2): Likewise.
1362         (__ASSUME_SIGNALFD4): Likewise.
1363         (__ASSUME_DUP3): Likewise.
1364         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1365         Likewise.
1366         (__ASSUME_UTIMES): Likewise.
1367         (__ASSUME_EVENTFD2): Likewise.
1368         (__ASSUME_SIGNALFD4): Likewise.
1369         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1370         (__ASSUME_O_CLOEXEC): Likewise.
1371         (__ASSUME_SOCK_CLOEXEC): Likewise.
1372         (__ASSUME_IN_NONBLOCK): Likewise.
1373         (__ASSUME_PIPE2): Likewise.
1374         (__ASSUME_EVENTFD2): Likewise.
1375         (__ASSUME_SIGNALFD4): Likewise.
1376         (__ASSUME_DUP3): Likewise.
1377         (__ASSUME_UTIMES): Undefine.
1378
1379         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1380         feclearexcept.  Remove symbol versioning code.
1381         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
1382         symbol versioning code.
1383         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
1384         symbol versioning code.
1385         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1386         feupdateenv.  Remove symbol versioning code.
1387         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1388         fegetexceptflag.  Remove symbol versioning code.
1389         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1390         fesetexceptflag.  Remove symbol versioning code.
1391         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1392         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
1393         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1394         (__posix_fadvise64_l32): Remove prototype.
1395         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1396         code.
1397
1398 2014-05-13  Roland McGrath  <roland@hack.frob.com>
1399
1400         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1401         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1402         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1403         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1404
1405 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
1406
1407         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1408         current working directory
1409
1410 2014-05-13  Roland McGrath  <roland@hack.frob.com>
1411
1412         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1413         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1414         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1415         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1416         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1417         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1418         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1419         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1420         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1421         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1422         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1423         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1424         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1425         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1426         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1427         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1428         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1429         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1430         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1431         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1432         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1433         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1434         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1435         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1436         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1437         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1438         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1439         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1440         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1441         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1442         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1443         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1444         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1445         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1446         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1447         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1448         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1449         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1450         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1451         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1452         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1453         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1454
1455         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1456         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1457
1458         * sysdeps/unix/sysv/linux/arm/Makefile
1459         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1460         Add rt-aeabi_unwind_cpp_pr1.
1461         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1462         Add nptl-aeabi_unwind_cpp_pr1.
1463         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1464         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1465         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1466         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1467         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1468         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1469
1470         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1471         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1472         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1473         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1474
1475         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1476         Deconditionalize the code that was previously under [RESET_PID].
1477         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1478
1479         * sysdeps/generic/exit-thread.h: New file.
1480         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1481         * include/unistd.h (__exit_thread): Remove declaration.
1482         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1483         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1484         * csu/libc-start.c: Include <exit-thread.h>.
1485         (LIBC_START_MAIN): Pass no argument to __exit_thread.
1486         * nptl/pthread_create.c: Include <exit-thread.h>.
1487         (start_thread): Call __exit_thread in place of __exit_thread_inline.
1488         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1489         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1490         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1491         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1492         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1493         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1494         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1495         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1496         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1497         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1498         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1499         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1500         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1501         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1502         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1503         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1504
1505 2014-05-13  Andreas Schwab  <schwab@suse.de>
1506
1507         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1508
1509 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
1510
1511         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1512         (__ASSUME_UTIMES): Do not condition on kernel version.
1513         (__ASSUME_PSELECT): Define unconditionally.
1514         (__ASSUME_PPOLL): Likewise.
1515         (__ASSUME_ATFCTS): Likewise.
1516         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1517         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1518         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1519         (__ASSUME_UTIMENSAT): Define unconditionally.
1520         (__ASSUME_PRIVATE_FUTEX): Likewise.
1521         (__ASSUME_FALLOCATE): Likewise.
1522         (__ASSUME_O_CLOEXEC): Likewise.
1523         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1524         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1525         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1526         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1527         (__ASSUME_IN_NONBLOCK): Likewise.
1528         (__ASSUME_PIPE2): Likewise.
1529         (__ASSUME_EVENTFD2): Likewise.
1530         (__ASSUME_SIGNALFD4): Likewise.
1531         (__ASSUME_DUP3): Likewise.
1532         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1533         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1534         (__ASSUME_AT_RANDOM): Likewise.
1535         (__ASSUME_PREADV): Likewise.
1536         (__ASSUME_PWRITEV): Likewise.
1537         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1538         (__ASSUME_F_GETOWN_EX): Define unconditionally.
1539         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1540         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1541         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1542         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1543         (__ASSUME_O_CLOEXEC): Define unconditionally.
1544         (__ASSUME_PSELECT): Do not undefine conditionally.
1545         (__ASSUME_PPOLL): Likewise.
1546         (__ASSUME_ATFCTS): Likewise.
1547         (__ASSUME_SET_ROBUST_LIST): Likewise.
1548         (__ASSUME_UTIMENSAT): Likewise.
1549         (__ASSUME_FDATASYNC): Define unconditionally.
1550         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1551         (__ASSUME_SIGFRAME_V2): Likewise.
1552         )__ASSUME_EVENTFD2): Likewise.
1553         (__ASSUME_SIGNALFD4): Likewise.
1554         (__ASSUME_PSELECT): Do not undefine conditionally.
1555         (__ASSUME_PPOLL): Likewise.
1556         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1557         (__ASSUME_PSELECT): Define unconditionally.
1558         (__ASSUME_PPOLL): Likewise.
1559         (__ASSUME_O_CLOEXEC): Likewise.
1560         (__ASSUME_SOCK_CLOEXEC): Likewise.
1561         (__ASSUME_IN_NONBLOCK): Likewise.
1562         (__ASSUME_PIPE2): Likewise.
1563         (__ASSUME_EVENTFD2): Likewise.
1564         (__ASSUME_SIGNALFD4): Likewise.
1565         (__ASSUME_DUP3): Likewise.
1566         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1567         (__ASSUME_O_CLOEXEC): Likewise.
1568         (__ASSUME_SOCK_CLOEXEC): Likewise.
1569         (__ASSUME_IN_NONBLOCK): Likewise.
1570         (__ASSUME_PIPE2): Likewise.
1571         (__ASSUME_EVENTFD2): Likewise.
1572         (__ASSUME_SIGNALFD4): Likewise.
1573         (__ASSUME_DUP3): Likewise.
1574         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1575         (__ASSUME_EVENTFD2): Likewise.
1576         (__ASSUME_SIGNALFD4): Likewise.
1577         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1578
1579 2014-05-12  Andreas Schwab  <schwab@suse.de>
1580
1581         [BZ #16932]
1582         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1583         (_nss_nis_gethostbyname4_r): Return error if item length is larger
1584         than maximum RPC packet size.
1585         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1586         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1587         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1588         (_nss_nis_getservbyport_r): Likewise.
1589
1590 2014-05-12  Will Newton  <will.newton@linaro.org>
1591
1592         * malloc/Makefile (tests): Add tst-mallopt.
1593         * malloc/tst-mallopt.c: New file.
1594
1595 2014-05-09  Roland McGrath  <roland@hack.frob.com>
1596
1597         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1598         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1599
1600 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1601
1602         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1603         (tst-tlsmod6.so): Likewise.
1604
1605 2014-05-09  Roland McGrath  <roland@hack.frob.com>
1606
1607         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1608
1609 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
1610
1611         [BZ #16064]
1612         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1613         and <dl-procinfo.h>.
1614         (__fegetenv): Save SSE state in envp->__eip if supported.
1615         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1616         envp->__eip if supported.
1617         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1618         and <dl-procinfo.h>.
1619         (__fesetenv): Always set __eip, __cs_selector, __opcode,
1620         __data_offset and __data_selector in environment to 0.  Set SSE
1621         state if supported.
1622         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1623         test-fenv-sse.
1624         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1625         -mfpmath=sse.
1626         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1627
1628 2014-05-09  Will Newton  <will.newton@linaro.org>
1629
1630         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1631         and libc_relro_required for ARM.
1632         * sysdeps/arm/preconfigure: Regenerate.
1633
1634 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
1635             Stefan Liebler  <stli@linux.vnet.ibm.com>
1636
1637         * config.make.in (enable-lock-elision): New Makefile variable.
1638         * configure.ac: Likewise.
1639         * configure: Regenerate.
1640         * sysdeps/s390/configure.ac:
1641         Add check for gcc transactions support.
1642         * sysdeps/s390/configure: Regenerate.
1643         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1644         Build elision files if enabled.
1645         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1646         Add lock elision support for s390.
1647         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1648         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1649         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1650         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1651         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1652         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1653         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1654         Likewise.
1655         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1656         Likewise.
1657         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1658         Likewise.
1659         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1660         Likewise.
1661         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1662         (__lll_timedlock_elision, __lll_lock_elision)
1663         (__lll_unlock_elision, __lll_trylock_elision)
1664         (lll_timedlock_elision, lll_lock_elision)
1665         (lll_unlock_elision, lll_trylock_elision): Add.
1666         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1667         (pthread_mutex_t): Add lock elision support for s390.
1668
1669 2014-05-14  Wilco  <wdijkstr@arm.com>
1670
1671         * sysdeps/arm/fclrexcpt.c: Cleanup.
1672         * sysdeps/arm/fedisblxcpt.c: Cleanup.
1673         * sysdeps/arm/feenablxcpt.c: Cleanup.
1674         * sysdeps/arm/fegetenv.c: Cleanup.
1675         * sysdeps/arm/fegetexcept.c: Cleanup.
1676         * sysdeps/arm/fegetround.c: Cleanup.
1677         * sysdeps/arm/feholdexcpt.c: Cleanup.
1678         * sysdeps/arm/fesetenv.c: Cleanup.
1679         * sysdeps/arm/fesetround.c: Cleanup.
1680         * sysdeps/arm/feupdateenv.c: Cleanup.
1681         * sysdeps/arm/fgetexcptflg.c: Cleanup.
1682         * sysdeps/arm/fraiseexcpt.c: Cleanup.
1683         * sysdeps/arm/fsetexcptflg.c: Cleanup.
1684         * sysdeps/arm/ftestexcept.c: Cleanup.
1685         * sysdeps/arm/get-rounding-mode.h: Cleanup.
1686         * sysdeps/arm/setfpucw.c: Cleanup.
1687
1688 2014-05-09  Will Newton  <will.newton@linaro.org>
1689
1690         * sysdeps/arm/armv7/strcmp.S: New file.
1691         * NEWS: Mention addition of ARMv7 optimized strcmp.
1692
1693 2014-05-08  Roland McGrath  <roland@hack.frob.com>
1694
1695         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1696         look for %.ac rather than %.in.
1697
1698         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1699         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1700         * sysdeps/mach/hurd/configure: Regenerated.
1701         * sysdeps/unix/sysv/linux/configure: Regenerated.
1702
1703         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1704
1705 2014-05-07  Steve Ellcey  <sellcey@mips.com>
1706
1707         [BZ# 16922]
1708         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1709         (LONG_SUB): Ditto.
1710         (PTR_SUB): Ditto.
1711
1712 2014-05-07  Andreas Schwab  <schwab@suse.de>
1713
1714         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1715         when skipping over non-matching result from nscd.
1716
1717 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
1718
1719         [BZ #16876]
1720         * nptl/sockperf.c (client): Check socket return value.
1721
1722         [BZ #16877]
1723         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1724         nscd security class.
1725
1726 2014-05-06  Roland McGrath  <roland@hack.frob.com>
1727
1728         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1729         * sysdeps/arm/unwind.h: ... here.
1730
1731 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
1732
1733         [BZ# 16916]
1734         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1735         Define.
1736
1737 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1738
1739         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1740         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1741         multiarch strncpy for PPC64.
1742         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1743         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1744         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1745         multiarch optimizations.
1746         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1747         (__libc_ifunc_impl_list): Likewise.
1748         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1749         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1750         multiarch stpncpy for PPC64.
1751         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1752         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1753
1754 2014-05-06  Andreas Schwab  <schwab@suse.de>
1755
1756         [BZ #16912]
1757         * gmon/mcount.c (_MCOUNT_DECL): Use
1758         atomic_compare_and_exchange_bool_acq instead of
1759         catomic_compare_and_exchange_bool_acq.
1760
1761 2014-05-05  Roland McGrath  <roland@hack.frob.com>
1762
1763         * elf/Makefile (others, install-bin): Remove pldd.
1764         (pldd-modules): Variable removed.
1765         ($(objpfx)pldd): Target removed.
1766         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1767         (others, install-bin): Append pldd here.
1768         ($(objpfx)pldd): New target.
1769
1770         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1771         to 0, so the first #if test emitted later doesn't see it undefined.
1772         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1773         * sysdeps/gnu/errlist.c: Regenerated.
1774
1775 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1776
1777         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1778         [libc_hidden_builtin_def]: Define to empty value.
1779         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1780         [libc_hidden_builtin_def]: Likewise.
1781         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1782         [libc_hidden_builtin_def]: Likewise.
1783         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1784         [libc_hidden_builtin_def]: Likewise.
1785         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1786         __redirect_memcpy and define ifunc as default hidden symbol.
1787         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1788         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1789
1790 2014-05-04  Adam Conrad  <adconrad@0c3.net>
1791
1792         * locale/iso-4217.def: Reintroduce XDR currency.
1793
1794 2014-05-04  Allan McRae  <allan@archlinux.org>
1795
1796         * po/eo.po: Update Esperanto translation from translation project.
1797
1798 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
1799
1800         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1801         and FEATURE_INDEX_MAX to 1.
1802         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1803
1804 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1805
1806         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1807         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1808         * iconvdata/big5.c (ONE_DIRECTION): Define.
1809         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1810         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1811         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1812         * iconvdata/cp932.c (ONE_DIRECTION): Define.
1813         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1814         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1815         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1816         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1817         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1818         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1819         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1820         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1821         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1822         * iconvdata/gbk.c (ONE_DIRECTION): Define.
1823         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1824         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1825         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1826         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1827         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1828         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1829         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1830         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1831         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1832         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1833         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1834         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1835         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1836         * iconvdata/iso646.c (ONE_DIRECTION): Define.
1837         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1838         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1839         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1840         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1841         * iconvdata/johab.c (ONE_DIRECTION): Define.
1842         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1843         * iconvdata/sjis.c (ONE_DIRECTION): Define.
1844         * iconvdata/t.61.c (ONE_DIRECTION): Define.
1845         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1846         * iconvdata/tscii.c (ONE_DIRECTION): Define.
1847         * iconvdata/uhc.c (ONE_DIRECTION): Define.
1848         * iconvdata/unicode.c (ONE_DIRECTION): Define.
1849         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1850         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1851         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1852
1853 2014-05-01  Roland McGrath  <roland@hack.frob.com>
1854
1855         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1856         (_IO_JUMPS_OFFSET): Define to 0.
1857
1858         * nptl/sysdeps/pthread/bits/libc-lock.h
1859         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1860         (__libc_lock_define_initialized_recursive): Always define using
1861         initializer.  Modern compilers treat uninitialized (implicit zero) and
1862         explicit zero initializers the same (i.e. put the datum in bss).
1863
1864 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1865
1866         * nscd/nscd-client.h: Include <string.h>.
1867
1868 2014-05-01  David S. Miller  <davem@davemloft.net>
1869
1870         [BZ #16885]
1871         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1872         multiple zero bytes exist at the end of a string.
1873         Reported by Aurelien Jarno <aurelien@aurel32.net>
1874
1875         * string/test-strcmp.c (check): Add explicit test for situations where
1876         there are multiple zero bytes after the first.
1877
1878 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1879
1880         [BZ #16890]
1881         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1882         when compiling wprintf.
1883         * stdio-common/tstdiomisc.c (t3): New function.
1884         (main): Call it.
1885
1886 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1887
1888         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1889         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1890         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1891         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1892
1893 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1894
1895         * stdlib/longlong.h: Updated from GCC.
1896
1897 2014-05-01  Will Newton  <will.newton@linaro.org>
1898             Bernard Ogden  <bernie.ogden@linaro.org>
1899
1900         * NEWS: Update fixed bug list.
1901
1902         [BZ #15119]
1903         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1904
1905 2014-04-30  David S. Miller  <davem@davemloft.net>
1906
1907         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1908         (libc_feholdexcept_setround_sparc_ctx): New function.
1909         (libc_fesetenv_sparc_ctx): Likewise.
1910         (libc_feupdateenv_sparc_ctx): Likewise.
1911         (libc_feholdsetround_sparc_ctx): Likewise.
1912         (libc_feholdexcept_setround_ctx): Define.
1913         (libc_feholdexcept_setroundf_ctx): Likewise.
1914         (libc_feholdexcept_setroundl_ctx): Likewise.
1915         (libc_fesetenv_ctx): Likewise.
1916         (libc_fesetenvf_ctx): Likewise.
1917         (libc_fesetenvl_ctx): Likewise.
1918         (libc_feupdateenv_ctx): Likewise.
1919         (libc_feupdateenvf_ctx): Likewise.
1920         (libc_feupdateenvl_ctx): Likewise.
1921         (libc_feresetround_ctx): Likewise.
1922         (libc_feresetroundf_ctx): Likewise.
1923         (libc_feresetroundl_ctx): Likewise.
1924         (libc_feholdsetround_ctx): Likewise.
1925         (libc_feholdsetroundf_ctx): Likewise.
1926         (libc_feholdsetroundl_ctx): Likewise.
1927
1928         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1929         with __USE_GNU instead of XOPEN cpp guards.
1930
1931         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1932         0.
1933
1934         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1935         with XOPEN cpp guards.
1936
1937 2014-04-30  Julian Brown  <julian@codesourcery.com>
1938
1939         [BZ #16888]
1940         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1941         handling.
1942
1943 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
1944
1945         [BZ #9894]
1946         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1947         Change to 2.6.32.
1948         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1949         * sysdeps/unix/sysv/linux/configure: Regenerated.
1950         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1951         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1952         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1953         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1954         * README: Update reference to required Linux kernel version.
1955         * manual/install.texi (Linux): Update reference to required Linux
1956         kernel headers version.
1957         * INSTALL: Regenerated.
1958
1959         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1960         header inclusion.
1961         [POSIX] (limits.h): Likewise.
1962         [POSIX] (math.h): Likewise.
1963         [POSIX] (sys/wait.h): Likewise.
1964         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1965         function.
1966         [POSIX] (stddef.h): Do not allow header inclusion.
1967
1968 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1969
1970         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1971
1972 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
1973
1974         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1975         Return immediately after lll_futex_wake.
1976
1977 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1978
1979         [BZ #16791]
1980         * nscd/nscd-client.h (datahead_init_common): Initialize entire
1981         structure.
1982         (datahead_init_pos): Call datahead_init_common early.
1983         (datahead_init_neg): Likewise.
1984
1985         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1986         datahead_init_neg): New functions.
1987         * nscd/aicache.c (addhstaiX): Use them.
1988         * nscd/grpcache.c (cache_addgr): Likewise.
1989         * nscd/hstcache.c (cache_addhst): Likewise.
1990         * nscd/initgrcache.c (addinitgroupsX): Likewise.
1991         * nscd/netgroupcache.c (do_notfound): Likewise.
1992         (addgetnetgrentX): Likewise.
1993         (addinnetgrX): Likewise.
1994         * nscd/pwdcache.c (cache_addpw): Likewise.
1995         * nscd/servicescache.c (cache_addserv): Likewise.
1996
1997 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1998             Atsushi Onoe  <atsushi@onoe.org>
1999
2000         [BZ #14308]
2001         [BZ #12994]
2002         [BZ #13651]
2003         * resolv/res_query.c (__libc_res_nsearch): Return if at least
2004         one response is valid.
2005         * resolv/res_send.c (send_dg): Check for validity of other
2006         response if the current response is a referral.
2007
2008 2014-04-29  Steve Ellcey  <sellcey@mips.com>
2009
2010         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2011
2012 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
2013
2014         [BZ #16823]
2015         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2016         Always divide by positive zero when computing -Inf result.
2017         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2018         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2019
2020 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2021
2022         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2023         FPSCR if value do not change.
2024         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2025         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2026         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2027         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2028         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2029         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2030         function.
2031
2032 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
2033
2034         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2035         * sysdeps/unix/sysv/linux/hppa: Move directory from
2036         ports/systeps/unix/sysv/linux/hppa.
2037         * README: Update listing for hppa-*-linux-gnu.
2038
2039 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
2040
2041         [BZ #16754]
2042         * manual/stdio.texi (Hook functions): Fix types of stream hook
2043         functions.
2044         [BZ #16854]
2045         * socket/sys/socket.h: Fix typo in comment.
2046
2047 2014-04-28  Wilco  <wdijkstr@arm.com>
2048
2049         * sysdeps/arm/fenv_private.h: New file.
2050         * sysdeps/arm/math_private.h: New file.
2051         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2052
2053 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
2054
2055         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2056         with __int128_t.
2057         (La_x86_64_retval): Likewise.
2058
2059 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
2060
2061         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2062         fpsr if value didn't change.
2063         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2064         to fpcr if value didn't change.
2065         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2066         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2067         fpsr or fpcr if value didn't change.
2068         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2069         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2070         fpcr if value didn't change.
2071         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2072         to fpsr if value didn't change.
2073
2074 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2075
2076         * nptl/tst-sem3.c: Use test-skeleton.c
2077         (main): Rename to do_test.  Use return instead of
2078         exit.
2079         * nptl/tst-sem4.c: Use test-skeleton.c
2080         (main): Rename to do_test.
2081
2082 2014-04-22  David S. Miller  <davem@davemloft.net>
2083
2084         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2085         (struct sigaction): New struct member __glibc_reserved0, change
2086         type of sa_flags to int.
2087
2088 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
2089
2090         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2091         (COUNT_LEADING_ZEROS_0): Define for AArch64.
2092
2093 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2094
2095         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2096         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2097
2098 2014-04-22  Will Newton  <will.newton@linaro.org>
2099             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
2100
2101         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2102         (__longjmp): Add longjmp and longjmp_target SystemTap
2103         probes.
2104         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2105         (__sigsetjmp): Add setjmp SystemTap probe.
2106
2107 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
2108
2109         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2110         match manual order.
2111
2112 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2113
2114         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2115
2116         * sysdeps/powerpc/fpu/fenv_private.h
2117         (libc_feholdexcept_setroundl_ctx): Define to
2118         libc_feholdexcept_setround_ppc_ctx.
2119         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2120         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2121         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2122         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2123
2124 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
2125
2126         * sysdeps/aarch64/math-tests.h: New file.
2127
2128 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
2129
2130         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2131         New.
2132         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2133         Check and set bit_AVX2_Usable.
2134         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2135         macro.
2136         (bit_AVX2): Likewise.
2137         (index_AVX2_Usable): Likewise.
2138         (CPUID_AVX2): Likewise.
2139         (HAS_AVX2): Likewise.
2140
2141 2014-04-17  Will Newton  <will.newton@linaro.org>
2142
2143         * manual/setjmp.texi (System V contexts): Add note that
2144         calling setcontext on a context created by a call to a
2145         signal handler is undefined.  Update text to note that
2146         setcontext from a signal handler is possible but not
2147         recommended.
2148
2149         [BZ #16629]
2150         * stdlib/tst-setcontext.c: Include signal.h.
2151         (main): Check that the signal stack before and
2152         after swapcontext is the same.
2153
2154         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2155         Re-implement to restore registers in user code and avoid
2156         rt_sigreturn system call.
2157
2158 2014-04-17  Wilco  <wdijkstr@arm.com>
2159
2160         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2161         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2162         * math/test-fenv.c: Skip exception trap tests on targets which only
2163         support non-stop mode.
2164
2165 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
2166             Wilco Dijkstra  <wilco.dijkstra@arm.com>
2167
2168         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2169         (libc_feholdsetround_aarch64_ctx)
2170         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2171         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2172         (libc_feresetround_ctx, libc_feresetroundf_ctx)
2173         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2174         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2175         (libc_feresetround_noexl_ctx): Define.
2176
2177 2014-04-16  Richard Henderson  <rth@redhat.com>
2178
2179         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2180
2181         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2182         unwind tables.
2183
2184         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2185         const from the non-libc, non-ldso copy.
2186
2187         * sysdeps/alpha/libm-test-ulps: Regenerate.
2188
2189 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
2190             Wilco Dijkstra  <wilco.dijkstra@arm.com>
2191
2192         * sysdeps/aarch64/fpu/math_private.h: New file.
2193
2194 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2195
2196         * sysdeps/aarch64/libm-test-ulps: Regenerate.
2197
2198 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
2199
2200         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2201         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2202         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2203         Intel MPX bound registers before _dl_profile_fixup.
2204         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2205         registers after _dl_profile_fixup.  Save and restore bound
2206         registers bnd0/bnd1 when calling _dl_call_pltexit.
2207         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2208         (LR_BND_OFFSET): Likewise.
2209         (LRV_BND0_OFFSET): Likewise.
2210         (LRV_BND1_OFFSET): Likewise.
2211
2212 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2213
2214         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2215         to...
2216         * sysdeps/mach/hurd/i386/tls.h: ... here.
2217         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2218         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2219         fields.
2220
2221 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2222
2223         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2224
2225 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2226
2227         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2228
2229 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2230
2231         [BZ #14770]
2232         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2233         * sysdeps/s390/configure: Regenerate.
2234
2235         [BZ #16824]
2236         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2237         Set round-to-nearest internally to reduce error accumulation.
2238
2239 2014-04-16  Alan Modra  <amodra@gmail.com>
2240
2241         [BZ #16740]
2242         [BZ #16619]
2243         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2244         * math/libm-test.inc (frexp_test_data): Add tests.
2245         * NEWS: Update fixed bug list.
2246
2247 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2248
2249         * benchtests/Makefile: Depend on libraries in build directory.
2250         (bench-math): Separate out math tests.
2251         (bench-pthread): Separate out pthread tests.
2252         (bench): Include math and pthread tests.
2253
2254 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
2255
2256         [BZ #16831]
2257         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2258         _dl_debug_initialize.
2259
2260         * configure.ac: Remove SELinux header check.
2261         * configure: Regenerate.
2262         * nscd/selinux.c (perms): Array of const char* to permission names.
2263         (nscd_request_avc_has_perm): Call security_deny_unknown to find
2264         default policy. Call string_to_security_class and string_to_av_perm to
2265         translate strings. Enforce default policy and call avs_has_perm with
2266         results of translated strings.
2267
2268 2014-04-13  David S. Miller  <davem@davemloft.net>
2269
2270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2271
2272 2014-04-12  Allan McRae  <allan@archlinux.org>
2273
2274         [BZ #16838]
2275         * manual/string.texi (Collation Functions): Fix qsort argument
2276         order in example.
2277         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2278
2279 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
2280
2281         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2282         Make the test a no-op if there are no exceptions defined.
2283
2284 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2285
2286         * elf/Makefile (tests): make tst-dlopen-aout conditional on
2287         enable-hardcoded-path-in-tests
2288
2289 2014-04-11  Will Newton  <will.newton@linaro.org>
2290
2291         * benchtests/Makefile (extra-objs): Add json-lib.o.
2292         (bench-func): Tidy up JSON output.
2293         * benchtests/bench-skeleton.c: Include json-lib.h.
2294         (main): Use JSON library functions to do output of
2295         benchmark results.
2296         * benchtests/bench-timing-type.c (main): Output the
2297         timing type simply, leaving formatting to the user.
2298         * benchtests/json-lib.c: New file.
2299         * benchtests/json-lib.h: Likewise.
2300
2301 2014-04-11  Torvald Riegel  <triegel@redhat.com>
2302
2303         [BZ #15215]
2304         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2305         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
2306         memory barriers.  Add comments.
2307         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2308         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2309         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2310         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2311         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2312         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2313
2314 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2315
2316         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2317         * sysdeps/s390/s390-64/configure.ac: ... this ...
2318         * sysdeps/s390/configure.ac: ... to here.
2319         * sysdeps/s390/s390-32/configure: Delete file.
2320         * sysdeps/s390/s390-64/configure: Delete file.
2321         * sysdeps/s390/configure: Regenerate.
2322
2323 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
2324
2325         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2326
2327 2014-04-11  Will Newton  <will.newton@linaro.org>
2328
2329         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2330         to zero if it is not defined elsewhere.  (mtrim): Test
2331         the value of MALLOC_DEBUG with #if rather than #ifdef.
2332
2333 2014-04-10 Torvald Riegel  <triegel@redhat.com>
2334
2335         * benchtests/pthread_once-inputs: New file.
2336         * benchtests/pthread_once-source.c: New file.
2337         * benchtests/README: Update documentation.
2338
2339 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
2340             H.J. Lu  <hongjiu.lu@intel.com>
2341
2342         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2343         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2344         * sysdeps/x86_64/configure: Regenerated.
2345         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2346         macro.
2347         (REGISTER_SAVE_RAX): Likewise.
2348         (REGISTER_SAVE_RCX): Likewise.
2349         (REGISTER_SAVE_RDX): Likewise.
2350         (REGISTER_SAVE_RSI): Likewise.
2351         (REGISTER_SAVE_RDI): Likewise.
2352         (REGISTER_SAVE_R8): Likewise.
2353         (REGISTER_SAVE_R9): Likewise.
2354         (REGISTER_SAVE_BND0): Likewise.
2355         (REGISTER_SAVE_BND1): Likewise.
2356         (REGISTER_SAVE_BND2): Likewise.
2357         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
2358         bound registers when calling _dl_fixup.
2359
2360 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2361
2362         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
2363         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2364         of its definition.
2365         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2366         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2367         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2368         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2369         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2370         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2371         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2372
2373 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
2374
2375         [BZ #15514]
2376         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2377         pathconf(_PC_NAME_MAX).
2378
2379 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2380
2381         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2382         Remove macro usage.
2383         (__PTHREAD_SPINS): Move definition to ...
2384         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2385         (__PTHREAD_SPINS): ... here.
2386         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2387         (__PTHREAD_SPIN): Likewise.
2388         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2389         (__PTHREAD_SPIN): Likewise.
2390         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2391         (__PTHREAD_SPIN): Likewise.
2392         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2393         (__PTHREAD_SPIN): Likewise.
2394         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2395         (__PTHREAD_SPIN): Likewise.
2396         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2397         (__PTHREAD_SPIN): Likewise.
2398         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2399         (__PTHREAD_SPIN): Likewise.
2400         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2401         (__PTHREAD_SPIN): Likewise.
2402         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2403         (__PTHREAD_SPIN): Likewise.
2404         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2405         (__PTHREAD_SPIN): Likewise.
2406         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2407         (__PTHREAD_SPIN): Likewise.
2408         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2409         (__PTHREAD_SPIN): Likewise.
2410
2411         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2412         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2413         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2414         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2415         imply folder.
2416         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2417         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2418         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2419         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2420         correct imply path.
2421         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2422         strlen symbol for non multi-arch builds.
2423         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2424         missing hidden_def and weak_alias.
2425
2426 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
2427
2428         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2429
2430 2014-04-07  Will Newton  <will.newton@linaro.org>
2431
2432         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2433         and contents.  [!_LIBC] Remove #ifndef and contents.
2434         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
2435         * string/memccpy.c (__memccpy): Use ANSI prototype.
2436         * string/memfrob.c (memfrob): Likewise.
2437         * string/strcoll.c (STRCOLL): Likewise.
2438         * string/strlen.c (strlen): Likewise.
2439         * string/strtok.c (STRTOK): Likewise.
2440         * string/strcat.c: Remove unused #include of memcopy.h.
2441         (strcat): Use ANSI prototype.
2442         * string/strchr.c: Remove unused #include of memcopy.h.
2443         (strchr): Use ANSI prototype.
2444         * string/strcmp.c: Remove unused #include of memcopy.h.
2445         (strcmp): Use ANSI prototype.
2446         * string/strcpy.c: Remove unused #include of memcopy.h.
2447         (strcpy): Use ANSI prototype.
2448
2449 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2450
2451         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2452         * config.make.in (config-extra-cppflags): Set it from
2453         libc_extra_cppflags.
2454         * configure.ac (libc_extra_cflags): Make it accumulate over
2455         configure fragments.
2456         (libc_extra_cppflags): New flag.
2457         * configure. Regenerate.
2458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2459         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2460         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
2461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2462
2463         [BZ #16815]
2464         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2465         result for FE_DOWNWARD rounding mode.
2466         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2467         Likewise.
2468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2469
2470 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
2471
2472         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2473         in function argument name.
2474
2475 2014-04-03  David Svoboda  <svoboda@cert.org>
2476
2477         [BZ #5666]
2478         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2479         explicitly.
2480
2481 2014-04-03  Roland McGrath  <roland@hack.frob.com>
2482
2483         * elf/dl-unmap-segments.h: New file.
2484         * sysdeps/generic/ldsodefs.h
2485         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2486         * elf/dl-close.c: Include <dl-unmap-segments.h>.
2487         * elf/dl-fptr.c: Likewise.
2488         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2489         * sysdeps/aarch64/tlsdesc.c: Likewise.
2490         * sysdeps/arm/tlsdesc.c: Likewise.
2491         * sysdeps/i386/tlsdesc.c: Likewise.
2492         * sysdeps/tile/dl-runtime.c: Likewise.
2493         * sysdeps/x86_64/tlsdesc.c: Likewise.
2494         * elf/dl-load.h: New file.
2495         * elf/dl-load.c: Include it.
2496         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2497         Macros moved to dl-load.h.
2498         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2499         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2500         Use _dl_unmap_segments in place of __munmap.
2501         Break out segment-mapping loop into ...
2502         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2503
2504 2014-04-03  Will Newton  <will.newton@linaro.org>
2505
2506         * elf/dl-lookup.c (do_lookup_x): Remove comment
2507         referring to nested function and move variable
2508         declarations down to before first use.
2509
2510 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
2511
2512         [BZ #16799]
2513         [BZ #16800]
2514         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2515         with 0 numerator.
2516         * math/s_catanf.c (__catanf): Likewise.
2517         * math/s_catanh.c (__catanh): Likewise.
2518         * math/s_catanhf.c (__catanhf): Likewise.
2519         * math/s_catanhl.c (__catanhl): Likewise.
2520         * math/s_catanl.c (__catanl): Likewise.
2521         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2522         by positive zero when computing -Inf result.
2523         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2524         (catanh_test): Likewise.
2525         * sysdeps/i386/fpu/libm-test-ulps: Update.
2526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2527
2528         [BZ #16789]
2529         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2530         instead of using underflowing value in computing result.
2531         * math/s_clog10.c (__clog10): Likewise.
2532         * math/s_clog10f.c (__clog10f): Likewise.
2533         * math/s_clog10l.c (__clog10l): Likewise.
2534         * math/s_clogf.c (__clogf): Likewise.
2535         * math/s_clogl.c (__clogl): Likewise.
2536         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2537         (clog10_test): Likewise.
2538         * sysdeps/i386/fpu/libm-test-ulps: Update.
2539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2540
2541 2014-04-02  Alan Modra  <amodra@gmail.com>
2542
2543         [BZ #16739]
2544         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2545         output when value is near a power of two.  Use int64_t for lx and
2546         remove casts.  Use decimal rather than hex exponent constants.
2547         Don't use long double multiplication when double will suffice.
2548         * math/libm-test.inc (nextafter_test_data): Add tests.
2549         * NEWS: Add 16739 and 16786 to bug list.
2550
2551         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2552
2553         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2554
2555 2014-04-01  Will Newton  <will.newton@linaro.org>
2556
2557         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2558         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
2559
2560 2014-04-01  Florian Weimer  <fweimer@redhat.com>
2561
2562         [BZ #13347]
2563         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2564         * nptl/tst-setuid2.c: New file.
2565         * nptl/Makefile (xtests): Add tst-setuid2.
2566
2567 2014-04-01  Alan Modra  <amodra@gmail.com>
2568
2569         [BZ #16786]
2570         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2571
2572 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
2573
2574         [BZ #6803]
2575         [BZ #6804]
2576         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2577         set errno as appropriate.
2578         * math/w_scalbf.c (__scalbf): Likewise.
2579         * math/w_scalbl.c (__scalbl): Likewise.
2580         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2581         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2582         * math/libm-test.inc (scalb_test_data): Add errno expectations.
2583         Add more NaN tests.
2584
2585         [BZ #16349]
2586         * math/w_atan2.c: Include <errno.h>.
2587         (__atan2): Set errno for result underflowing to zero.
2588         * math/w_atan2f.c: Include <errno.h>.
2589         (__atan2f): Set errno for result underflowing to zero.
2590         * math/w_atan2l.c: Include <errno.h>.
2591         (__atan2l): Set errno for result underflowing to zero.
2592         * math/auto-libm-test-in: Don't allow missing errno for some atan2
2593         tests.
2594         * math/auto-libm-test-out: Regenerated.
2595
2596 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2597
2598         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2599         Encode instruction correctly in little endian.
2600         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2601         Likewise.
2602         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2603         Likewise.
2604         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2605         Likewise.
2606         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2607         Likewise.
2608
2609 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
2610
2611         [BZ #9894]
2612         * sysdeps/unix/sysv/linux/kernel-features.h
2613         [__sparc__ && !__arch64__ && !__sparc_v9__]
2614         (__ASSUME_SET_ROBUST_LIST): Do not define.
2615         [__sparc__ && !__arch64__ && !__sparc_v9__]
2616         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2617         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2618         Likewise.
2619         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2620         (__ASSUME_FUTEX_LOCK_PI): Undefine.
2621         (__ASSUME_REQUEUE_PI): Likewise.
2622         (__ASSUME_SET_ROBUST_LIST): Likewise.
2623         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2624         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2625         Undefine.
2626         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2627         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2628         Likewise.
2629         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2630         Likewise.
2631         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2632         Likewise.
2633         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2634         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2635         Undefine.
2636         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2637         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2638         Likewise.
2639
2640         [BZ #16648]
2641         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2642         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2643         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2644
2645 2014-03-31  Will Newton  <will.newton@linaro.org>
2646
2647         * benchtests/Makefile (bench): Add ffs and ffsll to list
2648         of tests.
2649         * benchtests/ffs-inputs: New file.
2650         * benchtests/ffsll-inputs: Likewise.
2651
2652 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
2653
2654         [BZ #16770]
2655         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2656         too large before casting to int.
2657         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2658         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2659         * math/libm-test.inc (scalb_test_data): Add more tests.
2660
2661 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2662
2663         * benchtests/Makefile (DETAILED_OPT): New make option.
2664         (bench-func): Run benchmark program with -d if DETAILED_OPT is
2665         set.
2666         * benchtests/bench-skeleton.c: Include stdbool.h.
2667         (main): Store and print timings per input.
2668         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2669         member to each argument value.
2670         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2671         (_print_arg_data): Initialize per-input timing to 0.
2672
2673         * benchtests/Makefile (timing-type): New binary.
2674         (bench-clean): Also remove bench-timing-type.
2675         (bench): New target for timing-type.
2676         (bench-func): Print output in JSON format.
2677         * benchtests/bench-skeleton.c (main): Print output in JSON
2678         format.
2679         * benchtests/bench-timing-type.c: New file.
2680         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2681         (TIMING_PRINT_STATS): Remove.
2682         * benchtests/scripts/bench.py (_print_arg_data): Store variant
2683         name separately.
2684
2685         * benchtests/bench-modf.c: Remove.
2686         * benchtests/modf-inputs: New inputs file.
2687
2688 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
2689
2690         [BZ #16362]
2691         * math/s_clog10.c (M_PI_LOG10E): New macro.
2692         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2693         imaginary parts are 0.
2694         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2695         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2696         imaginary parts are 0.
2697         * math/s_clog10l.c (M_PI_LOG10El): New macro.
2698         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2699         imaginary parts are 0.
2700         * math/libm-test.inc (clog10_test_data): Update expected results
2701         for when real and imaginary parts are 0.
2702
2703 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
2704
2705         * elf/dl-load.c: Finish conversion of __builtin_expect into
2706         __glibc_{un}likely.
2707
2708 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
2709
2710         [BZ #16348]
2711         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2712         1+x for argument with exponent below -67.
2713         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2714         Likewise.
2715         * math/auto-libm-test-in: Add more tests of exp.
2716         * math/auto-libm-test-out: Regenerated.
2717
2718 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2719
2720         [BZ #16759]
2721         * inet/getnetgrent_r.c (get_nonempty_val): New function.
2722         (nscd_getnetgrent): Use it.
2723
2724         [BZ #16760]
2725         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2726         of stpcpy.
2727
2728 2014-03-27  Andi Kleen  <ak@linux.intel.com>
2729
2730         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2731         (lll_robust_lock, lll_cond_lock, lll_timedlock)
2732         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2733         (lll_robust_unlock): Remove out of line section. Use cfi
2734         intrinsics.
2735         (LLL_STUB_UNWIND_INFO*): Remove.
2736         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2737         (lll_robust_lock, lll_cond_lock, lll_timedlock)
2738         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2739         (lll_robust_unlock): Remove out of line section. Use cfi
2740         intrinsics.
2741         (LLL_STUB_UNWIND_INFO*): Remove.
2742
2743 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2744
2745         [BZ #16758]
2746         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2747         blank values.
2748
2749 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
2750
2751         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2752
2753 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
2754
2755         [BZ #16198]
2756         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2757         fnstenv.
2758         * math/test-fenv-preserve.c: New file.
2759         * math/Makefile (tests): Add test-fenv-preserve.
2760
2761 2014-03-26  Will Newton <will.newton@linaro.org>
2762
2763         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2764
2765 2014-03-25  Roland McGrath  <roland@hack.frob.com>
2766
2767         * scripts/versionlist.awk: Partition the version sets and emit all
2768         GLIBC_* (sorted) before all others (sorted).
2769
2770 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
2771
2772         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2773         GLIBC_2.2.5 version.
2774
2775 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2776
2777         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2778         calls.
2779
2780         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2781         previous change.
2782
2783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2784
2785 2014-03-25  Andreas Schwab  <schwab@suse.de>
2786
2787         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2788         label to be used after in6ailist is initialized.
2789
2790 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2791
2792         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2793         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2794
2795 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
2796
2797         [BZ #16357]
2798         [BZ #16599]
2799         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2800         min_plus_half.
2801         (fp_formats): Update initializers.
2802         (init_fp_formats): Initialize new field.
2803         (output_for_one_input_case): Allow underflow for results up to
2804         min_plus_half.
2805         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2806         * math/auto-libm-test-in: Don't mark some underflows from asin and
2807         atanh as spurious.
2808         * math/auto-libm-test-out: Regenerated.
2809         * sysdeps/i386/fpu/libm-test-ulps: Update.
2810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2811
2812 2014-03-25  Andreas Schwab  <schwab@suse.de>
2813
2814         * libio/Makefile (tst-ftell-partial-wide-ENV)
2815         (tst-ftell-active-handler-ENV): Define.
2816
2817 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
2818
2819         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2820
2821 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2822
2823         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2824
2825 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
2826
2827         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2828         * sysdeps/x86_64/fpu/multiarch/e_exp.c
2829         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2830
2831 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2832
2833         [BZ #16634]
2834         * elf/dl-load.c (open_verify): Add mode parameter.
2835         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2836         (open_path): Change from boolean 'secure' to complete flag 'mode'
2837         (_dl_map_object): Adjust.
2838         * elf/Makefile (tests): Add tst-dlopen-aout.
2839         * elf/tst-dlopen-aout.c: New test.
2840
2841 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
2842
2843         [BZ #16714]
2844         * sysdeps/unix/sysv/linux/s390/bits/stat.h
2845         (struct stat): Rename member pad0 to __glibc_reserved0.
2846
2847         [BZ #16712]
2848         * sysdeps/s390/s390-32/bits/wordsize.h
2849         (__WORDSIZE32_SIZE_ULONG): New define.
2850         * sysdeps/s390/s390-64/bits/wordsize.h
2851         (__WORDSIZE32_SIZE_ULONG): Likewise.
2852         * sysdeps/generic/stdint.h (SIZE_MAX):
2853         Define as UL if __WORDSIZE32_SIZE_ULONG.
2854
2855         [BZ #16713]
2856         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2857         (__glibc_reserved0): New variable.
2858         (sa_flags): Change type to int.
2859
2860         * posix/Makefile (before-compile): Use += before-compile instead
2861         of a :=.
2862
2863         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2864         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2865
2866 2014-03-20  Andreas Schwab  <schwab@suse.de>
2867
2868         [BZ #16743]
2869         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2870         non-matching result from nscd.
2871
2872 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2873
2874         * scripts/bench.py: Moved to ...
2875         * benchtests/scripts/bench.py: ... here.
2876         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2877
2878 2014-03-24  Andreas Schwab  <schwab@suse.de>
2879
2880         [BZ #16002]
2881         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2882         alloca_account and account alloca use for struct in6ailist.
2883
2884 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
2885
2886         [BZ #16284]
2887         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2888         rounding mode to recompute results that overflow to infinity or
2889         underflow to zero.
2890         * math/auto-libm-test-in: Don't mark tests as expected to fail for
2891         bug 16284.
2892         * math/auto-libm-test-out: Regenerated.
2893         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2894         (ccosh_test): Likewise.
2895         (csin_test_data): Use plus_oflow.
2896         (csin_test): Use ALL_RM_TEST.
2897         (csinh_test_data): Use plus_oflow.
2898         (csinh_test): Use ALL_RM_TEST.
2899         * sysdeps/i386/fpu/libm-test-ulps: Update.
2900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2901
2902 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
2903
2904         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2905         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2906         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2907
2908         [BZ #16731]
2909         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2910         when x - 1 is zero.
2911         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2912         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2913         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2914         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2915         argument is 1.
2916         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2917         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2918         zero.
2919         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2920         * sysdeps/i386/fpu/libm-test-ulps: Update.
2921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2922
2923 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2924
2925         * scripts/bench.pl: Remove file.
2926         * scripts/bench.py: New benchmark script.
2927         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2928         * benchtests/README: Mention python dependency.
2929         * scripts/pylintrc: New file.
2930         * scripts/pylint: New file.
2931
2932         * bits/mathdef.h: Use #ifdef instead of #if.
2933         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2934         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2935         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2936         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2937         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2938         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2939
2940 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2941             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2942
2943         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2944         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2945         and strpbrk-ppc64 objects.
2946         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2947         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2948         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2949         multiarch strpbrk for POWER7.
2950         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2951         multiarch strpbrk for PPC64.
2952         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2953         ifunc selector.
2954         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2955         strpbrk for POWER7.
2956
2957 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
2958
2959         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2960         (atan_test): Likewise.
2961         (atanh_test_data): Use NO_TEST_INLINE for two tests.
2962         (atanh_test): Use ALL_RM_TEST.
2963         (atan2_test_data): Likewise.
2964         (cabs_test): Likewise.
2965         (cacosh_test): Likewise.
2966         (carg_test): Likewise.
2967         (casin_test): Likewise.
2968         (casinh_test): Likewise.
2969         (cbrt_test): Likewise.
2970         (csqrt_test): Likewise.
2971         (erf_test): Likewise.
2972         (erfc_test): Likewise.
2973         (pow10_test): Likewise.
2974         (exp2_test): Likewise.
2975         (hypot_test): Likewise.
2976         (j0_test): Likewise.
2977         (j1_test): Likewise.
2978         (lgamma_test): Likewise.
2979         (gamma_test): Likewise.
2980         (sincos_test): Likewise.
2981         (tanh_test): Likewise.
2982         (y0_test): Likewise.
2983         (y1_test): Likewise.
2984         * sysdeps/i386/fpu/libm-test-ulps: Update.
2985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2986
2987 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2988
2989         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2990         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2991         and strcspn-ppc64 objects.
2992         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2993         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2994         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2995         multiarch strcspn for POWER7.
2996         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2997         multiarch strcspn for PPC64.
2998         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2999         ifunc selector.
3000         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3001         strcspn for POWER7.
3002
3003 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
3004
3005         * math/gen-libm-test.pl (generate_testfile): Expect only function
3006         name as argument to AUTO_TESTS_* and pass results for all rounding
3007         modes to parse_args.
3008         (parse_auto_input): Separate inputs of automatic tests from
3009         outputs before storing in %auto_tests.
3010         * math/libm-test.inc (acos_test_data): Update call to
3011         AUTO_TESTS_f_f.
3012         (acos_test): Use ALL_RM_TEST.
3013         (acos_tonearest_test_data): Remove.
3014         (acos_test_tonearest): Likewise.
3015         (acos_towardzero_test_data): Likewise.
3016         (acos_test_towardzero): Likewise.
3017         (acos_downward_test_data): Likewise.
3018         (acos_test_downward): Likewise.
3019         (acos_upward_test_data): Likewise.
3020         (acos_test_upward): Likewise.
3021         (acosh_test_data): Update call to AUTO_TESTS_f_f.
3022         (asin_test_data): Likewise.
3023         (asin_test): Use ALL_RM_TEST.
3024         (asin_tonearest_test_data): Remove.
3025         (asin_test_tonearest): Likewise.
3026         (asin_towardzero_test_data): Likewise.
3027         (asin_test_towardzero): Likewise.
3028         (asin_downward_test_data): Likewise.
3029         (asin_test_downward): Likewise.
3030         (asin_upward_test_data): Likewise.
3031         (asin_test_upward): Likewise.
3032         (asinh_test_data): Update call to AUTO_TESTS_f_f.
3033         (atan_test_data): Likewise.
3034         (atanh_test_data): Likewise.
3035         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3036         (cabs_test_data): Update call to AUTO_TESTS_c_f.
3037         (carg_test_data): Likewise.
3038         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3039         (ccos_test_data): Update call to AUTO_TESTS_c_c.
3040         (ccosh_test_data): Likewise.
3041         (cexp_test_data): Likewise.
3042         (clog_test_data): Likewise.
3043         (clog10_test_data): Likewise.
3044         (cos_test_data): Update call to AUTO_TESTS_f_f.
3045         (cos_test): Use ALL_RM_TEST.
3046         (cos_tonearest_test_data): Remove.
3047         (cos_test_tonearest): Likewise.
3048         (cos_towardzero_test_data): Likewise.
3049         (cos_test_towardzero): Likewise.
3050         (cos_downward_test_data): Likewise.
3051         (cos_test_downward): Likewise.
3052         (cos_upward_test_data): Likewise.
3053         (cos_test_upward): Likewise.
3054         (cosh_test_data): Update call to AUTO_TESTS_f_f.
3055         (cosh_test): Use ALL_RM_TEST.
3056         (cosh_tonearest_test_data): Remove.
3057         (cosh_test_tonearest): Likewise.
3058         (cosh_towardzero_test_data): Likewise.
3059         (cosh_test_towardzero): Likewise.
3060         (cosh_downward_test_data): Likewise.
3061         (cosh_test_downward): Likewise.
3062         (cosh_upward_test_data): Likewise.
3063         (cosh_test_upward): Likewise.
3064         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3065         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3066         (ctan_test_data): Likewise.
3067         (ctan_test): Use ALL_RM_TEST.
3068         (ctan_tonearest_test_data): Remove.
3069         (ctan_test_tonearest): Likewise.
3070         (ctan_towardzero_test_data): Likewise.
3071         (ctan_test_towardzero): Likewise.
3072         (ctan_downward_test_data): Likewise.
3073         (ctan_test_downward): Likewise.
3074         (ctan_upward_test_data): Likewise.
3075         (ctan_test_upward): Likewise.
3076         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3077         (ctanh_test): Use ALL_RM_TEST.
3078         (ctanh_tonearest_test_data): Remove.
3079         (ctanh_test_tonearest): Likewise.
3080         (ctanh_towardzero_test_data): Likewise.
3081         (ctanh_test_towardzero): Likewise.
3082         (ctanh_downward_test_data): Likewise.
3083         (ctanh_test_downward): Likewise.
3084         (ctanh_upward_test_data): Likewise.
3085         (ctanh_test_upward): Likewise.
3086         (erf_test_data): Update call to AUTO_TESTS_f_f.
3087         (erfc_test_data): Likewise.
3088         (exp_test_data): Likewise.
3089         (exp_test): Use ALL_RM_TEST.
3090         (exp_tonearest_test_data): Remove.
3091         (exp_test_tonearest): Likewise.
3092         (exp_towardzero_test_data): Likewise.
3093         (exp_test_towardzero): Likewise.
3094         (exp_downward_test_data): Likewise.
3095         (exp_test_downward): Likewise.
3096         (exp_upward_test_data): Likewise.
3097         (exp_test_upward): Likewise.
3098         (exp10_test_data): Update call to AUTO_TESTS_f_f.
3099         (exp10_test): Use ALL_RM_TEST.
3100         (exp10_tonearest_test_data): Remove.
3101         (exp10_test_tonearest): Likewise.
3102         (exp10_towardzero_test_data): Likewise.
3103         (exp10_test_towardzero): Likewise.
3104         (exp10_downward_test_data): Likewise.
3105         (exp10_test_downward): Likewise.
3106         (exp10_upward_test_data): Likewise.
3107         (exp10_test_upward): Likewise.
3108         (exp2_test_data): Update call to AUTO_TESTS_f_f.
3109         (expm1_test_data): Likewise.
3110         (expm1_test): Use ALL_RM_TEST.
3111         (expm1_tonearest_test_data): Remove.
3112         (expm1_test_tonearest): Likewise.
3113         (expm1_towardzero_test_data): Likewise.
3114         (expm1_test_towardzero): Likewise.
3115         (expm1_downward_test_data): Likewise.
3116         (expm1_test_downward): Likewise.
3117         (expm1_upward_test_data): Likewise.
3118         (expm1_test_upward): Likewise.
3119         (fma_test_data): Update call to AUTO_TESTS_fff_f.
3120         (fma_test): Use ALL_RM_TEST.
3121         (fma_towardzero_test_data): Remove.
3122         (fma_test_towardzero): Likewise.
3123         (fma_downward_test_data): Likewise.
3124         (fma_test_downward): Likewise.
3125         (fma_upward_test_data): Likewise.
3126         (fma_test_upward): Likewise.
3127         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3128         (j0_test_data): Update call to AUTO_TESTS_f_f.
3129         (j1_test_data): Likewise.
3130         (jn_test_data): Update call to AUTO_TESTS_if_f.
3131         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3132         (log_test_data): Update call to AUTO_TESTS_f_f.
3133         (log10_test_data): Likewise.
3134         (log1p_test_data): Likewise.
3135         (log2_test_data): Likewise.
3136         (pow_test_data): Update call to AUTO_TESTS_ff_f.
3137         (pow_tonearest_test_data): Likewise.
3138         (sin_test_data): Update call to AUTO_TESTS_f_f.
3139         (sin_test): Use ALL_RM_TEST.
3140         (sin_tonearest_test_data): Remove.
3141         (sin_test_tonearest): Likewise.
3142         (sin_towardzero_test_data): Likewise.
3143         (sin_test_towardzero): Likewise.
3144         (sin_downward_test_data): Likewise.
3145         (sin_test_downward): Likewise.
3146         (sin_upward_test_data): Likewise.
3147         (sin_test_upward): Likewise.
3148         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3149         (sinh_test_data): Update call to AUTO_TESTS_f_f.
3150         (sinh_test): Use ALL_RM_TEST.
3151         (sinh_tonearest_test_data): Remove.
3152         (sinh_test_tonearest): Likewise.
3153         (sinh_towardzero_test_data): Likewise.
3154         (sinh_test_towardzero): Likewise.
3155         (sinh_downward_test_data): Likewise.
3156         (sinh_test_downward): Likewise.
3157         (sinh_upward_test_data): Likewise.
3158         (sinh_test_upward): Likewise.
3159         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3160         (sqrt_test): Use ALL_RM_TEST.
3161         (sqrt_tonearest_test_data): Remove.
3162         (sqrt_test_tonearest): Likewise.
3163         (sqrt_towardzero_test_data): Likewise.
3164         (sqrt_test_towardzero): Likewise.
3165         (sqrt_downward_test_data): Likewise.
3166         (sqrt_test_downward): Likewise.
3167         (sqrt_upward_test_data): Likewise.
3168         (sqrt_test_upward): Likewise.
3169         (tan_test_data): Update call to AUTO_TESTS_f_f.
3170         (tan_test): Use ALL_RM_TEST.
3171         (tan_tonearest_test_data): Remove.
3172         (tan_test_tonearest): Likewise.
3173         (tan_towardzero_test_data): Likewise.
3174         (tan_test_towardzero): Likewise.
3175         (tan_downward_test_data): Likewise.
3176         (tan_test_downward): Likewise.
3177         (tan_upward_test_data): Likewise.
3178         (tan_test_upward): Likewise.
3179         (tanh_test_data): Update call to AUTO_TESTS_f_f.
3180         (tgamma_test_data): Likewise.
3181         (y0_test_data): Likewise.
3182         (y1_test_data): Likewise.
3183         (yn_test_data): Update call to AUTO_TESTS_if_f.
3184         (main): Do not call removed functions.
3185
3186 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
3187
3188         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3189         (ldexp_test_data): Remove.
3190         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
3191         scalbn_test_data.
3192         (scalb_test): Use ALL_RM_TEST.
3193
3194 2014-03-19  Andreas Schwab  <schwab@suse.de>
3195
3196         * nscd/nscd.service: Also invalidate netgroup cache on reload.
3197
3198 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
3199
3200         [BZ #16649]
3201         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3202         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3203         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3204         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3205         (__ASSUME_PREADV): Undefine.
3206         (__ASSUME_PWRITEV): Likewise.
3207
3208 2014-03-18  Roland McGrath  <roland@hack.frob.com>
3209
3210         * bits/mman-linux.h: Add comment about non-Linux use.
3211         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3212         bits/mman-linux.h resting place.
3213
3214         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3215         * bits/mman-linux.h: ... here.
3216
3217 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3218
3219         * conform/conformtest.pl: Add standard definition when calling C
3220         preprocessor on data files.
3221         (checknamespace): Remove unused variable.
3222
3223 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
3224
3225         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3226         minus_oflow, plus_uflow and minus_uflow in expected results.
3227         * math/libm-test.inc (scalbn_test_data): Add more tests of
3228         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
3229         minus_uflow.
3230         (scalbn_test): Use ALL_RM_TEST.
3231         (scalbln_test_data): Add more tests of negative arguments.  Use
3232         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3233         (scalbln_test): Use ALL_RM_TEST.
3234
3235 2014-03-18  Roland McGrath  <roland@hack.frob.com>
3236
3237         * scripts/abilist.awk: Ignore symbols marked with .hidden.
3238
3239 2014-03-18  Will Newton  <will.newton@linaro.org>
3240
3241         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3242         inaccurate comment.
3243
3244 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
3245
3246         * Makerules [!subdir] (check-abi): Exit with error status if a
3247         test failed.
3248
3249 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
3250
3251         * math/libm-test.inc (nearbyint_test_data): Include all tests used
3252         for rint.  Include results for all rounding modes.
3253         (nearbyint_test): Use ALL_RM_TEST.
3254         (rint_test_data): Include all tests used for nearbyint.
3255
3256 2014-03-17  Will Newton  <will.newton@linaro.org>
3257
3258         * nptl/sysdeps/pthread/pthread.h: Revert previous
3259         change.
3260
3261         * sysdeps/generic/ldsodefs.h: Revert previous
3262         change.
3263
3264         * libio/genops.c: Revert previous change.
3265         * libio/libioP.h: Likewise.
3266         * stdio-common/vfprintf.c: Likewise.
3267
3268         * sysdeps/generic/math_private.h: Revert previous
3269         change.
3270
3271         * sysdeps/generic/math_private.h: Check whether
3272         HAVE_RM_CTX is defined with #ifdef rather
3273         than #if.
3274
3275         * argp/argp-fmtstream.h: Check whether
3276         __STRICT_ANSI__ is defined with #ifdef rather
3277         than #if.
3278         * argp/argp.h: Likewise.
3279
3280         * libio/genops.c: Check whether
3281         _IO_JUMPS_OFFSET is defined with #ifdef rather
3282         than #if.
3283         * libio/libioP.h: Likewise.
3284         * stdio-common/vfprintf.c: Likewise.
3285
3286         * sysdeps/generic/ldsodefs.h: Check whether
3287         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3288         than #if.
3289
3290         * nptl/sysdeps/pthread/pthread.h: Check
3291         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3292         its value.
3293
3294 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3295
3296         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3297         setting O_APPEND.
3298         * libio/tst-ftell-active-handler.c (do_append_test): Add a
3299         test case.
3300
3301         [BZ #16680]
3302         * libio/fileops.c (_IO_file_open): Seek to end of file but
3303         don't cache the offset.
3304         (get_file_offset): Remove function.
3305         (do_ftell): Use cached offset when available.
3306         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3307         don't cache the offset.
3308         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3309         case.
3310         (do_one_test): Call it.
3311         (do_ftell_test): Fix up expected old offset for a+ mode.
3312         * libio/wfileops.c (do_ftell_wide): Used cached offset when
3313         available.
3314
3315         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3316         up test status with function return status.
3317         (do_write_test): Likewise.
3318         (do_append_test): Likewise.
3319
3320         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3321         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3322         Remove.
3323
3324 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
3325
3326         * math/gen-libm-test.pl (parse_args): Handle results specified for
3327         each rounding mode separately.
3328         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3329         tests and results from lrint_tonearest_test_data,
3330         lrint_towardzero_test_data, lrint_downward_test_data and
3331         lrint_upward_test_data.
3332         (lrint_test): Use ALL_RM_TEST.
3333         (lrint_tonearest_test_data): Remove.
3334         (lrint_test_tonearest): Likewise.
3335         (lrint_towardzero_test_data): Likewise.
3336         (lrint_test_towardzero): Likewise.
3337         (lrint_downward_test_data): Likewise.
3338         (lrint_test_downward): Likewise.
3339         (lrint_upward_test_data): Likewise.
3340         (lrint_test_upward): Likewise.
3341         (llrint_test_data): Merge in per-rounding-mode tests and results
3342         from llrint_tonearest_test_data, llrint_towardzero_test_data,
3343         llrint_downward_test_data and llrint_upward_test_data.
3344         (llrint_test): Use ALL_RM_TEST.
3345         (llrint_tonearest_test_data): Remove.
3346         (llrint_test_tonearest): Likewise.
3347         (llrint_towardzero_test_data): Likewise.
3348         (llrint_test_towardzero): Likewise.
3349         (llrint_downward_test_data): Likewise.
3350         (llrint_test_downward): Likewise.
3351         (llrint_upward_test_data): Likewise.
3352         (llrint_test_upward): Likewise.
3353         (rint_test_data): Merge in per-rounding-mode tests and results
3354         from rint_tonearest_test_data, rint_towardzero_test_data,
3355         rint_downward_test_data and rint_upward_test_data.  Add
3356         per-rounding-mode results for tests not in those arrays.
3357         (rint_test): Use ALL_RM_TEST.
3358         (rint_tonearest_test_data): Remove.
3359         (rint_test_tonearest): Likewise.
3360         (rint_towardzero_test_data): Likewise.
3361         (rint_test_towardzero): Likewise.
3362         (rint_downward_test_data): Likewise.
3363         (rint_test_downward): Likewise.
3364         (rint_upward_test_data): Likewise.
3365         (rint_test_upward): Likewise.
3366         (main): Don't call removed functions.
3367
3368 2014-03-14  Roland McGrath  <roland@hack.frob.com>
3369
3370         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3371         "Compiled on ..." crapola.  It is anti-useful.
3372
3373 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
3374
3375         * scripts/evaluate-test.sh: Handle fourth argument to determine
3376         whether test run should stop on failure.
3377         * Makeconfig (stop-on-test-failure): New variable.
3378         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3379         $(stop-on-test-failure).
3380         * Makefile (tests): Give a summary of results from testing and
3381         exit with failure status if they include an ERROR or FAIL.
3382         (xtests): Likewise.
3383         * manual/install.texi (Configuring and compiling): Mention
3384         stop-on-test-failure=y.
3385         * INSTALL: Regenerated.
3386
3387 2014-03-14  Roland McGrath  <roland@hack.frob.com>
3388
3389         * scripts/versionlist.awk: New file.
3390         * Makerules [$(build-shared) = yes]
3391         (postclean-generated): Add Versions.def, not Versions.def.v and
3392         Versions.def.v.i.
3393         ($(common-objpfx)Versions.def.v.i): Target removed.
3394         ($(common-objpfx)Versions.def): New target.
3395         ($(common-objpfx)Versions.all): Depend on that rather that
3396         $(common-objpfx)Versions.def.v.
3397         * Versions.def: File removed.
3398
3399         * Makeconfig (+gccwarn): Add -Wundef.
3400         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3401         a dl-sysdep.h breaking its contract.
3402         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3403         * include/stackinfo.h: New file.
3404         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3405         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3406         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3407         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3408         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3409         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3410         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3411         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3412         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3413         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3414         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3415         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3416         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3417         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3418         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3419
3420 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3421
3422         [BZ #16707]
3423         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3424         implementation.
3425         * math/libm-test.inc (round_test_data): Add more tests.
3426
3427         [BZ #16706]
3428         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3429         implementation.
3430         * math/libm-test.inc (nearbyint_test_data): Add more tests.
3431
3432         [BZ #16701]
3433         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3434         implementation.
3435         * math/libm-test.inc (ceil_test_data): Add more tests.
3436
3437         * math/libm-test.inc (trunc_test_data): Add more tests related to
3438         BZ#16414.
3439
3440 2014-03-14  Roland McGrath  <roland@hack.frob.com>
3441
3442         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3443         with #if rather than #ifdef.
3444         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3445
3446 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
3447
3448         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3449         first.  Disable AVX-512 GCC support if assembler doesn't support
3450         it.
3451         * sysdeps/x86_64/configure: Regenerated.
3452
3453 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
3454
3455         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3456         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3457         (__old_pthread_attr_setstack): Likewise.
3458         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3459         [!_STACK_GROWS_DOWN]: Likewise.
3460
3461 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
3462
3463         * config.make.in (have-bash2): Delete.
3464         * configure.ac (libc_cv_have_bash2): Delete.
3465         * configure: Regenerate.
3466         * elf/Makefile (common-ldd-rewrite): Rename to ...
3467         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
3468         (sh-ldd-rewrite): Delete.
3469         (bash-ldd-rewrite): Delete.
3470         (have-bash2): Delete checks.
3471         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3472         ldd-rewrite.
3473
3474         * config.make.in (have-ksh): Delete.
3475         (KSH): Delete.
3476         * configure.ac (libc_cv_have_ksh): Delete.
3477         * configure: Regenerate.
3478
3479         * elf/Makefile: Delete $(have-ksh) check.
3480         ($(objpfx)sotruss): Change KSH to BASH.
3481         * elf/sotruss.ksh: Rename to ...
3482         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
3483         function style to match POSIX.  Drop ksh vim mode setting.
3484
3485         * manual/time.texi (Specifying the Time Zone with TZ): Change
3486         Tuesday to Thursday.
3487
3488         * debug/tst-longjmp_chk2.c: Update header comment.
3489         (stackoverflow_handler): Add comment.  Call assert on pass value.
3490
3491 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
3492
3493         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3494         (HAVE_AVX512_ASM_SUPPORT): Likewise.
3495         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3496         (La_x86_64_vector): Add zmm.
3497         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3498         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3499         ($(objpfx)tst-audit10): New target.
3500         ($(objpfx)tst-audit10.out): Likewise.
3501         (tst-audit10-ENV): New.
3502         (AVX512-CFLAGS): Likewise.
3503         (CFLAGS-tst-audit10.c): Likewise.
3504         (CFLAGS-tst-auditmod10a.c): Likewise.
3505         (CFLAGS-tst-auditmod10b.c): Likewise.
3506         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3507         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3508         * sysdeps/x86_64/configure: Regenerated.
3509         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3510         AVX-512 zmm register support.
3511         (_dl_x86_64_save_sse): Likewise.
3512         (_dl_x86_64_restore_sse): Likewise.
3513         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3514         size vector registers.
3515         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3516         (ZMM_SIZE): Likewise.
3517         * sysdeps/x86_64/tst-audit10.c: New file.
3518         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3519         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3520
3521 2014-03-13  Roland McGrath  <roland@hack.frob.com>
3522
3523         * configure.ac (HAVE_EHDR_START): New check.
3524         * configure: Regenerated.
3525         * config.h.in (HAVE_EHDR_START): New #undef.
3526         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3527         assuming the lowest-addressed segment maps the start of the file.
3528
3529 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
3530
3531         * INSTALL: Regenerated.
3532
3533 2014-03-13  Will Newton  <will.newton@linaro.org>
3534
3535         * manual/setjmp.texi (System V contexts): Improve
3536         clarity and grammar of documentation.
3537
3538 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
3539
3540         [BZ #16381]
3541         * elf/Makefile (tests): Add tst-pie2.
3542         (tests-pie): Add tst-pie2.
3543         * elf/tst-pie2.c: New file.
3544         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3545         for ET_EXEC.
3546         * elf/rtld.c (map_doit): Load executable as lt_executable.
3547         (dl_main): Likewise.
3548
3549 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
3550
3551         [BZ #16642]
3552         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3553         (__ASSUME_PSELECT): Undefine.
3554
3555 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3556
3557         [BZ #16689]
3558         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3559         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3560         static build.
3561         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3562         selector for static builds.
3563
3564 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3565
3566         [BZ #16695]
3567         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3568         key in the buffer.
3569
3570 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3571
3572         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3573         IFUNC selector for static builds.
3574
3575 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
3576
3577         * sysdeps/mips/math_private.h [__mips_hard_float]
3578         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3579         libc_feresetround_mips_ctx.
3580         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3581         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3582         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3583
3584         [BZ #16677]
3585         * math/s_nextafter.c (__nextafter): Do not return value from
3586         overflowing computation.
3587         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3588         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3589         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3590         Likewise.
3591         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3592         Likewise.
3593         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3594         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3595
3596 2014-03-11  Roland McGrath  <roland@hack.frob.com>
3597
3598         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3599         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3600         Move sfi_sp use from the load-multiple (that no longer sets sp) to
3601         the new mov targetting sp.
3602
3603 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3604
3605         [BZ #16683]
3606         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3607         Define it for static builds as well.
3608         (NO_BZERO_IMPL): Likewise.
3609
3610 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3611
3612         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3613         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3614         multiarch strspn for PPC64.
3615         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3616         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3617         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3618         (__libc_ifunc_impl_list): Likewise.
3619         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3620         multiarch optimizations
3621         * string/strspn.c (strspn): Using macro to redefine symbol name.
3622
3623 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3624             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3625
3626         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3627         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3628         multiarch strncat for PPC64.
3629         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3630         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3631         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3632         (__libc_ifunc_impl_list): Likewise.
3633         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3634         multiarch optimizations
3635
3636 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3637
3638         [BZ #16639]
3639         * nscd/nscd.service: Make service type forking.
3640
3641 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3642
3643         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3644         sign in non default rounding modes.
3645         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3646
3647 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
3648
3649         * math/libm-test.inc (ALL_RM_TEST): New macro.
3650         (ceil_test): Use ALL_RM_TEST.
3651         (cimag_test): Likewise.
3652         (conj_test): Likewise.
3653         (copysign_test): Likewise.
3654         (cproj_test): Likewise.
3655         (creal_test): Likewise.
3656         (fabs_test): Likewise.
3657         (floor_test): Likewise.
3658         (fmax_test): Likewise.
3659         (fmin_test): Likewise.
3660         (fmod_test): Likewise.
3661         (fpclassify_test): Likewise.
3662         (frexp_test): Likewise.
3663         (ilogb_test): Likewise.
3664         (isfinite_test): Likewise.
3665         (finite_test): Likewise.
3666         (isgreater_test): Likewise.
3667         (isgreaterequal_test): Likewise.
3668         (isinf_test): Likewise.
3669         (isless_test): Likewise.
3670         (islessequal_test): Likewise.
3671         (islessgreater_test): Likewise.
3672         (isnan_test): Likewise.
3673         (isnormal_test): Likewise.
3674         (issignaling_test): Likewise.
3675         (isunordered_test): Likewise.
3676         (logb_test): Likewise.
3677         (logb_downward_test_data): Remove.
3678         (logb_test_downward): Likewise.
3679         (lround_test): Use ALL_RM_TEST.
3680         (llround_test): Likewise.
3681         (modf_test): Likewise.
3682         (nexttoward_test): Likewise.
3683         (remainder_test): Likewise.
3684         (drem_test): Likewise.
3685         (remainder_tonearest_test_data): Likewise.
3686         (remainder_test_tonearest): Likewise.
3687         (drem_test_tonearest): Likewise.
3688         (remainder_towardzero_test_data): Likewise.
3689         (remainder_test_towardzero): Likewise.
3690         (drem_test_towardzero): Likewise.
3691         (remainder_downward_test_data): Likewise.
3692         (remainder_test_downward): Likewise.
3693         (drem_test_downward): Likewise.
3694         (remainder_upward_test_data): Likewise.
3695         (remainder_test_upward): Likewise.
3696         (drem_test_upward): Likewise.
3697         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
3698         (round_test): Use ALL_RM_TEST.
3699         (signbit_test): Likewise.
3700         (trunc_test): Likewise.
3701         (significand_test): Likewise.
3702         (main): Don't call removed functions.
3703
3704 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
3705
3706         [BZ #16674]
3707         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3708         || __USE_XOPEN2K8].
3709         (ILL_ILLOPN): Likewise.
3710         (ILL_ILLADR): Likewise.
3711         (ILL_ILLTRP): Likewise.
3712         (ILL_PRVOPC): Likewise.
3713         (ILL_PRVREG): Likewise.
3714         (ILL_COPROC): Likewise.
3715         (ILL_BADSTK): Likewise.
3716         (FPE_INTDIV): Likewise.
3717         (FPE_INTOVF): Likewise.
3718         (FPE_FLTDIV): Likewise.
3719         (FPE_FLTOVF): Likewise.
3720         (FPE_FLTUND): Likewise.
3721         (FPE_FLTRES): Likewise.
3722         (FPE_FLTINV): Likewise.
3723         (FPE_FLTSUB): Likewise.
3724         (SEGV_MAPERR): Likewise.
3725         (SEGV_ACCERR): Likewise.
3726         (BUS_ADRALN): Likewise.
3727         (BUS_ADRERR): Likewise.
3728         (BUS_OBJERR): Likewise.
3729         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3730         (TRAP_TRACE): Likewise.
3731         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3732         __USE_XOPEN2K8].
3733         (CLD_KILLED): Likewise.
3734         (CLD_DUMPED): Likewise.
3735         (CLD_TRAPPED): Likewise.
3736         (CLD_STOPPED): Likewise.
3737         (CLD_CONTINUED): Likewise.
3738         (POLL_IN): Likewise.
3739         (POLL_OUT): Likewise.
3740         (POLL_MSG): Likewise.
3741         (POLL_ERR): Likewise.
3742         (POLL_PRI): Likewise.
3743         (POLL_HUP): Likewise.
3744         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3745         Likewise.
3746         (ILL_ILLOPN): Likewise.
3747         (ILL_ILLADR): Likewise.
3748         (ILL_ILLTRP): Likewise.
3749         (ILL_PRVOPC): Likewise.
3750         (ILL_PRVREG): Likewise.
3751         (ILL_COPROC): Likewise.
3752         (ILL_BADSTK): Likewise.
3753         (FPE_INTDIV): Likewise.
3754         (FPE_INTOVF): Likewise.
3755         (FPE_FLTDIV): Likewise.
3756         (FPE_FLTOVF): Likewise.
3757         (FPE_FLTUND): Likewise.
3758         (FPE_FLTRES): Likewise.
3759         (FPE_FLTINV): Likewise.
3760         (FPE_FLTSUB): Likewise.
3761         (SEGV_MAPERR): Likewise.
3762         (SEGV_ACCERR): Likewise.
3763         (BUS_ADRALN): Likewise.
3764         (BUS_ADRERR): Likewise.
3765         (BUS_OBJERR): Likewise.
3766         (BUS_MCEERR_AR): Likewise.
3767         (BUS_MCEERR_AO): Likewise.
3768         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3769         (TRAP_TRACE): Likewise.
3770         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3771         __USE_XOPEN2K8].
3772         (CLD_KILLED): Likewise.
3773         (CLD_DUMPED): Likewise.
3774         (CLD_TRAPPED): Likewise.
3775         (CLD_STOPPED): Likewise.
3776         (CLD_CONTINUED): Likewise.
3777         (POLL_IN): Likewise.
3778         (POLL_OUT): Likewise.
3779         (POLL_MSG): Likewise.
3780         (POLL_ERR): Likewise.
3781         (POLL_PRI): Likewise.
3782         (POLL_HUP): Likewise.
3783         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3784         (ILL_ILLOPN): Likewise.
3785         (ILL_ILLADR): Likewise.
3786         (ILL_ILLTRP): Likewise.
3787         (ILL_PRVOPC): Likewise.
3788         (ILL_PRVREG): Likewise.
3789         (ILL_COPROC): Likewise.
3790         (ILL_BADSTK): Likewise.
3791         (FPE_INTDIV): Likewise.
3792         (FPE_INTOVF): Likewise.
3793         (FPE_FLTDIV): Likewise.
3794         (FPE_FLTOVF): Likewise.
3795         (FPE_FLTUND): Likewise.
3796         (FPE_FLTRES): Likewise.
3797         (FPE_FLTINV): Likewise.
3798         (FPE_FLTSUB): Likewise.
3799         (SEGV_MAPERR): Likewise.
3800         (SEGV_ACCERR): Likewise.
3801         (BUS_ADRALN): Likewise.
3802         (BUS_ADRERR): Likewise.
3803         (BUS_OBJERR): Likewise.
3804         (BUS_MCEERR_AR): Likewise.
3805         (BUS_MCEERR_AO): Likewise.
3806         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3807         (TRAP_TRACE): Likewise.
3808         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3809         __USE_XOPEN2K8].
3810         (CLD_KILLED): Likewise.
3811         (CLD_DUMPED): Likewise.
3812         (CLD_TRAPPED): Likewise.
3813         (CLD_STOPPED): Likewise.
3814         (CLD_CONTINUED): Likewise.
3815         (POLL_IN): Likewise.
3816         (POLL_OUT): Likewise.
3817         (POLL_MSG): Likewise.
3818         (POLL_ERR): Likewise.
3819         (POLL_PRI): Likewise.
3820         (POLL_HUP): Likewise.
3821         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3822         Likewise.
3823         (ILL_ILLOPN): Likewise.
3824         (ILL_ILLADR): Likewise.
3825         (ILL_ILLTRP): Likewise.
3826         (ILL_PRVOPC): Likewise.
3827         (ILL_PRVREG): Likewise.
3828         (ILL_COPROC): Likewise.
3829         (ILL_BADSTK): Likewise.
3830         (ILL_BADIADDR): Likewise.
3831         (ILL_BREAK): 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         (FPE_DECOVF): Likewise.
3841         (FPE_DECDIV): Likewise.
3842         (FPE_DECERR): Likewise.
3843         (FPE_INVASC): Likewise.
3844         (FPE_INVDEC): Likewise.
3845         (SEGV_MAPERR): Likewise.
3846         (SEGV_ACCERR): Likewise.
3847         (SEGV_PSTKOVF): Likewise.
3848         (BUS_ADRALN): Likewise.
3849         (BUS_ADRERR): Likewise.
3850         (BUS_OBJERR): Likewise.
3851         (BUS_MCEERR_AR): Likewise.
3852         (BUS_MCEERR_AO): Likewise.
3853         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3854         (TRAP_TRACE): Likewise.
3855         (TRAP_BRANCH): Likewise.
3856         (TRAP_HWBKPT): Likewise.
3857         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3858         __USE_XOPEN2K8].
3859         (CLD_KILLED): Likewise.
3860         (CLD_DUMPED): Likewise.
3861         (CLD_TRAPPED): Likewise.
3862         (CLD_STOPPED): Likewise.
3863         (CLD_CONTINUED): Likewise.
3864         (POLL_IN): Likewise.
3865         (POLL_OUT): Likewise.
3866         (POLL_MSG): Likewise.
3867         (POLL_ERR): Likewise.
3868         (POLL_PRI): Likewise.
3869         (POLL_HUP): Likewise.
3870         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3871         (ILL_ILLOPN): Likewise.
3872         (ILL_ILLADR): Likewise.
3873         (ILL_ILLTRP): Likewise.
3874         (ILL_PRVOPC): Likewise.
3875         (ILL_PRVREG): Likewise.
3876         (ILL_COPROC): Likewise.
3877         (ILL_BADSTK): Likewise.
3878         (FPE_INTDIV): Likewise.
3879         (FPE_INTOVF): Likewise.
3880         (FPE_FLTDIV): Likewise.
3881         (FPE_FLTOVF): Likewise.
3882         (FPE_FLTUND): Likewise.
3883         (FPE_FLTRES): Likewise.
3884         (FPE_FLTINV): Likewise.
3885         (FPE_FLTSUB): Likewise.
3886         (SEGV_MAPERR): Likewise.
3887         (SEGV_ACCERR): Likewise.
3888         (BUS_ADRALN): Likewise.
3889         (BUS_ADRERR): Likewise.
3890         (BUS_OBJERR): Likewise.
3891         (BUS_MCEERR_AR): Likewise.
3892         (BUS_MCEERR_AO): Likewise.
3893         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3894         (TRAP_TRACE): Likewise.
3895         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3896         __USE_XOPEN2K8].
3897         (CLD_KILLED): Likewise.
3898         (CLD_DUMPED): Likewise.
3899         (CLD_TRAPPED): Likewise.
3900         (CLD_STOPPED): Likewise.
3901         (CLD_CONTINUED): Likewise.
3902         (POLL_IN): Likewise.
3903         (POLL_OUT): Likewise.
3904         (POLL_MSG): Likewise.
3905         (POLL_ERR): Likewise.
3906         (POLL_PRI): Likewise.
3907         (POLL_HUP): Likewise.
3908         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3909         (ILL_ILLOPN): Likewise.
3910         (ILL_ILLADR): Likewise.
3911         (ILL_ILLTRP): Likewise.
3912         (ILL_PRVOPC): Likewise.
3913         (ILL_PRVREG): Likewise.
3914         (ILL_COPROC): Likewise.
3915         (ILL_BADSTK): Likewise.
3916         (FPE_INTDIV): Likewise.
3917         (FPE_INTOVF): Likewise.
3918         (FPE_FLTDIV): Likewise.
3919         (FPE_FLTOVF): Likewise.
3920         (FPE_FLTUND): Likewise.
3921         (FPE_FLTRES): Likewise.
3922         (FPE_FLTINV): Likewise.
3923         (FPE_FLTSUB): Likewise.
3924         (SEGV_MAPERR): Likewise.
3925         (SEGV_ACCERR): Likewise.
3926         (BUS_ADRALN): Likewise.
3927         (BUS_ADRERR): Likewise.
3928         (BUS_OBJERR): Likewise.
3929         (BUS_MCEERR_AR): Likewise.
3930         (BUS_MCEERR_AO): Likewise.
3931         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3932         (TRAP_TRACE): Likewise.
3933         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3934         __USE_XOPEN2K8].
3935         (CLD_KILLED): Likewise.
3936         (CLD_DUMPED): Likewise.
3937         (CLD_TRAPPED): Likewise.
3938         (CLD_STOPPED): Likewise.
3939         (CLD_CONTINUED): Likewise.
3940         (POLL_IN): Likewise.
3941         (POLL_OUT): Likewise.
3942         (POLL_MSG): Likewise.
3943         (POLL_ERR): Likewise.
3944         (POLL_PRI): Likewise.
3945         (POLL_HUP): Likewise.
3946         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3947         (ILL_ILLOPN): Likewise.
3948         (ILL_ILLADR): Likewise.
3949         (ILL_ILLTRP): Likewise.
3950         (ILL_PRVOPC): Likewise.
3951         (ILL_PRVREG): Likewise.
3952         (ILL_COPROC): Likewise.
3953         (ILL_BADSTK): Likewise.
3954         (FPE_INTDIV): Likewise.
3955         (FPE_INTOVF): Likewise.
3956         (FPE_FLTDIV): Likewise.
3957         (FPE_FLTOVF): Likewise.
3958         (FPE_FLTUND): Likewise.
3959         (FPE_FLTRES): Likewise.
3960         (FPE_FLTINV): Likewise.
3961         (FPE_FLTSUB): Likewise.
3962         (SEGV_MAPERR): Likewise.
3963         (SEGV_ACCERR): Likewise.
3964         (BUS_ADRALN): Likewise.
3965         (BUS_ADRERR): Likewise.
3966         (BUS_OBJERR): Likewise.
3967         (BUS_MCEERR_AR): Likewise.
3968         (BUS_MCEERR_AO): Likewise.
3969         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3970         (TRAP_TRACE): Likewise.
3971         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3972         __USE_XOPEN2K8].
3973         (CLD_KILLED): Likewise.
3974         (CLD_DUMPED): Likewise.
3975         (CLD_TRAPPED): Likewise.
3976         (CLD_STOPPED): Likewise.
3977         (CLD_CONTINUED): Likewise.
3978         (POLL_IN): Likewise.
3979         (POLL_OUT): Likewise.
3980         (POLL_MSG): Likewise.
3981         (POLL_ERR): Likewise.
3982         (POLL_PRI): Likewise.
3983         (POLL_HUP): Likewise.
3984         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3985         (ILL_ILLOPN): Likewise.
3986         (ILL_ILLADR): Likewise.
3987         (ILL_ILLTRP): Likewise.
3988         (ILL_PRVOPC): Likewise.
3989         (ILL_PRVREG): Likewise.
3990         (ILL_COPROC): Likewise.
3991         (ILL_BADSTK): Likewise.
3992         (ILL_DBLFLT): Likewise.
3993         (ILL_HARDWALL): Likewise.
3994         (FPE_INTDIV): Likewise.
3995         (FPE_INTOVF): Likewise.
3996         (FPE_FLTDIV): Likewise.
3997         (FPE_FLTOVF): Likewise.
3998         (FPE_FLTUND): Likewise.
3999         (FPE_FLTRES): Likewise.
4000         (FPE_FLTINV): Likewise.
4001         (FPE_FLTSUB): Likewise.
4002         (SEGV_MAPERR): Likewise.
4003         (SEGV_ACCERR): Likewise.
4004         (BUS_ADRALN): Likewise.
4005         (BUS_ADRERR): Likewise.
4006         (BUS_OBJERR): Likewise.
4007         (BUS_MCEERR_AR): Likewise.
4008         (BUS_MCEERR_AO): Likewise.
4009         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4010         (TRAP_TRACE): Likewise.
4011         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4012         __USE_XOPEN2K8].
4013         (CLD_KILLED): Likewise.
4014         (CLD_DUMPED): Likewise.
4015         (CLD_TRAPPED): Likewise.
4016         (CLD_STOPPED): Likewise.
4017         (CLD_CONTINUED): Likewise.
4018         (POLL_IN): Likewise.
4019         (POLL_OUT): Likewise.
4020         (POLL_MSG): Likewise.
4021         (POLL_ERR): Likewise.
4022         (POLL_PRI): Likewise.
4023         (POLL_HUP): Likewise.
4024         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4025         (ILL_ILLOPN): Likewise.
4026         (ILL_ILLADR): Likewise.
4027         (ILL_ILLTRP): Likewise.
4028         (ILL_PRVOPC): Likewise.
4029         (ILL_PRVREG): Likewise.
4030         (ILL_COPROC): Likewise.
4031         (ILL_BADSTK): Likewise.
4032         (FPE_INTDIV): Likewise.
4033         (FPE_INTOVF): Likewise.
4034         (FPE_FLTDIV): Likewise.
4035         (FPE_FLTOVF): Likewise.
4036         (FPE_FLTUND): Likewise.
4037         (FPE_FLTRES): Likewise.
4038         (FPE_FLTINV): Likewise.
4039         (FPE_FLTSUB): Likewise.
4040         (SEGV_MAPERR): Likewise.
4041         (SEGV_ACCERR): Likewise.
4042         (BUS_ADRALN): Likewise.
4043         (BUS_ADRERR): Likewise.
4044         (BUS_OBJERR): Likewise.
4045         (BUS_MCEERR_AR): Likewise.
4046         (BUS_MCEERR_AO): Likewise.
4047         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4048         (TRAP_TRACE): Likewise.
4049         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4050         __USE_XOPEN2K8].
4051         (CLD_KILLED): Likewise.
4052         (CLD_DUMPED): Likewise.
4053         (CLD_TRAPPED): Likewise.
4054         (CLD_STOPPED): Likewise.
4055         (CLD_CONTINUED): Likewise.
4056         (POLL_IN): Likewise.
4057         (POLL_OUT): Likewise.
4058         (POLL_MSG): Likewise.
4059         (POLL_ERR): Likewise.
4060         (POLL_PRI): Likewise.
4061         (POLL_HUP): Likewise.
4062         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4063         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4064
4065         [BZ #16670]
4066         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4067         before #include of <time.h>.
4068         [!__USE_XOPEN2K] (__need_timespec): Likewise.
4069         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4070         (test-xfail-UNIX98/sched.h/conform): Likewise.
4071
4072 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4073
4074         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4075         error absence of trapping exception support.
4076         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4077
4078 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
4079
4080         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4081         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4082         * timezone/Makefile (testdata): Move definition above include of
4083         Rules.
4084         (test-zones): New variable.
4085         (tests-special): Add zone files.
4086         (build-testdata): Use $(evaluate-test).
4087
4088         * elf/Makefile (tests-special): Rename tests to end with .out.
4089         ($(objpfx)noload-mem): Likewise.
4090         ($(objpfx)tst-leaks1-mem): Likewise.
4091         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4092         * iconv/Makefile (xtests-special): Change test-iconvconfig to
4093         $(objpfx)test-iconvconfig.out.
4094         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
4095         set -e inside subshell and redirect output to file.
4096         * iconvdata/Makefile (generated): Rename tests to end with .out.
4097         Correct type.
4098         (tests-special): Rename tests to end with .out.
4099         ($(objpfx)mtrace-tst-loading): Likewise.
4100         * intl/Makefile (generated): Likewise.
4101         (tests-special): Likewise.
4102         ($(objpfx)mtrace-tst-gettext): Likewise.
4103         * misc/Makefile (generated): Likewise.
4104         (tests-special): Likewise.
4105         ($(objpfx)tst-error1-mem): Likewise.
4106         * nptl/Makefile (tests-special): Likewise.
4107         ($(objpfx)tst-stack3-mem): Likewise.
4108         (generated): Likewise.
4109         * posix/Makefile (generated): Likewise.
4110         (tests-special): Likewise.
4111         (xtests-special): Likewise.
4112         ($(objpfx)tst-fnmatch-mem): Likewise.
4113         ($(objpfx)bug-regex2-mem): Likewise.
4114         ($(objpfx)bug-regex14-mem): Likewise.
4115         ($(objpfx)bug-regex21-mem): Likewise.
4116         ($(objpfx)bug-regex31-mem): Likewise.
4117         ($(objpfx)tst-vfork3-mem): Likewise.
4118         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4119         ($(objpfx)tst-pcre-mem): Likewise.
4120         ($(objpfx)tst-boost-mem): Likewise.
4121         ($(objpfx)bug-ga2-mem): Likewise.
4122         ($(objpfx)bug-glob2-mem): Likewise.
4123         * resolv/Makefile (generate): Likewise.
4124         (tests-special): Likewise.
4125         (xtests-special): Likewise.
4126         (generated): Likewise.
4127         ($(objpfx)mtrace-tst-leaks): Likewise.
4128         ($(objpfx)mtrace-tst-leaks2): Likewise.
4129
4130         * scripts/merge-test-results.sh: New file.
4131         * Makefile (tests-special-notdir): New variable.
4132         (tests): Run merge-test-results.sh.
4133         (xtests): Likewise.
4134         * Rules (tests-special-notdir): New variable.
4135         (xtests-special-notdir): Likewise.
4136         (tests): Run merge-test-results.sh
4137         (xtests): Likewise.
4138
4139         * Makeconfig (test-xfail-name): New variable.
4140         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4141         compute variable name for expected failures.
4142         * conform/Makefile (conformtest-headers-data): New variable.
4143         (conformtest-standards): Likewise.
4144         (conformtest-headers-ISO): Likewise.
4145         (conformtest-headers-ISO99): Likewise.
4146         (conformtest-headers-ISO11): Likewise.
4147         (conformtest-headers-POSIX): Likewise.
4148         (conformtest-headers-XPG3): Likewise.
4149         (conformtest-headers-XPG4): Likewise.
4150         (conformtest-headers-UNIX98): Likewise.
4151         (conformtest-headers-XOPEN2K): Likewise.
4152         (conformtest-headers-POSIX2008): Likewise.
4153         (conformtest-headers-XOPEN2K8): Likewise.
4154         (conformtest-header-list-base): Likewise.
4155         (conformtest-header-list-tests): Likewise.
4156         (conformtest-header-base): Likewise.
4157         (conformtest-header-tests): Likewise.
4158         (tests-special): Add $(conformtest-header-list-tests).  If
4159         [$(fast-check) && !$(cross-compiling)], add
4160         $(conformtest-header-tests) instead of
4161         $(objpfx)run-conformtest.out.
4162         (generated): Add $(conformtest-header-list-base).  If
4163         [$(fast-check) && !$(cross-compiling)], add
4164         $(conformtest-header-base).  Remove previous setting.
4165         ($(conformtest-header-list-tests)): New target.
4166         (test-xfail-run-conformtest): Remove variable.
4167         ($(objpfx)run-conformtest.out): Remove target.
4168         (test-xfail-ISO11/complex.h/conform): New variable.
4169         (test-xfail-ISO11/stdalign.h/conform): Likewise.
4170         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4171         (test-xfail-XPG3/varargs.h/conform): Likewise.
4172         (test-xfail-XPG4/varargs.h/conform): Likewise.
4173         (test-xfail-UNIX98/varargs.h/conform): Likewise.
4174         (test-xfail-XPG4/ndbm.h/conform): Likewise.
4175         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4176         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4177         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4178         (test-xfail-XPG3/fcntl.h/conform): Likewise.
4179         (test-xfail-XPG3/ftw.h/conform): Likewise.
4180         (test-xfail-XPG3/grp.h/conform): Likewise.
4181         (test-xfail-XPG3/langinfo.h/conform): Likewise.
4182         (test-xfail-XPG3/limits.h/conform): Likewise.
4183         (test-xfail-XPG3/pwd.h/conform): Likewise.
4184         (test-xfail-XPG3/search.h/conform): Likewise.
4185         (test-xfail-XPG3/signal.h/conform): Likewise.
4186         (test-xfail-XPG3/stdio.h/conform): Likewise.
4187         (test-xfail-XPG3/stdlib.h/conform): Likewise.
4188         (test-xfail-XPG3/string.h/conform): Likewise.
4189         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4190         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4191         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4192         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4193         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4194         (test-xfail-XPG3/sys/types.h/conform): Likewise.
4195         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4196         (test-xfail-XPG3/termios.h/conform): Likewise.
4197         (test-xfail-XPG3/time.h/conform): Likewise.
4198         (test-xfail-XPG3/unistd.h/conform): Likewise.
4199         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4200         (test-xfail-XPG4/fcntl.h/conform): Likewise.
4201         (test-xfail-XPG4/langinfo.h/conform): Likewise.
4202         (test-xfail-XPG4/netdb.h/conform): Likewise.
4203         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4204         (test-xfail-XPG4/signal.h/conform): Likewise.
4205         (test-xfail-XPG4/stdio.h/conform): Likewise.
4206         (test-xfail-XPG4/stdlib.h/conform): Likewise.
4207         (test-xfail-XPG4/stropts.h/conform): Likewise.
4208         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4209         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4210         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4211         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4212         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4213         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4214         (test-xfail-XPG4/sys/time.h/conform): Likewise.
4215         (test-xfail-XPG4/sys/types.h/conform): Likewise.
4216         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4217         (test-xfail-XPG4/termios.h/conform): Likewise.
4218         (test-xfail-XPG4/ucontext.h/conform): Likewise.
4219         (test-xfail-XPG4/unistd.h/conform): Likewise.
4220         (test-xfail-XPG4/utmpx.h/conform): Likewise.
4221         (test-xfail-POSIX/sched.h/conform): Likewise.
4222         (test-xfail-POSIX/signal.h/conform): Likewise.
4223         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4224         (test-xfail-POSIX/tar.h/conform): Likewise.
4225         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4226         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4227         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4228         (test-xfail-UNIX98/netdb.h/conform): Likewise.
4229         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4230         (test-xfail-UNIX98/sched.h/conform): Likewise.
4231         (test-xfail-UNIX98/signal.h/conform): Likewise.
4232         (test-xfail-UNIX98/stdio.h/conform): Likewise.
4233         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4234         (test-xfail-UNIX98/stropts.h/conform): Likewise.
4235         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4236         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4237         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4238         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4239         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4240         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4241         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4242         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4243         (test-xfail-UNIX98/unistd.h/conform): Likewise.
4244         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4245         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4246         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4247         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4248         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4249         (test-xfail-XOPEN2K/math.h/conform): Likewise.
4250         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4251         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4252         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4253         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4254         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4255         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4256         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4257         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4258         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4259         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4260         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4261         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4262         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4263         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4264         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4265         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4266         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4267         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4268         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4269         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4270         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4271         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4272         (test-xfail-POSIX2008/signal.h/conform): Likewise.
4273         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4274         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4275         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4276         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4277         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4278         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4279         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4280         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4281         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4282         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4283         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4284         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4285         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4286         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4287         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4288         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4289         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4290         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4291         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4292         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4293         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4294         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4295         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4296         (conformtest-cc-flags): Likewise.
4297         ($(conformtest-header-tests): New target.
4298         * conform/check-header-lists.sh: New file.
4299         * conform/run-conformtest.sh: Remove.
4300
4301         * conform/conformtest.pl: Allow ' and \ in values given for
4302         constants.
4303         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4304         inclusion.
4305         [POSIX] (sys/types.h): Likewise.
4306         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4307         inclusion.
4308         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4309         inclusion.
4310         * conform/data/signal.h-data (SIGIO): Remove expectation.
4311         [XPG3] (SIGBUS): Do not expect.
4312         [POSIX || XPG3] (SIGPOLL): Likewise.
4313         [POSIX || XPG3] (SIGPROF): Likewise.
4314         [POSIX || XPG3] (SIGSYS): Likewise.
4315         [XPG3] (SIGTRAP): Likewise.
4316         [POSIX || XPG3] (SIGURG): Likewise.
4317         [POSIX || XPG3] (SIGVTALRM): Likewise.
4318         [POSIX || XPG3] (SIGXCPU): Likewise.
4319         [POSIX || XPG3] (SIGXFSZ): Likewise.
4320         [POSIX] (SA_SIGINFO): Expect.
4321         [XPG3] (siginfo_t): Do not expect type or contents.
4322         [POSIX] (si_pid): Do not expect element.
4323         [POSIX] (si_uid): Likewise.
4324         [POSIX] (si_addr): Likewise.
4325         [POSIX] (si_status): Likewise.
4326         [POSIX] (si_band): Likewise.
4327         [XPG4] (si_value): Likewise.
4328         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4329         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4330         [POSIX || XPG3] (ILL_ILLADR): Likewise.
4331         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4332         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4333         [POSIX || XPG3] (ILL_PRVREG): Likewise.
4334         [POSIX || XPG3] (ILL_COPROC): Likewise.
4335         [POSIX || XPG3] (ILL_BADSTK): Likewise.
4336         [POSIX || XPG3] (FPE_INTDIV): Likewise.
4337         [POSIX || XPG3] (FPE_INTOVF): Likewise.
4338         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4339         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4340         [POSIX || XPG3] (FPE_FLTUND): Likewise.
4341         [POSIX || XPG3] (FPE_FLTRES): Likewise.
4342         [POSIX || XPG3] (FPE_FLTINV): Likewise.
4343         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4344         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4345         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4346         [POSIX || XPG3] (BUS_ADRALN): Likewise.
4347         [POSIX || XPG3] (BUS_ADRERR): Likewise.
4348         [POSIX || XPG3] (BUS_OBJERR): Likewise.
4349         [POSIX || XPG3] (CLD_EXITED): Likewise.
4350         [POSIX || XPG3] (CLD_KILLED): Likewise.
4351         [POSIX || XPG3] (CLD_DUMPED): Likewise.
4352         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4353         [POSIX || XPG3] (CLD_STOPPED): Likewise.
4354         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4355         [POSIX || XPG3] (POLL_IN): Likewise.
4356         [POSIX || XPG3] (POLL_OUT): Likewise.
4357         [POSIX || XPG3] (POLL_MSG): Likewise.
4358         [POSIX || XPG3] (POLL_ERR): Likewise.
4359         [POSIX || XPG3] (POLL_PRI): Likewise.
4360         [POSIX || XPG3] (POLL_HUP): Likewise.
4361         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4362         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4363         (SIG*): Do not allow.
4364         [XPG3] (si_*): Likewise.
4365         [XPG3] (SI_*): Likewise.
4366         [XPG3 || XPG4] (sigev_*): Likewise.
4367         [XPG3 || XPG4] (SIGEV_*): Likewise.
4368         [XPG3 || XPG4] (sival_*): Likewise.
4369         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4370         [POSIX || XPG3] (BUS_*): Likewise.
4371         [POSIX || XPG3] (CLD_*): Likewise.
4372         [POSIX || XPG3] (FPE_*): Likewise.
4373         [POSIX || XPG3] (ILL_*): Likewise.
4374         [POSIX || XPG3] (POLL_*): Likewise.
4375         [POSIX || XPG3] (SEGV_*): Likewise.
4376         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4377         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4378         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4379         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4380         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4381         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4382         Specify type and value.
4383         (TVERSLEN): Likewise.
4384         (REGTYPE): Likewise.
4385         (AREGTYPE): Likewise.
4386         (LNKTYPE): Likewise.
4387         (SYMTYPE): Likewise.
4388         (CHRTYPE): Likewise.
4389         (BLKTYPE): Likewise.
4390         (DIRTYPE): Likewise.
4391         (FIFOTYPE): Likewise.
4392         (CONTTYPE): Likewise.
4393         (TSUID): Likewise.
4394         (TSGID): Likewise.
4395         (TSVTX): Likewise.
4396         (TUREAD): Likewise.
4397         (TUWRITE): Likewise.
4398         (TUEXEC): Likewise.
4399         (TGREAD): Likewise.
4400         (TGWRITE): Likewise.
4401         (TGEXEC): Likewise.
4402         (TOREAD): Likewise.
4403         (TOWRITE): Likewise.
4404         (TOEXEC): Likewise.
4405         [POSIX] (TSVTX): Expect constant.
4406
4407 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
4408
4409         * Makefile (tests): Change dependencies to ....
4410         (tests-special): ... additions to this variable.
4411         (tests): Depend on $(tests-special).
4412         * Makerules (check-abi-list): New variable.
4413         (check-abi): Depend on $(check-abi-list).
4414         [$(subdir) = elf] (tests-special): Add
4415         $(objpfx)check-abi-libc.out.
4416         [$(build-shared) = yes && subdir] (tests-special): Add
4417         $(check-abi-list).
4418         [$(build-shared) = yes && subdir] (tests): Do not depend on
4419         check-abi.
4420         * Rules (tests): Depend on $(tests-special).
4421         (xtests): Depend on $(xtests-special).
4422         * catgets/Makefile (tests): Change dependencies to ....
4423         (tests-special): ... additions to this variable.
4424         * conform/Makefile (tests): Change dependencies to ....
4425         (tests-special): ... additions to this variable.
4426         * elf/Makefile (tests): Change dependencies to ....
4427         (tests-special): ... additions to this variable.
4428         * grp/Makefile (tests): Change dependencies to ....
4429         (tests-special): ... additions to this variable.
4430         * iconv/Makefile (xtests): Change dependencies to ....
4431         (xtests-special): ... additions to this variable.
4432         * iconvdata/Makefile (tests): Change dependencies to ....
4433         (tests-special): ... additions to this variable.
4434         * intl/Makefile (tests): Change dependencies to ....
4435         (tests-special): ... additions to this variable.  Also add
4436         $(objpfx)tst-gettext.out.
4437         * io/Makefile (tests): Change dependencies to ....
4438         (tests-special): ... additions to this variable.
4439         * libio/Makefile (tests): Change dependencies to ....
4440         (tests-special): ... additions to this variable.
4441         * malloc/Makefile (tests): Change dependencies to ....
4442         (tests-special): ... additions to this variable.
4443         * misc/Makefile (tests): Change dependencies to ....
4444         (tests-special): ... additions to this variable.
4445         * nptl/Makefile (tests): Change dependencies to ....
4446         (tests-special): ... additions to this variable.
4447         * nptl_db/Makefile (tests): Change dependencies to ....
4448         (tests-special): ... additions to this variable.
4449         * posix/Makefile (tests): Change dependencies to ....
4450         (tests-special): ... additions to this variable.
4451         (xtests): Change dependencies to ....
4452         (xtests-special): ... additions to this variable.
4453         * resolv/Makefile (tests): Change dependencies to ....
4454         (tests-special): ... additions to this variable.
4455         (xtests): Change dependencies to ....
4456         (xtests-special): ... additions to this variable.
4457         * stdio-common/Makefile (tests): Change dependencies to ....
4458         (tests-special): ... additions to this variable.
4459         (do-tst-unbputc): Remove target.
4460         (do-tst-printf): Likewise.
4461         * stdlib/Makefile (tests): Change dependencies to ....
4462         (tests-special): ... additions to this variable.
4463         * string/Makefile (tests): Change dependencies to ....
4464         (tests-special): ... additions to this variable.
4465         * sysdeps/x86/Makefile (tests): Change dependencies to ....
4466         (tests-special): ... additions to this variable.
4467
4468         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4469         whole file.
4470         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4471         whole file.
4472         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4473         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4474
4475         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4476         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4477         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4478         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4479         * conform/data/libgen.h-data [XPG3]: Likewise.
4480         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4481         * conform/data/ndbm.h-data [XPG3]: Likewise.
4482         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4483         * conform/data/netdb.h-data [XPG3]: Likewise.
4484         * conform/data/netinet/in.h-data [XPG3]: Likewise.
4485         * conform/data/poll.h-data [XPG3]: Likewise.
4486         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4487         * conform/data/strings.h-data [XPG3]: Likewise.
4488         * conform/data/stropts.h-data [XPG3]: Likewise.
4489         * conform/data/sys/mman.h-data [XPG3]: Likewise.
4490         * conform/data/sys/resource.h-data [XPG3]: Likewise.
4491         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4492         Likewise.
4493         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4494         * conform/data/sys/time.h-data [XPG3]: Likewise.
4495         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4496         * conform/data/sys/uio.h-data [XPG3]: Likewise.
4497         * conform/data/sys/un.h-data [XPG3]: Likewise.
4498         * conform/data/syslog.h-data [XPG3]: Likewise.
4499         * conform/data/ucontext.h-data [XPG3]: Likewise.
4500         * conform/data/utmpx.h-data [XPG3]: Likewise.
4501         * conform/data/varargs.h-data [UNIX98]: Enable file.
4502
4503         * manual/Makefile (INSTALL_INFO): Remove variable setting.
4504
4505         * math/libm-test.inc (struct test_f_f_data): Move expected results
4506         into structure for each rounding mode.
4507         (struct test_ff_f_data): Likewise.
4508         (struct test_ff_f_data_nexttoward): Likewise.
4509         (struct test_fi_f_data): Likewise.
4510         (struct test_fl_f_data): Likewise.
4511         (struct test_if_f_data): Likewise.
4512         (struct test_fff_f_data): Likewise.
4513         (struct test_c_f_data): Likewise.
4514         (struct test_f_f1_data): Likewise.
4515         (struct test_fF_f1_data): Likewise.
4516         (struct test_ffI_f1_data): Likewise.
4517         (struct test_c_c_data): Likewise.
4518         (struct test_cc_c_data): Likewise.
4519         (struct test_f_i_data): Likewise.
4520         (struct test_ff_i_data): Likewise.
4521         (struct test_f_l_data): Likewise.
4522         (struct test_f_L_data): Likewise.
4523         (struct test_fFF_11_data): Likewise.
4524         (RM_): New macro.
4525         (RM_FE_DOWNWARD): Likewise.
4526         (RM_FE_TONEAREST): Likewise.
4527         (RM_FE_TOWARDZERO): Likewise.
4528         (RM_FE_UPWARD): Likewise.
4529         (RUN_TEST_LOOP_f_f): Update references to expected results.
4530         (RUN_TEST_LOOP_2_f): Likewise.
4531         (RUN_TEST_LOOP_fff_f): Likewise.
4532         (RUN_TEST_LOOP_c_f): Likewise.
4533         (RUN_TEST_LOOP_f_f1): Likewise.
4534         (RUN_TEST_LOOP_fF_f1): Likewise.
4535         (RUN_TEST_LOOP_fI_f1): Likewise.
4536         (RUN_TEST_LOOP_ffI_f1): Likewise.
4537         (RUN_TEST_LOOP_c_c): Likewise.
4538         (RUN_TEST_LOOP_cc_c): Likewise.
4539         (RUN_TEST_LOOP_f_i): Likewise.
4540         (RUN_TEST_LOOP_f_i_tg): Likewise.
4541         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4542         (RUN_TEST_LOOP_f_b): Likewise.
4543         (RUN_TEST_LOOP_f_b_tg): Likewise.
4544         (RUN_TEST_LOOP_f_l): Likewise.
4545         (RUN_TEST_LOOP_f_L): Likewise.
4546         (RUN_TEST_LOOP_fFF_11): Likewise.
4547         * math/gen-libm-test.pl (parse_args): Output four copies of
4548         expected results for each test.
4549
4550         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4551         (__ASSUME_UTIMES): Remove.
4552         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4553         (__ASSUME_UTIMES): Likewise.
4554
4555         * math/gen-auto-libm-tests.c: Update comment on output format.
4556         (output_for_one_input_case): Generate before-rounding and
4557         after-rounding information as conditions on output flags not
4558         floating-point format.
4559         * math/auto-libm-test-out: Regenerated.
4560         * math/gen-libm-test.pl (cond_value): New function.
4561         (or_cond_value): Use cond_value.
4562         (generate_testfile): Handle conditional exceptions.
4563
4564 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
4565
4566         * math/libm-test.inc (max_valid_error): New variable.
4567         (init_max_error): Take new argument specifying whether function
4568         results are exactly determined.  Set max_valid_error and bound
4569         other variables for errors based on this argument.
4570         (set_max_error): Do not record results above max_valid_error.
4571         (check_float_internal): Only accept errors of up to 0.5ulps if
4572         also at most max_valid_error.
4573         (START): Take new argument EXACT and pass it to init_max_error.
4574         (acos_test): Update call to START.
4575         (acos_test_tonearest): Likewise.
4576         (acos_test_towardzero): Likewise.
4577         (acos_test_downward): Likewise.
4578         (acos_test_upward): Likewise.
4579         (acosh_test): Likewise.
4580         (asin_test): Likewise.
4581         (asin_test_tonearest): Likewise.
4582         (asin_test_towardzero): Likewise.
4583         (asin_test_downward): Likewise.
4584         (asin_test_upward): Likewise.
4585         (asinh_test): Likewise.
4586         (atan_test): Likewise.
4587         (atanh_test): Likewise.
4588         (atan2_test): Likewise.
4589         (cabs_test): Likewise.
4590         (cacos_test): Likewise.
4591         (cacosh_test): Likewise.
4592         (carg_test): Likewise.
4593         (casin_test): Likewise.
4594         (casinh_test): Likewise.
4595         (catan_test): Likewise.
4596         (catanh_test): Likewise.
4597         (cbrt_test): Likewise.
4598         (ccos_test): Likewise.
4599         (ccosh_test): Likewise.
4600         (ceil_test): Likewise.
4601         (cexp_test): Likewise.
4602         (cimag_test): Likewise.
4603         (clog_test): Likewise.
4604         (clog10_test): Likewise.
4605         (conj_test): Likewise.
4606         (copysign_test): Likewise.
4607         (cos_test): Likewise.
4608         (cos_test_tonearest): Likewise.
4609         (cos_test_towardzero): Likewise.
4610         (cos_test_downward): Likewise.
4611         (cos_test_upward): Likewise.
4612         (cosh_test): Likewise.
4613         (cosh_test_tonearest): Likewise.
4614         (cosh_test_towardzero): Likewise.
4615         (cosh_test_downward): Likewise.
4616         (cosh_test_upward): Likewise.
4617         (cpow_test): Likewise.
4618         (cproj_test): Likewise.
4619         (creal_test): Likewise.
4620         (csin_test): Likewise.
4621         (csinh_test): Likewise.
4622         (csqrt_test): Likewise.
4623         (ctan_test): Likewise.
4624         (ctan_test_tonearest): Likewise.
4625         (ctan_test_towardzero): Likewise.
4626         (ctan_test_downward): Likewise.
4627         (ctan_test_upward): Likewise.
4628         (ctanh_test): Likewise.
4629         (ctanh_test_tonearest): Likewise.
4630         (ctanh_test_towardzero): Likewise.
4631         (ctanh_test_downward): Likewise.
4632         (ctanh_test_upward): Likewise.
4633         (erf_test): Likewise.
4634         (erfc_test): Likewise.
4635         (exp_test): Likewise.
4636         (exp_test_tonearest): Likewise.
4637         (exp_test_towardzero): Likewise.
4638         (exp_test_downward): Likewise.
4639         (exp_test_upward): Likewise.
4640         (exp10_test): Likewise.
4641         (exp10_test_tonearest): Likewise.
4642         (exp10_test_towardzero): Likewise.
4643         (exp10_test_downward): Likewise.
4644         (exp10_test_upward): Likewise.
4645         (pow10_test): Likewise.
4646         (exp2_test): Likewise.
4647         (expm1_test): Likewise.
4648         (expm1_test_tonearest): Likewise.
4649         (expm1_test_towardzero): Likewise.
4650         (expm1_test_downward): Likewise.
4651         (expm1_test_upward): Likewise.
4652         (fabs_test): Likewise.
4653         (fdim_test): Likewise.
4654         (floor_test): Likewise.
4655         (fma_test): Likewise.
4656         (fma_test_towardzero): Likewise.
4657         (fma_test_downward): Likewise.
4658         (fma_test_upward): Likewise.
4659         (fmax_test): Likewise.
4660         (fmin_test): Likewise.
4661         (fmod_test): Likewise.
4662         (fpclassify_test): Likewise.
4663         (frexp_test): Likewise.
4664         (hypot_test): Likewise.
4665         (ilogb_test): Likewise.
4666         (isfinite_test): Likewise.
4667         (finite_test): Likewise.
4668         (isgreater_test): Likewise.
4669         (isgreaterequal_test): Likewise.
4670         (isinf_test): Likewise.
4671         (isless_test): Likewise.
4672         (islessequal_test): Likewise.
4673         (islessgreater_test): Likewise.
4674         (isnan_test): Likewise.
4675         (isnormal_test): Likewise.
4676         (issignaling_test): Likewise.
4677         (isunordered_test): Likewise.
4678         (j0_test): Likewise.
4679         (j1_test): Likewise.
4680         (jn_test): Likewise.
4681         (ldexp_test): Likewise.
4682         (lgamma_test): Likewise.
4683         (gamma_test): Likewise.
4684         (lrint_test): Likewise.
4685         (lrint_test_tonearest): Likewise.
4686         (lrint_test_towardzero): Likewise.
4687         (lrint_test_downward): Likewise.
4688         (lrint_test_upward): Likewise.
4689         (llrint_test): Likewise.
4690         (llrint_test_tonearest): Likewise.
4691         (llrint_test_towardzero): Likewise.
4692         (llrint_test_downward): Likewise.
4693         (llrint_test_upward): Likewise.
4694         (log_test): Likewise.
4695         (log10_test): Likewise.
4696         (log1p_test): Likewise.
4697         (log2_test): Likewise.
4698         (logb_test): Likewise.
4699         (logb_test_downward): Likewise.
4700         (lround_test): Likewise.
4701         (llround_test): Likewise.
4702         (modf_test): Likewise.
4703         (nearbyint_test): Likewise.
4704         (nextafter_test): Likewise.
4705         (nexttoward_test): Likewise.
4706         (pow_test): Likewise.
4707         (pow_test_tonearest): Likewise.
4708         (pow_test_towardzero): Likewise.
4709         (pow_test_downward): Likewise.
4710         (pow_test_upward): Likewise.
4711         (remainder_test): Likewise.
4712         (drem_test): Likewise.
4713         (remainder_test_tonearest): Likewise.
4714         (drem_test_tonearest): Likewise.
4715         (remainder_test_towardzero): Likewise.
4716         (drem_test_towardzero): Likewise.
4717         (remainder_test_downward): Likewise.
4718         (drem_test_downward): Likewise.
4719         (remainder_test_upward): Likewise.
4720         (drem_test_upward): Likewise.
4721         (remquo_test): Likewise.
4722         (rint_test): Likewise.
4723         (rint_test_tonearest): Likewise.
4724         (rint_test_towardzero): Likewise.
4725         (rint_test_downward): Likewise.
4726         (rint_test_upward): Likewise.
4727         (round_test): Likewise.
4728         (scalb_test): Likewise.
4729         (scalbn_test): Likewise.
4730         (scalbln_test): Likewise.
4731         (signbit_test): Likewise.
4732         (sin_test): Likewise.
4733         (sin_test_tonearest): Likewise.
4734         (sin_test_towardzero): Likewise.
4735         (sin_test_downward): Likewise.
4736         (sin_test_upward): Likewise.
4737         (sincos_test): Likewise.
4738         (sinh_test): Likewise.
4739         (sinh_test_tonearest): Likewise.
4740         (sinh_test_towardzero): Likewise.
4741         (sinh_test_downward): Likewise.
4742         (sinh_test_upward): Likewise.
4743         (sqrt_test): Likewise.
4744         (sqrt_test_tonearest): Likewise.
4745         (sqrt_test_towardzero): Likewise.
4746         (sqrt_test_downward): Likewise.
4747         (sqrt_test_upward): Likewise.
4748         (tan_test): Likewise.
4749         (tan_test_tonearest): Likewise.
4750         (tan_test_towardzero): Likewise.
4751         (tan_test_downward): Likewise.
4752         (tan_test_upward): Likewise.
4753         (tanh_test): Likewise.
4754         (tgamma_test): Likewise.
4755         (trunc_test): Likewise.
4756         (y0_test): Likewise.
4757         (y1_test): Likewise.
4758         (yn_test): Likewise.
4759         (significand_test): Likewise.
4760
4761         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4762         individual tests in comment.
4763         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4764         (prev_max_error): New variable.
4765         (prev_real_max_error): Likewise.
4766         (prev_imag_max_error): Likewise.
4767         (compare_ulp_data): Don't refer to test names in comment.
4768         (find_test_ulps): Remove function.
4769         (find_function_ulps): Likewise.
4770         (find_complex_function_ulps): Likewise.
4771         (init_max_error): Take function name as argument.  Look up ulps
4772         for that function.
4773         (print_ulps): Remove function.
4774         (print_max_error): Use prev_max_error instead of calling
4775         find_function_ulps.
4776         (print_complex_max_error): Use prev_real_max_error and
4777         prev_imag_max_error instead of calling find_complex_function_ulps.
4778         (check_float_internal): Take max_ulp parameter instead of calling
4779         find_test_ulps.  Don't call print_ulps.
4780         (check_float): Update call to check_float_internal.
4781         (check_complex): Update calls to check_float_internal.
4782         (START): Pass argument to init_max_error.
4783         * math/gen-libm-test.pl (%results): Don't include "kind"
4784         information.
4785         (parse_ulps): Don't handle ulps of individual tests.
4786         (print_ulps_file): Likewise.
4787         (output_ulps): Likewise.
4788         * math/README.libm-test: Update.
4789         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4790         individual tests.
4791         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4792         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4793         * sysdeps/arm/libm-test-ulps: Likewise.
4794         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4795         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4796         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4797         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4798         * sysdeps/microblaze/libm-test-ulps: Likewise.
4799         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4800         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4801         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4802         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4803         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4804         * sysdeps/sh/libm-test-ulps: Likewise.
4805         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4806         * sysdeps/tile/libm-test-ulps: Likewise.
4807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4808
4809 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
4810
4811         * math/libm-test.inc (print_complex_max_error): Check separately
4812         whether real and imaginary errors are within allowed range and
4813         pass 0 to print_complex_function_ulps instead of value within
4814         allowed range.
4815
4816 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4817
4818         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4819         formatting.
4820         (get_handles_fopen): Likewise.
4821         (do_write_test): Likewise.
4822
4823         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4824
4825         * libio/fileops.c (do_ftell): Use cached offset when
4826         available.
4827         * libio/iofwide.c (do_ftell_wide): Likewise.
4828         * libio/iofdopen.c (_IO_new_fdopen): Don't use
4829         _IO_file_attach.
4830         * libio/wfileops.c (_IO_fwide): Don't cache offset.
4831
4832         [BZ #16532]
4833         * libio/libioP.h (get_file_offset): New function.
4834         * libio/fileops.c (get_file_offset): Likewise.
4835         (do_ftell): Likewise.
4836         (_IO_new_file_seekoff): Split out ftell logic.
4837         * libio/wfileops.c (do_ftell_wide): Likewise.
4838         (_IO_wfile_seekoff): Split out ftell logic.
4839         * libio/tst-ftell-active-handler.c: New test case.
4840         * libio/Makefile (tests): Add it.
4841
4842 2014-03-03  Roland McGrath  <roland@hack.frob.com>
4843
4844         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4845         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4846
4847 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4848
4849         [BZ #16639]
4850         * nscd/connections.c (nscd_init): Call do_exit.
4851         (start_threads): Call do_exit and notify_parent.
4852         (begin_drop_privileges): Call do_exit.
4853         (finish_drop_privileges): Likewise.
4854         * nscd/selinux.c (preserve_capabilities): Likewise.
4855         (install_real_capabilities): Likewise.
4856         (nscd_selinux_enabled): Likewise.
4857         (avc_create_thread): Likewise.
4858         (avc_alloc_lock): Likewise.
4859         (nscd_avc_init): Likewise.
4860         * nscd/nscd.c (parent_fd): New static variable.
4861         (main): Create a pipe between parent and child processes.
4862         Skip closing parent_fd.
4863         (monitor_child): New function.
4864         (do_exit): Likewise.
4865         (notify_parent): Likewise.
4866         * nscd/nscd.h (notify_parent): Likewise.
4867         (do_exit): Likewise.
4868
4869 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
4870
4871         * malloc/malloc.c (__libc_calloc): Revert last change.
4872
4873 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4874
4875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4876
4877 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4878
4879         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4880         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4881         implementation.
4882         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4883         (__libc_ifunc_impl_list): Likewise.
4884         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4885         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4886         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4887         * string/strrchr.c: Define STRRCHR.
4888
4889 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
4890
4891         * benchtest/bench-strtok.c (simple_strtok): Delete.
4892         (strtok_string): Use as benchmark.
4893         * string/strtok (STRTOK): New macro.
4894
4895 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
4896
4897         * manual/threads.texi: Add header and standard comments to all
4898         functions.
4899
4900         * elf/dl-lookup.c (check_match): New function.
4901         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4902         (do_lookup_x): Remove nested function check_match. Use non-nested
4903         function check_match.
4904
4905 2014-02-28  Roland McGrath  <roland@hack.frob.com>
4906
4907         * csu/Makefile (generated, before-compile): Use += rather than =.
4908         * catgets/Makefile (generated, generated-dirs): Likewise.
4909         * debug/Makefile (generated): Likewise.
4910         * dlfcn/Makefile (generated): Likewise.
4911         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4912         * iconvdata/Makefile (before-compile, generated): Likewise.
4913         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4914         * libio/Makefile (generated): Likewise.
4915         * malloc/Makefile (generated): Likewise.
4916         * manual/Makefile (generated, generated-dirs): Likewise.
4917         * misc/Makefile (generated): Likewise.
4918         * posix/Makefile (generated): Likewise.
4919         * resolv/Makefile (generated): Likewise.
4920         * sunrpc/Makefile (generated, generated-dirs): Likewise.
4921         * timezone/Makefile (generated, generated-dirs): Likewise.
4922
4923         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4924
4925 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4926
4927         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4928         power8 implementation.
4929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4930         file: POWER8 llround ifunc implementation.
4931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4932         (__lllround): Add POWER8 implementation.
4933         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4934         POWER8 llround implementation.
4935
4936         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4937         power8 implementation.
4938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4939         file: POWER8 llrint ifunc implementation.
4940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4941         Add POWER8 implementation.
4942         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4943         POWER8 llrint implementation.
4944
4945         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4946         power8 implementation.
4947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4948         file: POWER8 finite ifunc implementation.
4949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4950         Add POWER8 implementation.
4951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4952         Likewise.
4953         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4954         POWER8 finite implementation.
4955         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4956
4957         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4958         power8 implementation.
4959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4960         file: POWER8 isinf ifunc implementation.
4961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4962         POWER8 implementation.
4963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4964         Likewise.
4965         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4966         isinf implementation.
4967         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4968
4969         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4970         (INIT_ARCH): Add hwcap2 initialization.
4971         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4972         power8 implementation.
4973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4974         file: POWER8 isnan ifunc implementation.
4975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4976         POWER8 implementation.
4977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4978         Likewise.
4979         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4980         isnan implementation.
4981         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4982
4983 2014-02-27  Joey Ye  <joey.ye@arm.com>
4984
4985         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4986         (_FP_NANFRAC_Q): Set to zero.
4987
4988 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4989
4990         [BZ #16623]
4991         * math/auto-libm-test-in: New test inputs.
4992         * math/auto-libm-test-out: Regenerate.
4993         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4994         and DA.
4995         (__cos): Likewise.
4996         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4997
4998 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
4999
5000         * scripts/evaluate-test.sh: Take new argument indicating whether
5001         failure is expected.
5002         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5003         indicating whether failure is expected.
5004         * conform/Makefile (test-xfail-run-conformtest): New variable.
5005         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5006         level.
5007         * posix/Makefile (test-xfail-annexc): New variable.
5008         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5009
5010 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
5011
5012         * argp/Makefile: Include Makeconfig immediately after defining
5013         subdir.
5014         * assert/Makefile: Likewise.
5015         * benchtests/Makefile: Likewise.
5016         * catgets/Makefile: Likewise.
5017         * conform/Makefile: Likewise.
5018         * crypt/Makefile: Likewise.
5019         * csu/Makefile: Likewise.
5020         (all): Remove target.
5021         * ctype/Makefile: Include Makeconfig immediately after defining
5022         subdir.
5023         * debug/Makefile: Likewise.
5024         * dirent/Makefile: Likewise.
5025         * dlfcn/Makefile: Likewise.
5026         * gmon/Makefile: Likewise.
5027         * gnulib/Makefile: Likewise.
5028         * grp/Makefile: Likewise.
5029         * gshadow/Makefile: Likewise.
5030         * hesiod/Makefile: Likewise.
5031         * hurd/Makefile: Likewise.
5032         (all): Remove target.
5033         * iconvdata/Makefile: Include Makeconfig immediately after
5034         defining subdir.
5035         * inet/Makefile: Likewise.
5036         * intl/Makefile: Likewise.
5037         * io/Makefile: Likewise.
5038         * libio/Makefile: Likewise.
5039         (all): Remove target.
5040         * locale/Makefile: Include Makeconfig immediately after defining
5041         subdir.
5042         * login/Makefile: Likewise.
5043         * mach/Makefile: Likewise.
5044         (all): Remove target.
5045         * malloc/Makefile: Include Makeconfig immediately after defining
5046         subdir.
5047         (all): Remove target.
5048         * manual/Makefile: Include Makeconfig immediately after defining
5049         subdir.
5050         * math/Makefile: Likewise.
5051         * misc/Makefile: Likewise.
5052         * nis/Makefile: Likewise.
5053         * nss/Makefile: Likewise.
5054         * po/Makefile: Likewise.
5055         (all): Remove target.
5056         * posix/Makefile: Include Makeconfig immediately after defining
5057         subdir.
5058         * pwd/Makefile: Likewise.
5059         * resolv/Makefile: Likewise.
5060         * resource/Makefile: Likewise.
5061         * rt/Makefile: Likewise.
5062         * setjmp/Makefile: Likewise.
5063         * shadow/Makefile: Likewise.
5064         * signal/Makefile: Likewise.
5065         * socket/Makefile: Likewise.
5066         * soft-fp/Makefile: Likewise.
5067         * stdio-common/Makefile: Likewise.
5068         * stdlib/Makefile: Likewise.
5069         * streams/Makefile: Likewise.
5070         * string/Makefile: Likewise.
5071         * sunrpc/Makefile: Likewise.
5072         (all): Remove target.
5073         * sysvipc/Makefile: Include Makeconfig immediately after defining
5074         subdir.
5075         * termios/Makefile: Likewise.
5076         * time/Makefile: Likewise.
5077         * timezone/Makefile: Likewise.
5078         (all): Remove target.
5079         * wcsmbs/Makefile: Include Makeconfig immediately after defining
5080         subdir.
5081         * wctype/Makefile: Likewise.
5082
5083 2014-02-26  Steve Ellcey  <sellcey@mips.com>
5084
5085         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5086         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5087         (libc_feholdexcept_setround_mips): Ditto.
5088         (libc_feholdsetround): New.
5089         (libc_feholdsetroundf): New.
5090         (libc_feholdsetroundl): New.
5091         (libc_feupdateenv_test_mips): New.
5092         (libc_feupdateenv_test): New.
5093         (libc_feupdateenv_testf): New.
5094         (libc_feupdateenv_testl): New.
5095         (libc_feresetround): New.
5096         (libc_feresetroundf): New.
5097         (libc_feresetroundl): New.
5098         (libc_fetestexcept_mips): New.
5099         (libc_fetestexcept): New.
5100         (libc_fetestexceptf): New.
5101         (libc_fetestexceptl): New.
5102         (HAVE_RM_CTX): New.
5103         (libc_feholdexcept_setround_mips_ctx): New.
5104         (libc_feholdexcept_setround_ctx): New.
5105         (libc_feholdexcept_setroundf_ctx): New.
5106         (libc_feholdexcept_setroundl_ctx): New.
5107         (libc_fesetenv_mips_ctx): New.
5108         (libc_fesetenv_ctx): New.
5109         (libc_fesetenv_ctxf): New.
5110         (libc_fesetenv_ctxl): New.
5111         (libc_feupdateenv_mips_ctx): New.
5112         (libc_feupdateenv_ctx): New.
5113         (libc_feupdateenvf_ctx): New.
5114         (libc_feupdateenvl_ctx): New.
5115         (libc_feholdsetround_mips_ctx): New.
5116         (libc_feholdsetround_ctx): New.
5117         (libc_feholdsetroundf_ctx): New.
5118         (libc_feholdsetroundl_ctx): New.
5119         (libc_feresetround_mips_ctx): New.
5120         (libc_feresetround_ctx): New.
5121         (libc_feresetroundf_ctx): New.
5122         (libc_feresetroundl_ctx): New.
5123
5124 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
5125
5126         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5127
5128         * manual/ipc.texi: New file.
5129         * manual/Makefile (chapters): Add ipc.
5130         * manual/job.texi: Add "Inter-Process Communication" to next.
5131         * manual/process.texi: Add "Inter-Process Communication" to prev.
5132
5133 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5134
5135         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5136
5137 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
5138
5139         * malloc/malloc.c (__libc_calloc): Simplify implementation.
5140
5141         * manual/arith.texi: Fix spaces after sentences.
5142         * manual/charset.texi: Likewise.
5143         * manual/errno.texi: Likewise.
5144         * manual/install.texi: Likewise.
5145         * manual/llio.texi: Likewise.
5146         * manual/locale.texi: Likewise.
5147         * manual/maint.texi: Likewise.
5148         * manual/math.texi: Likewise.
5149         * manual/memory.texi: Likewise.
5150         * manual/message.texi: Likewise.
5151         * manual/probes.texi: Likewise.
5152         * manual/resource.texi: Likewise.
5153         * manual/signal.texi: Likewise.
5154         * manual/socket.texi: Likewise.
5155         * manual/stdio.texi: Likewise.
5156         * manual/string.texi: Likewise.
5157         * manual/time.texi: Likewise.
5158         * manual/users.texi: Likewise.
5159
5160 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
5161
5162         [BZ #16632]
5163         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5164         _DEFAULT_SOURCE is defined.
5165
5166 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
5167             Carlos O'Donell  <carlos@redhat.com>
5168
5169         [BZ #16613]
5170         * elf/dl-tls.c (_dl_count_modids): New function.
5171         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5172         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5173         audit library and increment generation counter.
5174         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5175         * elf/tst-audit9.c: New file.
5176         * elf/tst-auditmod9a.c: New file.
5177         * elf/tst-auditmod9b.c: New file.
5178         * elf/Makefile: Add rules to build and run tst-audit9.
5179
5180 2014-02-25  Florian Weimer  <fweimer@redhat.com>
5181
5182         [BZ #15347]
5183         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5184
5185 2014-02-25  Will Newton  <will.newton@linaro.org>
5186
5187         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5188         (__longjmp): Restore sp and lr before restoring callee
5189         saved registers.  Add longjmp and longjmp_target
5190         SystemTap probe point.
5191         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5192         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5193         Define to zero to match jmpbuf layout.
5194         * sysdeps/arm/setjmp.S: Include stap-probe.h.
5195         (__sigsetjmp): Save sp and lr before saving callee
5196         saved registers.  Add setjmp SystemTap probe point.
5197
5198 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5199
5200         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5201
5202 2014-02-24  Andreas Schwab  <schwab@suse.de>
5203
5204         [BZ #15804]
5205         * elf/pldd.c (wait_for_ptrace_stop): New function.
5206         (main): Call it after attaching.
5207
5208 2014-02-22  Roland McGrath  <roland@hack.frob.com>
5209
5210         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5211         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5212         Versions files is now verboten.
5213         * hurd/Versions (libc: GLIBC_2.0):
5214         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5215         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5216         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5217         * mach/Versions: Likewise.
5218
5219         * csu/Versions: Remove unused %include.
5220         * resolv/Versions: Likewise.
5221
5222 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
5223
5224         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5225         ($(objpfx)check-local-headers.out): Likewise.
5226         ($(objpfx)begin-end-check.out): Likewise.
5227         * Makerules (check-abi-%.out): Likewise.
5228         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5229         ($(objpfx)test2.cat): Likewise.
5230         ($(objpfx)de/libc.cat): Likewise.
5231         ($(objpfx)test-gencat.out): Likewise.
5232         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5233         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5234         ($(objpfx)noload-mem): Likewise.
5235         ($(objpfx)tst-pathopt.out): Likewise.
5236         ($(objpfx)tst-rtld-load-self.out): Likewise.
5237         ($(objpfx)tst-array1-cmp.out): Likewise.
5238         ($(objpfx)tst-array1-static-cmp.out): Likewise.
5239         ($(objpfx)tst-array2-cmp.out): Likewise.
5240         ($(objpfx)tst-array3-cmp.out): Likewise.
5241         ($(objpfx)tst-array4-cmp.out): Likewise.
5242         ($(objpfx)tst-array5-cmp.out): Likewise.
5243         ($(objpfx)tst-array5-static-cmp.out): Likewise.
5244         ($(objpfx)check-textrel.out): Likewise.
5245         ($(objpfx)check-execstack.out): Likewise.
5246         ($(objpfx)check-localplt.out): Likewise.
5247         ($(objpfx)order2-cmp.out): Likewise.
5248         ($(objpfx)tst-leaks1-mem): Likewise.
5249         ($(objpfx)tst-leaks1-static-mem): Likewise.
5250         ($(objpfx)tst-initorder-cmp.out): Likewise.
5251         ($(objpfx)tst-initorder2-cmp.out): Likewise.
5252         ($(objpfx)tst-unused-dep.out): Likewise.
5253         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5254         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5255         * iconv/Makefile (test-iconvconfig): Likewise.
5256         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5257         ($(objpfx)iconv-test.out): Likewise.
5258         ($(objpfx)tst-tables.out): Likewise.
5259         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5260         ($(objpfx)tst-gettext.out): Likewise.
5261         ($(objpfx)tst-translit.out): Likewise.
5262         ($(objpfx)tst-gettext2.out): Likewise.
5263         ($(objpfx)tst-gettext4.out): Likewise.
5264         ($(objpfx)tst-gettext6.out): Likewise.
5265         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5266         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5267         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5268         ($(objpfx)tst-fopenloc-mem.out): Likewise.
5269         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5270         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5271         * posix/Makefile ($(objpfx)globtest.out): Likewise.
5272         ($(objpfx)wordexp-tst.out): Likewise.
5273         ($(objpfx)annexc.out): Likewise.
5274         ($(objpfx)tst-fnmatch-mem): Likewise.
5275         ($(objpfx)bug-regex2-mem): Likewise.
5276         ($(objpfx)bug-regex14-mem): Likewise.
5277         ($(objpfx)bug-regex21-mem): Likewise.
5278         ($(objpfx)bug-regex31-mem): Likewise.
5279         ($(objpfx)tst-vfork3-mem): Likewise.
5280         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5281         ($(objpfx)tst-pcre-mem): Likewise.
5282         ($(objpfx)tst-boost-mem): Likewise.
5283         ($(objpfx)tst-getconf.out): Likewise.
5284         ($(objpfx)bug-ga2-mem): Likewise.
5285         ($(objpfx)bug-glob2-mem): Likewise.
5286         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5287         ($(objpfx)mtrace-tst-leaks2): Likewise.
5288         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5289         ($(objpfx)tst-printf.out): Likewise.
5290         ($(objpfx)tst-setvbuf1.out): Likewise.
5291         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5292         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5293         ($(objpfx)tst-fmtmsg.out): Likewise.
5294         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5295         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5296
5297         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5298         * bits/sigaction.h [__USE_MISC]: Likewise.
5299         * bits/waitstatus.h: Update #endif comments.
5300         * ctype/ctype.h: Likewise.
5301         * dirent/dirent.h: Likewise.
5302         [__USE_MISC]: Remove redundant conditionals.
5303         * grp/grp.h: Update #endif comments.
5304         [__USE_GNU]: Remove redundant conditionals.
5305         [__USE_MISC]: Likewise.
5306         * inet/netinet/in.h [__USE_GNU]: Likewise.
5307         * io/sys/stat.h [__USE_MISC]: Likewise.
5308         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5309         * libio/bits/stdio.h: Update #endif comments.
5310         [__USE_MISC]: Remove redundant conditionals.
5311         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5312         * libio/stdio.h: Update #endif comments.
5313         [__USE_MISC]: Remove redundant conditionals.
5314         * math/bits/math-finite.h [__USE_MISC]: Likewise.
5315         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5316         * math/math.h: Update #else and #endif comments.
5317         [__USE_MISC]: Remove redundant conditionals.
5318         * misc/sys/uio.h: Update #endif comments.
5319         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5320         * posix/glob.h [__USE_MISC]: Likewise.
5321         * posix/sys/types.h: Update #endif comments.
5322         [__USE_MISC]: Remove redundant conditionals.
5323         * posix/sys/wait.h: Update #endif comments.
5324         [__USE_MISC]: Remove redundant conditionals.
5325         * posix/unistd.h: Update #endif comments.
5326         [__USE_MISC]: Remove redundant conditionals.
5327         * pwd/pwd.h [__USE_GNU]: Likewise.
5328         [__USE_MISC]: Likewise.
5329         * resolv/netdb.h [__USE_GNU]: Likewise.
5330         * signal/signal.h: Update #endif comments.
5331         [__USE_MISC]: Remove redundant conditionals.
5332         * stdlib/stdlib.h: Update #else and #endif comments.
5333         [__USE_MISC]: Remove redundant conditionals.
5334         [__USE_GNU]: Likewise.
5335         * string/bits/string2.h [__USE_MISC]: Likewise.
5336         * string/string.h: Update #endif comments.
5337         [__USE_MISC]: Remove redundant conditionals.
5338         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5339         Likewise.
5340         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5341         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5342         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5343         Likewise.
5344         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5345         Likewise.
5346         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5347         comments.
5348         [__USE_MISC]: Remove redundant conditionals.
5349         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5350         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5351         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5352         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5353         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5354         Likewise.
5355         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5356         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5357         Likewise.
5358         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5359         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5360         Likewise.
5361         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5362         Likewise.
5363         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5364         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5365         Likewise.
5366         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5367         Likewise.
5368         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5369         * sysdeps/x86/bits/string.h: Update #endif comments.
5370         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5371         conditionals.
5372         * time/sys/time.h: Update #endif comments.
5373         * time/time.h: Likewise.
5374         [__USE_MISC]: Remove redundant conditionals.
5375
5376 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
5377
5378         [BZ #16600]
5379         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5380
5381 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
5382
5383         * Versions.def (librt): Add GLIBC_2.17.
5384
5385 2014-02-21  Adam Conrad  <adconrad@0c3.net>
5386
5387         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5388         synonym for _SYS_AUXV_H to allow direct inclusion.
5389         * sysdeps/sparc/bits/hwcap.h: Likewise.
5390         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5391         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5392         * sysdeps/sparc/sysdep.h: Likewise.
5393
5394 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5395
5396         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5397
5398 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5399
5400         * benchtests/bench-strrchr.c: Print length instead of position.
5401
5402 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
5403
5404         [BZ #16611]
5405         * sysdeps/unix/sysv/linux/kernel-features.h
5406         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5407         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5408         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5409         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5410         Likewise.
5411         [__i386__ || __powerpc__ || __sh__ || __sparc__]
5412         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5413         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5414         (__ASSUME_SENDMMSG): Define instead of using previous
5415         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5416         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5417         (__ASSUME_SENDMMSG_SYSCALL): Define.
5418         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5419         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5420         Likewise.
5421         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5422         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5423         Likewise.
5424         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5425         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5426         Likewise.
5427         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5428         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5429         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5430         [__ASSUME_SENDMMSG]: Change conditionals to
5431         [__ASSUME_SENDMMSG_SOCKETCALL].
5432         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5433         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5434         Define.
5435         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5436         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5437         Likewise.
5438         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5439         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5440         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5441         [!__ASSUME_SENDMMSG]: Change conditional to
5442         [!__ASSUME_SENDMMSG_SOCKETCALL].
5443         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5444         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5445         Define.
5446
5447         [BZ #16610]
5448         * sysdeps/unix/sysv/linux/kernel-features.h
5449         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5450         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5451         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5452         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5453         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5454         [__i386__ || __sparc__]
5455         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5456         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5457         (__ASSUME_RECVMMSG): Define instead of using previous
5458         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5459         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5460         (__ASSUME_RECVMMSG_SYSCALL): Define.
5461         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5462         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5463         Likewise.
5464         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5465         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5466         Likewise.
5467         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5468         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5469         Likewise.
5470         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5471         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5472         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5473         [__ASSUME_RECVMMSG]: Change condition to
5474         [__ASSUME_RECVMMSG_SOCKETCALL].
5475         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5476         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5477         Define.
5478         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5479         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5480         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5481         Likewise.
5482         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5483         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5484         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5485         [!__ASSUME_RECVMMSG]: Change condition to
5486         [!__ASSUME_RECVMMSG_SOCKETCALL].
5487         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5488         (__ASSUME_RECVMMSG_SYSCALL): Define.
5489
5490         [BZ #16609]
5491         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5492         __powerpc__ || __s390__ || __sh__ || __sparc__]
5493         (__ASSUME_SOCKETCALL): Define.
5494         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5495         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5496         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5497         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5498         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5499         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5500         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5501         (__ASSUME_ACCEPT4): Define instead of using previous
5502         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5503         __powerpc__ || __sparc__ || __s390__)] condition.
5504         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5505         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5506         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5507         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5508         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5509         [!__ASSUME_ACCEPT4]: Change condition to
5510         [!__ASSUME_ACCEPT4_SOCKETCALL].
5511         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5512         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
5513         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5514         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5515         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5516         __ASSUME_ACCEPT4_SYSCALL.
5517         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5518         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5519         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5520         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5521         __ASSUME_ACCEPT4_SYSCALL.
5522         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5523         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5524         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5525         [__ASSUME_ACCEPT4]: Change condition to
5526         [__ASSUME_ACCEPT4_SOCKETCALL].
5527         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5528         (__ASSUME_SOCKETCALL): Define.
5529         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5530         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5531         (__ASSUME_SOCKETCALL): Define.
5532         (__ASSUME_ACCEPT4): Remove.
5533         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5534         Define.
5535         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5536         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5537         Likewise.
5538         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5539         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5540
5541         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5542         macro.
5543         (HWCAP_ARM_LPAE): Likewise.
5544         (HWCAP_ARM_EVTSTRM): Likewise.
5545         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5546         Add vpfd32, lpae and evtstrm.
5547         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5548         Increase to 22.
5549
5550 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
5551
5552         * math/auto-libm-test-in: Add tests of clog10.
5553         * math/auto-libm-test-out: Regenerated.
5554         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5555         * sysdeps/i386/fpu/libm-test-ulps: Update.
5556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5557
5558 2014-02-18  Andreas Schwab  <schwab@suse.de>
5559
5560         [BZ #16574]
5561         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5562         Store non-zero if the second buffer was newly allocated.
5563         (send_dg): Likewise.
5564         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5565         to send_vc and send_dg.
5566         (res_nsend): Pass NULL for ansp2_malloced.
5567         * resolv/res_query.c (__libc_res_nquery): Add parameter
5568         answerp2_malloced and pass it down to __libc_res_nsend.
5569         (res_nquery): Pass additional NULL to __libc_res_nquery.
5570         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5571         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
5572         second answer buffer if answerp2_malloced was set.
5573         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5574         (__libc_res_nquerydomain): Add parameter
5575         answerp2_malloced and pass it down to __libc_res_nquery.
5576         (res_nquerydomain): Pass additional NULL to
5577         __libc_res_nquerydomain.
5578         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5579         additional NULL to __libc_res_nsend and __libc_res_nquery.
5580         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5581         additional NULL to __libc_res_nsearch.
5582         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
5583         parameter of __libc_res_nsearch to check for separately allocated
5584         second buffer.
5585         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5586         __libc_res_nquery.
5587         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5588         additional NULL to __libc_res_nquery.
5589         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5590         __libc_res_nsearch.
5591         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5592         * include/resolv.h: Update prototypes of __libc_res_nquery,
5593         __libc_res_nsearch, __libc_res_nsend.
5594
5595 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
5596
5597         * math/auto-libm-test-in: Add tests of fma.
5598         * math/auto-libm-test-out: Regenerated.
5599         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5600         (fma_towardzero_test_data): Likewise.
5601         (fma_downward_test_data): Likewise.
5602         (fma_upward_test_data): Likewise.
5603         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5604         mpc_mode.
5605         (rounding_modes): Add values for new field.
5606         (func_calc_method): Add value mpfr_fff_f.
5607         (func_calc_desc): Add mpfr_fff_f union field.
5608         (test_function): Add field exact_args.
5609         (FUNC): Add macro argument EXACT_ARGS.
5610         (FUNC_mpfr_f_f): Update call to FUNC.
5611         (FUNC_mpfr_f_f): Likewise.
5612         (FUNC_mpfr_ff_f): Likewise.
5613         (FUNC_mpfr_if_f): Likewise.
5614         (FUNC_mpc_c_f): Likewise.
5615         (FUNC_mpc_c_c): Likewise.
5616         (test_functions): Add fma.  Update calls to FUNC.
5617         (handle_input_arg): Add argument exact_args.
5618         (add_test): Update call to handle_input_arg.
5619         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
5620         (output_for_one_input_case): Update call to calc_generic_results.
5621         Recalculate exact zero results in each rounding mode.
5622
5623         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5624         non-negative before setting low bit.
5625         * math/auto-libm-test-in: Mark one asin test possibly having
5626         spurious underflow.
5627         * math/auto-libm-test-out: Regenerated.
5628         * sysdeps/i386/fpu/libm-test-ulps: Update.
5629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5630
5631 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
5632
5633         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5634         * sysdeps/unix/sysv/linux/microblaze: Move directory from
5635         ports/sysdeps/unix/sysv/linux/microblaze.
5636         * README: Add missing listing for microblaze*-*-linux-gnu.
5637
5638 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
5639
5640         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5641         * sysdeps/unix/sysv/linux/ia64: Move directory from
5642         ports/sysdeps/unix/sysv/linux/ia64.
5643         * README: Update listing for ia64-*-linux-gnu.
5644
5645 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
5646             Joseph Myers  <joseph@codesourcery.com>
5647
5648         * Makeconfig (test-name): New variable.
5649         (evaluate-test): Likewise.
5650         * Makerules (do-test-clean): Remove .test-result files.
5651         (common-mostlyclean): Likewise.
5652         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5653         * scripts/evaluate-test.sh: New file.
5654
5655 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
5656
5657         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5658         separate $(objpfx)tst-fopenloc-cmp.out and
5659         $(objpfx)tst-fopenloc-mem.out targets.
5660         (tests): Update dependencies.
5661         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5662         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5663         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5664         (tst-rxspencer-no-utf8-ARGS): New variable.
5665         (tst-rxspencer-no-utf8-ENV): Likewise.
5666         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5667         instead of $(objpfx)tst-rxspencer-mem.
5668         ($(objpfx)tst-rxspencer-mem): Change target to
5669         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
5670         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5671         * posix/tst-rxspencer-no-utf8.c: New file.
5672
5673         * elf/Makefile ($(objpfx)order.out): Remove rule.
5674         [$(run-built-tests) = yes] (tests): Depend on
5675         $(objpfx)order-cmp.out.
5676         ($(objpfx)order-cmp.out): New rule.
5677         [$(run-built-tests) = yes] (tests): Depend on
5678         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5679         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5680         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5681         $(objpfx)tst-array5-static-cmp.out.
5682         ($(objpfx)tst-array1.out): Remove rule.
5683         ($(objpfx)tst-array1-cmp.out): New rule.
5684         ($(objpfx)tst-array1-static.out): Remove rule.
5685         ($(objpfx)tst-array1-static-cmp.out): New rule.
5686         ($(objpfx)tst-array2.out): Remove rule.
5687         ($(objpfx)tst-array2-cmp.out): New rule.
5688         ($(objpfx)tst-array3.out): Remove rule.
5689         ($(objpfx)tst-array3-cmp.out): New rule.
5690         ($(objpfx)tst-array4.out): Remove rule.
5691         ($(objpfx)tst-array4-cmp.out): New rule.
5692         ($(objpfx)tst-array5.out): Remove rule.
5693         ($(objpfx)tst-array5-cmp.out): New rule.
5694         ($(objpfx)tst-array5-static.out): Remove rule.
5695         ($(objpfx)tst-array5-static-cmp.out): New rule.
5696         [$(run-built-tests) = yes] (tests): Depend on
5697         $(objpfx)order2-cmp.out.
5698         ($(objpfx)order2.out): Remove rule.
5699         ($(objpfx)order2-cmp.out): New rule.
5700         ($(objpfx)tst-initorder.out): Remove rule.
5701         [$(run-built-tests) = yes] (tests): Depend on
5702         $(objpfx)tst-initorder-cmp.out.
5703         ($(objpfx)tst-initorder-cmp.out): New rule.
5704         ($(objpfx)tst-initorder2.out): Remove rule.
5705         [$(run-built-tests) = yes] (tests): Depend on
5706         $(objpfx)tst-initorder2-cmp.out.
5707         ($(objpfx)tst-initorder2-cmp.out): New rule.
5708         [$(run-built-tests) = yes] (tests): Depend on
5709         $(objpfx)tst-unused-dep-cmp.out.
5710         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5711         ($(objpfx)tst-unused-dep-cmp.out): New rule.
5712         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5713         on $(objpfx)tst-setvbuf1-cmp.out.
5714         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5715         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5716         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5717         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5718         ($(objpfx)tst-svc.out): Remove rule.
5719         ($(objpfx)tst-svc-cmp.out): New rule.
5720
5721 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
5722
5723         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5724         * ctype/ctype.h [__USE_MISC]: Likewise.
5725         * dirent/dirent.h [__USE_MISC]: Likewise.
5726         * grp/grp.h [__USE_MISC]: Likewise.
5727         * io/fcntl.h [__USE_MISC]: Likewise.
5728         * io/sys/stat.h [__USE_MISC]: Likewise.
5729         * libio/stdio.h [__USE_MISC]: Likewise.
5730         * posix/unistd.h [__USE_MISC]: Likewise.
5731         * pwd/pwd.h [__USE_MISC]: Likewise.
5732         * stdlib.h [__USE_MISC]: Likewise.
5733         * string/bits/string2.h [__USE_MISC]: Likewise.
5734         * string/string.h [__USE_MISC]: Likewise.
5735         * time/time.h [__USE_MISC]: Likewise.
5736
5737 2014-02-13  Andreas Schwab  <schwab@suse.de>
5738
5739         [BZ #16574]
5740         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5741         second answer buffer if it was separately allocated.
5742
5743 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
5744
5745         * sysdeps/mips/math-tests.h: Include <features.h>.
5746         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5747         (ROUNDING_TESTS_long_double): Do not define.
5748         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5749         (EXCEPTION_TESTS_long_double): Likewise.
5750         * sysdeps/mips/mips64/libm-test-ulps: Update.
5751
5752         * include/features.h (__USE_BSD): Remove macro definitions.
5753         (__USE_SVID): Likewise.
5754         (_BSD_SOURCE): Likewise.
5755         (_SVID_SOURCE): Likewise.
5756         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5757         from definition of _DEFAULT_SOURCE.
5758         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5759         [_DEFAULT_SOURCE].
5760         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5761         * bits/mman.h [__USE_BSD]: Likewise.
5762         * bits/termios.h [__USE_BSD]: Likewise.
5763         * bits/waitstatus.h [__USE_BSD]: Likewise.
5764         * ctype/ctype.h [__USE_SVID]: Likewise.
5765         * dirent/dirent.h [__USE_BSD]: Likewise.
5766         * grp/grp.h [__USE_SVID]: Likewise.
5767         [__USE_BSD]: Likewise.
5768         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5769         * io/fcntl.h [__USE_BSD]: Likewise.
5770         * io/ftw.h [__USE_BSD]: Likewise.
5771         * io/sys/stat.h [__USE_BSD]: Likewise.
5772         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5773         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5774         * libio/stdio.h [__USE_SVID]: Likewise.
5775         [__USE_BSD]: Likewise.
5776         * math/math.h [__USE_SVID]: Likewise.
5777         [__USE_BSD]: Likewise.
5778         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5779         * misc/bits/syslog.h [__USE_BSD]: Likewise.
5780         * misc/search.h [__USE_SVID]: Likewise.
5781         * misc/sys/mman.h [__USE_BSD]: Likewise.
5782         * misc/sys/syslog.h [__USE_BSD]: Likewise.
5783         * misc/sys/uio.h [__USE_BSD]: Likewise.
5784         * posix/bits/unistd.h [__USE_BSD]: Likewise.
5785         * posix/glob.h [__USE_BSD]: Likewise.
5786         * posix/regex.h [__USE_BSD]: Likewise.
5787         * posix/sys/types.h [__USE_BSD]: Likewise.
5788         [__USE_SVID]: Likewise.
5789         * posix/sys/utsname.h [__USE_SVID]: Likewise.
5790         * posix/sys/wait.h [__USE_BSD]: Likewise.
5791         [__USE_SVID]: Likewise.
5792         * posix/unistd.h [__USE_BSD]: Likewise.
5793         [__USE_SVID]: Likewise.
5794         * pwd/pwd.h [__USE_SVID]: Likewise.
5795         * resolv/netdb.h [__USE_BSD]: Likewise.
5796         * setjmp/setjmp.h [__USE_BSD]: Likewise.
5797         * signal/signal.h [__USE_BSD]: Likewise.
5798         [__USE_SVID]: Likewise.
5799         * socket/sys/socket.h [__USE_BSD]: Likewise.
5800         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5801         * stdlib/stdlib.h [__USE_BSD]: Likewise.
5802         [__USE_SVID]: Likewise.
5803         * string/bits/string2.h [__USE_BSD]: Likewise.
5804         [__USE_SVID]: Likewise.
5805         * string/bits/string3.h [__USE_BSD]: Likewise.
5806         * string/endian.h [__USE_BSD]: Likewise.
5807         * string/string.h [__USE_SVID]: Likewise.
5808         [__USE_BSD]: Likewise.
5809         * string/strings.h [__USE_BSD]: Likewise.
5810         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5811         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5812         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5813         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5814         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5815         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5816         Likewise.
5817         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5818         Likewise.
5819         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5820         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5821         Likewise.
5822         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5823         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5824         Likewise.
5825         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5826         Likewise.
5827         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5828         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5829         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5830         Likewise.
5831         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5832         Likewise.
5833         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5834         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5835         * termios/termios.h [__USE_BSD]: Likewise.
5836         * time/sys/time.h [__USE_BSD]: Likewise.
5837         * time/time.h [__USE_BSD]: Likewise.
5838         [__USE_SVID]: Likewise.
5839
5840         * Makefile (subdir_targets): Remove subdir_lint.out.
5841
5842         * stdio-common/Makefile (do-tst-unbputc): Remove target.
5843         (do-tst-printf): Likewise.
5844         (tests): Depend directly on $(objpfx)tst-unbputc.out and
5845         $(objpfx)tst-printf.out.
5846
5847         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5848
5849         * Makerules (check-abi-%): Change target to
5850         $(objpfx)check-abi-%.out.
5851         (check-abi target): Update dependencies.
5852         (check-abi-pattern variable): Redirect output of diff to $@.
5853         (check-abi variable): Likewise.
5854         * elf/Makefile (check-abi): Update dependencies.
5855
5856         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5857         unused.
5858         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5859         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5860         subnormal range.
5861         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5862         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5863         value has largest subnormal exponent.
5864         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5865         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5866         * sysdeps/aarch64/soft-fp/sfp-machine.h
5867         (_FP_TININESS_AFTER_ROUNDING): New macro.
5868         * sysdeps/alpha/soft-fp/sfp-machine.h
5869         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5870         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5871         Likewise.
5872         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5873         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5874         * sysdeps/mips/soft-fp/sfp-machine.h
5875         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5876         * sysdeps/powerpc/soft-fp/sfp-machine.h
5877         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5878         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5879         Likewise.
5880         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5881         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5882         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5883         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5884         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5885         Likewise.
5886
5887 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
5888
5889         [BZ #16545]
5890         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5891         model 1.
5892
5893 2014-02-12  Richard Henderson  <rth@redhat.com>
5894
5895         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5896         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5897         * sysdeps/unix/sysv/linux/alpha: Move directory from
5898         ports/sysdeps/unix/sysv/linux/alpha.
5899         * README: Update listing for alpha-*-linux-gnu.
5900
5901 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
5902
5903         * include/features.h: Update comment documenting feature test
5904         macros.
5905         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
5906         _DEFAULT_SOURCE.
5907         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5908         (_SVID_SOURCE): Likewise.
5909         (_DEFAULT_SOURCE): Update description of default features.
5910         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5911         with _GNU_SOURCE.
5912         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5913         (S_ISVTX): Likewise.
5914         * manual/math.texi (Mathematical Constants): Likewise.
5915         * manual/signal.texi (Interrupted Primitives): Likewise.
5916         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5917         * math/test-matherr.c (_SVID_SOURCE): Do not define.
5918         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5919         Don't refer to _SVID_SOURCE in warning text.
5920
5921         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5922
5923         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5924         already defined.
5925         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5926         * sysdeps/mips/dl-lookup.c: Remove.
5927         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5928
5929 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5930
5931         [BZ #16447]
5932         * math/auto-libm-test-in: Add testcase for expl.
5933         * math/auto-libm-test-out: Regenerate.
5934         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5935         calculation of unsafe.
5936         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5937
5938 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5939
5940         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5941         * sysdeps/unix/sysv/linux/aarch64: Move directory from
5942         ports/sysdeps/unix/sysv/linux/aarch64.
5943         * README: Update listing for aarch64*-*-linux-gnu.
5944
5945 2014-02-11  Will Newton  <will.newton@linaro.org>
5946
5947         * manual/probes.texi (Mathematical Function Probes): Use
5948         "triggered" instead of "hit".
5949
5950         * manual/probes.texi (Internal Probes): Add documentation
5951         of setjmp, longjmp and longjmp_target probes.
5952
5953         * include/stap-probe.h: Add comment about probe argument
5954         format.
5955
5956         * malloc/mtrace.c (attribute_hidden): Remove unused macro
5957         definition.  (tr_where, tr_freehook, tr_mallochook,
5958         tr_reallochook, tr_memalignhook): Use ANSI protoype.
5959
5960 2014-02-11  David S. Miller  <davem@davemloft.net>
5961
5962         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5963         processing int_tests.
5964
5965 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
5966
5967         * sysdeps/mips: Move directory from ports/sysdeps/mips.
5968         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5969         * sysdeps/unix/sysv/linux/mips: Move directory from
5970         ports/sysdeps/unix/sysv/linux/mips.
5971         * README: Update listing for mips-*-linux-gnu and
5972         mips64-*-linux-gnu.
5973
5974 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
5975
5976         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5977         * sysdeps/unix/sysv/linux/m68k: Move directory from
5978         ports/sysdeps/unix/sysv/linux/m68k.
5979         * README: Update listing for m68k-*-linux-gnu.
5980
5981 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
5982
5983         * sysdeps/tile: Move directory from ports/sysdeps/tile.
5984         * sysdeps/unix/sysv/linux/generic: Move directory from
5985         ports/sysdeps/unix/sysv/linux/generic.
5986         * sysdeps/unix/sysv/linux/tile: Move directory from
5987         ports/sysdeps/unix/sysv/linux/tile.
5988         * README: Update listing for tile*-*-linux-gnu.
5989
5990 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
5991
5992         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5993         __builtin_expect.
5994         * benchtests/bench-memmem.c (simple_memmem): Likewise.
5995         * catgets/open_catalog.c (__open_catalog): Likewise.
5996         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5997         * debug/confstr_chk.c: Likewise.
5998         * debug/fread_chk.c (__fread_chk): Likewise.
5999         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6000         * debug/getgroups_chk.c: Likewise.
6001         * debug/mbsnrtowcs_chk.c: Likewise.
6002         * debug/mbsrtowcs_chk.c: Likewise.
6003         * debug/mbstowcs_chk.c: Likewise.
6004         * debug/memcpy_chk.c: Likewise.
6005         * debug/memmove_chk.c: Likewise.
6006         * debug/mempcpy_chk.c: Likewise.
6007         * debug/memset_chk.c: Likewise.
6008         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6009         * debug/strcat_chk.c (__strcat_chk): Likewise.
6010         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6011         * debug/strncat_chk.c (__strncat_chk): Likewise.
6012         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6013         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6014         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6015         * debug/wcpncpy_chk.c: Likewise.
6016         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6017         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6018         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6019         * debug/wcsncpy_chk.c: Likewise.
6020         * debug/wcsnrtombs_chk.c: Likewise.
6021         * debug/wcsrtombs_chk.c: Likewise.
6022         * debug/wcstombs_chk.c: Likewise.
6023         * debug/wmemcpy_chk.c: Likewise.
6024         * debug/wmemmove_chk.c: Likewise.
6025         * debug/wmempcpy_chk.c: Likewise.
6026         * debug/wmemset_chk.c: Likewise.
6027         * dirent/scandirat.c (SCANDIRAT): Likewise.
6028         * dlfcn/dladdr1.c (dladdr1): Likewise.
6029         * dlfcn/dladdr.c (dladdr): Likewise.
6030         * dlfcn/dlclose.c (dlclose_doit): Likewise.
6031         * dlfcn/dlerror.c (__dlerror): Likewise.
6032         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6033         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6034         * dlfcn/dlopen.c (dlopen_doit): Likewise.
6035         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6036         * dlfcn/dlsym.c (dlsym_doit): Likewise.
6037         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6038         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6039         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6040         Likewise.
6041         * elf/dl-conflict.c: Likewise.
6042         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6043         * elf/dl-dst.h: Likewise.
6044         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6045         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6046         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6047         * elf/dl-init.c (call_init, _dl_init): Likewise.
6048         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
6049         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6050         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6051         Likewise.
6052         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6053         Likewise.
6054         * elf/dl-minimal.c (__libc_memalign): Likewise.
6055         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6056         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6057         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6058         * elf/dl-sym.c (do_sym): Likewise.
6059         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6060         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
6061         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6062         * elf/dl-writev.h (_dl_writev): Likewise.
6063         * elf/ldconfig.c (search_dir): Likewise.
6064         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6065         (dl_main): Likewise.
6066         * elf/setup-vdso.h (setup_vdso): Likewise.
6067         * grp/compat-initgroups.c (compat_call): Likewise.
6068         * grp/fgetgrent.c (fgetgrent): Likewise.
6069         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6070         * grp/putgrent.c (putgrent): Likewise.
6071         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6072         Likewise.
6073         * hurd/hurdinit.c: Likewise.
6074         * iconvdata/8bit-gap.c (struct): Likewise.
6075         * iconvdata/ansi_x3.110.c : Likewise.
6076         * iconvdata/big5.c : Likewise.
6077         * iconvdata/big5hkscs.c : Likewise.
6078         * iconvdata/cp1255.c: Likewise.
6079         * iconvdata/cp1258.c : Likewise.
6080         * iconvdata/cp932.c : Likewise.
6081         * iconvdata/euc-cn.c: Likewise.
6082         * iconvdata/euc-jisx0213.c : Likewise.
6083         * iconvdata/euc-jp.c: Likewise.
6084         * iconvdata/euc-jp-ms.c : Likewise.
6085         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6086         * iconvdata/gb18030.c : Likewise.
6087         * iconvdata/gbbig5.c (const): Likewise.
6088         * iconvdata/gbgbk.c: Likewise.
6089         * iconvdata/gbk.c : Likewise.
6090         * iconvdata/ibm1364.c : Likewise.
6091         * iconvdata/ibm930.c : Likewise.
6092         * iconvdata/ibm932.c: Likewise.
6093         * iconvdata/ibm933.c : Likewise.
6094         * iconvdata/ibm935.c : Likewise.
6095         * iconvdata/ibm937.c : Likewise.
6096         * iconvdata/ibm939.c : Likewise.
6097         * iconvdata/ibm943.c: Likewise.
6098         * iconvdata/iso_11548-1.c: Likewise.
6099         * iconvdata/iso-2022-cn.c : Likewise.
6100         * iconvdata/iso-2022-cn-ext.c : Likewise.
6101         * iconvdata/iso-2022-jp-3.c: Likewise.
6102         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6103         * iconvdata/iso-2022-kr.c : Likewise.
6104         * iconvdata/iso646.c (gconv_end): Likewise.
6105         * iconvdata/iso_6937-2.c : Likewise.
6106         * iconvdata/iso_6937.c : Likewise.
6107         * iconvdata/iso8859-1.c: Likewise.
6108         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6109         * iconvdata/shift_jisx0213.c : Likewise.
6110         * iconvdata/sjis.c : Likewise.
6111         * iconvdata/t.61.c : Likewise.
6112         * iconvdata/tcvn5712-1.c : Likewise.
6113         * iconvdata/tscii.c: Likewise.
6114         * iconvdata/uhc.c : Likewise.
6115         * iconvdata/unicode.c (gconv_end): Likewise.
6116         * iconvdata/utf-16.c (gconv_end): Likewise.
6117         * iconvdata/utf-32.c (gconv_end): Likewise.
6118         * iconvdata/utf-7.c (base64): Likewise.
6119         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6120         * iconv/gconv_close.c (__gconv_close): Likewise.
6121         * iconv/gconv_open.c (__gconv_open): Likewise.
6122         * iconv/gconv_simple.c (internal_ucs4_loop_single)
6123         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6124         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6125         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6126         (ucs4le_internal_loop_single): Likewise.
6127         * iconv/iconv.c (iconv): Likewise.
6128         * iconv/iconv_close.c: Likewise.
6129         * iconv/loop.c (SINGLE): Likewise.
6130         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6131         * include/atomic.h: Likewise.
6132         * inet/inet6_option.c (option_alloc): Likewise.
6133         * intl/bindtextdom.c (set_binding_values): Likewise.
6134         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6135         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6136         * intl/localealias.c (read_alias_file): Likewise.
6137         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6138         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6139         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
6140         * libio/fmemopen.c (fmemopen): Likewise.
6141         * libio/iofgets.c (_IO_fgets): Likewise.
6142         * libio/iofgets_u.c (fgets_unlocked): Likewise.
6143         * libio/iofgetws.c (fgetws): Likewise.
6144         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6145         * libio/iogetdelim.c (_IO_getdelim): Likewise.
6146         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6147         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
6148         * locale/findlocale.c (_nl_find_locale): Likewise.
6149         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6150         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6151         Likewise.
6152         * locale/setlocale.c (setlocale): Likewise.
6153         * login/programs/pt_chown.c (main): Likewise.
6154         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6155         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
6156         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6157         (mmap, mmap64, mremap, munmap): Likewise.
6158         * math/e_exp2l.c: Likewise.
6159         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6160         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6161         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6162         * math/s_catan.c (__catan): Likewise.
6163         * math/s_catanf.c (__catanf): Likewise.
6164         * math/s_catanh.c (__catanh): Likewise.
6165         * math/s_catanhf.c (__catanhf): Likewise.
6166         * math/s_catanhl.c (__catanhl): Likewise.
6167         * math/s_catanl.c (__catanl): Likewise.
6168         * math/s_ccosh.c (__ccosh): Likewise.
6169         * math/s_ccoshf.c (__ccoshf): Likewise.
6170         * math/s_ccoshl.c (__ccoshl): Likewise.
6171         * math/s_cexp.c (__cexp): Likewise.
6172         * math/s_cexpf.c (__cexpf): Likewise.
6173         * math/s_cexpl.c (__cexpl): Likewise.
6174         * math/s_clog10.c (__clog10): Likewise.
6175         * math/s_clog10f.c (__clog10f): Likewise.
6176         * math/s_clog10l.c (__clog10l): Likewise.
6177         * math/s_clog.c (__clog): Likewise.
6178         * math/s_clogf.c (__clogf): Likewise.
6179         * math/s_clogl.c (__clogl): Likewise.
6180         * math/s_csin.c (__csin): Likewise.
6181         * math/s_csinf.c (__csinf): Likewise.
6182         * math/s_csinh.c (__csinh): Likewise.
6183         * math/s_csinhf.c (__csinhf): Likewise.
6184         * math/s_csinhl.c (__csinhl): Likewise.
6185         * math/s_csinl.c (__csinl): Likewise.
6186         * math/s_csqrt.c (__csqrt): Likewise.
6187         * math/s_csqrtf.c (__csqrtf): Likewise.
6188         * math/s_csqrtl.c (__csqrtl): Likewise.
6189         * math/s_ctan.c (__ctan): Likewise.
6190         * math/s_ctanf.c (__ctanf): Likewise.
6191         * math/s_ctanh.c (__ctanh): Likewise.
6192         * math/s_ctanhf.c (__ctanhf): Likewise.
6193         * math/s_ctanhl.c (__ctanhl): Likewise.
6194         * math/s_ctanl.c (__ctanl): Likewise.
6195         * math/w_pow.c: Likewise.
6196         * math/w_powf.c: Likewise.
6197         * math/w_powl.c: Likewise.
6198         * math/w_scalb.c (sysv_scalb): Likewise.
6199         * math/w_scalbf.c (sysv_scalbf): Likewise.
6200         * math/w_scalbl.c (sysv_scalbl): Likewise.
6201         * misc/error.c (error_tail): Likewise.
6202         * misc/pselect.c (__pselect): Likewise.
6203         * nis/nis_callback.c (__nis_create_callback): Likewise.
6204         * nis/nis_call.c (__nisfind_server): Likewise.
6205         * nis/nis_creategroup.c (nis_creategroup): Likewise.
6206         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6207         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6208         * nis/nis_getservlist.c (nis_getservlist): Likewise.
6209         * nis/nis_lookup.c (nis_lookup): Likewise.
6210         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
6211         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6212         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
6213         * nis/nis_xdr.c (xdr_endpoint): Likewise.
6214         * nis/nss_compat/compat-grp.c (getgrent_next_file)
6215         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6216         * nis/nss_compat/compat-initgroups.c (add_group)
6217         (internal_getgrent_r): Likewise.
6218         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6219         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6220         * nis/nss_compat/compat-spwd.c (getspent_next_file)
6221         (internal_getspnam_r): Likewise.
6222         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6223         (_nss_nis_getaliasbyname_r): Likewise.
6224         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6225         (_nss_nis_getntohost_r): Likewise.
6226         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6227         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6228         (_nss_nis_getgrgid_r): Likewise.
6229         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6230         (internal_nis_gethostent_r, internal_gethostbyname2_r)
6231         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6232         (_nss_nis_gethostbyname4_r): Likewise.
6233         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6234         (initgroups_netid): Likewise.
6235         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6236         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6237         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6238         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6239         (_nss_nis_getprotobynumber_r): Likewise.
6240         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6241         (_nss_nis_getsecretkey): Likewise.
6242         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6243         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6244         (_nss_nis_getpwuid_r): Likewise.
6245         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6246         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6247         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6248         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6249         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6250         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
6251         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6252         Likewise.
6253         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6254         (_nss_nisplus_getntohost_r): Likewise.
6255         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6256         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6257         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6258         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
6259         Likewise.
6260         * nis/nss_nisplus/nisplus-initgroups.c
6261         (_nss_nisplus_initgroups_dyn): Likewise.
6262         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6263         (_nss_nisplus_getnetbyaddr_r): Likewise.
6264         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6265         (_nss_nisplus_getprotobynumber_r): Likewise.
6266         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6267         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
6268         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6269         Likewise.
6270         * nis/nss_nisplus/nisplus-service.c
6271         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6272         (_nss_nisplus_getservbyport_r): Likewise.
6273         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6274         (_nss_nisplus_getspnam_r): Likewise.
6275         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6276         Likewise.
6277         * nscd/aicache.c (addhstaiX): Likewise.
6278         * nscd/cache.c (cache_search, prune_cache): Likewise.
6279         * nscd/connections.c (register_traced_file, send_ro_fd)
6280         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6281         (main_loop_epoll): Likewise.
6282         * nscd/grpcache.c (addgrbyX): Likewise.
6283         * nscd/hstcache.c (addhstbyX): Likewise.
6284         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6285         * nscd/mem.c (gc, mempool_alloc): Likewise.
6286         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6287         (addinnetgrX): Likewise.
6288         * nscd/nscd-client.h (__nscd_acquire_maplock)
6289         (__nscd_drop_map_ref): Likewise.
6290         * nscd/nscd_getai.c (__nscd_getai): Likewise.
6291         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6292         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6293         Likewise.
6294         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6295         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6296         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6297         (__nscd_get_map_ref): Likewise.
6298         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6299         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6300         Likewise.
6301         * nscd/pwdcache.c (addpwbyX): Likewise.
6302         * nscd/selinux.c (preserve_capabilities): Likewise.
6303         * nscd/servicescache.c (addservbyX): Likewise.
6304         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6305         * posix/fnmatch.c (fnmatch): Likewise.
6306         * posix/getopt.c (_getopt_internal_r): Likewise.
6307         * posix/glob.c (glob, glob_in_dir): Likewise.
6308         * posix/wordexp.c (exec_comm_child): Likewise.
6309         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6310         (getanswer_r, gaih_getanswer_slice): Likewise.
6311         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6312         * resolv/res_init.c: Likewise.
6313         * resolv/res_mkquery.c (res_nmkquery): Likewise.
6314         * resolv/res_query.c (__libc_res_nquery): Likewise.
6315         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6316         Likewise.
6317         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6318         * stdio-common/perror.c (perror): Likewise.
6319         * stdio-common/printf_fp.c (___printf_fp): Likewise.
6320         * stdio-common/tmpnam.c (tmpnam): Likewise.
6321         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6322         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
6323         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6324         Likewise.
6325         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6326         * stdlib/putenv.c (putenv): Likewise.
6327         * stdlib/setenv.c (__add_to_environ): Likewise.
6328         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6329         * stdlib/strtol_l.c (INTERNAL): Likewise.
6330         * string/memmem.c (memmem): Likewise.
6331         * string/strerror.c (strerror): Likewise.
6332         * string/strnlen.c (__strnlen): Likewise.
6333         * string/test-memmem.c (simple_memmem): Likewise.
6334         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6335         * sunrpc/pm_getport.c (__get_socket): Likewise.
6336         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6337         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6338         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6339         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
6340         Likewise.
6341         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6342         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6343         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6344         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6345         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
6346         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6347         Likewise.
6348         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6349         Likewise.
6350         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6351         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6352         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6353         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6354         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6355         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6356         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6357         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6358         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6359         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6360         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6361         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6362         Likewise.
6363         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6364         Likewise.
6365         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6366         Likewise.
6367         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6368         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6369         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6370         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6371         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6372         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6373         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6374         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6375         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6376         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6377         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6378         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6379         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6380         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6381         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6382         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6383         Likewise.
6384         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6385         Likewise.
6386         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6387         Likewise.
6388         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6389         Likewise.
6390         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6391         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6392         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6393         Likewise.
6394         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6395         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6396         * sysdeps/posix/opendir.c (__opendirat): Likewise.
6397         * sysdeps/posix/sleep.c: Likewise.
6398         * sysdeps/posix/tempname.c: Likewise.
6399         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6400         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6401         Likewise.
6402         * sysdeps/powerpc/powerpc32/dl-machine.h
6403         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
6404         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6405         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6406         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6407         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6408         Likewise.
6409         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
6410         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6411         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6412         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6413         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6414         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6415         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6416         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6417         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6418         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
6419         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6420         (elf_machine_lazy_rel): Likewise.
6421         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6422         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6423         (elf_machine_lazy_rel): Likewise.
6424         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6425         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6426         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6427         * sysdeps/unix/grantpt.c (grantpt): Likewise.
6428         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6429         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6430         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6431         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6432         Likewise.
6433         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6434         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6435         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6436         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6437         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6438         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6439         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6440         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6441         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6442         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6443         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6444         Likewise.
6445         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6446         (__posix_fallocate64_l64): Likewise.
6447         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6448         (posix_fallocate): Likewise.
6449         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6450         Likewise.
6451         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6452         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6453         (getifaddrs_internal): Likewise.
6454         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6455         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6456         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6457         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6458         * sysdeps/unix/sysv/linux/posix_fallocate64.c
6459         (__posix_fallocate64_l64): Likewise.
6460         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6461         Likewise.
6462         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
6463         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6464         (__get_clockfreq): Likewise.
6465         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6466         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6467         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6468         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6469         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6470         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6471         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6472         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6473         Likewise.
6474         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6475         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6476         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6477         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6478         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6479         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6480         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6481         Likewise.
6482         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6483         (posix_fallocate): Likewise.
6484         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6485         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6486         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
6487         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6488         (elf_machine_rela, elf_machine_rela_relative)
6489         (elf_machine_lazy_rel): Likewise.
6490         * time/asctime.c (asctime_internal): Likewise.
6491         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6492         * time/tzset.c (__tzset_parse_tz): Likewise.
6493         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6494         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6495         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6496         * wcsmbs/wcsmbsload.h: Likewise.
6497
6498         [BZ #15894]
6499         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6500
6501         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6502         (arena_get2): Remove THREAD_STATS conditionals.
6503         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6504         (__malloc_stats, int): Likewise.
6505
6506 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
6507
6508         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6509         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
6510
6511         * manual/setjmp.texi: Fix typos/grammar errors.
6512
6513         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6514         Only return early when n is <= 0.  Delete unused return statement.
6515
6516         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6517         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6518         * debug/tst-longjmp_chk3.c: New file.
6519
6520         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6521         (test_main): Replace code with set_fortify_handler call.
6522         * debug/test-strcpy_chk.c: Likewise.
6523         * debug/tst-chk1.c: Likewise.
6524         * debug/tst-longjmp_chk.c: Likewise.
6525         * test-skeleton.c: Include fcntl.h & paths.h
6526         (set_fortify_handler): Define.
6527
6528         * debug/tst-longjmp_chk.c: Add header comment and include
6529         ../test-skeleton.c.
6530         (do_test): Mark static.
6531         (TEST_FUNCTION): Define.
6532
6533         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6534         (IP_PMTUDISC_INTERFACE): Likewise.
6535         (IP_MULTICAST_IF): Likewise.
6536         (IP_MULTICAST_TTL): Likewise.
6537         (IP_MULTICAST_LOOP): Likewise.
6538         (IP_ADD_MEMBERSHIP): Likewise.
6539         (IP_DROP_MEMBERSHIP): Likewise.
6540         (IP_UNBLOCK_SOURCE): Likewise.
6541         (IP_BLOCK_SOURCE): Likewise.
6542         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6543         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6544         (IP_MSFILTER): Likewise.
6545         (MCAST_JOIN_GROUP): Likewise.
6546         (MCAST_BLOCK_SOURCE): Likewise.
6547         (MCAST_UNBLOCK_SOURCE): Likewise.
6548         (MCAST_LEAVE_GROUP): Likewise.
6549         (MCAST_JOIN_SOURCE_GROUP): Likewise.
6550         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6551         (MCAST_MSFILTER): Likewise.
6552         (IP_MULTICAST_ALL): Likewise.
6553         (IP_UNICAST_IF): Likewise.
6554
6555         * timezone/Makefile: Delete $(have-ksh) check.
6556         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6557         * timezone/tzselect.ksh: Add +x mode bits.
6558
6559         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6560         (ANON_INODE_FS_MAGIC): Likewise.
6561         (BDEVFS_MAGIC): Likewise.
6562         (BINFMTFS_MAGIC): Likewise.
6563         (BTRFS_TEST_MAGIC): Likewise.
6564         (CRAMFS_MAGIC_WEND): Likewise.
6565         (DEBUGFS_MAGIC): Likewise.
6566         (ECRYPTFS_SUPER_MAGIC): Likewise.
6567         (EXT3_SUPER_MAGIC): Likewise.
6568         (EXT4_SUPER_MAGIC): Likewise.
6569         (FUTEXFS_SUPER_MAGIC): Likewise.
6570         (HOSTFS_SUPER_MAGIC): Likewise.
6571         (HUGETLBFS_MAGIC): Likewise.
6572         (MINIX3_SUPER_MAGIC): Likewise.
6573         (MTD_INODE_FS_MAGIC): Likewise.
6574         (NILFS_SUPER_MAGIC): Likewise.
6575         (OPENPROM_SUPER_MAGIC): Likewise.
6576         (PIPEFS_MAGIC): Likewise.
6577         (PSTOREFS_MAGIC): Likewise.
6578         (QNX6_SUPER_MAGIC): Likewise.
6579         (RAMFS_MAGIC): Likewise.
6580         (REISERFS_SUPER_MAGIC_STRING): Likewise.
6581         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6582         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6583         (SECURITYFS_MAGIC): Likewise.
6584         (SELINUX_MAGIC): Likewise.
6585         (SMACK_MAGIC): Likewise.
6586         (SOCKFS_MAGIC): Likewise.
6587         (SQUASHFS_MAGIC): Likewise.
6588         (STACK_END_MAGIC): Likewise.
6589         (TMPFS_MAGIC): Likewise.
6590         (USBDEVICE_SUPER_MAGIC): Likewise.
6591         (V9FS_MAGIC): Likewise.
6592         (XENFS_SUPER_MAGIC): Likewise.
6593         (CRAMFS_MAGIC): Fix typo in comment.
6594         (EXT2_SUPER_MAGIC): Update comment.
6595         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6596
6597 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
6598
6599         * sysdeps/arm: Move directory from ports/sysdeps/arm.
6600         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6601         * sysdeps/unix/sysv/linux/arm: Move directory from
6602         ports/sysdeps/unix/sysv/linux/arm.
6603         * README: Update listing for arm-*-linux-gnueabi.
6604
6605         * README: Remove mention of am33.
6606
6607 2014-02-07  Roland McGrath  <roland@hack.frob.com>
6608
6609         * bits/sigset.h (__sigemptyset): Use a statement expression rather
6610         than the comma operator, to avoid "rhs of comma has no effect"
6611         compiler warnings.
6612         (__sigfillset, __sigandset, __sigorset): Likewise.
6613         * include/signal.h (__sigemptyset): Likewise.
6614         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6615
6616 2014-02-07  Allan McRae  <allan@archlinux.org>
6617
6618         * version.h (RELEASE): Set to "development".
6619         (VERSION): Set to "2.19.90"
6620         * NEWS: Add 2.20 section.
6621
6622 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
6623
6624         [BZ #16529]
6625         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6626
6627 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
6628
6629         * manual/contrib.texi: Update entry for Carlos O'Donell,
6630         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6631
6632 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
6633
6634         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6635
6636         * sysdeps/unix/sysv/linux/kernel-features.h
6637         [__LINUX_KERNEL_VERSION >= 0x020621]
6638         (__ASSUME_PROC_PID_TASK_COMM): Define.
6639
6640 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6641
6642         [BZ #16398]
6643         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6644         conversion when destination buffer does not have enough space.
6645         * libio/tst-ftell-partial-wide.c: New test case.
6646         * libio/Makefile (tests): Add tst-ftell-partial-wide.
6647
6648         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6649         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
6650         Leonard and Allan McRae.
6651
6652 2014-02-04  David S. Miller  <davem@davemloft.net>
6653
6654         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6655         32-bit.
6656
6657 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6658
6659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6660         New file
6661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6662         New file
6663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6664         New file.
6665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6666         New file.
6667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6668         New file.
6669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6670         New file.
6671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6672         New file.
6673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6674         New file.
6675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6676         New file.
6677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6678         New file.
6679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6680         New file.
6681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6682         New file.
6683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6684         New file.
6685
6686 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6687
6688         * nptl/shlib-versions: Change powerpc*le start to 2.17.
6689         * shlib-versions: Likewise.
6690
6691 2014-02-04  Roland McGrath  <roland@hack.frob.com>
6692             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6693
6694         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6695         (abilist-pattern): New variable, set to %-le.abilist.
6696
6697         * Makerules (abilist-pattern): New variable.
6698         (vpath): Use $(abilist-pattern) in place of %.abilist.
6699         (check-abi-% pattern rule): Likewise.
6700         (check-abi, update-abi): Likewise.
6701
6702 2014-02-04  Eric Wong  <normalperson@yhbt.net>
6703
6704         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6705
6706 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
6707
6708         * manual/startup.texi: Add next, previous, and top entries for
6709         the `Program Arguments' and `Environment Variables' nodes.
6710
6711 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
6712
6713         * manual/macros.texi: Add comments before MTASC-safety macros.
6714
6715         * manual/users.texi: Document MTASC-safety properties.
6716
6717         * manual/threads.texi (pthread_key_create, pthread_key_delete)
6718         (pthread_getspecific, pthread_setspecific): Format with
6719         @deftypefun, and add @safety note.
6720         * manual/signal.texi: Move comments that analyze the above
6721         functions to their home place.
6722
6723 2014-02-03  Allan McRae  <allan@archlinux.org>
6724
6725         * po/sl.po: Update Slovenian translation from translation project.
6726
6727 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
6728
6729         * manual/time.texi (timegm): Add missing blank after @c.
6730         Reported by Joseph Myers <joseph@codesourcery.com>.
6731
6732 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
6733
6734         * manual/check-safety.sh: New.
6735         * manual/Makefile ($(objpfx)stamp-summary): Run it.
6736
6737         * manual/terminal.texi: Document MTASC-safety properties.
6738
6739         * manual/filesys.texi: Document MTASC-safety properties.
6740
6741         * manual/errno.texi: Document MTASC-safety properties.
6742
6743         * manual/intro.texi: Document safety identifiers and
6744         conditionals.
6745
6746         * manual/string.texi (wcstok): Fix prototype.
6747         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6748
6749         * manual/time.texi: Document MTASC-safety properties.
6750
6751         * manual/string.texi: Document MTASC-safety properties.
6752
6753         * manual/threads.texi: Document MTASC-safety properties.
6754
6755         * manual/stdio.texi: Document MTASC-safety properties.
6756
6757         * manual/syslog.texi: Document MTASC-safety properties.
6758
6759         * manual/sysinfo.texi: Document MTASC-safety properties.
6760
6761         * manual/startup.texi: Document MTASC-safety properties.
6762
6763         * manual/socket.texi: Document MTASC-safety properties.
6764
6765         * manual/signal.texi: Document MTASC-safety properties.
6766
6767 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
6768
6769         * manual/setjmp.texi: Document MTASC-safety properties.
6770
6771         * manual/search.texi: Document MTASC-safety properties.
6772
6773         * manual/resource.texi: Document MTASC-safety properties.
6774
6775         * manual/process.texi: Document MTASC-safety properties.
6776
6777         * manual/platform.texi: Document MTASC-safety properties.
6778
6779         * manual/pipe.texi: Document MTASC-safety properties.
6780
6781         * manual/pattern.texi: Document MTASC-safety properties.
6782
6783         * manual/message.texi: Document MTASC-safety properties.
6784
6785         [BZ #12751]
6786         * manual/memory.texi: Document MTASC-safety properties.
6787
6788         * manual/math.texi: Document MTASC-safety properties.
6789
6790         * manual/locale.texi: Document MTASC-safety properties.
6791
6792         * manual/llio.texi: Document MTASC-safety properties.
6793
6794         * manual/libdl.texi: New.
6795
6796         * manual/lang.texi: Document MTASC-safety properties.
6797
6798         * manual/job.texi: Document MTASC-safety properties.
6799
6800         * manual/getopt.texi: Document MTASC-safety properties.
6801
6802         * manual/ctype.texi: Document MTASC-safety properties.
6803
6804 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
6805
6806         [BZ #16046]
6807         * csu/libc-tls.c (static_map): Remove variable.
6808         (__libc_setup_tls): Use main executable's link map for TLS data.
6809         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6810         casing for LM_ID_BASE and GL(dl_nns).
6811         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6812         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
6813         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6814         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6815         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6816         member.
6817         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6818         l_phnum members.
6819
6820 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
6821
6822         * manual/debug.texi: Document MTASC-safety properties.
6823
6824 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
6825
6826         [BZ #16510]
6827         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6828         of __x86_64__ when disabling x87 inline functions.
6829
6830 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
6831
6832         * manual/charset.texi: Document MTASC-safety properties.
6833
6834         * manual/crypt.texi: Document MTASC-safety properties.
6835
6836         * manual/conf.texi: Document MTASC-safety properties.
6837
6838         * manual/arith.texi: Document MTASC-safety properties.
6839
6840         * manual/argp.texi: Document MTASC-safety properties.
6841
6842         * manual/macros.texi: Introduce macros to document multi
6843         thread, asynchronous signal and asynchronous cancellation
6844         safety properties.
6845         * manual/intro.texi: Introduce the properties themselves.
6846
6847 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6848
6849         * sysdeps/sh/sh4/Makefile: New file.
6850
6851 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
6852
6853         * math/gen-libm-test.pl ($srcdir): New variable.
6854         ($auto_input): Use it.
6855
6856 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6857
6858         [BZ #16506]
6859         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6860         access beyond array bounds when parsing netgroups file.
6861
6862         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6863         the old buffer before realloc.
6864
6865 2014-01-27  Allan McRae  <allan@archlinux.org>
6866
6867         * po/fr.po: Update French translation from translation project.
6868
6869 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6870
6871         * sysdeps/sh/libm-test-ulps: Regenerate.
6872
6873 2014-01-24  David S. Miller  <davem@davemloft.net>
6874
6875         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6876
6877 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6878
6879         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6880         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6881
6882 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6883
6884         [BZ #16474]
6885         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6886         string pointers after reallocation.
6887
6888 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6889
6890         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6891         __SH4A__ instead of __SH_FPU_ANY__.
6892
6893 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6894
6895         * sysdeps/sh/fpu_control.h: New file.
6896         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6897         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6898         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6899         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6900         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6901         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6902         * sysdeps/sh/sys/ucontext.h: Remove.
6903         * sysdeps/sh/sys: Remove directory.
6904
6905 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6906
6907         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6908         s390/sys/ucontext.h.
6909         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6910         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6911
6912 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
6913
6914         [BZ #15605]
6915         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6916
6917 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6918
6919         [BZ#16431]
6920         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6921         Adjust the vDSO correctly for internal calls.
6922         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6923
6924 2014-01-20  Allan McRae  <allan@archlinux.org>
6925
6926         * po/ca.po: Update Catalan translation from translation project.
6927
6928 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
6929
6930         * sysdeps/s390/sotruss-lib.c: New file.
6931
6932 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6933
6934         [BZ#16430]
6935         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6936         (__GI___gettimeofday): Alias for a different internal symbol to avoid
6937         local calls issues by not having a PLT stub required for IFUNC calls.
6938         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6939
6940 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
6941
6942         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6943         * math/test-fpucw-static.c: Likewise.
6944
6945 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6946
6947         [BZ #16453]
6948         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6949
6950 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6951
6952         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6953         implementation for powerpc.
6954
6955 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
6956
6957         [BZ #14782]
6958         * sysdeps/posix/system.c (__libc_system): Do not enable
6959         asynchronous cancellation.
6960
6961 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6962
6963         [BZ #16427]
6964         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6965         handling only for numbers special also in the IEEE case.
6966
6967 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6968
6969         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6970
6971 2014-01-11  Allan McRae  <allan@archlinux.org>
6972
6973         * po/bg.po: Update Bulgarian translation from translation project.
6974
6975         * po/de.po: Update German translation from translation project.
6976
6977 2014-01-10  Roland McGrath  <roland@hack.frob.com>
6978
6979         * sysdeps/generic/gcc-compat.h: New file.
6980
6981 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6982
6983         * benchtests/asin-inputs: Correct slow inputs.
6984         * benchtests/acos-inputs: Likewise.
6985
6986 2014-01-10  Allan McRae  <allan@archlinux.org>
6987
6988         * po:sv.po: Update Swedish translation from translation project.
6989
6990         * po/vi.po: Update Vietnamese translation from translation project.
6991
6992         * po/eo.po: Update Esperanto translation from translation project.
6993
6994         * po/cs.po: Update Czech translation from translation project.
6995
6996         * po/nl.po: Update Dutch translation from translation project.
6997
6998         * po/pl.po: Update Polish translation from translation project.
6999
7000         * po/ru.po: Update Russian translation from translation project.
7001
7002         * po/uk.po: Update Ukrainian translation from translation project.
7003
7004 2014-01-08  Brooks Moses  <bmoses@google.com>
7005
7006         * elf/dl-load.c: Fix comment typo.
7007
7008 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
7009
7010         * po/header.pot: Rename to...
7011         * po/pot.header: ... this.
7012         * po/Makefile: Use pot.header.
7013
7014 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
7015             Maxim Kuvyrkov  <maxim@kugelworks.com>
7016
7017         [BZ #16394]
7018         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7019         SRC and DEST against LEN.
7020
7021 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7022
7023         [BZ #16414]
7024         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7025         implementation.
7026         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7027
7028 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7029
7030         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7031
7032 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
7033
7034         [BZ #16408]
7035         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7036         for large positive arguments.
7037
7038 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
7039
7040         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7041
7042         * math/auto-libm-test-in: Mark various tests with
7043         xfail-rounding:ldbl-128ibm.
7044         * math/auto-libm-test-out: Regenerated.
7045
7046         [BZ #16407]
7047         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7048         Increase overflow threshold.
7049
7050 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
7051
7052         [BZ #14286]
7053         * stdio-common/vfprintf.c: Check for integer overflow.
7054
7055 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7056
7057         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7058         the first argument and return value of __tls_get_addr_internal.
7059
7060 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7061
7062         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7063         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7064
7065 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7066
7067         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7068         * sysdeps/s390/rtld-global-offsets.sym: New file.
7069         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7070         GLIBC_2.19 symbol.
7071         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7072         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7073         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7074         ... this.
7075         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7076         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7077         ... this.
7078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7079         Regenerate.
7080         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7081         Regenerate.
7082         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7083         halfs of GPRs for high_gprs contexts.
7084         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7085         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
7086         field.
7087         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7088         uc_flags field.
7089         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7090         64 bit versions:
7091         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7092         for high GPRs (uc_high_gprs) and for future extensions
7093         (__reserved).
7094         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7095         for future extensions (__reserved).
7096         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7097         64 bit versions:
7098         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7099         SC_HIGHGPRS offset definition.
7100         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7101         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7102
7103         * Versions.def: Add GLIBC_2.19 for libpthread.
7104         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7105         siglongjmp for libpthread with GLIBC_2.19 symver.
7106         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7107         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7108         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7109         * sysdeps/s390/__longjmp.c: New file.
7110         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7111         * sysdeps/s390/longjmp.c: New file.
7112         * sysdeps/s390/setjmp.S: New file.
7113         * sysdeps/s390/sigjmp.S: New file.
7114         * sysdeps/s390/v1-longjmp.c: New file.
7115         * sysdeps/s390/v1-setjmp.h: New file.
7116         * sysdeps/s390/v1-sigjmp.c: New file.
7117         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7118         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7119         GLIBC_2.19 version.
7120         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7121         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7122         versioned symbols for ____longjmp_chk.
7123         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7124         Likewise.
7125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7126         Regenerate.
7127         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7128         Regenerate.
7129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7130         Regenerate.
7131         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7132         Regenerate.
7133         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7134         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7135         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7136         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7137         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7138         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7139         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7140         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7141         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7142         * sysdeps/s390/rtld-__longjmp.c: New file.
7143         * sysdeps/s390/rtld-setjmp.S: New file.
7144
7145 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
7146
7147         [BZ #16400]
7148         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7149         Return -__logl (x) for small positive arguments without evaluating
7150         a polynomial.
7151
7152 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
7153
7154         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7155         Rename to ...
7156         (__ptrace_peeksiginfo_args): ... this.
7157         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7158         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7159         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7160
7161 2014-01-06  Allan McRae  <allan@archlinux.org>
7162
7163         * inet/netinet/in.h: Fix typo in comment.
7164
7165 2014-01-05  Andreas Jaeger  <aj@suse.de>
7166
7167         * sysdeps/i386/fpu/libm-test-ulps: Update.
7168
7169 2014-01-05  Allan McRae  <allan@archlinux.org>
7170
7171         * po/libc.pot: Regenerated.
7172
7173         * malloc/memusagestat.c: Fix gettext call formatting.
7174
7175 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
7176
7177         * nscd/nscd.c: Improve usage() output.
7178
7179 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
7180
7181         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7182         * sysdeps/unix/sysv/linux/configure: Regenerated.
7183         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7184         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7185
7186 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
7187
7188         [BZ #16390]
7189         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7190         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7191
7192 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7193
7194         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7195         extra tokens at end of #undef directive.
7196         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7197         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7198         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7199
7200 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
7201
7202         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7203
7204         * math/auto-libm-test-in: Mark various tests with
7205         xfail-rounding:ldbl-128ibm.
7206         * math/auto-libm-test-out: Regenerated.
7207
7208 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
7209
7210         [BZ #16386]
7211         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7212         numbers with subnormal high part when calculating exponent.
7213
7214         [BZ #16385]
7215         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7216         fabs.
7217
7218         [BZ #16384]
7219         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7220         M_LN2l.
7221         (__ieee754_acoshl): Use __log1pl not __log1p.
7222
7223 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
7224
7225         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7226         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7227         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7228         (grow_heap, heap_trim, _int_new_arena, get_free_list)
7229         (reused_arena, arena_get2): Convert to GNU style.
7230         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7231         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7232         (memalign_check, __malloc_set_state): Likewise.
7233         * malloc/mallocbug.c (main): Likewise.
7234         * malloc/malloc.c (__malloc_assert, malloc_init_state)
7235         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7236         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7237         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7238         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7239         (__posix_memalign, malloc_info): Likewise.
7240         * malloc/malloc.h: Likewise.
7241         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7242         (mallochook, memalignhook, reallochook, mabort): Likewise.
7243         * malloc/mcheck.h: Likewise.
7244         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7245         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
7246         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7247         * malloc/morecore.c (__default_morecore): Likewise.
7248         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
7249         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7250         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7251         (print_and_abort): Likewise.
7252         * malloc/obstack.h: Likewise.
7253         * malloc/set-freeres.c (__libc_freeres): Likewise.
7254         * malloc/tst-mallocstate.c (main): Likewise.
7255         * malloc/tst-mtrace.c (main): Likewise.
7256         * malloc/tst-realloc.c (do_test): Likewise.
7257
7258 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7259
7260         [BZ #16366]
7261         * nscd/netgroupcache.c (do_notfound): New function.
7262         (addgetnetgrentX): Use it.
7263
7264         [BZ # 16365]
7265         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7266         NSS_STATUS_NOTFOUND.
7267
7268 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
7269
7270         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7272
7273 2014-01-01  Allan McRae  <allan@archlinux.org>
7274
7275         * scripts/update-copyrights: Update configure input file suffix.
7276
7277         * NEWS: Update copyright year.
7278         * catgets/gencat.c: Likewise.
7279         * csu/version.c: Likewise.
7280         * debug/catchsegv.sh: Likewise.
7281         * debug/pcprofiledump.c: Likewise.
7282         * debug/xtrace.sh: Likewise.
7283         * elf/ldconfig.c: Likewise.
7284         * elf/ldd.bash.in: Likewise.
7285         * elf/pldd.c: Likewise.
7286         * elf/sotruss.ksh: Likewise.
7287         * elf/sprof.c: Likewise.
7288         * iconv/iconv_prog.c: Likewise.
7289         * iconv/iconvconfig.c: Likewise.
7290         * locale/programs/locale.c: Likewise.
7291         * locale/programs/localedef.c: Likewise.
7292         * login/programs/pt_chown.c: Likewise.
7293         * malloc/memusage.sh: Likewise.
7294         * malloc/memusagestat.c: Likewise.
7295         * malloc/mtrace.pl: Likewise.
7296         * manual/libc.texinfo: Likewise.
7297         * nscd/nscd.c: Likewise.
7298         * nss/getent.c: Likewise.
7299         * nss/makedb.c: Likewise.
7300         * posix/getconf.c: Likewise.
7301         * scripts/test-installation.pl: Likewise.
7302
7303         * All files with FSF copyright notices: Update copyright dates
7304         using scripts/update-copyrights.
7305         * intl/plural.c: Regenerated.
7306         * locale/programs/charmap-kw.h: Likewise.
7307         * locale/programs/locfile-kw.h: Likewise.
7308
7309 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
7310
7311         * sysdeps/unix/sysv/linux/configure: Regenerated.
7312         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7313         the linux/fanotify.h header.
7314         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7315         HAVE_LINUX_FANOTIFY_H is defined.
7316
7317 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7318
7319         * benchtests/cos-inputs: New inputs.
7320         * benchtests/sin-inputs: Likewise.
7321
7322         * benchtests/atan-inputs: New inputs. Fix name of multiple
7323         precision fallback inputs.
7324
7325         * benchtests/atanh-inputs: New inputs.
7326         * benchtests/tanh-inputs: Likewise.
7327
7328         * benchtests/acosh-inputs: New inputs.
7329         * benchtests/asinh-inputs: Likewise.
7330
7331         * benchtests/cosh-inputs: New inputs.
7332         * benchtests/sinh-inputs: Likewise.
7333
7334         * benchtests/acos-inputs: Add more inputs.
7335         * benchtests/asin-inputs: Likewise.
7336
7337 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
7338
7339         [BZ #16375]
7340         * manual/arith.texi: Fix spelling.
7341         * manual/charset.texi: Likewise.
7342         * manual/errno.texi: Likewise.
7343         * manual/filesys.texi: Likewise.
7344         * manual/lang.texi: Likewise.
7345         * manual/llio.texi: Likewise.
7346         * manual/locale.texi: Likewise.
7347         * manual/message.texi: Likewise.
7348         * manual/resource.texi: Likewise.
7349         * manual/search.texi: Likewise.
7350         * manual/setjmp.texi: Likewise.
7351         * manual/stdio.texi: Likewise.
7352         * manual/string.texi: Likewise.
7353         * manual/sysinfo.texi: Likewise.
7354         * manual/time.texi: Likewise.
7355
7356 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
7357
7358         * po/sl.po: New file.
7359
7360 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
7361
7362         * .gitignore: Add core/.gdbinit/.gdb_history.
7363
7364 2013-12-27  Allan McRae  <allan@archlinux.org>
7365
7366         [BZ #16369]
7367         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7368         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7369
7370 2013-12-24  Brooks Moses  <bmoses@google.com>
7371
7372         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7373         all compilers that claim C++98 compliance, not just GCC.
7374         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7375         Likewise.
7376
7377 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
7378
7379         * NEWS: Restore accidentally deleted bug-fix entries.
7380
7381 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
7382             Ondřej Bílka  <neleai@seznam.cz>
7383
7384         [BZ #15073]
7385         * malloc/malloc.c (_int_free): Perform sanity check only if we
7386         have_lock.
7387
7388 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
7389
7390         [BZ #12986]
7391         * manual/stdio.texi (String Input Conversions): Clarify that character
7392         classes are not supported.
7393
7394 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7395
7396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7397
7398 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
7399
7400         [BZ #16337]
7401         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7402         Calculate results for small negative arguments directly rather
7403         than using reflection formula with special underflow handling.
7404
7405         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7406         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7407         sysdeps/unix/bsd/bsd4.4/syscalls.list.
7408         (fchflags): Likewise.
7409         (revoke): Likewise.
7410         (setlogin): Likewise.
7411         (sigaltstack): Likewise.
7412         (wait4): Likewise.
7413         (sigblock): Remove.
7414         (sigsetmask): Likewise.
7415         (wait3): Likewise.
7416         (waitpid): Likewise.
7417         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7418         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7419         file.
7420         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7421         * sysdeps/unix/bsd/Makefile: ... here.
7422         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7423         * sysdeps/unix/bsd/Versions: ... here.
7424         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7425         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7426         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7427         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7428         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7429         * sysdeps/unix/bsd/sigblock.c: ... here.
7430         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7431         * sysdeps/unix/bsd/sigsetmask.c: ... here.
7432         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7433         * sysdeps/unix/bsd/sigvec.c: ... here.
7434         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7435         * sysdeps/unix/bsd/tcdrain.c: ... here.
7436         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7437         * sysdeps/unix/bsd/tcgetattr.c: ... here.
7438         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7439         * sysdeps/unix/bsd/tcsetattr.c: ... here.
7440         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7441         * sysdeps/unix/bsd/wait.c: ... here.
7442         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7443         * sysdeps/unix/bsd/wait3.c: ... here.
7444         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7445         * sysdeps/unix/bsd/waitpid.c: ... here.
7446
7447 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
7448
7449         [BZ #16356]
7450         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7451         round-to-nearest for [!USE_AS_EXPM1L].
7452         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7453         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
7454         more tests of exp and exp10.  Expect some exp10 tests to miss
7455         exceptions or fail in directed rounding modes.
7456         * math/auto-libm-test-out: Regenerated.
7457         * math/libm-test.inc (exp10_tonearest_test_data): New array.
7458         (exp10_test_tonearest): New function.
7459         (exp10_towardzero_test_data): New array.
7460         (exp10_test_towardzero): New function.
7461         (exp10_downward_test_data): New array.
7462         (exp10_test_downward): New function.
7463         (exp10_upward_test_data): New array.
7464         (exp10_test_upward): New function.
7465         (main): Call the new functions.
7466         * sysdeps/i386/fpu/libm-test-ulps: Update.
7467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7468
7469 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
7470
7471         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7472         asinh, atan, atan2, atanh, cbrt, cos and cosh.
7473         * math/auto-libm-test-out: Regenerated.
7474         * math/libm-test.inc (acosh_test_data): Add more tests.
7475         (atanh_test_data): Likewise.
7476         (ceil_test_data): Likewise.
7477         (copysign_test_data): Likewise.
7478         * sysdeps/i386/fpu/libm-test-ulps: Update.
7479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7480
7481         * timezone/checktab.awk: Update from tzcode 2013i.
7482         * timezone/private.h: Likewise.
7483         * timezone/scheck.c: Likewise.
7484         * timezone/tzfile.h: Likewise.
7485         * timezone/tzselect.ksh: Likewise.
7486         * timezone/zdump.c: Likewise.
7487         * timezone/zic.c: Likewise.
7488
7489         * math/auto-libm-test-in: Add tests of cpow.
7490         * math/auto-libm-test-out: Regenerated.
7491         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
7492         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7493         mpc_cc_c.
7494         (func_calc_desc): Add mpc_cc_c union field.
7495         (test_functions): Add cpow.
7496         (special_fill_2pi): New function.
7497         (special_real_inputs): Add 2pi.
7498         (calc_generic_results): Handle mpc_cc_c.
7499         * sysdeps/i386/fpu/libm-test-ulps: Update.
7500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7501
7502         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7503         csqrt, ctan and ctanh.
7504         * math/auto-libm-test-out: Regenerated.
7505         * math/libm-test.inc (TEST_COND_x86_64): New macro.
7506         (TEST_COND_x86): Likewise.
7507         (ccos_test_data): Use AUTO_TESTS_c_c.
7508         (ccosh_test_data): Likewise.
7509         (cexp_test_data): Likewise.
7510         (clog_test_data): Likewise.
7511         (csqrt_test_data): Likewise.
7512         (ctan_test_data): Likewise.
7513         (ctan_tonearest_test_data): Likewise.
7514         (ctan_towardzero_test_data): Likewise.
7515         (ctan_downward_test_data): Likewise.
7516         (ctan_upward_test_data): Likewise.
7517         (ctanh_test_data): Likewise.
7518         (ctanh_tonearest_test_data): Likewise.
7519         (ctanh_towardzero_test_data): Likewise.
7520         (ctanh_downward_test_data): Likewise.
7521         (ctanh_upward_test_data): Likewise.
7522         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7523         mpc_c_c.
7524         (func_calc_desc): Add mpc_c_c union field.
7525         (FUNC_mpc_c_c): New macro.
7526         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7527         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7528         ctanh.
7529         (special_fill_min_subnorm_p120): New function.
7530         (special_real_inputs): Add min_subnorm_p120.
7531         (calc_generic_results): Handle mpc_c_c.
7532         * sysdeps/i386/fpu/libm-test-ulps: Update.
7533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7534
7535 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7536
7537         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7538         (do_sin_slow): New functions.
7539         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7540         (cslow2, csloww1, csloww2): Use the new functions.
7541
7542         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7543         Use M to change sign of result instead of X.  Assume X is
7544         positive.
7545         (csloww1): Likewise.
7546         (__sin): Adjust.
7547         (__cos): Adjust.
7548
7549         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7550         arguments A and DA.
7551         (__sin): Adjust.
7552         (__cos): Likewise.
7553
7554         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7555         (__cos): Likewise.
7556         (sloww1): Don't adjust sign of DX.
7557         (csloww1): Likewise.
7558         (sloww2): Use X directly and don't adjust sign of DX.
7559         (csloww2): Likewise.
7560
7561 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7562
7563         * math/auto-libm-test-in: Add tests of cabs and carg.
7564         * math/auto-libm-test-out: Regenerated.
7565         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7566         (carg_test_data): Likewise.
7567         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7568         mpc_c_f.
7569         (func_calc_desc): Add mpc_c_f union field.
7570         (test_functions): Add cabs and carg.
7571         (calc_generic_results): Handle mpc_c_f.
7572
7573         * sysdeps/powerpc/powerpc32/libgcc-compat.S
7574         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7575         as a macro and a compat symbol.
7576         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7577         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7578         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7579         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7580         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7581         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7582         not use .hidden.
7583         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7584         Likewise.
7585         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7586         Likewise.
7587         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7588         Likewise.
7589         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7590         Likewise.
7591         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7592         Likewise.
7593         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7594         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7595         from GLIBC_2.3.2.
7596
7597 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7598
7599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7600
7601 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7602
7603         * manual/texinfo.tex: Update to version 2013-11-26.10 with
7604         trailing whitespace removed.
7605         * scripts/config.guess: Update to version 2013-11-29.
7606         * scripts/config.sub: Update to version 2013-10-01.
7607
7608         * math/auto-libm-test-in: Add tests of sincos.
7609         * math/auto-libm-test-out: Regenerated.
7610         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7611         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7612         mpfr_f_11.
7613         (func_calc_desc): Add mpfr_f_11 union field.
7614         (test_functions): Add sincos.
7615         (calc_generic_results): Handle mpfr_f_11.
7616         * sysdeps/i386/fpu/libm-test-ulps: Update.
7617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7618
7619 2013-12-19  Andreas Schwab  <schwab@suse.de>
7620
7621         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7622         CALL_MCOUNT.
7623         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7624         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7625         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7626
7627 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7628
7629         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7630         * sysdeps/i386/fpu/libm-test-ulps: Update.
7631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7632
7633         [BZ #16293]
7634         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7635         round-to-nearest mode when using frndint.
7636         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7637         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7638         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7639         Likewise.
7640         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
7641         sinh test to fail.
7642         * math/auto-libm-test-out: Regenerated.
7643         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7644         (TEST_COND_x86): Likewise.
7645         (expm1_tonearest_test_data): New array.
7646         (expm1_test_tonearest): New function.
7647         (expm1_towardzero_test_data): New array.
7648         (expm1_test_towardzero): New function.
7649         (expm1_downward_test_data): New array.
7650         (expm1_test_downward): New function.
7651         (expm1_upward_test_data): New array.
7652         (expm1_test_upward): New function.
7653         (main): Run the new test functions.
7654         * sysdeps/i386/fpu/libm-test-ulps: Update.
7655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7656
7657         * include/features.h: Update comment documenting feature test
7658         macros.  Mention _DEFAULT_SOURCE in comment.
7659         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7660         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7661         _BSD_SOURCE and _SVID_SOURCE.
7662         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7663         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7664         !_SVID_SOURCE]: Likewise.
7665         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7666         (__USE_POSIX_IMPLICITLY): Define.
7667         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7668         (_POSIX_SOURCE): Undefine and redefine.
7669         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7670         (_POSIX_C_SOURCE): Likewise.
7671         * manual/creature.texi (_DEFAULT_SOURCE): Document.
7672         (Feature Test Macros): Update documentation of default features.
7673
7674 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7675
7676         * benchtests/Makefile: Add bench-strtok.
7677         * benchtests/bench-strtok.c: New file: strtok benchtest.
7678
7679 2013-12-19  Allan McRae  <allan@archlinux.org>
7680
7681         * manual/install.texi: Suppress menu for plain text output.
7682         * INSTALL: Regenerated.
7683
7684 2013-12-18  Brooks Moses  <bmoses@google.com>
7685
7686         [BZ #15846]
7687         * misc/getauxval.c: Include errno.h.
7688         (__getauxval): Set errno to ENOENT if the requested type is not
7689         found.
7690         * misc/sys/auxv.h (getauxval): Document that it may set errno;
7691         don't declare with __attribute_const__.
7692         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7693         * manual/startup.texi: Document that getauxval sets errno.
7694
7695 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
7696
7697         * math/auto-libm-test-in: Add tests of jn and yn.
7698         * math/auto-libm-test-out: Regenerated.
7699         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7700         (yn_test_data): Likewise.
7701         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7702         mpfr_if_f.
7703         (func_calc_desc): Add mpfr_if_f union field.
7704         (FUNC_mpfr_if_f): New macro.
7705         (test_functions): Add jn and yn.
7706         (calc_generic_results): Assert type of second input for
7707         mpfr_ff_f.  Handle mpfr_if_f.
7708         (output_for_one_input_case): Disable all checking for arguments
7709         fitting floating-point types in case of an integer argument.
7710         * sysdeps/i386/fpu/libm-test-ulps: Update.
7711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7712
7713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7714         Don't expect fegetround reference in libm.so.
7715
7716 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7717
7718         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7719         $(config-cflags-nofma).
7720
7721 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
7722
7723         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7724         * math/auto-libm-test-out: Regenerated.
7725
7726         [BZ #16338]
7727         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7728         to determine exponent and adjust argument to have exponent of -1.
7729         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7730         log2.
7731         * math/auto-libm-test-out: Regenerated.
7732         * sysdeps/i386/fpu/libm-test-ulps: Update.
7733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7734
7735 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
7736
7737         * manual/probes.texi: Remove cases when per-thread arenas are
7738         disabled.
7739
7740 2013-12-18  Andreas Schwab  <schwab@suse.de>
7741
7742         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7743         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7744         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7745         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7746         * sysdeps/i386/i686/multiarch/Makefile: Update.
7747         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7748
7749 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7750
7751         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7752         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7753
7754 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
7755
7756         [BZ #15968]
7757         Support TZ transition times < 00:00:00.
7758         This is needed for version-3 tz-format files; it supports time
7759         stamps past 2037 for America/Godthab (the only entry in the tz
7760         database for which this change is relevant).
7761         * manual/time.texi (TZ Variable): Document transition times
7762         from -167:59:59 through -00:00:01.
7763         * time/tzset.c (tz_rule): Time of day is now signed.
7764         (__tzset_parse_tz): Parse negative time of day.
7765
7766         Document TZ transition times >= 25:00:00.
7767         * manual/time.texi (TZ Variable): Document transition times from
7768         25:00:00 through 167:59:59.  These are already supported, and this
7769         support will help with version-3 tz-format files.
7770
7771         * manual/time.texi (TZ Variable): Modernize North America example
7772         to reflect current (i.e., 2007-and-later) daylight saving rules.
7773
7774         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7775
7776 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7777
7778         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7779         * sysdeps/unix/bsd/bits/stat.h: Likewise.
7780         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7781         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7782         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7783         * sysdeps/unix/bsd/bsdstat.h: Likewise.
7784         * sysdeps/unix/bsd/clock.c: Likewise.
7785         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7786         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7787         * sysdeps/unix/bsd/init-posix.c: Likewise.
7788         * sysdeps/unix/bsd/poll.c: Likewise.
7789         * sysdeps/unix/bsd/ptsname.c: Likewise.
7790         * sysdeps/unix/bsd/seekdir.c: Likewise.
7791         * sysdeps/unix/bsd/setegid.c: Likewise.
7792         * sysdeps/unix/bsd/seteuid.c: Likewise.
7793         * sysdeps/unix/bsd/setgid.c: Likewise.
7794         * sysdeps/unix/bsd/setrgid.c: Likewise.
7795         * sysdeps/unix/bsd/setruid.c: Likewise.
7796         * sysdeps/unix/bsd/setsid.c: Likewise.
7797         * sysdeps/unix/bsd/setuid.c: Likewise.
7798         * sysdeps/unix/bsd/sigaction.c: Likewise.
7799         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7800         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7801         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7802         * sysdeps/unix/bsd/telldir.c: Likewise.
7803         * sysdeps/unix/bsd/times.c: Likewise.
7804         * sysdeps/unix/bsd/usleep.c: Likewise.
7805
7806         * misc/Makefile (install-lib): Remove libbsd-compat.a.
7807         ($(objpfx)libbsd-compat.a): Remove rule.
7808
7809         * include/features.h (__FAVOR_BSD): Do not define.
7810         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7811         features conflicting with POSIX.
7812         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7813         (_BSD_SOURCE): Remove description of not being a subset of other
7814         feature test macros.
7815         * manual/job.texi (getpgrp): Do not document BSD version.
7816         (getpgid): Do not document by reference to BSD getpgrp.
7817         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7818         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7819         * signal/signal.h [__FAVOR_BSD]: Likewise.
7820         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7821         instead of making contents conditional on [__FAVOR_BSD].
7822         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7823
7824 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7825
7826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7827
7828 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7829
7830         [BZ #16314]
7831         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7832         values below 2**-450, not 2**-500.
7833         * math/auto-libm-test-in: Don't allow spurious underflow from
7834         hypot.
7835         * math/auto-libm-test-out: Regenerated.
7836
7837         [BZ #16316]
7838         [BZ #16330]
7839         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7840         values of ha and hb and sort them after adjusting subnormal
7841         arguments.
7842         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7843         Likewise.
7844         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7845         values of ea and eb and sort them after adjusting subnormal
7846         arguments.
7847         * math/auto-libm-test-in: Do not expect some hypot tests of
7848         subnormals to fail.  Add more hypot tests.
7849         * math/auto-libm-test-out: Regenerated.
7850
7851 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7852
7853         [BZ #13304]
7854         * sysdeps/sh/s_fma.c: New file.
7855         * sysdeps/sh/s_fmaf.c: New file.
7856         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
7857         version.
7858         * sysdeps/sh/Implies: Add sh/soft-fp.
7859
7860 2013-12-16  Roland McGrath  <roland@hack.frob.com>
7861
7862         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
7863         level of indirection to members `objname', `errstring', `malloced'.
7864         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7865         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
7866         it as the __longjmp argument (just pass 1 instead).
7867         (_dl_catch_error): Initialize C with argument pointers and address of
7868         volatile local ERRCODE rather than copying values out of C at return.
7869
7870 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
7871
7872         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7873         * math/auto-libm-test-out: Regenerated.
7874         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7875         (hypot_test_data): Likewise.
7876         (pow_test_data): Likewise.
7877         (pow_tonearest_test_data): Likewise.
7878         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7879         mpfr_ff_f.
7880         (func_calc_desc): Add mpfr_ff_f union field.
7881         (FUNC_mpfr_ff_f): New macro.
7882         (test_functions): Add atan2, hypot and pow.
7883         (special_fill_min): New function.
7884         (special_fill_minus_min): Likewise.
7885         (special_fill_min_subnorm): Likewise.
7886         (special_fill_minus_min_subnorm): Likewise.
7887         (special_real_inputs): Add min, -min, min_subnorm and
7888         -min_subnorm.
7889         (calc_generic_results): Handle mpfr_ff_f.
7890         * sysdeps/i386/fpu/libm-test-ulps: Update.
7891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7892
7893 2013-12-16  Will Newton  <will.newton@linaro.org>
7894
7895         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7896         (Aligned Memory Blocks): Add documentation for aligned_alloc
7897         and suggest it as an alternative to posix_memalign.
7898         (Hooks for Malloc): Document __memalign_hook is also called
7899         for aligned_alloc.  (Summary of Malloc): Add summary for
7900         aligned alloc.  Document __memalign_hook is also called
7901         for aligned_alloc.
7902
7903 2013-12-16  Will Newton  <will.newton@linaro.org>
7904
7905         * manual/memory.texi (Malloc Examples): Clarify default
7906         alignment documentation.  Suggest posix_memalign rather
7907         than memalign or valloc.
7908         (Aligned Memory Blocks): Remove suggestion to use memalign
7909         or valloc.  Remove obsolete comment about BSD.
7910         Document memalign errno values and mark the function obsolete.
7911         Document posix_memalign returned error codes.  Mark valloc
7912         as obsolete.  (Hooks for Malloc): __memalign_hook is also
7913         called for posix_memalign and valloc.
7914         (Summary of Malloc): Add posix_memalign to function summary.
7915         __memalign_hook is also called for posix_memalign and valloc.
7916
7917 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7918
7919         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7920         TAYLOR_SIN.
7921         (__sin): Adjust.
7922         (__cos): Likewise.
7923         (sloww): Use mynumber union.  Expand ternary operator into
7924         if-else statements.
7925         (cslow): use mynumber union.
7926
7927 2013-12-16  Allan McRae  <allan@archlinux.org>
7928
7929         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7930         * configure: Regenerated.
7931
7932         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7933
7934         [BZ #14120]
7935         * configure.ac: Added --enable-maintainer-mode. Check for
7936         autoconf when enabled.
7937         * configure: Regenerated.
7938
7939         * nscd/nscd.service: New file.
7940         * nscd/nscd.tmpfiles: New file.
7941
7942 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
7943
7944         [BZ #12100]
7945         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7946         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7947         * sysdeps/x86_64/multiarch/strstr.c: ... here.
7948         (strstr): Add __strstr_sse2_unaligned ifunc.
7949         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7950         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7951         (strcasestr): Remove __strcasestr_sse42 ifunc.
7952         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7953         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7954         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7955
7956 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7957
7958         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7959         * sysdeps/sh/bits/fenv.h: ... here.
7960         * sysdeps/sh/sh4/fpu/bits: Remove directory.
7961
7962 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7963
7964         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7965
7966         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7967         hypotf multiarch implementations.
7968         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7969         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7970         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7971         multiarch hypot for PPC64.
7972         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7973         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7974         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7975         multiarch hypotf for PPC64.
7976
7977         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7978         modff multiarch implementations.
7979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7982         multiarch modf for PPC64.
7983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7986         multiarch modff for PPC64.
7987
7988         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7989         and logl multiarch implementations.
7990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7993         multiarch logb for PPC64.
7994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7997         multiarch logb for PPC64.
7998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8001         multiarch logb for PPC64.
8002
8003         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8004         isinff multiarch implementation.
8005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8006         file.
8007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8009         multiarch isinf for PPC64.
8010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8011         file.
8012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8013         multiarch isinff for PPC64.
8014
8015         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8016         finitef multiarch implementation.
8017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8018         file.
8019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8021         multiarch finite for PPC64.
8022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8023         file.
8024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8025         multiarch finitef for PPC64.
8026
8027         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8028         lrint multiarch implementation.
8029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8030         file.
8031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8033         multiarch llrint for PPC64.
8034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8035         multiarch lrint for PPC64.
8036
8037         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8038         copysignf multiarch implementation.
8039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8040         file.
8041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8042         file.
8043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8044         multiarch copysign for PPC64.
8045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8046         multiarch copysignf for PPC64.
8047
8048         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8049         multiarch implementation.
8050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8051         file.
8052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8053         file.
8054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8055         file.
8056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8057         file.
8058         multiarch llround for PPC64.
8059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8060         multiarch trunc for PPC64.
8061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8062         multiarch truncf for PPC64.
8063
8064         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8065         multiarch implementation.
8066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8067         file.
8068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8069         file.
8070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8071         file.
8072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8073         file.
8074         multiarch llround for PPC64.
8075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8076         multiarch round for PPC64.
8077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8078         multiarch roundf for PPC64.
8079
8080         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8081         multiarch implementation.
8082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8083         file.
8084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8085         file.
8086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8087         file.
8088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8089         file.
8090         multiarch llround for PPC64.
8091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8092         multiarch floor for PPC64.
8093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8094         multiarch floorf for PPC64.
8095
8096         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8097         multiarch implementation.
8098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8099         file.
8100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8101         file.
8102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8103         file.
8104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8105         file.
8106         multiarch llround for PPC64.
8107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8108         multiarch ceil for PPC64.
8109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8110         multiarch ceilf for PPC64.
8111
8112         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8113         multiarch implementation.
8114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8115         file.
8116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8117         file.
8118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8119         file.
8120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8121         multiarch llround for PPC64.
8122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8123         multiarch lround for PPC64.
8124
8125         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8126         multiarch implementation.
8127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8130         file.
8131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8134         multiarch isnan for PPC64.
8135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8136         multiarch isnanf for PPC64.
8137
8138         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8139         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8140         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8141         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8142         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8144
8145         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8146         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8147         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8148         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8149
8150         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8151         multiarch implementations.
8152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8153         (__libc_ifunc_impl_list): Likewise.
8154         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8155         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8156         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8157         multiarch stpcpy for PPC64.
8158
8159         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8160         multiarch implementations.
8161         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8162         (__libc_ifunc_impl_list): Likewise.
8163         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8164         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8165         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8166         multiarch strcpy for PPC64.
8167
8168         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8169         redefine function name.
8170         (_wordcopy_fwd_dest_aligned): Likewise.
8171         (_wordcopy_bwd_aligned): Likewise.
8172         (_wordcopy_bwd_dest_aligned): Likewise.
8173         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8174         multiarch implementations.
8175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8176         (__libc_ifunc_impl_list): Likewise.
8177         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8178         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8179         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8180         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8181         multiarch wcscpy for PPC64.
8182
8183         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8184         multiarch implementations.
8185         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8186         (__libc_ifunc_impl_list): Likewise.
8187         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8188         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8189         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8190         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8191         multiarch wcscpy for PPC64.
8192
8193         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8194         multiarch implementations.
8195         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8196         (__libc_ifunc_impl_list): Likewise.
8197         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8198         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8199         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8200         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8201         multiarch wcsrchr for PPC64.
8202
8203         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8204         multiarch implementations.
8205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8206         (__libc_ifunc_impl_list): Likewise.
8207         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8208         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8209         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8210         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8211         multiarch wcschr for PPC64.
8212
8213         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8214         multiarch implementations.
8215         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8216         (__libc_ifunc_impl_list): Likewise.
8217         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8218         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8219         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8220         multiarch strchrnul for PPC64.
8221
8222         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8223         implementations.
8224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8225         (__libc_ifunc_impl_list): Likewise.
8226         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8227         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8228         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8229         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8230         strchr for PPC64.
8231
8232         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8233         implementations.
8234         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8235         (__libc_ifunc_impl_list): Likewise.
8236         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8237         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8238         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8239         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8240         strncmp for PPC64.
8241
8242         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8243         multiarch implementations.
8244         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8245         (__libc_ifunc_impl_list): Likewise.
8246         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8247         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8248         strncasecmp for PPC64.
8249         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8250         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8251         multiarch strncasecmp_l for PPC64.
8252
8253         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8254         multiarch implementations.
8255         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8256         (__libc_ifunc_impl_list): Likewise.
8257         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8258         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8259         multiarch strcasecmp for PPC64.
8260         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8261         file.
8262         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8263         multiarch strcasecmp_l for PPC64.
8264
8265         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8266         implementations.
8267         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8268         (__libc_ifunc_impl_list): Likewise.
8269         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8270         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8271         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8272         strnlen for PPC64.
8273
8274         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8275         implementations.
8276         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8277         (__libc_ifunc_impl_list): Likewise.
8278         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8279         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8280         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8281         strlen for PPC64.
8282
8283         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8284         implementations.
8285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8286         (__libc_ifunc_impl_list): Likewise.
8287         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8288         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8289         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8290         rawmemrchr for PPC64.
8291
8292         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8293         implementation.
8294         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8295         (__libc_ifunc_impl_list): Likewise.
8296         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8297         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8298         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8299         memrchr for PPC64.
8300
8301         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8302         implementation.
8303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8304         (__libc_ifunc_impl_list): Likewise.
8305         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8306         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8307         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8308         memchr for PPC64.
8309
8310         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8311         implementation.
8312         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8313         (__libc_ifunc_impl_list): Likewise.
8314         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8315         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8316         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8317         mempcpy for PPC64.
8318
8319         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8320         avoid cretion of __bzero symbol.
8321         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8322         Likewise.
8323         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8324         Likewise.
8325         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8326         Likewise.
8327         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8328         multiarch implementations.
8329         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8330         (__libc_ifunc_impl_list): Likewise.
8331         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8332         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8333         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8334         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8335         bzero for PPC32.
8336         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8337         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8338         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8339         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8340         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8341         memset for PPC64.
8342         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8343
8344         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8345         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8346         implementations.
8347         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8348         (__libc_ifunc_impl_list): Likewise.
8349         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8350         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8351         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8352         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8353         memcmp for PPC64.
8354
8355         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8356         multiarch for POWER/PPC64.
8357         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8358         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8359         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8360         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8361         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8362         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8363         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8364         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8365         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8366         memcpy for PPC64.
8367
8368         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8369         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8370         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8371         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8372         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8373         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8374         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8375         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8376         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8377         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8378         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8379         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8380         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8381         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8382         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8390
8391 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8392
8393         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8394
8395 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8396
8397         * benchtests/Makefile (bench): Add exp2 and log2.
8398         (LDLIBS-bench-exp2): Add -lm.
8399         (LDLIBS-bench-log2): Likewise.
8400         * benchtests/exp2-inputs: New inputs file.
8401         * benchtests/log2-inputs: New inputs file.
8402         * benchtests/log-inputs: Add new inputs.
8403         * benchtests/tan-inputs: Likewise.
8404
8405 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8406
8407         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8408         definition...
8409         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8410         (csloww2): ... from here.
8411
8412         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8413         instead of structures.
8414         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8415         (POLYNOMIAL): Likewise.
8416         (TAYLOR_SLOW): Likewise.
8417         (__sin): Likewise.
8418         (__cos): Likewise.
8419         (slow1): Likewise.
8420         (slow2): Likewise.
8421         (sloww): Likewise.
8422         (sloww1); Likewise.
8423         (sloww2): Likewise.
8424         (bsloww1): Likewise.
8425         (bsloww2): Likewise.
8426         (cslow2): Likewise.
8427         (csloww): Likewise.
8428         (csloww1): Likewise.
8429         (csloww2): Likewise.
8430
8431 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
8432
8433         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
8434         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8435         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
8436         * malloc/hooks.c (realloc_check): Likewise.
8437
8438         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8439         * malloc/arena.c: Remove PER_THREAD conditional.
8440         [!PER_THREAD]: Remove code.
8441         (ptmalloc_unlock_all2): Likewise.
8442         (ptmalloc_init): Likewise.
8443         (_int_new_arena): Likewise.
8444         (arena_get2): Likewise.
8445         * malloc/hooks.c (__malloc_get_state): Likewise.
8446         (__malloc_set_state): Likewise.
8447         * malloc/malloc.c: Likewise.
8448         (struct malloc_state): Likewise.
8449         (struct malloc_par): Likewise.
8450         (__libc_realloc): Likewise.
8451         (__libc_mallopt): Likewise.
8452
8453 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8454
8455         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8456
8457 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
8458
8459         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8460         macro to a function.  Check for zero perturb_byte.
8461         (_int_malloc, _int_free): Remove zero perturb_byte checks.
8462
8463         * malloc/malloc.c: (force_reg): Remove.
8464         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8465         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
8466         force_reg by atomic_forced_read.
8467         * malloc/arena.c (ptmalloc_init): Likewise.
8468         * malloc/hooks.c (top_check): Likewise.
8469
8470 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8471
8472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8473
8474 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
8475
8476         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8477
8478 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
8479
8480         * math/auto-libm-test-in: Add tests of lgamma.
8481         * math/auto-libm-test-out: Regenerated.
8482         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8483         (M_LOG_2_SQRT_PIl): Likewise.
8484         (lgamma_test_data): Use AUTO_TESTS_f_f1.
8485         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8486         mpfr_f_f1.
8487         (func_calc_desc): Add mpfr_f_f1 union field.
8488         (ARGS1): New macro.
8489         (ARGS2): Likewise.
8490         (ARGS3): Likewise.
8491         (ARGS4): Likewise.
8492         (RET1): Likewise.
8493         (RET2): Likewise.
8494         (CALC): Likewise.
8495         (FUNC): Likewise.
8496         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8497         (test_functions): Add lgamma.
8498         (calc_generic_results): Handle mpfr_f_f1.
8499         * sysdeps/i386/fpu/libm-test-ulps: Update.
8500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8501
8502 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8503
8504         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8505         __mpn_add_n for PowerPC64/POWER7.
8506         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8507         __mpn_sub_n for PowerPC64/POWER7.
8508
8509         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8510         __mpn_addmul_1 for PowerPC64.
8511         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8512         __mpn_submul_1 for PowerPC64.
8513         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8514         for PowerPC64.
8515         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8516         for PowerPC64.
8517
8518 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
8519
8520         [BZ #15089]
8521         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8522
8523 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8524
8525         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8526
8527         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8528         add multiarch folders.
8529         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8530         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8531         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8532         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8533         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8534         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8535         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8536         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8537         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8538         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8539         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8546
8547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8548         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8550         New file.
8551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8552         New file.
8553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8554         multiarch __ieee754_hypot for PowerPC32.
8555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8556         New file.
8557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8558         New file.
8559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8560         multiarch __ieee754_hypotf for PowerPC32.
8561
8562         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8563         long_double_symbol only if __logbl is defined.
8564         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8565         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8566         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8567         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8568         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8569         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8570         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8571         path for implementation.
8572         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8573         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8575         logb, and logbl multiarch implementations for PowerPC32.
8576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8577         file.
8578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8579         file.
8580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8581         multiarch logb for PowerPC32.
8582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8583         file.
8584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8585         file.
8586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8587         multiarch logbf for PowerPC32.
8588         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8590         file.
8591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8592         multiarch logbl implementation for PowerPC32.
8593
8594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8595         and modff multiarch implementations.
8596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8597         New file.
8598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8599         New file.
8600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8601         multiarch modf for PowerPC32.
8602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8603         New file.
8604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8605         New file.
8606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8607         multiarch modff for PowerPC32.
8608
8609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8610         and lrintf multiarch implementations.
8611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8612         New file.
8613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8614         New file.
8615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8616         multiarch lrint for PowerPC32.
8617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8618         file: multiarch lrintf for PowerPC32.
8619
8620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8621         and lroundf multiarch implementations.
8622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8623         New file.
8624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8625         New file.
8626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8627         New file.
8628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8629         multiarch lround for PowerPC32.
8630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8631         file: multiarch lroundf for PowerPC32.
8632
8633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8634         copysign and copysignf multiarch implementations.
8635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8636         New file.
8637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8638         New file.
8639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8640         file: multiarch copysign for PowerPC32.
8641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8642         file: multiarch copysignf for PowerPC32.
8643
8644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8645         and truncf multiarch implementations.
8646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8647         New file.
8648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8649         file.
8650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8651         multiarch trunc for PowerPC32.
8652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8653         New file.
8654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8655         New file.
8656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8657         multiarch truncf for PowerPC32.
8658
8659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8660         and roundf multiarch implementations.
8661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8662         New file.
8663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8664         file.
8665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8666         multiarch round for PowerPC32.
8667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8668         New file.
8669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8670         New file.
8671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8672         multiarch roundf for PowerPC32.
8673
8674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8675         and floorf multiarch implementations.
8676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8677         New file.
8678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8679         file.
8680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8681         multiarch floor for PowerPC32.
8682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8683         New file.
8684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8685         New file.
8686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8687         multiarch floorf for PowerPC32.
8688
8689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8690         and ceilf multiarch implementations.
8691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8692         New file.
8693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8694         file.
8695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8696         multiarch ceil for PowerPC32.
8697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8698         New file.
8699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8700         file.
8701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8702         multiarch ceilf for PowerPC32.
8703
8704         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8705         is defined.
8706         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8707         FINITEF is defined.
8708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8709         and finitef multiarch implementations.
8710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8711         New file.
8712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8713         file.
8714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8715         multiarch finite for PowerPC32.
8716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8717         New file.
8718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8719         file: multiarch finitef for PowerPC32.
8720
8721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8722         and isinff multiarch implementations.
8723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8724         file.
8725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8726         file.
8727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8728         multiarch isinf for PowerPC32.
8729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8730         New file.
8731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8732         multiarch isinff for PowerPC32.
8733
8734         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8735         alias when __isnan is defined.
8736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8737         and isnanf multiarch implementations.
8738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8739         file.
8740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8741         file.
8742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8743         file.
8744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8745         file.
8746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8747         multiarch isnan for PowerPC32.
8748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8749         New file.
8750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8751         New file.
8752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8753         multiarch isnanf for PowerPC32.
8754
8755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8756         and sqrtf multiarch implementations.
8757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8758         file.
8759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8760         file.
8761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8762         multiarch sqrt for PowerPC32.
8763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8764         file.
8765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8766         file.
8767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8768         multiarch sqrtf for PowerPC32.
8769
8770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8771         and llroundf multiarch implementations.
8772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8773         New file.
8774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8775         New file.
8776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8777         New file.
8778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8779         file: multiarch llround for PowerPC32.
8780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8781         file: multiarch llroundf for PowerPC32.
8782
8783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8784         multiarch PowerPC32 fpu implementations.
8785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8786         New file.
8787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8788         New file.
8789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8790         multiarch llrint for PowerPC32.
8791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8792         New file.
8793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8794         New file.
8795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8796         file.
8797
8798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8799
8800         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8801         file.
8802         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8803         file.
8804         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8805         file.
8806         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8807         multiarch wordcopy for PPC32.
8808         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8809         wordcopy objects.
8810         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8811         (__libc_ifunc_impl_list): Likewise.
8812         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8813         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8814         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8815         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8816         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8817         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8818
8819         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8820         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8821         file.
8822         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8823         file.
8824         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8825         file.
8826         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8827         multiarch wcscpy for PPC32.
8828         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8829         multiarch objects.
8830         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8831         (__libc_ifunc_impl_list): Likewise.
8832         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8833         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8834         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8835         sysdeps/powerpc/power6/wcscpy.c.
8836
8837         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8838         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8839         file.
8840         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8841         file.
8842         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8843         file.
8844         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8845         multiarch wcsrchr for PPC32.
8846         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8847         multiarch objects.
8848         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8849         (__libc_ifunc_impl_list): Likewise.
8850         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8851         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8852         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8853         sysdeps/powerpc/power6/wcsrchr.c.
8854
8855         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8856         file.
8857         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8858         file.
8859         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8860         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8861         multiarch wcschr for PPc32.
8862         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8863         multiarch objects.
8864         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8865         (__libc_ifunc_impl_list): Likewise.
8866         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8867         * sysdeps/powerpc/power6/wcschr.c: ... to here.
8868         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8869         sysdeps/powerpc/power6/wcschr.c.
8870
8871         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8872         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8873         file.
8874         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8875         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8876         file: multiarch strchr for PPC32.
8877         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8878         multiarch objects.
8879         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8880         (__libc_ifunc_impl_list): Likewise.
8881
8882         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8883         name.
8884         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8885         file.
8886         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8887         file.
8888         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8889         multiarch strchrnul for PPC32.
8890         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8891         multiarch objects.
8892         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8893         (__libc_ifunc_impl_list): Likewise.
8894
8895         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8896         file.
8897         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8898         multiarch strncasecmp for PPC32.
8899         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8900         file.
8901         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8902         multiarch strncasecmp_l for PPC32.
8903         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8904         strncasecmp multiarch objects.
8905         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8906         (__libc_ifunc_impl_list): Likewise.
8907
8908         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8909         file.
8910         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8911         multiarch strncasecmp for PPC32.
8912         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8913         New file.
8914         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8915         multiarch strcasecmp_l for PPC32.
8916         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8917         multiarch objects.
8918         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8919         (__libc_ifunc_impl_list): Likewise.
8920
8921         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8922         file.
8923         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8924         file.
8925         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8926         multiarch strncmp for PPC32.
8927         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8928         multiarch objects.
8929         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8930         (__libc_ifunc_impl_list): Likewise.
8931
8932         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8933         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8934         file.
8935         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8936         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8937         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8938         multiarch objects.
8939         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8940         (__libc_ifunc_impl_list): Likewise.
8941
8942         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8943         file.
8944         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8945         file.
8946         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8947         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8948         multiarch objects.
8949         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8950         (__libc_ifunc_impl_list): Likewise.
8951
8952         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8953         file.
8954         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8955         file.
8956         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8957         multiarch rawmemchr for PPC32.
8958         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8959         multiarch objects.
8960         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8961         (__libc_ifunc_impl_list): Likewise.
8962
8963         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8964         file.
8965         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8966         file.
8967         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8968         file: memrchr multiarch for PPC32.
8969         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8970         multiarch objects.
8971         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8972         (__libc_ifunc_impl_list): Likewise.
8973
8974         * string/memchr.c (__memchr): Using macro to redefine symbol name.
8975         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8976         file.
8977         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8978         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8979         multiarch memchr for PPC32.
8980         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8981         multiarch objects.
8982         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8983         (__libc_ifunc_impl_list): Likewise.
8984
8985         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8986         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8987         file.
8988         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8989         file.
8990         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8991         file: multiarch mempcpy for PPC32.
8992         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8993         multiarch objects.
8994         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8995         (__libc_ifunc_impl_list): Likewise.
8996
8997         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8998         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8999         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9000         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9001         multiarch bzero for PPC32.
9002         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9003         file.
9004         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9005         file.
9006         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9007         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9008         file: multiarch memset for PPC32.
9009         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9010         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9011         memset multiarch objects.
9012         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9013         (__libc_ifunc_impl_list): Likewise.
9014
9015         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9016         file.
9017         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9018         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9019         memcmp for PPC32.
9020         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9021         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9022         multiarch objects.
9023         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9024         (__libc_ifunc_impl_list): Likewise.
9025
9026         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9027         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9028         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9029         file.
9030         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9031         file.
9032         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9033         file.
9034         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9035         multiarch memcpy for PPC32.
9036         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9037         multiarch objects.
9038         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9039         (__libc_ifunc_impl_list): Likewise.
9040
9041         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9042         support multiarch for POWER/PPC32.
9043         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9044         Likewise.
9045         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9047         Implies file to make multiarch folder appers before the fpu and
9048         default folder for power4 configuration.
9049
9050 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9051
9052         * scripts/bench.pl: Append volatile keyword to type.
9053
9054 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9055
9056         * sysdeps/sh/sotruss-lib.c: New file.
9057         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9058
9059 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9060
9061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9062
9063 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
9064
9065         [BZ #6810]
9066         * math/w_tgamma.c: Include <errno.h>.
9067         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
9068         * math/w_tgammaf.c: Include <errno.h>.
9069         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
9070         * math/w_tgammal.c: Include <errno.h>.
9071         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
9072         * math/auto-libm-test-in: Do not allow missing errno on tgamma
9073         underflow.  Add more tgamma tests.
9074         * math/auto-libm-test-out: Regenerated.
9075         * sysdeps/i386/fpu/libm-test-ulps: Update.
9076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9077
9078         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9079         sin, sinh, tan, tanh, tgamma, y0 and y1.
9080         * math/auto-libm-test-out: Regenerated.
9081         * math/libm-test.inc (TEST_COND_x86_64): New macro.
9082         (TEST_COND_x86): Likewise.
9083         (M_E2l): Remove macro.
9084         (M_E3l): Likewise.
9085         (M_2_SQRT_PIl): Likewise.
9086         (M_SQRT_PIl): Likewise.
9087         (M_1_DIV_El): Likewise.
9088         (log_test_data): Use AUTO_TESTS_f_f.
9089         (log10_test_data): Likewise.
9090         (log1p_test_data): Likewise.
9091         (log2_test_data): Likewise.
9092         (sin_test_data): Likewise.
9093         (sin_tonearest_test_data): Likewise.
9094         (sin_towardzero_test_data): Likewise.
9095         (sin_downward_test_data): Likewise.
9096         (sin_upward_test_data): Likewise.
9097         (sinh_test_data): Likewise.
9098         (sinh_tonearest_test_data): Likewise.
9099         (sinh_towardzero_test_data): Likewise.
9100         (sinh_downward_test_data): Likewise.
9101         (sinh_upward_test_data): Likewise.
9102         (tan_test_data): Likewise.
9103         (tan_tonearest_test_data): Likewise.
9104         (tan_towardzero_test_data): Likewise.
9105         (tan_downward_test_data): Likewise.
9106         (tan_upward_test_data): Likewise.
9107         (tanh_test_data): Likewise.
9108         (tgamma_test_data): Likewise.
9109         (y0_test_data): Likewise.
9110         (y1_test_data): Likewise.
9111         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9112         (special_real_inputs): Add pi/4.
9113         * sysdeps/i386/fpu/libm-test-ulps: Update.
9114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9115
9116 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9117
9118         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9119         "longjmp_target" static probes.
9120         (__longjmp): Rename to __longjmp_symbol.
9121         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9122         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9123         on which longjmp to generate.
9124         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9125         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9126         probe.
9127         (__sigsetjmp): Rename to __sigsetjmp_symbol.
9128         (__sigjmp_save): Rename to __sigjmp_save_symbol.
9129         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9130         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9131         and __sigjmp_save_symbol based on which sigsetjmp to generated.
9132         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9134         __longjmp_symbol based on which __longjmp to generate.
9135         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9136         probe.
9137         (setjmp): Rename to setjmp_symbol.
9138         (__sigsetjmp): Rename to __sigsetjmp_symbol.
9139         (_setjmp): Rename to _setjmp_symbol.
9140         (__sigsetjmp): Rename to __sigsetjmp_symbol.
9141         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9142         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9143         which setjmp to generate.
9144         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9145         "longjmp_target" static probes.
9146
9147 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9148
9149         * benchtests/README: Add note about output arguments.
9150         * benchtests/bench-sincos.c: Remove file.
9151         * benchtests/sincos-inputs: New file.
9152         * scripts/bench.pl: Identify output arguments and define
9153         static variables for them.
9154
9155         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9156
9157         [BZ #15941]
9158         * Makefile (INSTALL): Add install-plain.texi as the primary
9159         dependency.
9160         * manual/install-plain.texi: New file.
9161         * manual/install.texi: Include node directive only for
9162         non-plaintext output.
9163
9164 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
9165
9166         * stdlib/longlong.h: Update from GCC.
9167
9168         [BZ #6807]
9169         [BZ #15901]
9170         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9171         * math/w_j0f.c (y0f): Likewise.
9172         * math/w_j0l.c (__y0l): Likewise.
9173         * math/w_j1.c (y1): Likewise.
9174         * math/w_j1f.c (y1f): Likewise.
9175         * math/w_j1l.c (__y1l): Likewise
9176         * math/w_jn.c (yn): Likewise.
9177         * math/w_jnf.c (ynf): Likewise.
9178         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9179         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
9180         value for Bessel function domain errors outside _SVID_ mode.
9181         Adjust sign of return value for yn (negative integer, 0).
9182         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9183         by zero in return for negative x and set sign appropriately for
9184         negative n.
9185         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9186         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9187         * math/libm-test.inc (y0_test_data): Add more tests and adjust
9188         expectations in error cases.
9189         (y1_test_data): Likewise.
9190         (yn_test_data): Likewise.
9191         * sysdeps/i386/fpu/libm-test-ulps: Update.
9192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9193
9194 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9195
9196         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9197         "64" to "64-v1".  Add "64-v2".
9198         (abi-64-options): Rename to ...
9199         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
9200         (abi-64-condition): Rename to ...
9201         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
9202         (abi-64-ld-soname): Rename to ...
9203         (abi-64-v1-ld-soname): ... this.
9204         (abi-64-v2-options): Define.
9205         (abi-64-v2-condition): Likewise.
9206         (abi-64-v2-ld-soname): Likewise.
9207         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9208         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9212
9213 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9214             Alan Modra  <amodra@gmail.com>
9215
9216         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9217         New versions for use with the ELFv2 ABI.
9218         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9219         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9220         declaration.
9221         (struct La_ppc64v2_retval): Likewise.
9222         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9223         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9224         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9225         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9226         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9227         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9228         Do not save or restore CR.
9229         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9230         (_dl_profile_resolve): Do no save or restore CR.  Support extended
9231         return values for ELFv2 ABI.  Fix location of FPR return registers.
9232         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9233         updated values for _CALL_ELF == 2.
9234         (La_regs, La_retval, int_retval): Likewise.
9235
9236 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9237
9238         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9239         (FRAME_MIN_SIZE_PARM): Likewise.
9240         (FRAME_BACKCHAIN): Likewise.
9241         (FRAME_CR_SAVE): Likewise.
9242         (FRAME_LR_SAVE): Likewise.
9243         (FRAME_TOC_SAVE): Likewise.
9244         (FRAME_PARM_SAVE): Likewise.
9245         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9246         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9247         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9248         (call_mcount_parm_offset): New macro.
9249         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9250         (PROF): Use symbolic stack frame offsets.
9251         (TAIL_CALL_SYSCALL_ERROR): Likewise.
9252         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9253         Redefine in terms of FRAME_MIN_SIZE.
9254         (_dl_runtime_resolve): Use symbolic stack frame offsets.
9255         (_dl_profile_resolve): Likewise.  Update comment.
9256         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9257         symbols stack frame offsets.
9258         (__sigsetjmp): Likewise.
9259         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9260         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9261         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9262         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9263
9264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9265         (FRAME_BACKCHAIN): Remove.
9266         (FRAME_CR_SAVE): Likewise.
9267         (FRAME_LR_SAVE): Likewise.
9268         (FRAME_COMPILER_DW): Likewise.
9269         (FRAME_LINKER_DW): Likewise.
9270         (FRAME_TOC_SAVE): Likewise.
9271         (FRAME_PARM_SAVE): Likewise.
9272         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9273         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9274         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9276         (CHECK_SP): Use symbolic stack frame offsets.
9277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9278         zone" instead of caller's parameter save area for temp storage.
9279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9280         Likewise.  Also, use symbolic stack frame offsets.
9281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9282         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9283         our own stack frame instead of the caller's.
9284         (__socket): Use symbolic stack frame offsets.
9285
9286 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9287             Alan Modra  <amodra@gmail.com>
9288
9289         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9290         Define.
9291         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9292         (PPC64_LOCAL_ENTRY_OFFSET): Define.
9293         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9294         New function.
9295         (elf_machine_fixup_plt): Call it.
9296         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
9297         reloc arguments.
9298         (elf_machine_rela): Update call to elf_machine_plt_conflict.
9299         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9300         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
9301         r2 before calling target.
9302
9303 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9304             Alan Modra  <amodra@gmail.com>
9305
9306         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9307         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9308         versions of macros to support ELFv2 ABI.
9309         (LOCALENTRY): New macro.
9310         (ENTRY, EALIGN): Use it.
9311         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9312         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9313         fall through into ENTRY entry point.
9314         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9315         Only define if _CALL_ELF != 2.
9316
9317         (elf_machine_matches_host): Verify ABI version matches.
9318         (RTLD_START): Use LOCALENTRY.
9319         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9320         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9321         (PLT_ENTRY_WORDS): New macro.
9322         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9323         (elf_machine_runtime_setup): Support ELFv2 ABI.
9324         (elf_machine_fixup_plt): Likewise.
9325         (elf_machine_plt_conflict): Likewise.
9326         (resolve_ifunc): Likewise.
9327         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9328         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9329         Likewise.
9330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9331         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9333         (makecontext): Support ELFv2 ABI.
9334         * elf/elf.h (EF_PPC64_ABI): Define.
9335
9336 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9337
9338         * sysdeps/powerpc/powerpc64/sysdep.h
9339         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9340         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9341         (ENTRY) [ASSEMBLER]: ... but instead here ...
9342         (EALIGN) [ASSEMBLER]: ... and here.
9343         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9344         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9345         (ENTRY_2) [!ASSEMBLER]: Use it.
9346         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9347         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
9348         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9349         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
9350         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9352         Use PPC64_LOAD_FUNCPTR.
9353
9354         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9355
9356 2013-12-04  Alan Modra  <amodra@gmail.com>
9357
9358         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9359         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9360         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9361         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9362
9363         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9364         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9365         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9366         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9367         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9368         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9369
9370 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9371
9372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9373         (__makecontext): Fix incorrect CFI when backtracing out of
9374         context created via makecontext.
9375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9376         (__setcontext): Fix incorrect CFI during switch to new context.
9377         (__novec_setcontext): Likewise.
9378
9379 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
9380
9381         [BZ #4772]
9382         * time/strptime_l.c (__strptime_internal): Allow modifiers
9383         in strptime.
9384         * time/tst-strptime.c (day_tests): Add testcase.
9385
9386 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9387
9388         * scripts/bench.pl: Skip over blank lines.
9389
9390 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9391
9392         [BZ #926]
9393         * manual/time.texi (Calendar Time): Clarify what timezone functions
9394         use.
9395
9396 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9397
9398         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9399
9400 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
9401
9402         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9403         implementation.
9404         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9405         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9406         * debug/memset_chk.c (__memset_chk): Likewise.
9407         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9408         * debug/strncpy_chk.c: Likewise.
9409
9410 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
9411
9412         [BZ #15268]
9413         [BZ #15425]
9414         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9415         (__ieee754_exp): For possibly underflowing results, check size of
9416         result and force underflow exception if required.
9417         * math/auto-libm-test-in: Add more tests of exp.
9418         * math/auto-libm-test-out: Regenerated.
9419         * sysdeps/i386/fpu/libm-test-ulps: Update.
9420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9421
9422         [BZ #16283]
9423         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9424         * math/w_exp2f.c (__exp2f): Likewise.
9425         * math/w_exp2l.c (__exp2l): Likewise.
9426         * math/auto-libm-test-in: Do not allow missing errno on exp2
9427         underflow.
9428         * math/auto-libm-test-out: Regenerated.
9429
9430 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
9431
9432         [BZ #16274]
9433         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9434         handle filename validation.
9435         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9436         (do_open): Delete.
9437
9438 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
9439
9440         [BZ #6786]
9441         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9442         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9443         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9444         <float.h>.
9445         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9446         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9447         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9448         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9449         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9450         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9451         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9452         * math/auto-libm-test-in: Don't allow missing errno from erfc.
9453         Add more erfc tests.
9454         * math/auto-libm-test-out: Regenerated.
9455         * sysdeps/i386/fpu/libm-test-ulps: Update.
9456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9457
9458         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9459         exp2, expm1, j0 and j1.
9460         * math/auto-libm-test-out: Regenerated.
9461         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9462         (erfc_test_data): Likewise.
9463         (exp_test_data): Likewise.
9464         (exp_tonearest_test_data): Likewise.
9465         (exp_towardzero_test_data): Likewise.
9466         (exp_downward_test_data): Likewise.
9467         (exp_upward_test_data): Likewise.
9468         (exp10_test_data): Likewise.
9469         (exp2_test_data): Likewise.
9470         (expm1_test_data): Likewise.
9471         (j0_test_data): Likewise.
9472         (j1_test_data): Likewise.
9473         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9474         (input_flag_type): Add flag_xfail_rounding.
9475         (input_flags): Add xfail-rounding.
9476         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9477         (output_for_one_input_case): Handle flag_xfail_rounding.
9478         * sysdeps/i386/fpu/libm-test-ulps: Update.
9479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9480
9481 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
9482
9483         [BZ #16289]
9484         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9485         division by 0.
9486
9487 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9488
9489         [BZ #16195]
9490         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9491         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9492         (STAP_PROBE0): New macro.
9493         (STAP_PROBE1): Likewise.
9494         (STAP_PROBE2): Likewise.
9495         (STAP_PROBE3): Likewise.
9496         (STAP_PROBE4): Likewise.
9497
9498 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
9499
9500         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9501
9502 2013-12-02  Steve Ellcey  <sellcey@mips.com>
9503
9504         * benchtests/Makefile (bench): Add sqrt.
9505         (LDLIBS-bench-sqrt): New.
9506         * benchtests/sqrt-input: New.
9507
9508 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
9509
9510         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9511         (GAIH_EAI): Likewise.
9512         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9513         (gaih_inet): Likewise.
9514         (getaddrinfo): Don't use GAIH_EAI.
9515
9516         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9517         (struct gaih): Remove definition.
9518
9519 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9520
9521         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9522         Use HERRNOP directly.
9523
9524 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9525
9526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9527
9528 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
9529
9530         * math/gen-auto-libm-tests.c (test_functions): Add more
9531         single-argument functions.
9532         (special_fill_pi_2): New function.
9533         (special_fill_minus_pi_2): Likewise.
9534         (special_fill_pi_6): Likewise.
9535         (special_fill_minus_pi_6): Likewise.
9536         (special_fill_pi_3): Likewise.
9537         (special_fill_2pi_3): Likewise.
9538         (special_fill_e): Likewise.
9539         (special_fill_1_e): Likewise.
9540         (special_fill_e_minus_1): Likewise.
9541         (special_real_inputs): Add more special inputs.
9542         (output_for_one_input_case): Do not require ERANGE on underflow to
9543         zero if round-to-nearest result does not underflow to zero, unless
9544         exact results required.
9545         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9546         atan, atanh, cbrt, cos and cosh.
9547         * math/auto-libm-test-out: Regenerated.
9548         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9549         (acos_tonearest_test_data): Likewise.
9550         (acos_towardzero_test_data): Likewise.
9551         (acos_downward_test_data): Likewise.
9552         (acos_upward_test_data): Likewise.
9553         (acosh_test_data): Likewise.
9554         (asin_test_data): Likewise.
9555         (asin_tonearest_test_data): Likewise.
9556         (asin_towardzero_test_data): Likewise.
9557         (asin_upward_test_data): Likewise.
9558         (asinh_test_data): Likewise.
9559         (atan_test_data): Likewise.
9560         (atanh_test_data): Likewise.
9561         (cbrt_test_data): Likewise.
9562         (cos_test_data): Likewise.
9563         (cos_tonearest_test_data): Likewise.
9564         (cos_towardzero_test_data): Likewise.
9565         (cos_downward_test_data): Likewise.
9566         (cos_upward_test_data): Likewise.
9567         (cosh_test_data): Likewise.
9568         (cosh_tonearest_test_data): Likewise.
9569         (cosh_towardzero_test_data): Likewise.
9570         (cosh_downward_test_data): Likewise.
9571         (cosh_upward_test_data): Likewise.
9572         * sysdeps/i386/fpu/libm-test-ulps: Update.
9573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9574
9575 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
9576
9577         [BZ #6787]
9578         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9579         * math/w_exp10f.c (__exp10f): Likewise.
9580         * math/w_exp10l.c (__exp10l): Likewise.
9581         * math/libm-test.inc (exp10_test_data): Add more tests and expect
9582         errno settings in existing tests.
9583
9584         [BZ #14032]
9585         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9586         precision control set to double precision.
9587         * sysdeps/i386/fpu/w_sqrt.c: New file.
9588         * math/auto-libm-test-in: Add more tests.
9589         * math/auto-libm-test-out: Update.
9590
9591         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9592         (sqrt_test_tonearest): New function.
9593         (sqrt_towardzero_test_data): New variable.
9594         (sqrt_test_towardzero): New function.
9595         (sqrt_downward_test_data): New variable.
9596         (sqrt_test_downward): New function.
9597         (sqrt_upward_test_data): New variable.
9598         (sqrt_test_upward): New function.
9599         (main): Call the new functions.
9600
9601         * math/gen-auto-libm-tests.c: New file.
9602         * math/auto-libm-test-in: Likewise.
9603         * math/auto-libm-test-out: New generated file.
9604         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9605         variables.
9606         (%beautify): Add generated representations of zero.
9607         (top level): Set $auto_input and call parse_auto_input.
9608         (beautify): Remove trailing "f" from hex float constants.
9609         (parse_args): Handle XFAIL_TEST.
9610         (convert_condition): New function.
9611         (or_value): Likewise.
9612         (or_cond_value): Likewise.
9613         (generate_testfile): Handle AUTO_TESTS_* lines.
9614         (parse_auto_input): New function.
9615         * math/libm-test.inc (XFAIL_TEST): New macro.
9616         (ERRNO_UNCHANGED): Update value.
9617         (ERRNO_EDOM): Likewise.
9618         (ERRNO_ERANGE): Likewise.
9619         (IGNORE_RESULT): Likewise.
9620         (TEST_COND_flt_32): New macro.
9621         (TEST_COND_dbl_64): Likewise.
9622         (TEST_COND_ldbl_96_intel): Likewise.
9623         (TEST_COND_ldbl_96_m68k): Likewise.
9624         (TEST_COND_ldbl_128): Likewise.
9625         (TEST_COND_ldbl_128ibm): Likewise.
9626         (TEST_COND_long32): Likewise.
9627         (TEST_COND_long64): Likewise.
9628         (TEST_COND_before_rounding): Likewise.
9629         (TEST_COND_after_rounding): Likewise.
9630         (enable_test): Handle XFAIL_TEST flag.
9631         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9632         with finite results.
9633         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9634         auto-libm-test-out.
9635
9636 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9637             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9638
9639         [BZ #16214]
9640         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9641         __tls_get_addr_internal instead of __tls_get_offset in order to
9642         avoid GOT pointer dependency.  Make rtld export
9643         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9644         __tls_get_addr since we are a __tls_get_offset platform.
9645         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9646         GOT pointer being set up before.
9647         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9648
9649 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
9650
9651         * manual/math.texi (Errors in Math Functions): Document accuracy
9652         goals.
9653
9654         [BZ #15004]
9655         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9656         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9657         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9658         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9659         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9660         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9661         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9662         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9663         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9664         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9665         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9666         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9667         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9668         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9669         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9670         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9671
9672         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9673         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9674         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9675         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9676         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9677         Likewise.
9678         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9679         Likewise.
9680         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9681         Likewise.
9682         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9683         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9684         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9685         atomic-feupdateenv and flt-rounds.
9686         * sysdeps/powerpc/nofpu/Versions (libc): Add
9687         __atomic_feholdexcept, __atomic_feclearexcept,
9688         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9689         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9690         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9691         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9692         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9693         here.
9694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9695         Update.
9696
9697         * manual/arith.texi (FP Exceptions): Document that exceptions may
9698         not be raised when matherr is used.
9699         (Math Error Reporting): Document overflow in directed rounding
9700         modes.  Document that errno may not be set when finite values are
9701         returned on overflow.  Document intent to set errno on underflow
9702         only for underflow to zero.
9703
9704         [BZ #16271]
9705         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9706         round-to-nearest then adjust result for other rounding modes.
9707         * include/fenv.h (fegetround): Use libm_hidden_proto.
9708         * math/fegetround.c (fegetround): Use libm_hidden_def.
9709         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9710         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9711         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9712         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9713         Likewise.
9714         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9715         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9716         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9717         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9718
9719 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9720
9721         [BZ #16077]
9722         * nss/Versions (libnss_files): Add
9723         _nss_files_gethostbyname3_r.
9724         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9725         New function.
9726         (HOST_DB_LOOKUP): Remove macro.
9727         (_nss_files_gethostbyname_r): Implement function without the
9728         HOST_DB_LOOKUP macro.
9729         (_nss_files_gethostbyname2_r): Likewise.
9730
9731 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
9732
9733         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9734
9735 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
9736
9737         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9738         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9739         warning.
9740
9741 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9742
9743         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9744         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9745         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9746         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9747         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9748         __fe_nomask_env_priv and attribute_hidden.
9749         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9750         (libc_feupdateenv_test_ppc): Likewise.
9751         (libc_feresetround_ppc): Likewise.
9752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9753         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9754         compat_symbol macro.
9755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9756         (__fe_nomask_env): Likewise.
9757         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9758
9759 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9760
9761         * string/Makefile: Remove ifunc tests.
9762         * string/test-string.h: Define TEST_IFUNC.
9763         * string/test-bcopy-ifunc.c: Remove.
9764         * string/test-bzero-ifunc.c: Likewise.
9765         * string/test-memccpy-ifunc.c: Likewise.
9766         * string/test-memchr-ifunc.c: Likewise.
9767         * string/test-memcmp-ifunc.c: Likewise.
9768         * string/test-memcpy-ifunc.c: Likewise.
9769         * string/test-memmem-ifunc.c: Likewise.
9770         * string/test-memmove-ifunc.c: Likewise.
9771         * string/test-mempcpy-ifunc.c: Likewise.
9772         * string/test-memrchr-ifunc.c: Likewise.
9773         * string/test-memset-ifunc.c: Likewise.
9774         * string/test-rawmemchr-ifunc.c: Likewise.
9775         * string/test-stpcpy-ifunc.c: Likewise.
9776         * string/test-stpncpy-ifunc.c: Likewise.
9777         * string/test-strcasecmp-ifunc.c: Likewise.
9778         * string/test-strcasestr-ifunc.c: Likewise.
9779         * string/test-strcat-ifunc.c: Likewise.
9780         * string/test-strchr-ifunc.c: Likewise.
9781         * string/test-strchrnul-ifunc.c: Likewise.
9782         * string/test-strcmp-ifunc.c: Likewise.
9783         * string/test-strcpy-ifunc.c: Likewise.
9784         * string/test-strcspn-ifunc.c: Likewise.
9785         * string/test-strlen-ifunc.c: Likewise.
9786         * string/test-strncasecmp-ifunc.c: Likewise.
9787         * string/test-strncat-ifunc.c: Likewise.
9788         * string/test-strncmp-ifunc.c: Likewise.
9789         * string/test-strncpy-ifunc.c: Likewise.
9790         * string/test-strnlen-ifunc.c: Likewise.
9791         * string/test-strpbrk-ifunc.c: Likewise.
9792         * string/test-strrchr-ifunc.c: Likewise.
9793         * string/test-strspn-ifunc.c: Likewise.
9794         * string/test-strstr-ifunc.c: Likewise.
9795
9796 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9797
9798         * benchtests/Makefile: Remove ifunc tests.
9799         * benchtests/bench-string.h: Define TEST_IFUNC.
9800         * benchtests/bench-bcopy-ifunc.c: Remove.
9801         * benchtests/bench-bzero-ifunc.c: Likewise.
9802         * benchtests/bench-memccpy-ifunc.c: Likewise.
9803         * benchtests/bench-memchr-ifunc.c: Likewise.
9804         * benchtests/bench-memcmp-ifunc.c: Likewise.
9805         * benchtests/bench-memcpy-ifunc.c: Likewise.
9806         * benchtests/bench-memmem-ifunc.c: Likewise.
9807         * benchtests/bench-memmove-ifunc.c: Likewise.
9808         * benchtests/bench-mempcpy-ifunc.c: Likewise.
9809         * benchtests/bench-memrchr-ifunc.c: Likewise.
9810         * benchtests/bench-memset-ifunc.c: Likewise.
9811         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9812         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9813         * benchtests/bench-stpcpy-ifunc.c: Likewise.
9814         * benchtests/bench-stpncpy-ifunc.c: Likewise.
9815         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9816         * benchtests/bench-strcasestr-ifunc.c: Likewise.
9817         * benchtests/bench-strcat-ifunc.c: Likewise.
9818         * benchtests/bench-strchr-ifunc.c: Likewise.
9819         * benchtests/bench-strchrnul-ifunc.c: Likewise.
9820         * benchtests/bench-strcmp-ifunc.c: Likewise.
9821         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9822         * benchtests/bench-strcpy-ifunc.c: Likewise.
9823         * benchtests/bench-strcspn-ifunc.c: Likewise.
9824         * benchtests/bench-strlen-ifunc.c: Likewise.
9825         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9826         * benchtests/bench-strncat-ifunc.c: Likewise.
9827         * benchtests/bench-strncmp-ifunc.c: Likewise.
9828         * benchtests/bench-strncpy-ifunc.c: Likewise.
9829         * benchtests/bench-strnlen-ifunc.c: Likewise.
9830         * benchtests/bench-strpbrk-ifunc.c: Likewise.
9831         * benchtests/bench-strrchr-ifunc.c: Likewise.
9832         * benchtests/bench-strsep-ifunc.c: Likewise.
9833         * benchtests/bench-strspn-ifunc.c: Likewise.
9834         * benchtests/bench-strstr-ifunc.c: Likewise.
9835
9836 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9837
9838         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9839
9840 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9841
9842         * resolv/netdb.h: Use __glibc_reserved instead __unused.
9843         * rt/aio.h: Likewise.
9844         * sysdeps/gnu/bits/utmp.h: Likewise.
9845         * sysdeps/gnu/bits/utmpx.h: Likewise.
9846         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9847         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9848         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9849         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9850         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9851         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9852         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9853         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9854         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9855         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9856         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9857         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9858         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9860         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9861         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9862         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9863         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9864         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9865         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9866         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9867         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9868         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9869         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9870         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9871         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9872         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9873         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9874         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9875         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9876         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9877         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9878         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9879         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9880         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9881         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9882         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9883         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9884         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9885         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9886         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9887         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9888
9889 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
9890
9891         [BZ #16245]
9892         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9893         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9894
9895 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
9896
9897         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9898         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9899         Likewise.
9900
9901 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9902
9903         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9904         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9905         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9906         (__fesetround): Remove define.
9907         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9908         rounding and exceptions handling.
9909         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9910         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9911         (__fe_nomask_env): Likewise.
9912         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9913         __fegetround instead of fegetround.
9914         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9915         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9916
9917 2013-11-21  Roland McGrath  <roland@hack.frob.com>
9918
9919         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9920         it's there.
9921
9922         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9923
9924 2013-11-21  Meador Inge  <meadori@codesourcery.com>
9925
9926         [BZ #11157]
9927         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9928         (encrypt_r): Likewise.
9929         * malloc/obstack.h (obstack_free): Likewise.
9930         * posix/unistd.h (encrypt): Likewise.
9931
9932 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
9933
9934         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9935         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9936         DL_CALL_DT_FINI() that call the functions directly.
9937         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9938         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9939         * elf/dl-fini.c: Likewise.
9940
9941 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
9942
9943         * malloc/hooks.c (memalign_check): Add alignment rounding.
9944         * malloc/malloc.c (_mid_memalign): New function.
9945         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9946         Implement by calling _mid_memalign.
9947         * manual/probes.texi (Memory Allocation Probes): Remove
9948         memory_valloc_retry and memory_pvalloc_retry.
9949
9950 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9951
9952         * locale/programs/locarchive.c (open_archive): Add const
9953         qualifier to ARCHIVEFNAME and copy default fname to
9954         DEFAULT_FNAME.
9955
9956         [BZ #15601]
9957         * libio/tst-widetext.input: Rename Oriya to Odia.
9958         * locale/iso-639.def: Likewise.
9959
9960         * manual/probes.texi (Mathematical Function Probes): Add
9961         documentation for sin, cos, asin and acos probes.
9962         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9963         (__sin32): Add slowasin probe.
9964         (__cos32): Add slowacos probe.
9965         (__mpsin): Add slowsin probe.
9966         (__mpcos): Add slowcos probe.
9967
9968 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
9969
9970         [BZ #15483]
9971         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9972         thread-local __sim_exceptions_thread and global
9973         __sim_exceptions_global.
9974         (__sim_disabled_exceptions): Change to thread-local
9975         __sim_disabled_exceptions_thread and global
9976         __sim_disabled_exceptions_global.
9977         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9978         and global __sim_round_mode_global.
9979         (__simulate_exceptions): Use thread-local floating-point state and
9980         set global state from it as needed.
9981         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9982         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9983         __sim_round_mode_thread.
9984         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9985         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9986         and global __sim_exceptions_global.
9987         (__sim_disabled_exceptions): Change to thread-local
9988         __sim_disabled_exceptions_thread and global
9989         __sim_disabled_exceptions_global.
9990         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9991         and global __sim_round_mode_global.
9992         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9993         (SIM_SET_GLOBAL): Likewise.
9994         * sysdeps/powerpc/soft-fp/sfp-machine.h
9995         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9996         __sim_round_mode_thread.
9997         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9998         __sim_disabled_exceptions_thread.
9999         (__sim_exceptions): Change to __sim_exceptions_thread.
10000         (__sim_disabled_exceptions): Change to
10001         __sim_disabled_exceptions_thread.
10002         (__sim_round_mode): Change to __sim_round_mode_thread.
10003         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10004         thread-local floating-point state and set global state from it as
10005         needed.
10006         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10007         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10008         (__sim_disabled_exceptions): Remove extern declaration.
10009         (feenableexcept): Use thread-local floating-point state and set
10010         global state from it as needed.
10011         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10012         extern declaration.
10013         (__sim_disabled_exceptions): Likewise.
10014         (__sim_round_mode): Likewise.
10015         (__fegetenv): Use thread-local floating-point state.
10016         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10017         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10018         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10019         floating-point state and set global state from it as needed.
10020         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10021         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10022         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10023         Likewise.
10024         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10025         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10026         Likewise.
10027         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10028         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10029         Use __sim_round_mode_thread.
10030         * math/test-fenv-tls.c: New file.
10031         * math/Makefile (tests): Add test-fenv-tls.
10032         ($(objpfx)test-fenv-tls): Depend on
10033         $(common-objpfx)nptl/libpthread.so.
10034
10035 2013-11-19  Andreas Schwab  <schwab@suse.de>
10036
10037         * locale/programs/locale.c (show_info): Decode wordarray elements.
10038         * locale/categories.def (LC_MONETARY): Add element for
10039         _NL_MONETARY_CRNCYSTR.
10040         * locale/C-monetary.c (conversion_rate): New variable.
10041         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10042         element.
10043
10044 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
10045
10046         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10047         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10048
10049 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
10050
10051         * elf/Makefile (tst-auxv): New test.
10052         * elf/tst-auxv.c: New
10053         * elf/rtld.c (dl_main): Adjust AT_EXECFN
10054
10055 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
10056
10057         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10058         (hidden_proto): Caller changed.
10059         (hidden_tls_proto): New macro.
10060         (libc_hidden_tls_proto): Likewise.
10061         (rtld_hidden_tls_proto): Likewise.
10062         (libm_hidden_tls_proto): Likewise.
10063         (libresolv_hidden_tls_proto): Likewise.
10064         (librt_hidden_tls_proto): Likewise.
10065         (libdl_hidden_tls_proto): Likewise.
10066         (libnss_files_hidden_tls_proto): Likewise.
10067         (libnsl_hidden_tls_proto): Likewise.
10068         (libnss_nisplus_hidden_tls_proto): Likewise.
10069         (libutil_hidden_tls_proto): Likewise.
10070
10071 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
10072
10073         [BZ #10253]
10074         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10075         (decompose_rpath): Defer expansion to fillin_rpath.
10076         (_dl_init_paths): Pass linkmap to fillin_rpath.
10077
10078 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10079
10080         * benchtests/Makefile: Add strsep.
10081         * benchtests/bench-strsep.c: New file: strsep benchtest.
10082         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10083
10084 2013-11-18  Andreas Schwab  <schwab@suse.de>
10085
10086         * locale/programs/locale.c (show_info) [case byte]: Check for
10087         '\377' instead of '\177'.
10088         * locale/C-monetary.c (not_available): Always use "\377".
10089         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10090         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
10091         detect unavailable sign_posn locale elements.
10092         * locale/localeconv.c (__localeconv): For grouping and
10093         mon_grouping handle "\177" and "\377" like no grouping.
10094         (INT_ELEM): New macro.  Use it to set all numeric members.
10095         * locale/programs/ld-monetary.c (monetary_read)
10096         <tok_mon_grouping>: Normalize single -1 to the empty string.
10097         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10098         Likewise.
10099
10100 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
10101
10102         [BZ #16055]
10103         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10104         when we match (nil).
10105         * stdio-common/tst-sscanf.c (struct test): Add testcase.
10106
10107 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
10108
10109         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10110         (NO_TEST_INLINE): Update value.
10111         (ERRNO_UNCHANGED): Likewise.
10112         (ERRNO_EDOM): Likewise.
10113         (ERRNO_ERANGE): Likewise.
10114         (IGNORE_RESULT): Likewise.
10115         (check_float_internal): Check signs of NaN results if
10116         TEST_NAN_SIGN used.
10117         (check_complex): Pass TEST_NAN_SIGN flag through to second
10118         check_float_internal call.
10119         (copysign_test_data): Add tests with quiet NaNs as second
10120         argument.  Use TEST_NAN_SIGN.
10121         (fabs_test_data): Add test of negative quiet NaN argument.  Use
10122         TEST_NAN_SIGN.
10123         (signbit_test_data): Add tests of quiet NaN argument.
10124         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10125
10126         * math/gen-libm-test.pl (show_exceptions): Take extra argument
10127         $ignore_result.
10128         (parse_args): Handle function results specified as IGNORE.
10129         * math/libm-test.inc (IGNORE_RESULT): New macro.
10130         (check_float_internal): Do not check numerical result if flag
10131         IGNORE_RESULT set.
10132         (check_complex): Pass through IGNORE_RESULT to second
10133         check_float_internal call.
10134         (check_int): Do not check numerical result if flag IGNORE_RESULT
10135         set.
10136         (check_long): Likewise.
10137         (check_bool): Likewise.
10138         (check_longlong): Likewise.
10139         (lrint_test_data): Add tests of infinite and NaN arguments.
10140         (lrint_tonearest_test_data): Likewise.
10141         (lrint_towardzero_test_data): Likewise.
10142         (lrint_downward_test_data): Likewise.
10143         (lrint_upward_test_data): Likewise.
10144         (llrint_test_data): Likewise.
10145         (llrint_tonearest_test_data): Likewise.
10146         (llrint_towardzero_test_data): Likewise.
10147         (llrint_downward_test_data): Likewise.
10148         (llrint_upward_test_data): Likewise.
10149         (lround_test_data): Likewise.
10150         (llround_test_data): Likewise.
10151
10152         * math/libm-test.inc (NO_TEST_INLINE): New macro.
10153         (ERRNO_UNCHANGED): Update value.
10154         (ERRNO_EDOM): Likewise.
10155         (ERRNO_ERANGE): Likewise.
10156         (NO_TEST_INLINE_FLOAT): New macro.
10157         (NO_TEST_INLINE_DOUBLE): Likewise.
10158         (enable_test): New function.
10159         (RUN_TEST_f_f): Check enable_test before running test.
10160         (RUN_TEST_2_f): Likewise.
10161         (RUN_TEST_fff_f): Likewise.
10162         (RUN_TEST_c_f): Likewise.
10163         (RUN_TEST_f_f1): Likewise.
10164         (RUN_TEST_fF_f1): Likewise.
10165         (RUN_TEST_fI_f1): Likewise.
10166         (RUN_TEST_ffI_f1): Likewise.
10167         (RUN_TEST_c_c): Likewise.
10168         (RUN_TEST_cc_c): Likewise.
10169         (RUN_TEST_f_i): Likewise.
10170         (RUN_TEST_f_i_tg): Likewise.
10171         (RUN_TEST_ff_i_tg): Likewise.
10172         (RUN_TEST_f_b): Likewise.
10173         (RUN_TEST_f_b_tg): Likewise.
10174         (RUN_TEST_f_l): Likewise.
10175         (RUN_TEST_f_L): Likewise.
10176         (RUN_TEST_fFF_11): Likewise.
10177         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10178         conditionals.
10179         (cosh_test_data): Likewise.
10180         (exp_test_data): Likewise.
10181         (expm1_test_data): Likewise.
10182         (hypot_test_data): Likewise.
10183         (pow_test_data): Likewise.
10184         (sinh_test_data): Likewise.
10185         (tanh_test_data): Likewise.
10186         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10187         flags argument.
10188
10189         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10190         tests with quiet NaN input and output.
10191         (acosh_test_data): Likewise.
10192         (asin_test_data): Likewise.
10193         (asinh_test_data): Likewise.
10194         (atan_test_data): Likewise.
10195         (atanh_test_data): Likewise.
10196         (atan2_test_data): Likewise.
10197         (cbrt_test_data): Likewise.
10198         (cos_test_data): Likewise.
10199         (cosh_test_data): Likewise.
10200         (erf_test_data): Likewise.
10201         (erfc_test_data): Likewise.
10202         (exp_test_data): Likewise.
10203         (exp10_test_data): Likewise.
10204         (exp2_test_data): Likewise.
10205         (expm1_test_data): Likewise.
10206         (hypot_test_data): Likewise.
10207         (j0_test_data): Likewise.
10208         (j1_test_data): Likewise.
10209         (jn_test_data): Likewise.
10210         (lgamma_test_data): Likewise.
10211         (log_test_data): Likewise.
10212         (log10_test_data): Likewise.
10213         (log1p_test_data): Likewise.
10214         (log2_test_data): Likewise.
10215         (pow_test_data): Likewise.
10216         (scalb_test_data): Likewise.
10217         (sin_test_data): Likewise.
10218         (sincos_test_data): Likewise.
10219         (sinh_test_data): Likewise.
10220         (tan_test_data): Likewise.
10221         (tanh_test_data): Likewise.
10222         (tgamma_test_data): Likewise.
10223         (y0_test_data): Likewise.
10224         (y1_test_data): Likewise.
10225         (yn_test_data): Likewise.
10226
10227         [BZ #16167]
10228         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10229         argument being NaN and avoid computations with second argument in
10230         that case.
10231         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10232         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10233         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10234
10235 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
10236
10237         * locale/iso-639.def: Add Chitwani Tharu (the).
10238
10239 2013-11-14  Andreas Schwab  <schwab@suse.de>
10240
10241         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10242         word instead of empty string.
10243
10244 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10245
10246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10247         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10249         (__fe_nomask_env): Likewise.
10250
10251 2013-11-13  Steve Ellcey  <sellcey@mips.com>
10252
10253         * benchtests/bench-timing.h: Include time.h.
10254
10255 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
10256
10257         [BZ #15997]
10258         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10259         to 3.4.0 for x32.
10260         * sysdeps/unix/sysv/linux/configure: Regenerated.
10261
10262 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
10263
10264         [BZ #16151]
10265         * stdlib/strtod_l.c (round_and_return): Do not consider
10266         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10267         exponent one less than half the least subnormal exponent.
10268         * stdlib/test-strtod-round-data: Add more tests.
10269         * stdlib/tst-strtod-round.c (tests): Regenerated.
10270
10271 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10272
10273         [BZ #14143]
10274         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10275         (__fe_mask_env): Likewise.
10276         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10277         libm_hidden_proto and add function prototype.
10278         (__fe_mask_env): Add function prototype.
10279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10280         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10282         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10284         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10285
10286 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10287
10288         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
10289         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10290
10291 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10292
10293         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10294         of htab_find_slot().
10295
10296 2013-11-11  David S. Miller  <davem@davemloft.net>
10297
10298         [BZ #16150]
10299         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10300         symbol in the non-vis3 case in static builds.
10301         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10302         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10303         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10304         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10305
10306 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
10307
10308         [BZ #387]
10309         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10310         it is empty.
10311
10312 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10313
10314         * benchtests/Makefile: Add bench-strtod.
10315         * benchtests/bench-strtod.c: New file: strtod benchtest
10316
10317 2013-11-11  Andreas Schwab  <schwab@suse.de>
10318
10319         [BZ #16153]
10320         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10321         terminating NUL in key length.
10322
10323 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10324
10325         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10326         Add artificial ODP entry for vDSO symbol for PPC64.
10327         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10328         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10329
10330 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
10331
10332         [BZ #15374]
10333         * nss/getent.c (services_keys): Recognize services starting with digit.
10334
10335 2013-11-06  David S. Miller  <davem@davemloft.net>
10336
10337         [BZ #15985]
10338         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10339         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10340
10341 2013-11-06  Will Newton  <will.newton@linaro.org>
10342
10343         * manual/memory.texi (Malloc Examples): Remove register
10344         keyword from examples.
10345
10346 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
10347
10348         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
10349
10350 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
10351
10352         [BZ #6981]
10353         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10354         depending on [__GCC_IEC_559 > 0].
10355         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10356         depending on [__GCC_IEC_559_COMPLEX > 0].
10357
10358 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
10359
10360         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10361         to iso-639.def.
10362
10363 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
10364
10365         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10366
10367 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
10368
10369         [BZ #16112]
10370         * malloc/malloc (malloc_info): Do not handle first bin as
10371         special case.
10372
10373 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
10374
10375         * locale/iso-639.def: Add Central Nahuatl (nhn).
10376
10377 2013-11-01  Bruno Haible  <bruno@clisp.org>
10378
10379         [BZ #7003]
10380         * manual/math.texi (BSD Random): Specify range upper bound as
10381         in POSIX.
10382
10383 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
10384
10385         * locale/iso-639.def: Add Meadow Mari (mhr).
10386
10387 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
10388
10389         [BZ #14752], [BZ #15763]
10390         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10391         Validate name.
10392         * rt/tst_shm.c: Add test for escaping directory.
10393
10394 2013-10-31  Andreas Schwab  <schwab@suse.de>
10395
10396         [BZ #15917]
10397         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10398         followed by 'x' as part of digit sequence.
10399         * stdio-common/tst-sscanf.c (double_tests2): New tests.
10400
10401 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10402
10403         [BZ #16037]
10404         * configure.ac: allow GNU Make 4.0 and greater.
10405         * configure: Regenerated.
10406
10407 2013-10-30  Will Newton  <will.newton@linaro.org>
10408
10409         [BZ #16038]
10410         * malloc/hooks.c (memalign_check): Limit alignment to the
10411         maximum representable power of two.
10412         * malloc/malloc.c (__libc_memalign): Likewise.
10413         * malloc/tst-memalign.c (do_test): Add test for very
10414         large alignment values.
10415         * malloc/tst-posix_memalign.c (do_test): Likewise.
10416
10417 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
10418
10419         [BZ #11087]
10420         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10421         (munmap_chunk): Likewise.
10422         (mremap_chunk): Likewise.
10423
10424 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
10425
10426         [BZ #15799]
10427         * stdlib/div.c (div): Remove obsolete code.
10428         * stdlib/ldiv.c (ldiv): Likewise.
10429         * stdlib/lldiv.c (lldiv): Likewise.
10430
10431 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10432
10433         [BZ #16071]
10434         * nss/nss_files/files-XXX.c (get_contents_ret): New
10435         enumerator.
10436         (get_contents): New function.
10437         (internal_getent): Use it.  Expand size of LINEBUFLEN.
10438
10439 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
10440
10441         * configure.in: Moved to ...
10442         * configure.ac: ... here. Change reference to configure.in
10443         to configure.ac.
10444         * sysdeps/arm/preconfigure.ac: ... here.
10445         configure.in to configure.ac.
10446         * sysdeps/gnu/configure.in: Moved to ...
10447         * sysdeps/gnu/configure.ac: ... here.
10448         * sysdeps/i386/configure.in: Moved to ...
10449         * sysdeps/i386/configure.ac: ... here.
10450         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10451         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10452         * sysdeps/mach/configure.in: Moved to ...
10453         * sysdeps/mach/configure.ac: ... here.
10454         * sysdeps/mach/hurd/configure.in: Moved to ...
10455         * sysdeps/mach/hurd/configure.ac: ... here.
10456         * sysdeps/powerpc/configure.in: Moved to ...
10457         * sysdeps/powerpc/configure.ac: ... here.
10458         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10459         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10460         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10461         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10462         * sysdeps/s390/s390-32/configure.in: Moved to ...
10463         * sysdeps/s390/s390-32/configure.ac: ... here.
10464         * sysdeps/s390/s390-64/configure.in: Moved to ...
10465         * sysdeps/s390/s390-64/configure.ac: ... here.
10466         * sysdeps/sh/configure.in: Moved to ...
10467         * sysdeps/sh/configure.ac: ... here.
10468         * sysdeps/sparc/configure.in: Moved to ...
10469         * sysdeps/sparc/configure.ac: ... here.
10470         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10471         * sysdeps/unix/sysv/linux/configure.ac: ... here.
10472         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10473         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10474         * sysdeps/x86_64/configure.in: Moved to ...
10475         * sysdeps/x86_64/configure.ac: ... here.
10476         * sysdeps/x86_64/preconfigure.in: Moved to ...
10477         * sysdeps/x86_64/preconfigure.ac: ... here.
10478         * aclocal.m4: Change reference to configure.in to configure.ac.
10479         * config.h.in: Likewise.
10480         * manual/install.texi: Likewise.
10481         * manual/maint.texi: Likewise.
10482         * Makefile: Likewise.
10483         * malloc/Makefile: Likewise.
10484         * nscd/Makefile: Likewise.
10485         * Makeconfig: Change reference to configure.in and
10486         preconfigure.in to configure.ac and preconfigure.ac
10487         respectively.
10488         * INSTALL: Regenerated.
10489         * configure: Likewise.
10490         * sysdeps/gnu/configure: Likewise.
10491         * sysdeps/i386/configure: Likewise.
10492         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10493         * sysdeps/mach/configure: Likewise.
10494         * sysdeps/mach/hurd/configure: Likewise.
10495         * sysdeps/powerpc/configure: Likewise.
10496         * sysdeps/powerpc/powerpc32/configure: Likewise.
10497         * sysdeps/powerpc/powerpc64/configure: Likewise.
10498         * sysdeps/s390/s390-32/configure: Likewise.
10499         * sysdeps/s390/s390-64/configure: Likewise.
10500         * sysdeps/sh/configure: Likewise.
10501         * sysdeps/sparc/configure: Likewise.
10502         * sysdeps/unix/sysv/linux/configure: Likewise.
10503         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10504         * sysdeps/x86_64/configure: Likewise.
10505         * sysdeps/x86_64/preconfigure: Likewise.
10506
10507 2013-10-29  Andreas Schwab  <schwab@suse.de>
10508
10509         * stdio-common/Makefile (tst-swscanf-ENV): Define.
10510
10511 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10512
10513         * benchtests/pow-inputs: Add new inputs.
10514
10515         * benchtests/exp-inputs: Add new inputs.
10516
10517         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10518         conditional check for return value.
10519         (__cos32): Likewise.
10520
10521 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10522
10523         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10524         to provide a boost for large inputs with word alignment.
10525         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10526         implementation based on optimized PPC64 strcpy.
10527         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10528         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10529         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10530         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10531
10532 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
10533
10534         [BZ #2801]
10535         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10536
10537 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
10538
10539         [BZ #14876]
10540         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10541         * time/tst-strptime.c (day_tests): Add testcase.
10542
10543 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
10544
10545         [BZ #14029]
10546         * manual/pattern.texi: Acknowledge that fnmatch can fail.
10547
10548 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
10549
10550         [BZ #16074]
10551         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10552         MAP_FAILED on error.
10553
10554 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10555
10556         [BZ #16072]
10557         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10558         heap for large requests.
10559
10560 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
10561
10562         [BZ #9954]
10563         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10564         result if the result has no associated interface.
10565         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10566         interface for all 127.X.Y.Z addresses.
10567
10568 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
10569
10570         * locale/iso-639.def: Add Ligurian (lij)
10571
10572 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
10573
10574         [BZ #15825]
10575         * sunrpc/rpc_main.c: Document rpcgen -5.
10576
10577 2013-10-19  Michael Stahl  <mstahl@redhat.com>
10578
10579         * elf/rtld.c (do_preload): Print the reason why preloading failed.
10580
10581 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
10582
10583         [BZ #10278]
10584         * posix/glob.c: Match only directories when trailing slash is present.
10585         * posix/tst-gnuglob.c (my_opendir): Do not open files.
10586         (main): Add testcase.
10587
10588 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
10589
10590         [BZ #15670]
10591         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10592
10593 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
10594
10595         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10596         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10597         AUTH_DES and cindex for FIPS 140-2.
10598         (DES Encryption): Add cindex FIPS 46-3.
10599
10600         * locale/locarchive.h (struct locarhandle): Add fname.
10601         * locale/programs/localedef.c (main): Pass ARGV[remaining]
10602         if an optional argument was specified to --list-archive,
10603         otherwise NULL.
10604         * locale/programs/locarchive.c (show_archive_content): Take new
10605         argument fname and pass it via ah.fname to open_archive.
10606         * locale/programs/localedef.h: Update decl.
10607         (open_archive): If AH->fname is non-null, open that file
10608         rather than the default file name, and don't ignore ENOENT.
10609         (create_archive): Set AH.fname to NULL.
10610         (delete_locales_from_archive): Likewise.
10611         (add_locales_to_archive): Likewise.
10612         * locale/programs/locfile.c (write_all_categories): Likewise.
10613
10614 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
10615             Aldy Hernandez  <aldyh@redhat.com>
10616
10617         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10618         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10619         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10620         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10621         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10622         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10623         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10624         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10625         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10626         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10627         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10628         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10629         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10630         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10631         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10632         Likewise.
10633         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10634         Likewise.
10635         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10636         Likewise.
10637         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10638         Likewise.
10639         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10640         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10641         Likewise.
10642         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10643         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10644         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10645         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10646         Likewise.
10647         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10648         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10649         * sysdeps/powerpc/preconfigure: Likewise.
10650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10651         Likewise.
10652         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10653         Replace contents of file by #include of <fenv_libc.h>.
10654         * sysdeps/powerpc/soft-fp/sfp-machine.h
10655         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10656         and <sys/prctl.h>.
10657         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10658         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10659         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10660         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10661         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10662         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10663         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10664         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10665         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10666         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10667         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10668         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10670         Allow copysignl PLT reference to be missing.
10671
10672 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
10673             Joseph Myers  <joseph@codesourcery.com
10674
10675         [BZ #15948]
10676         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10677         single character.
10678         (add_to_tablewc): Assert sequence of wide characters is nonempty.
10679
10680 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10681
10682         * elf/tst-tls-dlinfo.c: Don't include tls.h.
10683         * elf/tst-tls1.c: Likewise.
10684         * elf/tst-tls10.h: Likewise.
10685         * elf/tst-tls14.c: Likewise.
10686         * elf/tst-tls2.c: Likewise.
10687         * elf/tst-tls3.c: Likewise.
10688         * elf/tst-tls4.c: Likewise.
10689         * elf/tst-tls5.c: Likewise.
10690         * elf/tst-tls6.c: Likewise.
10691         * elf/tst-tls7.c: Likewise.
10692         * elf/tst-tls8.c: Likewise.
10693         * elf/tst-tls9.c: Likewise.
10694         * elf/tst-tlsmod1.c: Likewise.
10695         * elf/tst-tlsmod13.c: Likewise.
10696         * elf/tst-tlsmod13a.c: Likewise.
10697         * elf/tst-tlsmod14a.c: Likewise.
10698         * elf/tst-tlsmod16a.c: Likewise.
10699         * elf/tst-tlsmod16b.c: Likewise.
10700         * elf/tst-tlsmod2.c: Likewise.
10701         * elf/tst-tlsmod3.c: Likewise.
10702         * elf/tst-tlsmod4.c: Likewise.
10703         * elf/tst-tlsmod5.c: Likewise.
10704         * elf/tst-tlsmod6.c: Likewise.
10705
10706 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
10707
10708         [BZ #12486]
10709         * malloc/malloc.c: remove checks for statistics.
10710
10711 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
10712
10713         [BZ #15277]
10714         * inet/inet_net.c (inet_network): Detect additional invalid strings.
10715         * inet/tst-network.c: Add testcase.
10716
10717 2013-10-17  Andreas Schwab  <schwab@suse.de>
10718
10719         [BZ #15218]
10720         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10721         to determine canonical name.
10722
10723 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
10724
10725         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10726         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10727         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10728         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10729         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10730         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10731         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10732         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10733         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10734         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10735         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10736         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10737         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10738         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10739         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10740         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10741         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10742         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10743         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10744         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10745         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10746         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10747         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10748         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10749         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10750         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10751         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10752         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10753         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10754         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10755         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10756         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10757         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10758         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10759         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10760         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10761         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10762         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10763         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10764         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10765         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10766         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10767         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10768         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10769         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10770         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10771         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10772         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10773         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10774         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10775         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10776         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10777         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10778         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10779         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10780         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10781         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10782         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10783
10784 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
10785
10786         [BZ #16041]
10787         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10788         make result into a quiet NaN.
10789
10790 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
10791
10792         * soft-fp/adddf3.c: Fix horizontal whitespace.
10793         * soft-fp/addsf3.c: Likewise.
10794         * soft-fp/addtf3.c: Likewise.
10795         * soft-fp/divdf3.c: Likewise.
10796         * soft-fp/divsf3.c: Likewise.
10797         * soft-fp/divtf3.c: Likewise.
10798         * soft-fp/double.h: Likewise.
10799         * soft-fp/eqdf2.c: Likewise.
10800         * soft-fp/eqsf2.c: Likewise.
10801         * soft-fp/eqtf2.c: Likewise.
10802         * soft-fp/extenddftf2.c: Likewise.
10803         * soft-fp/extended.h: Likewise.
10804         * soft-fp/extendsfdf2.c: Likewise.
10805         * soft-fp/extendsftf2.c: Likewise.
10806         * soft-fp/extendxftf2.c: Likewise.
10807         * soft-fp/fixdfdi.c: Likewise.
10808         * soft-fp/fixdfsi.c: Likewise.
10809         * soft-fp/fixdfti.c: Likewise.
10810         * soft-fp/fixsfdi.c: Likewise.
10811         * soft-fp/fixsfsi.c: Likewise.
10812         * soft-fp/fixsfti.c: Likewise.
10813         * soft-fp/fixtfdi.c: Likewise.
10814         * soft-fp/fixtfsi.c: Likewise.
10815         * soft-fp/fixtfti.c: Likewise.
10816         * soft-fp/fixunsdfdi.c: Likewise.
10817         * soft-fp/fixunsdfsi.c: Likewise.
10818         * soft-fp/fixunsdfti.c: Likewise.
10819         * soft-fp/fixunssfdi.c: Likewise.
10820         * soft-fp/fixunssfsi.c: Likewise.
10821         * soft-fp/fixunssfti.c: Likewise.
10822         * soft-fp/fixunstfdi.c: Likewise.
10823         * soft-fp/fixunstfsi.c: Likewise.
10824         * soft-fp/fixunstfti.c: Likewise.
10825         * soft-fp/floatdidf.c: Likewise.
10826         * soft-fp/floatdisf.c: Likewise.
10827         * soft-fp/floatditf.c: Likewise.
10828         * soft-fp/floatsidf.c: Likewise.
10829         * soft-fp/floatsisf.c: Likewise.
10830         * soft-fp/floatsitf.c: Likewise.
10831         * soft-fp/floattidf.c: Likewise.
10832         * soft-fp/floattisf.c: Likewise.
10833         * soft-fp/floattitf.c: Likewise.
10834         * soft-fp/floatundidf.c: Likewise.
10835         * soft-fp/floatundisf.c: Likewise.
10836         * soft-fp/floatunditf.c: Likewise.
10837         * soft-fp/floatunsidf.c: Likewise.
10838         * soft-fp/floatunsisf.c: Likewise.
10839         * soft-fp/floatunsitf.c: Likewise.
10840         * soft-fp/floatuntidf.c: Likewise.
10841         * soft-fp/floatuntisf.c: Likewise.
10842         * soft-fp/floatuntitf.c: Likewise.
10843         * soft-fp/fmadf4.c: Likewise.
10844         * soft-fp/fmasf4.c: Likewise.
10845         * soft-fp/fmatf4.c: Likewise.
10846         * soft-fp/gedf2.c: Likewise.
10847         * soft-fp/gesf2.c: Likewise.
10848         * soft-fp/getf2.c: Likewise.
10849         * soft-fp/ledf2.c: Likewise.
10850         * soft-fp/lesf2.c: Likewise.
10851         * soft-fp/letf2.c: Likewise.
10852         * soft-fp/muldf3.c: Likewise.
10853         * soft-fp/mulsf3.c: Likewise.
10854         * soft-fp/multf3.c: Likewise.
10855         * soft-fp/negdf2.c: Likewise.
10856         * soft-fp/negsf2.c: Likewise.
10857         * soft-fp/negtf2.c: Likewise.
10858         * soft-fp/op-1.h: Likewise.
10859         * soft-fp/op-2.h: Likewise.
10860         * soft-fp/op-4.h: Likewise.
10861         * soft-fp/op-8.h: Likewise.
10862         * soft-fp/op-common.h: Likewise.
10863         * soft-fp/quad.h: Likewise.
10864         * soft-fp/single.h: Likewise.
10865         * soft-fp/soft-fp.h: Likewise.
10866         * soft-fp/sqrtdf2.c: Likewise.
10867         * soft-fp/sqrtsf2.c: Likewise.
10868         * soft-fp/sqrttf2.c: Likewise.
10869         * soft-fp/subdf3.c: Likewise.
10870         * soft-fp/subsf3.c: Likewise.
10871         * soft-fp/subtf3.c: Likewise.
10872         * soft-fp/truncdfsf2.c: Likewise.
10873         * soft-fp/trunctfdf2.c: Likewise.
10874         * soft-fp/trunctfsf2.c: Likewise.
10875         * soft-fp/trunctfxf2.c: Likewise.
10876         * soft-fp/unorddf2.c: Likewise.
10877         * soft-fp/unordsf2.c: Likewise.
10878         * soft-fp/unordtf2.c: Likewise.
10879
10880 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
10881
10882         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10883         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10884
10885 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
10886
10887         * elf/dl-libc.c: Clear initfini list after freeing.
10888
10889 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
10890
10891         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10892         * soft-fp/addsf3.c: Likewise.
10893         * soft-fp/addtf3.c: Likewise.
10894         * soft-fp/divdf3.c: Likewise.
10895         * soft-fp/divsf3.c: Likewise.
10896         * soft-fp/divtf3.c: Likewise.
10897         * soft-fp/double.h: Likewise.
10898         * soft-fp/eqdf2.c: Likewise.
10899         * soft-fp/eqsf2.c: Likewise.
10900         * soft-fp/eqtf2.c: Likewise.
10901         * soft-fp/extenddftf2.c: Likewise.
10902         * soft-fp/extended.h: Likewise.
10903         * soft-fp/extendsfdf2.c: Likewise.
10904         * soft-fp/extendsftf2.c: Likewise.
10905         * soft-fp/extendxftf2.c: Likewise.
10906         * soft-fp/fixdfdi.c: Likewise.
10907         * soft-fp/fixdfsi.c: Likewise.
10908         * soft-fp/fixdfti.c: Likewise.
10909         * soft-fp/fixsfdi.c: Likewise.
10910         * soft-fp/fixsfsi.c: Likewise.
10911         * soft-fp/fixsfti.c: Likewise.
10912         * soft-fp/fixtfdi.c: Likewise.
10913         * soft-fp/fixtfsi.c: Likewise.
10914         * soft-fp/fixtfti.c: Likewise.
10915         * soft-fp/fixunsdfdi.c: Likewise.
10916         * soft-fp/fixunsdfsi.c: Likewise.
10917         * soft-fp/fixunsdfti.c: Likewise.
10918         * soft-fp/fixunssfdi.c: Likewise.
10919         * soft-fp/fixunssfsi.c: Likewise.
10920         * soft-fp/fixunssfti.c: Likewise.
10921         * soft-fp/fixunstfdi.c: Likewise.
10922         * soft-fp/fixunstfsi.c: Likewise.
10923         * soft-fp/fixunstfti.c: Likewise.
10924         * soft-fp/floatdidf.c: Likewise.
10925         * soft-fp/floatdisf.c: Likewise.
10926         * soft-fp/floatditf.c: Likewise.
10927         * soft-fp/floatsidf.c: Likewise.
10928         * soft-fp/floatsisf.c: Likewise.
10929         * soft-fp/floatsitf.c: Likewise.
10930         * soft-fp/floattidf.c: Likewise.
10931         * soft-fp/floattisf.c: Likewise.
10932         * soft-fp/floattitf.c: Likewise.
10933         * soft-fp/floatundidf.c: Likewise.
10934         * soft-fp/floatundisf.c: Likewise.
10935         * soft-fp/floatunsidf.c: Likewise.
10936         * soft-fp/floatunsisf.c: Likewise.
10937         * soft-fp/floatuntidf.c: Likewise.
10938         * soft-fp/floatuntisf.c: Likewise.
10939         * soft-fp/floatuntitf.c: Likewise.
10940         * soft-fp/fmadf4.c: Likewise.
10941         * soft-fp/fmasf4.c: Likewise.
10942         * soft-fp/fmatf4.c: Likewise.
10943         * soft-fp/gedf2.c: Likewise.
10944         * soft-fp/gesf2.c: Likewise.
10945         * soft-fp/getf2.c: Likewise.
10946         * soft-fp/ledf2.c: Likewise.
10947         * soft-fp/lesf2.c: Likewise.
10948         * soft-fp/letf2.c: Likewise.
10949         * soft-fp/muldf3.c: Likewise.
10950         * soft-fp/mulsf3.c: Likewise.
10951         * soft-fp/multf3.c: Likewise.
10952         * soft-fp/negdf2.c: Likewise.
10953         * soft-fp/negsf2.c: Likewise.
10954         * soft-fp/negtf2.c: Likewise.
10955         * soft-fp/op-1.h: Likewise.
10956         * soft-fp/op-2.h: Likewise.
10957         * soft-fp/op-4.h: Likewise.
10958         * soft-fp/op-8.h: Likewise.
10959         * soft-fp/op-common.h: Likewise.
10960         * soft-fp/quad.h: Likewise.
10961         * soft-fp/single.h: Likewise.
10962         * soft-fp/soft-fp.h: Likewise.
10963         * soft-fp/sqrtdf2.c: Likewise.
10964         * soft-fp/sqrtsf2.c: Likewise.
10965         * soft-fp/sqrttf2.c: Likewise.
10966         * soft-fp/subdf3.c: Likewise.
10967         * soft-fp/subsf3.c: Likewise.
10968         * soft-fp/subtf3.c: Likewise.
10969         * soft-fp/truncdfsf2.c: Likewise.
10970         * soft-fp/trunctfdf2.c: Likewise.
10971         * soft-fp/trunctfsf2.c: Likewise.
10972         * soft-fp/trunctfxf2.c: Likewise.
10973         * soft-fp/unorddf2.c: Likewise.
10974         * soft-fp/unordsf2.c: Likewise.
10975         * soft-fp/unordtf2.c: Likewise.
10976
10977 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
10978
10979         [BZ #15672]
10980         * misc/error.c (error_tail): Fix possible buffer overflow.
10981
10982 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
10983
10984         [BZ #13028]
10985         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10986         address.
10987
10988 2013-10-14  P. J. McDermott  <pj@pehjota.net>
10989
10990         [BZ #832]
10991         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
10992         testing pipefail option.
10993
10994 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
10995
10996         * soft-fp/double.h: Indent preprocessor directives inside #if.
10997         * soft-fp/extended.h: Likewise.
10998         * soft-fp/op-2.h: Likewise.
10999         * soft-fp/op-4.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
11005 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
11006
11007         * iconv/iconv_prog.c: Fix typos.
11008         * stdio-common/psiginfo-data.h: Likewise.
11009
11010 2013-10-12   Reuben Thomas <rrt@sc3d.org>
11011
11012         [BZ #15764]
11013         * locale/setlocale.c: Fix typo.
11014
11015 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
11016
11017         [BZ #16036]
11018         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11019         signaling NaN arguments.
11020         * soft-fp/unordsf2.c (__unordsf2): Likewise.
11021         * soft-fp/unordtf2.c (__unordtf2): Likewise.
11022
11023         [BZ #14910]
11024         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11025         unordered operands.
11026         * soft-fp/gesf2.c (__gesf2): Likewise.
11027         * soft-fp/getf2.c (__getf2): Likewise.
11028         * soft-fp/ledf2.c (__ledf2): Likewise.
11029         * soft-fp/lesf2.c (__lesf2): Likewise.
11030         * soft-fp/letf2.c (__letf2): Likewise.
11031
11032         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11033         * soft-fp/eqsf2.c (__eqsf2): Likewise.
11034         * soft-fp/eqtf2.c (__eqtf2): Likewise.
11035         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11036         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11037         * soft-fp/fixdfti.c (__fixdfti): Likewise.
11038         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11039         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11040         * soft-fp/fixsfti.c (__fixsfti): Likewise.
11041         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11042         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11043         * soft-fp/fixtfti.c (__fixtfti): Likewise.
11044         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11045         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11046         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11047         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11048         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11049         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11050         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11051         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11052         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11053         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11054         * soft-fp/floatdisf.c (__floatdisf): Likewise.
11055         * soft-fp/floatsisf.c (__floatsisf): Likewise.
11056         * soft-fp/floattidf.c (__floattidf): Likewise.
11057         * soft-fp/floattisf.c (__floattisf): Likewise.
11058         * soft-fp/floattitf.c (__floattitf): Likewise.
11059         * soft-fp/floatundidf.c (__floatundidf): Likewise.
11060         * soft-fp/floatundisf.c (__floatundisf): Likewise.
11061         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11062         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11063         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11064         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11065         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11066         * soft-fp/gesf2.c (__gesf2): Likewise.
11067         * soft-fp/getf2.c (__getf2): Likewise.
11068         * soft-fp/ledf2.c (__ledf2): Likewise.
11069         * soft-fp/lesf2.c (__lesf2): Likewise.
11070         * soft-fp/letf2.c (__letf2): Likewise.
11071
11072         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11073         Undefine and redefine.
11074         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11075         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11076         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11077         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11078         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11079         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11080         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11081         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11082         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11083         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11084         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11085         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11086         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11087         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11088         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11089
11090         [BZ #16032]
11091         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11092         without decrementing exponent if mantissa >= that for the
11093         denominator, not >.
11094         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11095         denominator, not >.  Decrement exponent in < case instead of
11096         incrementing in >= case.
11097         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11098         without decrementing exponent if mantissa >= that for the
11099         denominator, not >.
11100
11101         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11102         computing saturated result for unsigned overflow.
11103
11104 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11105             Jeff Law  <law@redhat.com>
11106
11107         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11108         (atan2Mp): Add systemtap probe marker.
11109         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11110         (__ieee754_log): Add systemtap probe marker.
11111         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11112         (atanMp): Add systemtap probe marker.
11113         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11114         (tanMp): Add systemtap probe marker.
11115         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11116         (__slowexp): Add systemtap probe marker.
11117         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11118         (__slowpow): Add systemtap probe marker.
11119         * manual/probes.texi: Document probes.
11120
11121 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
11122
11123         [BZ #15362]
11124         * libio/fileops.c (_IO_new_file_write): Return count of bytes
11125         written.
11126         (_IO_new_file_xsputn): Don't return EOF if nothing has been
11127         written.
11128         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11129         written to buffer but not flushed.
11130         * libio/iofwrite_u.c:  Likewise.
11131         * libio/iopadn.c:  Return bytes returned even if EOF was
11132         encountered.
11133         * libio/iowpadn.c:  Likewise.
11134         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11135         if _IO_padn does not write the whole buffer.
11136         [!COMPILE_WPRINTF] (PAD): Likewise.
11137
11138 2013-10-10  David S. Miller  <davem@davemloft.net>
11139
11140         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11141         directory block.
11142
11143 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
11144
11145         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
11146         instead of FSF address.
11147         * soft-fp/fixdfti.c: Likewise.
11148         * soft-fp/fixsfti.c: Likewise.
11149         * soft-fp/fixtfti.c: Likewise.
11150         * soft-fp/fixunsdfti.c: Likewise.
11151         * soft-fp/fixunssfti.c: Likewise.
11152         * soft-fp/fixunstfti.c: Likewise.
11153         * soft-fp/floattidf.c: Likewise.
11154         * soft-fp/floattisf.c: Likewise.
11155         * soft-fp/floattitf.c: Likewise.
11156         * soft-fp/floatuntidf.c: Likewise.
11157         * soft-fp/floatuntisf.c: Likewise.
11158         * soft-fp/floatuntitf.c: Likewise.
11159         * soft-fp/trunctfxf2.c: Likewise.
11160
11161         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
11162         * soft-fp/fixdfti.c: Likewise.
11163         * soft-fp/fixsfti.c: Likewise.
11164         * soft-fp/fixtfti.c: Likewise.
11165         * soft-fp/fixunsdfti.c: Likewise.
11166         * soft-fp/fixunssfti.c: Likewise.
11167         * soft-fp/fixunstfti.c: Likewise.
11168         * soft-fp/floattidf.c: Likewise.
11169         * soft-fp/floattisf.c: Likewise.
11170         * soft-fp/floattitf.c: Likewise.
11171         * soft-fp/floatuntidf.c: Likewise.
11172         * soft-fp/floatuntisf.c: Likewise.
11173         * soft-fp/floatuntitf.c: Likewise.
11174         * soft-fp/trunctfxf2.c: Likewise.
11175
11176 2013-10-10  David S. Miller  <davem@davemloft.net>
11177
11178         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11179
11180 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
11181
11182         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11183         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11184         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11185         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11186         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11187         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11188         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11189
11190         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11191         for NaNs before doing comparisons on argument.
11192         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11193         Likewise.
11194
11195 2013-10-10  Will Newton  <will.newton@linaro.org>
11196
11197         * malloc/hooks.c (memalign_check): Ensure the value of bytes
11198         passed to _int_memalign does not overflow.
11199
11200 2013-10-10  Torvald Riegel  <triegel@redhat.com>
11201
11202         * scripts/bench.pl: Add include-sources directive.
11203         * benchtests/README: Update documentation.
11204
11205 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
11206
11207         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11208         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11209         instead of FP_INIT_ROUNDMODE.
11210         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11211         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11212
11213         [BZ #16034]
11214         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
11215         copy class of input value.
11216         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
11217         not handle exceptions.
11218         * soft-fp/negsf2.c (__negsf2): Likewise.
11219         * soft-fp/negtf2.c (__negtf2): Likewise.
11220         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11221
11222 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
11223
11224         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11225         semicolon.  From Linux kernel.
11226
11227 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
11228
11229         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11230
11231 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
11232
11233         [BZ #156]
11234         * manual/socket.texi: Added statement about buffer
11235         for gethostbyname2_r.
11236
11237 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
11238
11239         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11240         Use .p2align directive instead, throughout.
11241         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11242         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11243         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11244         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11245         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11246         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11247         * sysdeps/x86_64/strchr.S: Likewise.
11248         * sysdeps/x86_64/strrchr.S: Likewise.
11249
11250 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11251
11252         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11253
11254         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11255
11256         * sysdeps/generic/math_private.h (__mpsin1): Remove
11257         declaration.
11258         (__mpcos1): Likewise.
11259         (__mpsin): New argument __range_reduce.
11260         (__mpcos): Likewise.
11261         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11262         (slow): Use __mpsin and __mpcos.
11263         (slow1): Likewise.
11264         (slow2): Likewise.
11265         (sloww): Likewise.
11266         (sloww1): Likewise.
11267         (sloww2): Likewise.
11268         (bsloww): Likewise.
11269         (bsloww1): Likewise.
11270         (bsloww2): Likewise.
11271         (cslow2): Likewise.
11272         (csloww): Likewise.
11273         (csloww1): Likewise.
11274         (csloww2): Likewise.
11275         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11276         range_reduce.  Merge in __mpsin1.
11277         (__mpcos): Likewise.
11278         (__mpsin1): Remove.
11279         (__mpcos1): Likewise.
11280
11281 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
11282
11283         * locale/loadlocale.c (_nl_intern_locale_data): Use
11284         LOCFILE_ALIGNED_P.
11285         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11286         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11287         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11288         obstack data is appropriately aligned.
11289         (obstack_int32_grow_fast): Likewise.
11290         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11291         * locale/programs/locfile.c (add_locale_uint32): Likewise.
11292         (add_locale_uint32_array): Likewise.
11293
11294 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11295
11296         * benchtests/Makefile: Remove ARGLIST and RET variables.
11297         ($(objpfx)bench-%.c): Pass only function name to the script.
11298         * benchtests/README: Update documentation.
11299         * benchtests/acos-inputs: Add new directives.
11300         * benchtests/acosh-inputs: Likewise.
11301         * benchtests/asin-inputs: Likewise.
11302         * benchtests/asinh-inputs: Likewise.
11303         * benchtests/atan-inputs: Likewise.
11304         * benchtests/atanh-inputs: Likewise.
11305         * benchtests/cos-inputs: Likewise.
11306         * benchtests/cosh-inputs: Likewise.
11307         * benchtests/exp-inputs: Likewise.
11308         * benchtests/log-inputs: Likewise.
11309         * benchtests/pow-inputs: Likewise.
11310         * benchtests/rint-inputs: Likewise.
11311         * benchtests/sin-inputs: Likewise.
11312         * benchtests/sinh-inputs: Likewise.
11313         * benchtests/tan-inputs: Likewise.
11314         * benchtests/tanh-inputs: Likewise.
11315         * scripts/bench.pl: Add support for new directives.
11316
11317 2013-10-07  Alan Modra  <amodra@gmail.com>
11318
11319         * README: Fix careless merge.
11320
11321 2013-10-05  Alan Modra  <amodra@gmail.com>
11322
11323         * NEWS: Mention powerpc64le support and bugs fixed.
11324         * README: Both big-endian and little-endian powerpc64 supported.
11325
11326 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11327
11328         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11329         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
11330         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11331         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11332
11333 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
11334
11335         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11336         match prototype.
11337
11338 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
11339
11340         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11341         Move -mhard-float appending from
11342         ports/sysdeps/powerpc/powerpc32/Makefile.
11343         [$(with-fp) = yes] (ASFLAGS): Likewise.
11344         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11345         * sysdeps/powerpc/nofpu: Move directory from
11346         ports/sysdeps/powerpc/nofpu.
11347         * sysdeps/powerpc/soft-fp: Move directory from
11348         ports/sysdeps/powerpc/soft-fp.
11349         * sysdeps/powerpc/powerpc32/405: Move directory from
11350         ports/sysdeps/powerpc/powerpc32/405.
11351         * sysdeps/powerpc/powerpc32/440: Move directory from
11352         ports/sysdeps/powerpc/powerpc32/440.
11353         * sysdeps/powerpc/powerpc32/464: Move directory from
11354         ports/sysdeps/powerpc/powerpc32/464.
11355         * sysdeps/powerpc/powerpc32/476: Move directory from
11356         ports/sysdeps/powerpc/powerpc32/476.
11357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11358         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11360         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11362         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11364         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11366         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11367         * README: Update for powerpc-*-linux-gnu software floating point
11368         support in libc.
11369
11370         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11371         case to powerpc/powerpc32*.
11372         * sysdeps/unix/sysv/linux/configure: Regenerated.
11373
11374         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11375         (_FPU_MASK_OM): Define as 0x04.
11376         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11377         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11378         0x00c10080.
11379         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11380         0x0000003c.
11381         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11382
11383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11384         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11385         getcontext_e500.
11386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11387         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11388         setcontext_e500.
11389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11390         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11391         and setcontext_e500.
11392
11393 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
11394
11395         * locale/iso-3166.def: Update iso-1366.def and related occurrences
11396
11397 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11398
11399         * manual/threads.texi (Default Thread Attributes): Fix typo.
11400
11401 2013-10-04  Will Newton  <will.newton@linaro.org>
11402
11403         * malloc/Makefile: Add tst-memalign.
11404         * malloc/tst-memalign.c: New file.
11405
11406         * malloc/tst-posix_memalign.c: Add comments.
11407         (do_test): Add comments and call free on all potentially
11408         allocated pointers. Add space after cast.
11409
11410         * malloc/tst-pvalloc.c: Add comments.
11411         (do_test): Add comments and call free on all potentially
11412         allocated pointers. Remove duplicate check for NULL pointer.
11413         Add space after cast.
11414
11415         * malloc/tst-valloc.c: Add comments.
11416         (do_test): Add comments and call free on all potentially
11417         allocated pointers. Remove duplicate check for NULL pointer.
11418         Add space after cast.
11419
11420 2013-10-04  Alan Modra  <amodra@gmail.com>
11421
11422         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11423         Use stdint types in rather than __attribute__((mode())).
11424         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11425
11426 2013-10-04  Alan Modra  <amodra@gmail.com>
11427
11428         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11429         Correct handling of unaligned relocs for little-endian.
11430         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11431
11432 2013-10-04  Alan Modra  <amodra@gmail.com>
11433
11434         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11435         * configure: Regenerate.
11436         * nptl/shlib-versions: Powerpc*le starts at 2.18.
11437         * shlib-versions: Likewise.
11438
11439 2013-10-04  Alan Modra  <amodra@gmail.com>
11440
11441         * string/tester.c (test_memrchr): Increment reported test cycle.
11442
11443 2013-10-04  Alan Modra  <amodra@gmail.com>
11444
11445         * string/test-memcpy.c (do_one_test): When reporting errors, print
11446         string address and don't overrun end of string.
11447
11448 2013-10-04  Alan Modra  <amodra@gmail.com>
11449
11450         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11451         insrdi.  Make better use of reg selection to speed exit slightly.
11452         Schedule entry path a little better.  Remove useless "are we done"
11453         checks on entry to main loop.  Handle wrapping around zero address.
11454         Correct main loop count.  Handle single left-over word from main
11455         loop inline rather than by using loop_small.  Remove extra word
11456         case in loop_small caused by wrong loop count.  Add little-endian
11457         support.
11458         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11459         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
11460         cache hint.
11461         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11462         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11463         support.  Avoid rlwimi.
11464         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11465
11466 2013-10-04  Alan Modra  <amodra@gmail.com>
11467
11468         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
11469         insrdi.  Formatting.
11470         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11471         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11472         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11473         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11474         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11475         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11476
11477 2013-10-04  Alan Modra  <amodra@gmail.com>
11478
11479         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11480         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11481         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11482         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11483         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11484         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11485         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11486         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11487         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
11488         use of regs.  Use power7 mtocrf.  Tidy function tails.
11489
11490 2013-10-04  Alan Modra  <amodra@gmail.com>
11491
11492         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11493         Formatting.  Consistently use rXXX register defines or rN defines.
11494         Use early exit labels that avoid restoring unused non-volatile regs.
11495         Make cr field use more consistent with rWORDn compares.  Rename
11496         regs used as shift registers for unaligned loop, using rN defines
11497         for short lifetime/multiple use regs.
11498         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11499         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
11500         addi 1,1,64 to pop stack frame.  Simplify return value code.
11501         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11502
11503 2013-10-04  Alan Modra  <amodra@gmail.com>
11504
11505         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11506         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
11507         rather than rlwimi.
11508         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11509         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11510         little-endian support.  Correct typos.
11511         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
11512         rather than rlwimi.
11513         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
11514         in loop and entry code to keep "and." results.
11515         (strchr): Add little-endian support.  Comment.  Move cntlzd
11516         earlier in tail.
11517         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11518
11519 2013-10-04  Alan Modra  <amodra@gmail.com>
11520
11521         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11522         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11523         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11524         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11525
11526 2013-10-04  Alan Modra  <amodra@gmail.com>
11527
11528         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11529         (rTMP): Define as r11.
11530         (strcmp): Add little-endian support.  Optimise tail.
11531         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11532         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11533         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11534         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11535         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11536         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11537         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11538
11539 2013-10-04  Alan Modra  <amodra@gmail.com>
11540
11541         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11542         little-endian support.  Remove unnecessary "are we done" tests.
11543         Handle "s" wrapping around zero and extremely large "size".
11544         Correct main loop count.  Handle single left-over word from main
11545         loop inline rather than by using small_loop.  Correct comments.
11546         Delete "zero" tail, use "end_max" instead.
11547         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11548
11549 2013-10-04  Alan Modra  <amodra@gmail.com>
11550
11551         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11552         support.  Don't branch over align.
11553         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11554         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11555         support.  Rearrange tmp reg use to suit.  Comment.
11556         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11557
11558 2013-10-04  Alan Modra  <amodra@gmail.com>
11559
11560         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11561
11562 2013-10-04  Alan Modra  <amodra@gmail.com>
11563
11564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11565         conditional form of branch and link when obtaining pc.
11566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11567
11568 2013-10-04  Alan Modra  <amodra@gmail.com>
11569
11570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11571         HIWORD/LOWORD.
11572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11574
11575 2013-10-04  Alan Modra  <amodra@gmail.com>
11576
11577         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11578         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11579         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11580         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11581         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11582         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11583         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11584         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11585         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11586         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11587
11588 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11589             Alistair Popple <alistair@ozlabs.au.ibm.com>
11590             Alan Modra <amodra@gmail.com>
11591
11592         [BZ #15723]
11593         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11594         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11595         _dl_hwcap access for little-endian.
11596         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
11597         destroy vmx regs when saving unaligned.
11598         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11599         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
11600         destroy vmx regs when saving unaligned.
11601
11602 2013-10-04  Alan Modra  <amodra@gmail.com>
11603
11604         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11605         Don't use a union to pack hi/low value.
11606
11607 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11608
11609         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11610         for little-endian.
11611         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11612         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11613         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11614         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11615         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11616
11617 2013-10-04  Alan Modra  <amodra@gmail.com>
11618
11619         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11620         constants to usual value for .cst8 section, and remove redundant
11621         high address load.
11622         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11623         constant for 0x1p52.  Load little-endian words of double from
11624         correct stack offsets.
11625
11626 2013-10-04  Alan Modra  <amodra@gmail.com>
11627
11628         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11629         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11630         words of double from correct stack offsets.
11631         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11632         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11633         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11634         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11635         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11636         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11637         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11638         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11639         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11640         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11641         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11642         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11643         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11644         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11645         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11646         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11647         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11648
11649 2013-10-04  Alan Modra  <amodra@gmail.com>
11650
11651         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11652         64-bit int/double union.
11653         (_FPU_SETCW): Likewise.
11654         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11655         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11656
11657 2013-10-04  Alan Modra  <amodra@gmail.com>
11658
11659         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11660         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11661
11662 2013-10-04  Alan Modra  <amodra@gmail.com>
11663
11664         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11665         use vector int constants.
11666         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11667
11668 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11669
11670         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11671         array with long long.
11672         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11673         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11674         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11675         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11676         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11677         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11678         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11679         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11680         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11681         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11682         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11683         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11684         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11685
11686 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11687
11688         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11689         (__signbit): Likewise.  Correct for little-endian.
11690         (__signbitl): Call __signbit.
11691         (lrint): Correct for little-endian.
11692         (lrintf): Call lrint.
11693
11694 2013-10-04  Alan Modra  <amodra@gmail.com>
11695
11696         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11697         union 32-bit int array member with 64-bit int array.
11698         (t515, tm256): Double rather than long double.
11699         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11700
11701 2013-10-04  Alan Modra  <amodra@gmail.com>
11702
11703         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11704         Delete.
11705         (IEEE854_LONG_DOUBLE_BIAS): Delete.
11706         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11707         version of math_ldbl.h.
11708
11709 2013-10-04  Alan Modra  <amodra@gmail.com>
11710
11711         [BZ #15734], [BZ #15735]
11712         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11713         all uses of ieee875 long double macros and unions.  Simplify test
11714         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
11715         ldbl_extract_mantissa value for ix,iy exponents.  Properly
11716         normalize after ldbl_extract_mantissa, and don't add hidden bit
11717         already handled.  Don't treat low word of ieee854 mantissa like
11718         low word of IBM long double and mask off bit when testing for
11719         zero.
11720         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11721         all uses of ieee875 long double macros and unions.  Simplify tests
11722         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
11723         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
11724         two1022, instead use their values.  Recognise that tests for large
11725         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
11726         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11727         Rewrite all uses of ieee875 long double macros and unions.  Simplify
11728         test for 0.0L and nan.  Correct negation.
11729         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11730         ieee875 long double macros and unions.  Correct output for large
11731         magnitude x.  Correct absolute value calculation.
11732         (__erfcl): Likewise.
11733         * math/libm-test.inc: Add tests for errors discovered in IBM long
11734         double versions of fmodl, remainderl, erfl and erfcl.
11735
11736 2013-10-04  Alan Modra  <amodra@gmail.com>
11737
11738         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11739         all uses of ieee854 long double macros and unions.  Simplify tests
11740         for long doubles that are fully specified by the high double.
11741         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11742         Likewise.
11743         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11744         Remove dead code too.
11745         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11746         (__ieee754_ynl): Likewise.
11747         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11748         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11749         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11750         Remove dead code too.
11751         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11752         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11753         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11754         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11755         Simplify.
11756         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11757         Simplify.
11758         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11759         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11760         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11761         Comment on variable precision.
11762         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11763         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11764         Likewise.
11765         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11766         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11767         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11768         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11769         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11770
11771 2013-10-04  Alan Modra  <amodra@gmail.com>
11772
11773         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11774         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11775         all uses of ieee854 long double macros and unions.
11776         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11777         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11778         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11779         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11780         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11781         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11782         Likewise.
11783         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11784         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11785         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11786         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11787         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11788         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11789         Simplify sign and nan test too.
11790         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11791         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11792         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11793         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11794         Likewise.
11795         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11796         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11797         Likewise.
11798         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11799         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11800         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11801         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11802         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11803         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11804
11805 2013-10-04  Alan Modra  <amodra@gmail.com>
11806
11807         * stdio-common/printf_size.c (__printf_size): Don't use
11808         union ieee854_long_double in fpnum union.
11809         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
11810         signbit macro to retrieve sign from long double.
11811         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11812         retrieve sign from long double.
11813         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11814         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11815         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11816         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11817         * math/test-misc.c (main): Don't use union ieee854_long_double.
11818
11819 2013-10-04  Alan Modra  <amodra@gmail.com>
11820
11821         [BZ #15680]
11822         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11823         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11824         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11825         calculation.  Remove unnecessary test for denormal exponent.
11826         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11827         Correct handling of denormals.  Avoid undefined shift behaviour.
11828         Correct normalisation of low mantissa when low double is denormal.
11829         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11830         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
11831         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11832         Correct normalisation of low mantissa.  Test for overflow of high
11833         mantissa and normalise.
11834         (ldbl_nearbyint): Use more readable constant for two52.
11835         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11836         (__mpn_construct_long_double): Fix test for overflow of high
11837         mantissa and correct normalisation.  Avoid undefined shift.
11838
11839 2013-10-04  Alan Modra  <amodra@gmail.com>
11840
11841         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11842         (union ibm_extended_long_double): Define as an array of ieee754_double.
11843         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11844         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11845         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11846         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11847         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11848         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11849         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11850         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11851         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11852         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11853         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11854
11855 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
11856
11857         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11858         page size instead of calling getpagesize.
11859
11860         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11861         (LOCFILE_ALIGN_MASK): Likewise.
11862         (LOCFILE_ALIGN_UP): Likewise.
11863         (LOCFILE_ALIGNED_P): Likewise.
11864         * locale/programs/ld-collate.c (collate_output): Use the new
11865         macros instead of __alignof__ (int32_t).
11866         * locale/weight.h (findidx): Likewise.
11867
11868 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
11869
11870         [BZ #431]
11871         * manual/string.texi: Fix strncat and wcsncat.
11872
11873 2013-10-03  Brooks Moses  <bmoses@google.com>
11874
11875         [BZ #15915]
11876         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11877         * Makerules: ...here, and adjust associated comments.
11878
11879 2013-10-02  Will Newton  <will.newton@linaro.org>
11880
11881         * malloc/Makefile: Add tst-pvalloc.
11882         * malloc/tst-pvalloc.c: New file.
11883
11884 2013-10-02  Will Newton  <will.newton@linaro.org>
11885
11886         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11887         improve test coverage.
11888
11889 2013-10-02  Will Newton  <will.newton@linaro.org>
11890
11891         * malloc/Makefile: Add tst-posix_memalign.
11892         * malloc/tst-posix_memalign.c: New file.
11893
11894 2013-10-01  Eric Blake  <eblake@redhat.com>
11895
11896         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11897         Use __THROWNL rather than __THROW on static functions.
11898
11899 2013-09-30  Petr Machata  <pmachata@redhat.com>
11900
11901         * elf/elf.h (R_AARCH64_ABS16): New macro.
11902         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11903         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11904         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11905         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11906         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11907         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11908         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11909         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11910         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11911         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11912         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11913         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11914         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11915         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11916         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11917         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11918         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11919         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11920         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11921         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11922         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11923         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11924         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11925         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11926         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11927         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11928         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11929         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11930         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11931         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11932         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11933         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11934         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11935         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11936         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11937         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11938         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11939         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11940         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11941         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11942         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11943         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11944         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11945         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11946         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11947         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11948         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11949         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11950         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11951         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11952         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11953         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11954         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11955         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11956         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11957         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11958         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11959         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11960         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11961         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11962         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11963         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11964         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11965         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11966         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11967         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11968         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11969         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11970         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11971         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11972         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11973         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11974         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11975         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11976         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11977         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11978         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11979         (R_AARCH64_TLSDESC_LDR): Likewise.
11980         (R_AARCH64_TLSDESC_ADD): Likewise.
11981         (R_AARCH64_TLSDESC_CALL): Likewise.
11982
11983 2013-09-30  Andreas Schwab  <schwab@suse.de>
11984
11985         [BZ #15048]
11986         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11987         the nss database lookup.
11988         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11989         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11990
11991 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
11992
11993         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11994
11995 2013-09-28  P. J. McDermott  <pj@pehjota.net>
11996
11997         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11998         ${Bash-specific parameter/pattern/string} parameter expansion.
11999         * sysdeps/unix/make-syscalls.sh: Likewise.
12000
12001 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12002
12003         * sysdeps/sh/stackguard-macros.h: New file.
12004
12005 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
12006
12007         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12008         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12009         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12010         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12011         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12012         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12013
12014 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12015
12016         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12017         Fix thread ID register.
12018
12019 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
12020
12021         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12022         [POSIX || UNIX98]: Require rather than permitting all symbols from
12023         <time.h>.
12024         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12025         element of struct sched_param.
12026         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12027         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12028         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12029         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12030         constant.
12031
12032 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
12033
12034         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12035         argument calculation.
12036
12037 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
12038
12039         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12040         Expect macro.
12041         [POSIX] (pthread_attr_t): Do not require type.
12042         [POSIX] (pthread_cond_t): Likewise.
12043         [POSIX] (pthread_condattr_t): Likewise.
12044         [POSIX] (pthread_key_t): Likewise.
12045         [POSIX] (pthread_mutex_t): Likewise.
12046         [POSIX] (pthread_mutexattr_t): Likewise.
12047         [POSIX] (pthread_once_t): Likewise.
12048         [POSIX] (pthread_t): Likewise.
12049         [POSIX-based standards] (pthread_atfork): Expect function.
12050
12051 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
12052             Richard Sandiford  <richard@codesourcery.com>
12053
12054         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12055         (swap_endianness_p): New extern variable.
12056         (set_big_endian): New inline function.
12057         (maybe_swap_uint32): Likewise.
12058         (maybe_swap_uint32_array): Likewise.
12059         (maybe_swap_uint32_obstack): Likewise.
12060         * locale/programs/locfile.c: Include <stdbool.h>.
12061         (swap_endianness_p): New variable.
12062         (add_locale_uint32): Call maybe_swap_uint32.
12063         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12064         (write_locale_data): Call maybe_swap_uint32_array.
12065         * locale/programs/ld-collate.c (obstack_int32_grow): Call
12066         maybe_swap_uint32.
12067         (obstack_int32_grow_fast): Likewise.
12068         (output_weightwc): Call maybe_swap_uint32_obstack.
12069         (collate_output): Likewise.
12070         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12071         (OPT_LITTLE_ENDIAN): Likewise.
12072         (options): Add --little-endian and --big-endian options.
12073         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12074         * locale/programs/locarchive.c: Include "locfile.h".
12075         (GET): New macro.
12076         (SET): Likewise.
12077         (INC): Likewise.
12078         (create_archive): Use the new macros to access fields of
12079         structures directly mapped from or written to locale archives.
12080         (oldlocrecentcmp): Likewise.
12081         (enlarge_archive): Likewise.
12082         (insert_name): Likewise.
12083         (add_alias): Likewise.
12084         (add_locale): Likewise.
12085         (delete_locales_from_archive): Likewise.
12086         (show_archive_content): Likewise.
12087         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
12088         locale data.
12089
12090 2013-09-24  Roland McGrath  <roland@hack.frob.com>
12091
12092         * manual/freemanuals.texi: Updated from (newly) canonical copy at
12093         http://www.gnu.org/doc/freemanuals.texi.
12094         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12095
12096 2013-09-24  Will Newton  <will.newton@linaro.org>
12097
12098         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12099         macro.
12100
12101 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
12102
12103         * locale/hashval.h (compute_hashval): Interpret bytes of key as
12104         unsigned char.
12105
12106 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
12107
12108         * manual/threads.texi (POSIX Threads): Fix a typo.
12109
12110 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12111
12112         [BZ #14547]
12113         * string/tst-strcoll-overflow.c: New test case.
12114         * string/Makefile (xtests): Add tst-strcoll-overflow.
12115         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12116         cache if string sizes may cause integer overflow.
12117
12118         [BZ #14547]
12119         * string/strcoll_l.c (coll_seq): New members rule, idx,
12120         save_idx and back_us.
12121         (get_next_seq_nocache): New function.
12122         (do_compare_nocache): New function.
12123         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12124         when malloc fails.
12125
12126 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
12127
12128         [BZ #15754]
12129         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12130         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12131         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12132
12133         [BZ #15754]
12134         * elf/Makefile (tests): Add tst-ptrguard1.
12135         (tests-static): Add tst-ptrguard1-static.
12136         (tst-ptrguard1-ARGS): Define.
12137         (tst-ptrguard1-static-ARGS): Define.
12138         * elf/tst-ptrguard1.c: New file.
12139         * elf/tst-ptrguard1-static.c: New file.
12140         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12141         * sysdeps/i386/stackguard-macros.h: Likewise.
12142         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12143         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12144         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12145         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12146         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12147         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12148
12149 2013-09-23  Hector Marco  <hecmargi@upv.es>
12150             Ismael Ripoll  <iripoll@disca.upv.es>
12151             Carlos O'Donell  <carlos@redhat.com>
12152
12153         [BZ #15754]
12154         * sysdeps/generic/stackguard-macros.h: Define
12155         __pointer_chk_guard_local and POINTER_CHK_GUARD.
12156         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12157         Define __pointer_chk_guard_local.
12158         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12159         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12160
12161 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
12162
12163         [BZ #15859]
12164         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12165
12166 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
12167
12168         * include/string.h (__ffs): Declare as hidden.
12169         * string/ffs.c (__ffs): Define as hidden.
12170         * sysdeps/i386/ffs.c (__ffs): Likewise.
12171         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12172         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12173         * sysdeps/s390/ffs.c (__ffs): Likewise.
12174         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12175
12176 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
12177
12178         * NEWS: Mention malloc probes.
12179
12180         * malloc/arena.c (new_heap): New memory_heap_new probe.
12181         (grow_heap): New memory_heap_more probe.
12182         (shrink_heap): New memory_heap_less probe.
12183         (heap_trim): New memory_heap_free probe.
12184         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12185         (systrim): New memory_sbrk_less probe.
12186         * manual/probes.texi: Document them.
12187
12188         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12189         * manual/probes.texi: Document it.
12190
12191         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12192         (__libc_realloc): Add memory_realloc_retry probe.
12193         (__libc_memalign): Add memory_memalign_retry probe.
12194         (__libc_valloc): Add memory_valloc_retry probe.
12195         (__libc_pvalloc): Add memory_pvalloc_retry probe.
12196         (__libc_calloc): Add memory_calloc_retry probe.
12197         * manual/probes.texi: Document them.
12198
12199         * malloc/arena.c (get_free_list): Add probe
12200         memory_arena_reuse_free_list.
12201         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12202         and memory_arena_reuse.
12203         (arena_get2) [!PER_THREAD]: Likewise.
12204         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12205         memory_arena_reuse_realloc.
12206         * manual/probes.texi: Document them.
12207
12208         * malloc/malloc.c (__libc_free): Add
12209         memory_mallopt_free_dyn_thresholds probe.
12210         (__libc_mallopt): Add multiple memory_mallopt probes.
12211         * manual/probes.texi: Document them.
12212
12213         * malloc/malloc.c: Include stap-probe.h.
12214         (__libc_mallopt): Add memory_mallopt probe.
12215         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12216         * manual/probes.texi: New.
12217         * manual/Makefile (chapters): Add probes.
12218         * manual/threads.texi: Set next node.
12219
12220 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
12221
12222         [BZ #15963, #13985]
12223         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12224         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12225         Add `Chinese' to `nan' entry name.
12226
12227 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12228
12229         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12230         (POLYNOMIAL): Likewise.
12231         (TAYLOR_SINCOS): Likewise.
12232         (TAYLOR_SLOW): Likewise.
12233         (__sin): Use TAYLOR_SINCOS.
12234         (__cos): Likewise.
12235         (slow): Use TAYLOR_SLOW.
12236         (sloww): Likewise.
12237         (bsloww): Likewise.
12238         (csloww): Likewise.
12239
12240 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12241
12242         * stdlib/strtod_l.c: Fix buffer overrun.
12243
12244 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12245
12246         * benchtests/Makefile (bench): Add sincos.
12247         * benchtests/bench-sincos.c: New file.
12248
12249         * math/libm-test.inc (cos_test_data): New test inputs.
12250         (sin_test_data): Likewise.
12251
12252         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12253         macro.
12254         (__sin): Use it.
12255         (__cos): Likewise.
12256         (slow1): Likewise.
12257         (slow2): Likewise.
12258         (sloww1): Likewise.
12259         (sloww2): Likewise.
12260         (bsloww1): Likewise.
12261         (bsloww2): Likewise.
12262         (cslow2): Likewise.
12263         (csloww1): Likewise.
12264         (csloww2): Likewise.
12265
12266         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12267         function.
12268         (__sin): Use it.
12269         (__cos): Likewise.
12270
12271         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12272         gotos.
12273         (__cos): Likewise.
12274
12275 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
12276
12277         * config.h.in (HAVE_MIPS_NAN2008): New macro.
12278         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12279         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12280         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12281         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12282         * elf/cache.c (print_entry): Handle the new cache flags.
12283
12284 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
12285             Aldy Hernandez  <aldyh@redhat.com>
12286
12287         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12288         Change condition to [_SOFT_FLOAT].
12289         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12290         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12291         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12292         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12293         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12294         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12295         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12296         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12297         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12298         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12299         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12300         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12301         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12302         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12303         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12304         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12305         declaration.
12306
12307 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
12308
12309         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12310         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12311         (__longjmp): Use LOAD_GP to load saved GPRs.
12312         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12313         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12314         (__sigsetjmp): Use SAVE_GP to save GPRs.
12315
12316         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12317         Do not append -msoft-float.
12318         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12319
12320 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12321
12322         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12323
12324 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
12325
12326         [BZ #15966]
12327         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12328         (_FPU_GETCW): Use initial "__" on variable and field names but not
12329         on macro parameter name.
12330         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
12331         parentheses around reference to macro parameter.
12332
12333 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
12334
12335         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12336         prototype.
12337         (ctype_startup): Use uint32_t in cast and sizeof for
12338         ctype->charnames.
12339
12340 2013-09-11  Jia Liu  <proljc@gmail.com>
12341
12342         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12343         __daddr_t_defined.
12344         [__FreeBSD__]: Likewise.
12345
12346 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
12347
12348         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12349         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12350         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12351         (strchr): Remove __strchr_sse42 ifunc selection.
12352         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12353         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12354
12355 2013-09-11  Will Newton  <will.newton@linaro.org>
12356
12357         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12358         parameter to RES. Remove hardcoded 1000 value.
12359         * benchtests/bench-skeleton.c (main): Pass RES parameter
12360         to TIMING_INIT and multiply result by 1000.
12361
12362 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12363
12364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12365
12366 2013-09-11  Andreas Schwab  <schwab@suse.de>
12367
12368         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12369         if not defined.
12370         (O_TMPFILE) [__USE_GNU]: Define.
12371         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12372         Define.
12373
12374 2013-09-11  Will Newton  <will.newton@linaro.org>
12375
12376         [BZ #15857]
12377         * malloc/malloc.c (__libc_memalign): Check the value of bytes
12378         does not overflow.
12379
12380 2013-09-11  Will Newton  <will.newton@linaro.org>
12381
12382         [BZ #15856]
12383         * malloc/malloc.c (__libc_valloc): Check the value of bytes
12384         does not overflow.
12385
12386 2013-09-11  Will Newton  <will.newton@linaro.org>
12387
12388         [BZ #15855]
12389         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12390         does not overflow.
12391
12392 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
12393
12394         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12395         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12396         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12397         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12398         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12399
12400 2013-09-10  Allan McRae  <allan@archlinux.org>
12401
12402         [BZ #15748]
12403         * manual/arith.texi (Parsing of Floats): Clarify
12404         cross-reference.
12405
12406         [BZ #15849]
12407         * manual/install.texi (Running make install): Mention
12408         --enable-pt-chown.
12409         * INSTALL: Regenerated.
12410
12411 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12412
12413         * csu/init-first.c (_init): Remove the !SHARED condition around
12414         FPU control word initialization.
12415         * elf/dl-support.c (_dl_fpu_control): New variable.
12416         (_dl_aux_init) <AT_FPUCW>: Initialize it.
12417         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12418         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12419         * math/test-fpucw-static.c: New file.
12420         * math/test-fpucw-ieee.c: New file.
12421         * math/test-fpucw-ieee-static.c: New file.
12422         * math/Makefile (tests): Add `test-fpucw-ieee' and
12423         `$(tests-static)'.
12424         (tests-static): New variable.
12425         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12426         dependency to...
12427         [($(build-shared),yes)]
12428         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12429         ... this.
12430         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12431         New dependency.
12432
12433 2013-09-09  Allan McRae  <allan@archlinux.org>
12434
12435         [BZ #15939]
12436         * manual/string.texi (Collation Functions): Fix typo in
12437         strcoll example.
12438         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12439
12440         [BZ #15893]
12441         * stdlib/isomac.c (get_null_defines): Fix memory leak.
12442
12443         [BZ #15892]
12444         * libio/memstream.c (open_memstream): Fix memory leak.
12445         * libio/wmemstream.c (open_wmemstream): Likewise.
12446
12447         [BZ #15895]
12448         * nscd/netgroupcache.c: Fix nesting of ifdefs.
12449
12450 2013-09-09  Will Newton  <will.newton@linaro.org>
12451
12452         * malloc/Makefile: Add tst-realloc to tests.
12453         * malloc/tst-realloc.c: New file.
12454
12455 2013-09-09  Allan McRae  <allan@archlinux.org>
12456
12457         [BZ #15844]
12458         * COPYING: Update from GNU website to fix FSF address.
12459         * COPYING.LIB: Likewise.
12460
12461 2013-09-06  David S. Miller  <davem@davemloft.net>
12462
12463         * po/zh_TW.po: Update Chinese (traditional) translation from
12464         translation project.
12465
12466 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
12467             Joseph Myers  <joseph@codesourcery.com>
12468
12469         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12470         "localeinfo.h".
12471         (obstack_chunk_alloc): New macro.
12472         (obstack_chunk_free): Likewise.
12473         (record_offset): New function.
12474         (init_locale_data): Likewise.
12475         (align_locale_data): Likewise.
12476         (add_locale_empty): Likewise.
12477         (add_locale_raw_data): Likewise.
12478         (add_locale_raw_obstack): Likewise.
12479         (add_locale_string): Likewise.
12480         (add_locale_wstring): Likewise.
12481         (add_locale_uint32): Likewise.
12482         (add_locale_uint32_array): Likewise.
12483         (add_locale_char): Likewise.
12484         (start_locale_structure): Likewise.
12485         (end_locale_structure): Likewise.
12486         (start_locale_prelude): Likewise.
12487         (end_locale_prelude): Likewise.
12488         (write_locale_data): Take locale_file structure rather than an
12489         iovec.
12490         * locale/programs/locfile.h: Include "obstack.h".
12491         (struct locale_file): Change to store locale file contents instead
12492         of header.
12493         (init_locale_data): New prototype.
12494         (align_locale_data): Likewise.
12495         (add_locale_empty): Likewise.
12496         (add_locale_raw_data): Likewise.
12497         (add_locale_raw_obstack): Likewise.
12498         (add_locale_string): Likewise.
12499         (add_locale_wstring): Likewise.
12500         (add_locale_uint32): Likewise.
12501         (add_locale_uint32_array): Likewise.
12502         (add_locale_char): Likewise.
12503         (start_locale_structure): Likewise.
12504         (end_locale_structure): Likewise.
12505         (start_locale_prelude): Likewise.
12506         (end_locale_prelude): Likewise.
12507         (write_locale_data): Update prototype.
12508         * locale/programs/3level.h (struct TABLE): Remove result field.
12509         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12510         Use new locale_file interface.
12511         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12512         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12513         * locale/programs/ld-address.c (address_output): Use new
12514         locale_file interface.
12515         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12516         NO_ADD_LOCALE.
12517         (collate_finish): Don't call collseq_table_finalize.
12518         (collate_output): Use new locale_file interface.
12519         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12520         in file.
12521         (NO_FINALIZE): Change to NO_ADD_LOCALE.
12522         (TABLE): Move defines earlier in file.
12523         (ELEMENT): Likewise.
12524         (DEFAULT): Likewise.
12525         (wctrans_table_add): Move macro and inline function earlier in
12526         file.
12527         (struct wctype_table): Move type earlier in file.
12528         (add_locale_wctype_table): New static prototype.
12529         (struct locale_ctype_t): Use logical types instead of struct iovec
12530         pointers for members.
12531         (ctype_output): Use new locale_file interface.
12532         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
12533         new locale_file interface.
12534         (allocate_arrays): Update for use of new locale_file interface.
12535         * locale/programs/ld-identification.c (identification_output): Use
12536         new locale_file interface.
12537         * locale/programs/ld-measurement.c (measurement_output): Likewise.
12538         * locale/programs/ld-messages.c (messages_output): Likewise.
12539         * locale/programs/ld-monetary.c (monetary_output): Likewise.
12540         * locale/programs/ld-name.c (name_output): Likewise.
12541         * locale/programs/ld-numeric.c (numeric_output): Likewise.
12542         * locale/programs/ld-paper.c (paper_output): Likewise.
12543         * locale/programs/ld-telephone.c (telephone_output): Likewise.
12544         * locale/programs/ld-time.c (time_output): Likewise.
12545
12546 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12547
12548         * benchtests/Makefile: Add memrchr benchmark.
12549         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12550         benchmark as memrchr.
12551         * benchtests/bench-memrchr-ifunc.c: New file.
12552         * benchtests/bench-memrchr.c: New file.
12553
12554 2013-09-06   Will Newton  <will.newton@linaro.org>
12555
12556         * benchtests/Makefile (string-bench): Add memcpy.
12557
12558 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
12559             Cong Wang  <amwang@redhat.com>
12560
12561         [BZ #15850]
12562         * sysdeps/unix/sysv/linux/bits/in.h
12563         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12564         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12565         before __USE_KERNEL_IPV6_DEFS uses.
12566         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12567         IPPROTO_BEETPH.
12568         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12569         sockaddr_in6, or ipv6_mreq.
12570
12571 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12572
12573         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12574         memory access for final bytes in some large inputs.
12575         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12576
12577 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12578
12579         * string/test-memrchr.c: New file.
12580         * string/test-memrchr-ifunc.c: New file.
12581         * string/Makefile: Add new memrchr testcase.
12582
12583 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
12584
12585         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12586         fanotify_init returns EPERM.
12587
12588 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
12589
12590         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12591         errors.
12592         (top level): Treat second token from macro or constant entries for
12593         allowed headers as allowed.
12594         * include/complex.h: Condition internal declarations on
12595         [!_ISOMAC].
12596         * include/fenv.h: Condition include of <stdbool.h> and internal
12597         declarations on [!_ISOMAC].
12598
12599 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
12600
12601         [BZ #15923]
12602         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12603
12604 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
12605
12606         * configure.in (--enable-versioning): Remove configure option.
12607         (libc_cv_asm_symver_directive): Remove configure test.
12608         (libc_cv_ld_version_script_option): Likewise.
12609         (VERSIONING): Remove variable and AC_SUBST.
12610         (DO_VERSIONING): Remove AC_DEFINE.
12611         * configure: Regenerated.
12612         * config.h.in (DO_VERSIONING): Remove macro.
12613         * Makerules [$(versioning) = yes]: Change conditionals to
12614         [$(build-shared) = yes].
12615         * config.make.in (versioning): Remove variable.
12616         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12617         [$(build-shared) = yes].
12618         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12619         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12620         * elf/Makefile [$(versioning) = yes]: Change conditionals to
12621         [$(build-shared) = yes].
12622         * extra-lib.mk [$(versioning) = yes]: Likewise.
12623         * hurd/Makefile [$(versioning) = yes]: Likewise.
12624         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12625         [SHARED].
12626         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12627         [SHARED].
12628         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12629         [SHARED && !NO_HIDDEN].
12630         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12631         [SHARED].
12632         [SHARED && DO_VERSIONING]: Likewise..
12633         * libio/Makefile [$(versioning) = yes]: Change conditionals to
12634         [$(build-shared) = yes].
12635         * manual/install.texi (--disable-versioning): Remove
12636         documentation.
12637         * INSTALL: Regenerated.
12638         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12639         to [SHARED].
12640         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12641         [$(build-shared) = yes].
12642         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12643         * sysdeps/i386/i686/multiarch/strstr-c.c
12644         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12645         [SHARED && !NO_HIDDEN].
12646         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12647         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12648         * sysdeps/powerpc/powerpc32/dl-machine.c
12649         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12650         * sysdeps/powerpc/powerpc32/sysdep.h
12651         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12652         to [SHARED && PIC && !NO_HIDDEN].
12653         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12654         conditional to [SHARED].
12655
12656 2013-09-04   Will Newton  <will.newton@linaro.org>
12657
12658         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12659         * benchtests/bench-string.h: Include bench-timing.h instead
12660         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12661         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12662         call to HP_TIMING_DIFF_INIT.
12663         * benchtests/bench-memccpy.c: Use bench-timing.h macros
12664         instead of hp-timing.h macros.
12665         * benchtests/bench-memchr.c: Likewise.
12666         * benchtests/bench-memcmp.c: Likewise.
12667         * benchtests/bench-memcpy.c: Likewise.
12668         * benchtests/bench-memmem.c: Likewise.
12669         * benchtests/bench-memmove.c: Likewise.
12670         * benchtests/bench-memset.c: Likewise.
12671         * benchtests/bench-rawmemchr.c: Likewise.
12672         * benchtests/bench-strcasecmp.c: Likewise.
12673         * benchtests/bench-strcasestr.c: Likewise.
12674         * benchtests/bench-strcat.c: Likewise.
12675         * benchtests/bench-strchr.c: Likewise.
12676         * benchtests/bench-strcmp.c: Likewise.
12677         * benchtests/bench-strcpy.c: Likewise.
12678         * benchtests/bench-strcpy_chk.c: Likewise.
12679         * benchtests/bench-strlen.c: Likewise.
12680         * benchtests/bench-strncasecmp.c: Likewise.
12681         * benchtests/bench-strncat.c: Likewise.
12682         * benchtests/bench-strncmp.c: Likewise.
12683         * benchtests/bench-strncpy.c: Likewise.
12684         * benchtests/bench-strnlen.c: Likewise.
12685         * benchtests/bench-strpbrk.c: Likewise.
12686         * benchtests/bench-strrchr.c: Likewise.
12687         * benchtests/bench-strspn.c: Likewise.
12688         * benchtests/bench-strstr.c: Likewise.
12689
12690 2013-09-04  Will Newton  <will.newton@linaro.org>
12691
12692         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12693
12694 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
12695
12696         [BZ #15427]
12697         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12698         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12699         * math/libm-test.inc (lgamma_test_data): Add more tests.
12700         * sysdeps/i386/fpu/libm-test-ulps: Update.
12701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12702
12703 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
12704
12705         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12706         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12707         Add ifunc.
12708         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12709         Add strcmp-sse2-unaligned
12710         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12711
12712 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
12713
12714         * Versions.def (libc): Add GLIBC_2.19.
12715
12716 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
12717
12718         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12719         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12720
12721 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
12722
12723         [BZ #14155]
12724         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12725         intermediate calculations in recurrence.
12726         (__ieee754_ynf): Likewise.
12727         * math/libm-test.inc (jn_test_data): Do not allow spurious
12728         underflow exception.  Add more tests.
12729         (yn_test_data): Add more tests.
12730         * sysdeps/i386/fpu/libm-test-ulps: Update.
12731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12732
12733 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
12734
12735         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12736
12737 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
12738
12739         * csu/init-first.c: Fix then/than typos.
12740         * locale/programs/ld-collate.c: Likewise.
12741         * locale/programs/linereader.h: Likewise.
12742         * manual/charset.texi: Likewise.
12743         * manual/filesys.texi: Likewise.
12744         * manual/stdio.texi: Likewise.
12745         * manual/string.texi: Likewise.
12746         * stdlib/fmtmsg.c: Likewise.
12747         * sysdeps/i386/stpncpy.S: Likewise.
12748         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12749         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12750         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12751         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12752
12753 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
12754
12755         * elf/dl-open.c: Fix typos.
12756         * iconvdata/gbbig5.c: Likewise.
12757         * iconvdata/iso-2022-jp.c: Likewise.
12758         * iconv/gconv_int.h: Likewise.
12759         * iconv/loop.c: Likewise.
12760         * nis/rpcsvc/nis.h: Likewise.
12761         * resolv/ns_name.c: Likewise.
12762         * stdio-common/vfscanf.c: Likewise.
12763         * streams/stropts.h: Likewise.
12764         * sunrpc/rpc_thread.c: Likewise.
12765         * sysdeps/i386/strpbrk.S: Likewise.
12766         * sysdeps/ieee754/k_standard.c: Likewise.
12767         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12768         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12769         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12770         * sysdeps/mach/hurd/profil.c: Likewise.
12771         * sysdeps/s390/dl-procinfo.h: Likewise.
12772         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12773         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12774         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12775         * sysdeps/x86_64/dl-trampoline.S: Likewise.
12776         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12777
12778 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
12779
12780         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12781         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12782
12783 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
12784
12785         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12786         aix specific files.
12787         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12788         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12789         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12790         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12791         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12792         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12793         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12794         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12795
12796 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
12797             Roland McGrath  <roland@hack.frob.com>
12798
12799         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12800         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12801
12802 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12803
12804         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12805         __executable_start symbol instead of _start.
12806
12807 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
12808
12809         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12810         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12811         Move macros to...
12812         * sysdeps/gnu/ldsodefs.h: ... this new file.
12813
12814         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12815         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12816         instead of ELFOSABI_LINUX.
12817
12818         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12819         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12820         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12821         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12822         Likewise.
12823         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12824         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12825         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12826         Likewise.
12827         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12828         (ibm_extended_long_double): Add ieee_nan member.
12829         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12830         (do_test): New function.
12831
12832         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12833         TEST_TRUNC.
12834         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12835         functions, renamed from truncdfsf_test, trunctfsf_test,
12836         trunctfdf_test.
12837         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12838         functions.
12839         (do_test): Run all these.
12840
12841 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
12842
12843         * argp/argp-help.c: Fix typos.
12844         * argp/argp-parse.c: Likewise.
12845         * debug/backtracesyms.c: Likewise.
12846         * elf/elf.h: Likewise.
12847         * malloc/malloc.c: Likewise.
12848         * nis/nis_print.c: Likewise.
12849         * resolv/res_comp.c: Likewise.
12850         * stdlib/stdlib.h: Likewise.
12851         * sunrpc/clnt_tcp.c: Likewise.
12852         * sunrpc/clnt_udp.c: Likewise.
12853         * sunrpc/clnt_unix.c: Likewise.
12854         * sysdeps/unix/bsd/ptsname.c: Likewise.
12855         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12856         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12858         Likewise.
12859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12860         Likewise.
12861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12862         Likewise.
12863         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12864
12865 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12866
12867         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12868         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12869
12870 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
12871
12872         [BZ #15897]
12873         * dlfcn/Makefile (tests): Add bug-dl-leaf.
12874         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12875         ($(objpfx)bug-dl-leaf): New rule.
12876         ($(objpfx)bug-dl-leaf.so): Likewise.
12877         ($(objpfx)bug-dl-leaf.out): Likewise.
12878         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12879         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12880         * dlfcn/bug-dl-leaf.c: New test.
12881         * dlfcn/bug-dl-leaf-lib.c: Likewise.
12882         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12883         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12884         (dlclose): Likewise.
12885         (dlmopen): Likewise.
12886
12887 2013-08-27  Roland McGrath  <roland@hack.frob.com>
12888
12889         * include/netdb.h [!_ISOMAC]:
12890         Don't include <tls.h>.
12891         (h_errno, __libc_h_errno): Move declaration and macros out of
12892         [_LIBC_REENTRANT].
12893
12894         * include/resolv.h [_RESOLV_H_]:
12895         Don't include <tls.h>.
12896         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12897         * resolv/res_libc.c: Don't include <tls.h>.
12898         (_res): Use __attribute__ ((nocommon)) in place of
12899         __attribute__ ((section (".bss"))).
12900
12901         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12902         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12903
12904         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12905
12906         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12907         only under [SIOCGIFCONF && SIOCGIFNETMASK].
12908
12909         * resolv/res_mkquery.c: Include <sys/time.h>.
12910
12911         * inet/ifreq.c: Moved to ...
12912         * sysdeps/unix/ifreq.c: ... here.
12913         * inet/ifreq.c: New file, true stub version.
12914
12915         * socket/sa_len.c: New file.
12916         * socket/Makefile (aux): Add it.
12917         * sysdeps/unix/sysv/linux/Makefile
12918         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12919         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12920         and #include <socket/sa_len.c>.
12921         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12922         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12923
12924         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12925         * bits/socket.h: ... here.
12926
12927         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12928         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12929         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12930
12931 2013-08-27  Andreas Schwab  <schwab@suse.de>
12932
12933         [BZ #15736]
12934         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12935         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12936         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12937         * string/test-strcasecmp.c (test_main): Run tests in several
12938         locales.
12939         * string/test-strncasecmp.c (test_main): Likewise.
12940
12941         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12942         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12943         to __strcasecmp_nonascii and __strncasecmp_nonascii.
12944         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12945         (__strncasecmp_ssse3) [PIC]: Likewise.
12946
12947 2013-08-26  Roland McGrath  <roland@hack.frob.com>
12948
12949         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12950
12951         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12952         instead of explicitly declaring xdecrypt.
12953         * nis/nss_nis/nis-publickey.c: Likewise.
12954
12955 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12956
12957         [BZ #15890]
12958         * nscd/aicache.c: Include res_hconf.h.
12959         (addhstaiX): Initialize res_hconf.
12960
12961 2013-08-26  Andreas Schwab  <schwab@suse.de>
12962
12963         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12964         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12965
12966 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12967
12968         * nscd/aicache.c (addhstaiX): Fix indentation.
12969
12970 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
12971
12972         * configure.ac: Quote $build_pt_chown test.
12973         * configure: Regenerated.
12974
12975 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
12976
12977         [BZ #15532]
12978         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12979         * math/s_cexpf.c (__cexpf): Likewise.
12980         * math/s_cexpl.c (__cexpl): Likewise.
12981         * math/libm-test.inc (cexp_test_data): Correct expected return
12982         value for NaN + i0.  Add another test.
12983
12984 2013-08-22  David S. Miller  <davem@davemloft.net>
12985
12986         * po/ca.po: Update Catalan translation from translation project.
12987         * po/uk.po: Add Ukrainian translations from translation project.
12988
12989 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
12990
12991         [BZ #15797]
12992         * math/s_fdim.c (__fdim): Check for infinite arguments if result
12993         is infinite, not alongside NaN test.
12994         * math/s_fdimf.c (__fdimf): Likewise.
12995         * math/s_fdiml.c (__fdiml): Likewise.
12996         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
12997         errno is unchanged.
12998
12999 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
13000
13001         * argp/argp-help.c: Fix typos.
13002         * crypt/speeds.c: Likewise.
13003         * csu/check_fds.c: Likewise.
13004         * elf/dl-load.c: Likewise.
13005         * elf/dl-open.c: Likewise.
13006         * elf/reldep3.c: Likewise.
13007         * elf/reldep.c: Likewise.
13008         * elf/sprof.c: Likewise.
13009         * iconv/iconv_charmap.c: Likewise.
13010         * iconv/skeleton.c: Likewise.
13011         * iconv/strtab.c: Likewise.
13012         * io/lockf64.c: Likewise.
13013         * libio/libioP.h: Likewise.
13014         * resolv/gai_notify.c: Likewise.
13015         * resolv/ns_name.c: Likewise.
13016         * resolv/ns_samedomain.c: Likewise.
13017         * resolv/res_send.c: Likewise.
13018         * stdlib/random.c: Likewise.
13019         * sunrpc/rpc/xdr.h: Likewise.
13020         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13021         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13022         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13023         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13024         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13025         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13026         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13027         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13028         * sysdeps/mach/hurd/check_fds.c: Likewise.
13029         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13030         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13031         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13032         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13033         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13034         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13035         * sysdeps/pthread/aio_notify.c: Likewise.
13036         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13037         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13038         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13039         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13040         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13041
13042 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13043
13044         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13045         version if bit_Slow_SSE4_2 is set.
13046         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13047         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13048
13049 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13050
13051         [BZ #15867]
13052         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13053         trampoline stack frame information.
13054         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13055         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13056         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13057         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13058         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13059         * sysdeps/unix/sysv/linux/powerpc/init-first.c
13060         (_libc_vdso_platform_setup): Initialize the signal trampolines.
13061         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13062         sa_flags value.
13063         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13064         interrupting a syscall and set with option SA_SIGINFO.
13065
13066 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
13067
13068         [BZ #15531]
13069         * math/s_cproj.c (__cproj): Only return an infinity if one part of
13070         argument is infinite.
13071         * math/s_cprojf.c (__cprojf): Likewise.
13072         * math/s_cprojl.c (__cprojl): Likewise.
13073         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13074         * math/libm-test.inc (cproj_test_data): Add more tests.
13075
13076         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13077
13078         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13079         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13080         size.  Use __ffs to determine corresponding shift.
13081
13082 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
13083             Roland McGrath  <roland@hack.frob.com>
13084
13085         * Makefile (INSTALL): Remove trailing blank lines from output of
13086         makeinfo.
13087
13088 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13089
13090         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13091         Align 32 bit compat elf_greg to 8 bytes.
13092
13093 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13094
13095         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13096
13097 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13098
13099         * string/strcoll_l.c (coll_seq): New structure.
13100         (get_next_seq_cached): New function.
13101         (get_next_seq): New function.
13102         (do_compare): New function.
13103         (STRCOLL): Use GNU style definition.  Simplify implementation
13104         by using get_next_seq, get_next_seq_cached and do_compare.
13105
13106 2013-08-16  Florian Weimer  <fweimer@redhat.com>
13107
13108         [BZ #14699]
13109         CVE-2013-4237
13110         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13111         member.
13112         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13113         member.
13114         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13115         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13116         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
13117         conditional.
13118         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13119         GETDENTS_64BIT_ALIGNED.
13120         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13121         * manual/filesys.texi (Reading/Closing Directory): Document
13122         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
13123         strongly.
13124         * manual/conf.texi (Limits for Files): Add portability note to
13125         NAME_MAX, PATH_MAX.
13126         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13127
13128 2013-08-13  Andreas Schwab  <schwab@suse.de>
13129
13130         [BZ #15749]
13131         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13132         of fabs.
13133         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13134         LDBL_MAX_EXP >= 16384]: Add tests for it.
13135
13136 2013-08-12  David S. Miller  <davem@davemloft.net>
13137
13138         * version.h (RELEASE): Set to "development".
13139         (VERSION): Set to "2.18.90".
13140         * NEWS: Add 2.19 section.
13141
13142 2013-08-03  David S. Miller  <davem@davemloft.net>
13143
13144         * po/ko.po: Update Korean translation from translation project.
13145
13146 2013-08-01  David S. Miller  <davem@davemloft.net>
13147
13148         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
13149         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13150         Bilka.
13151
13152 2013-07-30  David S. Miller  <davem@davemloft.net>
13153
13154         * po/fr.po: Update French translation from translation project.
13155
13156 2013-07-28  David S. Miller  <davem@davemloft.net>
13157
13158         * po/cs.po: Update Czech translation from translation project.
13159
13160         * po/sv.po: Update Swedish translation from translation project.
13161
13162 2013-07-27  David S. Miller  <davem@davemloft.net>
13163
13164         * po/eo.po: Update Esperanto translation from translation project.
13165
13166         * po/vi.po: Update Vietnamese translation from translation project.
13167
13168         * po/de.po: Update German translation from translation project.
13169
13170 2013-07-26  David S. Miller  <davem@davemloft.net>
13171
13172         * po/bg.po: Update Bulgarian translation from translation project.
13173
13174         * po/nl.po: Update Dutch translation from translation project.
13175         * po/pl.po: Update Polish translation from translation project.
13176         * po/ru.po: Update Russian translation from translation project.
13177
13178 2013-07-24  David S. Miller  <davem@davemloft.net>
13179
13180         * po/libc.pot: Update.
13181
13182 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13183
13184         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13185         variable page size.
13186         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13187         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13188         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13189
13190 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13191
13192         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13193
13194 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13195             Andreas Schwab  <schwab@suse.de>
13196             Roland McGrath  <roland@hack.frob.com>
13197             Joseph Myers  <joseph@codesourcery.com>
13198             Carlos O'Donell  <carlos@redhat.com>
13199
13200         [BZ #15755]
13201         * config.h.in: Define HAVE_PT_CHOWN.
13202         * config.make.in (build-pt-chown): New variable.
13203         * configure.in (--enable-pt_chown): New configure option.
13204         * configure: Regenerate.
13205         * login/Makefile: Include Makeconfig.  Build pt_chown only if
13206         build-pt-chown is enabled.
13207         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13208         pt_chown to fix pty ownership.
13209         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13210         CLOSE_ALL_FDS.
13211         * manual/install.texi (Configuring and compiling): Mention
13212         --enable-pt_chown. Add @findex for grantpt.
13213         * INSTALL: Regenerate.
13214
13215 2013-07-20  David S. Miller  <davem@davemloft.net>
13216
13217         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13218         difference between 32-bit and 64-bit.
13219
13220 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
13221
13222         [BZ #15711]
13223         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13224         Avoid system header dependency with -ffreestanding.
13225         ($(objpfx)bits/syscall%d): Likewise.
13226
13227 2013-07-13  David S. Miller  <davem@davemloft.net>
13228
13229         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13230         underflows from atanl/atan2l due to bug 15319.
13231         (casinh_test_data): Likewise.
13232
13233 2013-07-07  David S. Miller  <davem@davemloft.net>
13234
13235         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13236
13237 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
13238
13239         * sysdeps/i386/fpu/libm-test-ulps: Update.
13240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13241
13242 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13243
13244         * configure.in (--enable-lock-elision): Fix message text.
13245         * INSTALL: Regenerate.
13246         * configure: Regenerate.
13247
13248 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13249
13250         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13251
13252 2013-07-03  Andreas Jaeger  <aj@suse.de>
13253
13254         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13255         define.
13256         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13257         (ptrace_peeksiginfo_args): Add.
13258         (__ptrace_peeksiginfo_flags): Add.
13259         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13260         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13261         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13262
13263 2013-07-03  Allan McRae  <allan@archlinux.org>
13264
13265         * sysdeps/i386/fpu/libm-test-ulps: Update.
13266
13267 2013-07-02  David S. Miller  <davem@davemloft.net>
13268
13269         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13270
13271 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
13272
13273         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13274
13275 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
13276
13277         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13279
13280 2013-07-02  Andi Kleen <ak@linux.intel.com>
13281
13282         * config.h.in (ENABLE_LOCK_ELISION): Add.
13283         * configure.in (--enable-lock-elision): Add option.
13284         * manual/install.texi: Document --enable lock elision.
13285         * configure: Regenerate
13286         * INSTALL: Regenerate.
13287
13288 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
13289
13290         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13291         SSE4.2 strcasecmp for libc.a.
13292         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13293
13294 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
13295
13296         [BZ #13304]
13297         * soft-fp/op-common.h (_FP_FMA): New macro.
13298         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13299         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
13300         (_FP_MUL_MEAT_1_imm): ... here.
13301         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
13302         (_FP_MUL_MEAT_1_wide): ... here.
13303         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
13304         (_FP_MUL_MEAT_1_hard): ... here.
13305         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13306         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
13307         (_FP_MUL_MEAT_2_wide): ... here.
13308         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
13309         (_FP_MUL_MEAT_2_wide_3mul): ... here.
13310         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
13311         (_FP_MUL_MEAT_2_gmp): ... here.
13312         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13313         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
13314         (_FP_MUL_MEAT_4_wide): ... here.
13315         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
13316         (_FP_MUL_MEAT_4_gmp): ... here.
13317         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13318         (_FP_WFRACBITS_DW_S): Likewise.
13319         (_FP_WFRACXBITS_DW_S): Likewise.
13320         (_FP_HIGHBIT_DW_S): Likewise.
13321         (FP_FMA_S): Likewise.
13322         (_FP_FRAC_HIGH_DW_S): Likewise.
13323         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13324         (_FP_WFRACBITS_DW_D): Likewise.
13325         (_FP_WFRACXBITS_DW_D): Likewise.
13326         (_FP_HIGHBIT_DW_D): Likewise.
13327         (FP_FMA_D): Likewise.
13328         (_FP_FRAC_HIGH_DW_D): Likewise.
13329         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13330         (_FP_WFRACBITS_DW_E): Likewise.
13331         (_FP_WFRACXBITS_DW_E): Likewise.
13332         (_FP_HIGHBIT_DW_E): Likewise.
13333         (FP_FMA_E): Likewise.
13334         (_FP_FRAC_HIGH_DW_E): Likewise.
13335         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13336         (_FP_WFRACBITS_DW_Q): Likewise.
13337         (_FP_WFRACXBITS_DW_Q): Likewise.
13338         (_FP_HIGHBIT_DW_Q): Likewise.
13339         (FP_FMA_Q): Likewise.
13340         (_FP_FRAC_HIGH_DW_Q): Likewise.
13341         * soft-fp/fmasf4.c: New file.
13342         * soft-fp/fmadf4.c: Likewise.
13343         * soft-fp/fmatf4.c: Likewise.
13344
13345 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13346
13347         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13348         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13349         Silvermont.
13350         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13351         macro.
13352         (index_Slow_SSE4_2): Likewise.
13353         (index_Prefer_PMINUB_for_stringop): Likewise.
13354         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13355         bit_Slow_SSE4_2 is set.
13356         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13357         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13358
13359 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13360
13361         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13362         rtld_global._dl_hwcap2.
13363         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13364         POWER8.
13365         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13366         POWER8 feature descriptions defined in _dl_hwcap2.
13367         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13368         string handling for POWER8 feature bits.
13369         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13370         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13371         _dl_powerpc_cap_flags.
13372         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13373         * sysdeps/powerpc/rtld-global-offsets.sym
13374         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13375         _dl_hwcap2 in the rtld_global_ro structure.
13376
13377 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13378
13379         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13380         hardware capabilities in support of AT_HWCAP2.
13381         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13382         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13383         GLRO(dl_hwcap2).
13384         (_dl_show_auxv): Add support for calling _dl_procinfo to display
13385         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
13386         explicitly the unknown a_type display mechanism is used.
13387         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13388         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13389         struct member.
13390         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13391         to macro prototype for AT_HWCAP2 support.
13392         * sysdeps/i386/dl-procinfo.h: Likewise.
13393         * sysdeps/s390/dl-procinfo.h: Likewise.
13394         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13395         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
13396         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
13397         return -1 for unknown a_type display fallback.
13398         * sysdeps/sparc/dl-procinfo.h: Likewise.
13399         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13400         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13401
13402 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
13403
13404         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13405         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13406
13407 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
13408
13409         [BZ #12492]
13410         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13411         mprotect making __stack_prot writable.
13412
13413 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
13414             Joseph Myers  <joseph@codesourcery.com>
13415
13416         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13417         as being properly aligned.
13418
13419 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
13420
13421         * dlfcn/modstatic5.c: New file.
13422         * dlfcn/tststatic5.c: New file.
13423         * dlfcn/Makefile (tests): Add tststatic5.
13424         (tests-static): Likewise.
13425         (modules-names): Add modstatic5.
13426         (tststatic5-ENV): New variable.
13427         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13428
13429         [BZ #15022]
13430         * elf/dl-support.c (_dl_main_map): New variable.
13431         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13432         (_dl_nns, _dl_load_adds): Set to 1.
13433         (_dl_initial_searchlist): Refer to _dl_main_map.
13434         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13435         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13436         call to _dl_get_origin.
13437         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13438         around call_map.
13439         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13440         * dlfcn/modstatic3.c: New file.
13441         * dlfcn/tststatic3.c: New file.
13442         * dlfcn/tststatic4.c: New file.
13443         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13444         (tests-static): Likewise.
13445         (modules-names): Add modstatic3.
13446         (tststatic3-ENV, tststatic4-ENV): New variables.
13447         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13448         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13449
13450 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
13451
13452         * configure.in (CC): Require GCC version 4.4 or later.
13453         * configure: Regenerated.
13454         * manual/install.texi (Tools for Compilation): Update GCC version
13455         requirement.
13456         * INSTALL: Regenerated.
13457
13458 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13459
13460         [BZ #15674]
13461         * string/test-memcmp.c (check2): New.
13462         (main): Call check2.
13463
13464         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13465
13466 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
13467
13468         [BZ #15022]
13469         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13470         over to...
13471         (dl_open_worker) [!SHARED]: ... here.
13472
13473 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13474
13475         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13476
13477 2013-06-25  Richard Henderson  <rth@redhat.com>
13478
13479         * locale/programs/locarchive.c: Include <libc-internal.h>
13480
13481 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
13482
13483         * manual/texinfo.tex: Update to version 2013-06-21.17, with
13484         trailing whitespace removed.
13485
13486 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
13487
13488         [BZ #10283]
13489         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13490         * locale/programs/locarchive.c: Include libc-mmap.h.
13491         (prepare_address_space): Take two new outputs (the mmap base and len).
13492         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
13493         values.
13494         (create_archive): Declare new mmap base and len values for
13495         prepare_address_space, and store the result in ah.
13496         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13497         (enlarge_archive): If ah->mmap_base is not NULL, use that and
13498         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13499         Declare new mmap base and len values for
13500         prepare_address_space, and store the result in new_ah.
13501         (open_archive): Declare new mmap base and len values for
13502         prepare_address_space, and store the result in ah.
13503         (close_archive): If ah->mmap_base is not NULL, use that and
13504         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13505         * sysdeps/generic/libc-mmap.h: New file.
13506
13507 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
13508
13509         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13510         (ALIGN_UP): Likewise.
13511         (PTR_ALIGN_DOWN): Likewise.
13512         (PTR_ALIGN_UP): Likewise.
13513
13514 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13515
13516         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13517         entry mapped to PPC_PLATFORM_POWER8.
13518         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13519         POWER8.
13520         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13521         (_dl_string_platform): Add case for exporting platform position for
13522         POWER8.
13523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13524         search path to sysdeps/powerpc/powerpc32/power8 directory.
13525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13526         search path to sysdeps/powerpc/powerpc64/power8 directory.
13527         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13528         power7 directories.
13529         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13530         power7 directories.
13531
13532 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13533
13534         * INSTALL: Regenerate.
13535
13536         * nscd/connections.c (nscd_init): Fix comment.
13537
13538 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
13539
13540         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13541
13542         [BZ #15667]
13543         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13544         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13545
13546 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
13547
13548         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13549         DL_DST_REQ_STATIC.
13550         (DL_DST_REQ_STATIC): Remove macro.
13551
13552 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
13553
13554         [BZ #7006]
13555         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13556         with a shift of 0 bits.
13557
13558 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
13559
13560         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13561         $(tststatic-ENV).
13562
13563 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13564
13565         [BZ #15655]
13566         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13567
13568 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13569
13570         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13571         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13572         accepts -fno-tree-loop-distribute-patterns.
13573         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13574         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13575         recursive call.
13576         * string/memset.c (memset): Likewise.
13577         * string/test-memmove.c (simple_memmove): Disable loop transformation
13578         to library calls.
13579         * string/test-memset.c (simple_memset): Likewise.
13580         * benchtests/bench-memmove.c (simple_memmove): Likewise.
13581         * benchtests/bench-memset.c (simple_memset): Likewise.
13582         * configure: Regenerated.
13583
13584 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
13585
13586         * math/test-misc.c (main): Ignore fesetround failure when failures
13587         of subsequent rounding tests would be ignored.
13588
13589         [BZ #15654]
13590         * math/fedisblxcpt.c (fedisableexcept): Return 0.
13591         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13592         * math/fegetenv.c (__fegetenv): Return 0.
13593         * math/fegetexcept.c (fegetexcept): Return 0.
13594         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13595         FE_TONEAREST.
13596         * math/feholdexcpt.c (feholdexcept): Return 0.
13597         * math/fesetenv.c (__fesetenv): Return 0.
13598         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13599         argument FE_TONEAREST.
13600         * math/feupdateenv.c (__feupdateenv): Return 0.
13601         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13602
13603 2013-06-18  Roland McGrath  <roland@hack.frob.com>
13604
13605         * elf/rtld-Rules (rtld-compile-command.S): New variable.
13606         (rtld-compile-command.s, rtld-compile-command.c): New variables.
13607         ($(objpfx)rtld-%.os rules): Use them.
13608
13609 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13610
13611         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13612         fields.
13613
13614 2013-06-17  Roland McGrath  <roland@hack.frob.com>
13615
13616         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13617         length of target pattern, then descending length of dependency pattern.
13618         * configure.in (AWK): Require gawk 3.1.2 or newer.
13619         * manual/install.texi (Tools for Compilation): Say that we do.
13620         * configure: Regenerated.
13621
13622         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13623         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13624         * scripts/sysd-rules.awk: ... this new script.
13625         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13626         than a glob-style pattern.
13627
13628 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
13629
13630         * math/test-misc.c (main): Do not treat incorrectly rounded
13631         conversions as failure unless ROUNDING_TESTS passes.
13632
13633 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
13634
13635         [BZ #15631]
13636         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13637         restore exception state around main square root computation, then
13638         check for inexactness explicitly.
13639
13640         * math/libm-test.inc (fma_test_data): Add another test.
13641
13642 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13643
13644         * manual/threads.texi (Non-POSIX Extensions): New document
13645         node.  Document pthread_getattr_default_np and
13646         pthread_setattr_default_np.
13647
13648         * Versions.def (libpthread): Add GLIBC_2.18.
13649         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13651         Likewise.
13652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13653         Likewise.
13654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13655         Likewise.
13656         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13657         Likewise.
13658         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13659         Likewise.
13660         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13661         Likewise.
13662         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13663         Likewise.
13664         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13665         Likewise.
13666         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13667         Likewise.
13668
13669 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13670
13671         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13672         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13673
13674 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13675             H.J. Lu  <hjl.tools@gmail.com>
13676
13677         [BZ #15627]
13678         * sysdeps/x86_64/rtld-memset.c: Remove file.
13679         * sysdeps/x86_64/rtld-memset.S: New file.
13680
13681 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
13682
13683         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13684         (test_in_one_mode): Take arguments for whether the rounding mode
13685         is supported for each floating-point type.
13686         (do_test): Pass new arguments to test_in_one_mode using
13687         ROUNDING_TESTS.
13688
13689 2013-06-13  Roland McGrath  <roland@hack.frob.com>
13690
13691         * posix/tst-waitid.c (do_test): Distinguish different instances of
13692         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
13693         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13694         before entering the kernel for waitpid.
13695
13696 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13697
13698         * NEWS: Fix note on clock function precision.  Text by Roland
13699         McGrath.
13700
13701 2013-06-13  Roland McGrath  <roland@hack.frob.com>
13702
13703         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13704         it into place only when and if the sanity check passes.
13705
13706 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
13707
13708         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13709         output for whether conversion result is exact.  Take argument
13710         indicating whether type is IBM long double.
13711         (round_for_all): Change need_exact field to ibm_ld.
13712         * stdlib/tst-strtod-round.c (struct exactness): New type.
13713         (struct test): Change bool ld_ok field to struct exactness exact.
13714         (TEST): Update all definitions for change to field.
13715         (tests): Regenerate array contents.
13716         (test_in_one_mode): Take pointer to new field instead of old ld_ok
13717         field value.  Check for IBM long double here.
13718         (do_test): Update calls to test_in_one_mode.
13719
13720 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13721
13722         [BZ #12515]
13723         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13724         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13725
13726 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13727
13728         [BZ #15605]
13729         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13730         generated by the compiler on loop optimizations.
13731         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13732         general definitions.
13733
13734 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
13735
13736         * math/bug-nextafter.c: Include <math-tests.h>.
13737         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13738         the relevant type.
13739         * math/bug-nexttoward.c: Include <math-tests.h>.
13740         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13741         the relevant type.
13742         * math/test-misc.c: Include <math-tests.h>.
13743         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13744         the relevant type.
13745
13746 2013-06-12  Andreas Jaeger  <aj@suse.de>
13747
13748         * po/ia.po: Update Interlingua translation from translation
13749         project.
13750
13751 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13752
13753         * include/fenv.h: Include stdbool.h.
13754         (struct rm_ctx): New structure.
13755         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13756         Define macro.
13757         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13758         (SET_RESTORE_ROUNDF): Likewise.
13759         (SET_RESTORE_ROUNDL): Likewise.
13760         (SET_RESTORE_ROUND_NOEX): Likewise.
13761         (SET_RESTORE_ROUND_NOEXF): Likewise.
13762         (SET_RESTORE_ROUND_NOEXL): Likewise.
13763         (SET_RESTORE_ROUND_53BIT): Likewise.
13764         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13765         (libc_feresetround_noexf_ctx): Likewise.
13766         (libc_feresetround_noexl_ctx): Likewise.
13767         (libc_feholdsetround_53bit_ctx): Likewise.
13768         (libc_feresetround_53bit_ctx): Likewise.
13769         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13770         (libc_feholdexcept_setround_sse_ctx): New function.
13771         (libc_fesetenv_sse_ctx): Likewise.
13772         (libc_feupdateenv_sse_ctx): Likewise.
13773         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13774         (libc_feholdexcept_setround_387_ctx): Likewise.
13775         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13776         (libc_feholdsetround_387_prec_ctx): Likewise.
13777         (libc_feholdsetround_387_ctx): Likewise.
13778         (libc_feholdsetround_387_53bit_ctx): Likewise.
13779         (libc_feholdsetround_sse_ctx): Likewise.
13780         (libc_feresetround_sse_ctx): Likewise.
13781         (libc_feresetround_387_ctx): Likewise.
13782         (libc_feupdateenv_387_ctx): Likewise.
13783         (libc_feholdexcept_setroundf_ctx): Define macro.
13784         (libc_fesetenvf_ctx): Likewise.
13785         (libc_feupdateenvf_ctx): Likewise.
13786         (libc_feholdsetroundf_ctx): Likewise.
13787         (libc_feresetroundf_ctx): Likewise.
13788         (libc_feholdexcept_setround_ctx): Likewise.
13789         (libc_fesetenv_ctx): Likewise.
13790         (libc_feupdateenv_ctx): Likewise.
13791         (libc_feholdsetround_ctx): Likewise.
13792         (libc_feresetround_ctx): Likewise.
13793         (libc_feholdexcept_setroundl_ctx): Likewise.
13794         (libc_feupdateenvl_ctx): Likewise.
13795         (libc_feholdsetroundl_ctx): Likewise.
13796         (libc_feresetroundl_ctx): Likewise.
13797         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13798         (libc_feresetround_53bit_ctx): Likewise.
13799
13800 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13801
13802         * locale/iso-639.def: Convert to UTF-8.
13803
13804 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
13805
13806         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13807         (EXCEPTION_TESTS_double): Likewise.
13808         (EXCEPTION_TESTS_long_double): Likewise.
13809         (EXCEPTION_TESTS): Likewise.
13810         * math/libm-test.inc (test_exceptions): Only test exceptions if
13811         EXCEPTION_TESTS (FLOAT).
13812
13813 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13814
13815         * benchtests/Makefile (string-bench): Add strcpy_chk and
13816         stpcpy_chk.
13817         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13818         * benchtests/bench-stpcpy_chk.c: New file.
13819         * benchtests/bench-strcpy_chk-ifunc.c: New file.
13820         * benchtests/bench-strcpy_chk.c: New file.
13821         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13822         code.
13823         (do_test): Likewise.
13824
13825 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13826
13827         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13828         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13829         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13830         with tabs where appropriate.
13831         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13832         dl-procinfo.h.
13833         [PPC_PLATFORM_PPC440]: Likewise.
13834         [PPC_PLATFORM_PPC464]: Likewise.
13835         [PPC_PLATFORM_PPC476]: Likewise.
13836         (_dl_string_platform): Add support for detecting ppc405, ppc440,
13837         ppc464, and ppc476 platform strings merging from ports/
13838         dl-procinfo.h.
13839
13840 2013-06-11  Andreas Schwab  <schwab@suse.de>
13841
13842         [BZ #14991]
13843         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13844         (from_ucs4_idx): Regenerate.
13845         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13846         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13847         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13848         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13849         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13850         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13851         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13852         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13853         from FROM_LOOP and TO_LOOP specific macros.
13854         (BODY): Handle combining characters.
13855         * iconvdata/BIG5HKSCS.irreversible: Update.
13856         * iconvdata/BIG5HKSCS.precomposed: New file.
13857         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13858         characters.
13859         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13860
13861 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13862
13863         * include/sys/time.h: Fix indentation and add copyright header.
13864
13865         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13866         (do_test): Likewise.
13867         * string/test-memchr.c (do_one_test): Likewise.
13868         (do_test): Likewise.
13869         * string/test-memcmp.c (do_one_test): Likewise.
13870         (do_test): Likewise.
13871         * string/test-memcpy.c (do_one_test): Likewise.
13872         (do_test): Likewise.
13873         * string/test-memmem.c (do_one_test): Likewise.
13874         (do_test): Likewise.
13875         (do_random_tests): Likewise.
13876         * string/test-memmove.c (do_one_test): Likewise.
13877         (do_test): Likewise.
13878         * string/test-memset.c (do_one_test): Likewise.
13879         (do_test): Likewise.
13880         * string/test-rawmemchr.c (do_one_test): Likewise.
13881         (do_test): Likewise.
13882         * string/test-strcasecmp.c (do_one_test): Likewise.
13883         (do_test): Likewise.
13884         * string/test-strcasestr.c (do_one_test): Likewise.
13885         (do_test): Likewise.
13886         * string/test-strcat.c (do_one_test): Likewise.
13887         (do_test): Likewise.
13888         * string/test-strchr.c (do_one_test): Likewise.
13889         (do_test): Likewise.
13890         * string/test-strcmp.c (do_one_test): Likewise.
13891         (do_test): Likewise.
13892         * string/test-strcpy.c (do_one_test): Likewise.
13893         (do_test): Likewise.
13894         * string/test-string.h: Likewise.
13895         (test_init): Likewise.
13896         * string/test-strlen.c (do_one_test): Likewise.
13897         (do_test): Likewise.
13898         * string/test-strncasecmp.c (do_one_test): Likewise.
13899         (do_test): Likewise.
13900         * string/test-strncat.c (do_one_test): Likewise.
13901         (do_test): Likewise.
13902         * string/test-strncmp.c (do_one_test): Likewise.
13903         (do_test_limit): Likewise.
13904         (do_test): Likewise.
13905         * string/test-strncpy.c (do_one_test): Likewise.
13906         (do_test): Likewise.
13907         * string/test-strnlen.c (do_one_test): Likewise.
13908         (do_test): Likewise.
13909         * string/test-strpbrk.c (do_one_test): Likewise.
13910         (do_test): Likewise.
13911         * string/test-strrchr.c (do_one_test): Likewise.
13912         (do_test): Likewise.
13913         * string/test-strspn.c (do_one_test): Likewise.
13914         (do_test): Likewise.
13915         * string/test-strstr.c (do_one_test): Likewise.
13916         (do_test): Likewise.
13917
13918         * benchtests/Makefile (string-bench): Add string benchmarks.
13919         * benchtests/bench-bcopy-ifunc.c: New file.
13920         * benchtests/bench-bcopy.c: New file.
13921         * benchtests/bench-bzero-ifunc.c: New file.
13922         * benchtests/bench-bzero.c: New file.
13923         * benchtests/bench-memccpy-ifunc.c: New file.
13924         * benchtests/bench-memccpy.c: New file.
13925         * benchtests/bench-memchr-ifunc.c: New file.
13926         * benchtests/bench-memchr.c: New file.
13927         * benchtests/bench-memcmp-ifunc.c: New file.
13928         * benchtests/bench-memcmp.c: New file.
13929         * benchtests/bench-memmem-ifunc.c: New file.
13930         * benchtests/bench-memmem.c: New file.
13931         * benchtests/bench-memmove-ifunc.c: New file.
13932         * benchtests/bench-memmove.c: New file.
13933         * benchtests/bench-mempcpy-ifunc.c: New file.
13934         * benchtests/bench-mempcpy.c: New file.
13935         * benchtests/bench-memset-ifunc.c: New file.
13936         * benchtests/bench-memset.c: New file.
13937         * benchtests/bench-rawmemchr-ifunc.c: New file.
13938         * benchtests/bench-rawmemchr.c: New file.
13939         * benchtests/bench-stpcpy-ifunc.c: New file.
13940         * benchtests/bench-stpcpy.c: New file.
13941         * benchtests/bench-stpncpy-ifunc.c: New file.
13942         * benchtests/bench-stpncpy.c: New file.
13943         * benchtests/bench-strcasecmp-ifunc.c: New file.
13944         * benchtests/bench-strcasecmp.c: New file.
13945         * benchtests/bench-strcasestr-ifunc.c: New file.
13946         * benchtests/bench-strcasestr.c: New file.
13947         * benchtests/bench-strcat-ifunc.c: New file.
13948         * benchtests/bench-strcat.c: New file.
13949         * benchtests/bench-strchr-ifunc.c: New file.
13950         * benchtests/bench-strchr.c: New file.
13951         * benchtests/bench-strchrnul-ifunc.c: New file.
13952         * benchtests/bench-strchrnul.c: New file.
13953         * benchtests/bench-strcmp-ifunc.c: New file.
13954         * benchtests/bench-strcmp.c: New file.
13955         * benchtests/bench-strcpy-ifunc.c: New file.
13956         * benchtests/bench-strcpy.c: New file.
13957         * benchtests/bench-strcspn-ifunc.c: New file.
13958         * benchtests/bench-strcspn.c: New file.
13959         * benchtests/bench-strlen-ifunc.c: New file.
13960         * benchtests/bench-strlen.c: New file.
13961         * benchtests/bench-strncasecmp-ifunc.c: New file.
13962         * benchtests/bench-strncasecmp.c: New file.
13963         * benchtests/bench-strncat-ifunc.c: New file.
13964         * benchtests/bench-strncat.c: New file.
13965         * benchtests/bench-strncmp-ifunc.c: New file.
13966         * benchtests/bench-strncmp.c: New file.
13967         * benchtests/bench-strncpy-ifunc.c: New file.
13968         * benchtests/bench-strncpy.c: New file.
13969         * benchtests/bench-strnlen-ifunc.c: New file.
13970         * benchtests/bench-strnlen.c: New file.
13971         * benchtests/bench-strpbrk-ifunc.c: New file.
13972         * benchtests/bench-strpbrk.c: New file.
13973         * benchtests/bench-strrchr-ifunc.c: New file.
13974         * benchtests/bench-strrchr.c: New file.
13975         * benchtests/bench-strspn-ifunc.c: New file.
13976         * benchtests/bench-strspn.c: New file.
13977         * benchtests/bench-strstr-ifunc.c: New file.
13978         * benchtests/bench-strstr.c: New file.
13979
13980         * benchtests/Makefile: Disable parallel execution of targets.
13981         (string-bench): Add memcpy.
13982         (benchset): New variable to store a list of benchmark sets.
13983         (bench-func): Renamed from bench.
13984         (bench-set): New target.
13985         (bench): Depend on bench-func and bench-set.
13986         * benchtests/README: Add section on benchmark sets.
13987         * benchtests/bench-memcpy-ifunc.c: New file.
13988         * benchtests/bench-memcpy.c: New file.
13989         * benchtests/bench-string.h: New file.
13990
13991 2013-06-11  Andreas Schwab  <schwab@suse.de>
13992
13993         [BZ #15577]
13994         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13995         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13996         values in the triple.
13997         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13998         terminator in the group key.
13999
14000 2013-06-11  Andreas Jaeger  <aj@suse.de>
14001
14002         * po/zh_TW.po: Update Chinese (traditional) translation from
14003         translation project.
14004
14005 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14006
14007         * include/time.h (__clock_gettime): Add libc_hidden_proto.
14008         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14009         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
14010         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14011         (clock_getcpuclockid): Likewise.
14012         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14013         Add weak_alias and libc_hidden_def.
14014         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14015         * rt/clock_gettime.c (clock_gettime): Rename to
14016         __clock_gettime.  Add weak_alias and libc_hidden_def.
14017         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14018         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14019         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
14020         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14021         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14022         Likewise.
14023         * rt/clock_settime.c (clock_settime): Rename to
14024         __clock_settime.  Add weak_alias and libc_hidden_def.
14025         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14026
14027 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
14028
14029         * mach/err_boot.sub: Remove trailing whitespace.
14030         * mach/err_ipc.sub: Likewise.
14031         * mach/err_mach.sub: Likewise.
14032
14033         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14034         (ROUNDING_TESTS_double): Likewise.
14035         (ROUNDING_TESTS_long_double): Likewise.
14036         (ROUNDING_TESTS): Likewise.
14037         * math/libm-test.inc: Include <math-tests.h>.
14038         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14039         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14040         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14041         (IF_ROUND_INIT_FE_UPWARD): Likewise.
14042
14043 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14044
14045         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14046         of assigning.
14047
14048 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
14049
14050         * sysdeps/gnu/errlist.awk: Do not generate space at end of
14051         otherwise empty TRANS lines.
14052         * sysdeps/gnu/errlist.c: Regenerated.
14053
14054         * catgets/gencat.c (error_print): Use (void) in function
14055         definition.
14056         * crypt/crypt_util.c (__init_des): Likewise.
14057         * crypt/speeds.c (Stop): Likewise.
14058         (main): Likewise.
14059         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14060         * inet/ruserpass.c (token): Likewise.
14061         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14062         * intl/localealias.c (extend_alias_table): Likewise.
14063         * intl/plural-exp.c (init_germanic_plural): Likewise.
14064         * libio/fcloseall.c (__fcloseall): Likewise.
14065         * libio/genops.c (_IO_flush_all): Likewise.
14066         (_IO_flush_all_linebuffered): Likewise.
14067         (_IO_cleanup): Likewise.
14068         (_IO_iter_begin): Likewise.
14069         (_IO_iter_end): Likewise.
14070         (_IO_list_lock): Likewise.
14071         (_IO_list_unlock): Likewise.
14072         (_IO_list_resetlock): Likewise.
14073         * libio/getchar.c (getchar): Likewise.
14074         * libio/getchar_u.c (getchar_unlocked): Likewise.
14075         * libio/getwchar.c (getwchar): Likewise.
14076         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14077         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14078         * login/getpt.c (__getpt): Likewise.
14079         * login/tst-utmp.c (main): Likewise.
14080         * malloc/hooks.c (__malloc_check_init): Likewise.
14081         * malloc/malloc.c (__malloc_stats): Likewise.
14082         * malloc/mtrace.c (tr_break): Likewise.
14083         (mtrace): Likewise.
14084         (muntrace): Likewise.
14085         * misc/fstab.c (endfsent): Likewise.
14086         * misc/getclktck.c (__getclktck): Likewise.
14087         * misc/getdtsz.c (__getdtablesize): Likewise.
14088         * misc/gethostid.c (gethostid): Likewise.
14089         * misc/getpagesize.c (__getpagesize): Likewise.
14090         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14091         (__get_nprocs): Likewise.
14092         (__get_phys_pages): Likewise.
14093         (__get_avphys_pages): Likewise.
14094         * misc/getttyent.c (getttyent): Likewise.
14095         (setttyent): Likewise.
14096         (endttyent): Likewise.
14097         * misc/getusershell.c (getusershell): Likewise.
14098         (endusershell): Likewise.
14099         (setusershell): Likewise.
14100         (initshells): Likewise.
14101         * misc/hsearch.c (__hdestroy): Likewise.
14102         * misc/sync.c (sync): Likewise.
14103         * misc/syslog.c (closelog_internal): Likewise.
14104         (closelog): Likewise.
14105         * misc/ttyslot.c (ttyslot): Likewise.
14106         * misc/vhangup.c (vhangup): Likewise.
14107         * posix/fork.c (__fork): Likewise.
14108         * posix/getegid.c (__getegid): Likewise.
14109         * posix/geteuid.c (__geteuid): Likewise.
14110         * posix/getgid.c (__getgid): Likewise.
14111         * posix/getpid.c (__getpid): Likewise.
14112         * posix/getppid.c (__getppid): Likewise.
14113         * posix/getuid.c (__getuid): Likewise.
14114         * posix/pause.c (pause): Likewise.
14115         * posix/setpgrp.c (setpgrp): Likewise.
14116         * posix/setsid.c (__setsid): Likewise.
14117         * posix/test-vfork.c (noop): Likewise.
14118         * resolv/gethnamaddr.c (_endhtent): Likewise.
14119         (_gethtent): Likewise.
14120         (ht_endhostent): Likewise.
14121         (gethostent): Likewise.
14122         (dns_service): Likewise.
14123         * stdlib/drand48.c (drand48): Likewise.
14124         * stdlib/lrand48.c (lrand48): Likewise.
14125         * stdlib/mrand48.c (mrand48): Likewise.
14126         * stdlib/rand.c (rand): Likewise.
14127         * stdlib/random.c (__random): Likewise.
14128         * stdlib/setenv.c (clearenv): Likewise.
14129         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14130         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14131         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14132         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14133         (__get_nprocs): Likewise.
14134         (__get_phys_pages): Likewise.
14135         (__get_avphys_pages): Likewise.
14136         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14137         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14138         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14139         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14140         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14141         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14142         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14143         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14144         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14145         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14146         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14147         * sysdeps/mach/hurd/sync.c (sync): Likewise.
14148         * sysdeps/posix/clock.c (clock): Likewise.
14149         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14150         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14151         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14152         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14153         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14154         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14155         (__get_nprocs_conf): Likewise.
14156         (__get_phys_pages): Likewise.
14157         (__get_avphys_pages): Likewise.
14158         * time/clock.c (clock): Likewise.
14159         * time/tzset.c (__tzname_max): Likewise.
14160
14161 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
14162
14163         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14164         (__bswap_32): Do not use "register".
14165         * crypt/crypt.c (_ufc_doit_r): Likewise.
14166         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14167         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14168         * gmon/gmon.c (__monstartup): Likewise.
14169         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14170         * hurd/hurdmalloc.c (more_memory): Likewise.
14171         (malloc): Likewise.
14172         (free): Likewise.
14173         (realloc): Likewise.
14174         (malloc_fork_prepare): Likewise.
14175         (malloc_fork_parent): Likewise.
14176         (malloc_fork_child): Likewise.
14177         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14178         (_svcauth_des): Likewise.
14179         * inet/inet_lnaof.c (inet_lnaof): Likewise.
14180         * inet/inet_net.c (inet_network): Likewise.
14181         * inet/inet_netof.c (inet_netof): Likewise.
14182         * inet/rcmd.c (__validuser2_sa): Likewise.
14183         * io/fts.c (fts_open): Likewise.
14184         (fts_load): Likewise.
14185         (fts_close): Likewise.
14186         (fts_read): Likewise.
14187         (fts_children): Likewise.
14188         (fts_build): Likewise.
14189         (fts_stat): Likewise.
14190         (fts_sort): Likewise.
14191         (fts_alloc): Likewise.
14192         (fts_lfree): Likewise.
14193         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14194         (_IO_file_xsgetn): Likewise.
14195         (_IO_file_xsgetn_mmap): Likewise.
14196         * libio/iofopncook.c (_IO_cookie_read): Likewise.
14197         (_IO_cookie_write): Likewise.
14198         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14199         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14200         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14201         * malloc/obstack.c (_obstack_begin): Likewise.
14202         (_obstack_begin_1): Likewise.
14203         (_obstack_newchunk): Likewise.
14204         (_obstack_allocated_p): Likewise.
14205         (obstack_free): Likewise.
14206         (_obstack_memory_used): Likewise.
14207         * misc/getttyent.c (getttynam): Likewise.
14208         (getttyent): Likewise.
14209         (skip): Likewise.
14210         (value): Likewise.
14211         * misc/getusershell.c (initshells): Likewise.
14212         * misc/syslog.c (__vsyslog_chk): Likewise.
14213         * misc/ttyslot.c (ttyslot): Likewise.
14214         * nis/nis_hash.c (__nis_hash): Likewise.
14215         * posix/fnmatch_loop.c (FCT): Likewise.
14216         * posix/getconf.c (print_all): Likewise.
14217         (main): Likewise.
14218         * posix/getopt.c (exchange): Likewise.
14219         * posix/glob.c (globfree): Likewise.
14220         (prefix_array): Likewise.
14221         (__glob_pattern_type): Likewise.
14222         * resolv/arpa/nameser.h (NS_GET16): Likewise.
14223         (NS_GET32): Likewise.
14224         (NS_PUT16): Likewise.
14225         (NS_PUT32): Likewise.
14226         * resolv/gethnamaddr.c (getanswer): Likewise.
14227         (gethostbyname2): Likewise.
14228         (gethostbyaddr): Likewise.
14229         (_gethtent): Likewise.
14230         (_gethtbyname2): Likewise.
14231         (_gethtbyaddr): Likewise.
14232         * resolv/ns_print.c (dst_s_get_int16): Likewise.
14233         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14234         * resolv/res_init.c (__res_vinit): Likewise.
14235         (net_mask): Likewise.
14236         * resolv/res_mkquery.c (outchar): Likewise.
14237         (PRINT): Likewise.
14238         * stdio-common/printf_fp.c (outchar): Likewise.
14239         (PRINT): Likewise.
14240         * stdio-common/printf_fphex.c (outchar): Likewise.
14241         (PRINT): Likewise.
14242         * stdio-common/printf_size.c (outchar): Likewise.
14243         (PRINT): Likewise.
14244         * stdio-common/test_rdwr.c (main): Likewise.
14245         * stdio-common/tfformat.c (matches): Likewise.
14246         * stdio-common/vfprintf.c (outchar): Likewise.
14247         (printf_unknown): Likewise.
14248         (buffered_vfprintf): Likewise.
14249         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14250         * stdio-common/xbug.c (AppendToBuffer): Likewise.
14251         (ReadFile): Likewise.
14252         * stdlib/qsort.c (SWAP): Likewise.
14253         (_quicksort): Likewise.
14254         * stdlib/setenv.c (__add_to_environ): Likewise.
14255         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14256         * stdlib/strtol_l.c (__strtol_l): Likewise.
14257         * stdlib/tst-strtod.c (main): Likewise.
14258         * stdlib/tst-strtol.c (main): Likewise.
14259         * stdlib/tst-strtoll.c (main): Likewise.
14260         * string/bits/string2.h (__strcmp_cc): Likewise.
14261         (__strcmp_cg): Likewise.
14262         (__strcspn_c1): Likewise.
14263         (__strcspn_c2): Likewise.
14264         (__strcspn_c3): Likewise.
14265         (__strspn_c1): Likewise.
14266         (__strspn_c2): Likewise.
14267         (__strspn_c3): Likewise.
14268         (__strsep_1c): Likewise.
14269         (__strsep_2c): Likewise.
14270         (__strsep_3c): Likewise.
14271         * string/memccpy.c (__memccpy): Likewise.
14272         * string/stpcpy.c (__stpcpy): Likewise.
14273         * string/strcmp.c (strcmp): Likewise.
14274         * string/strrchr.c (strrchr): Likewise.
14275         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14276         Likewise.
14277         * sysdeps/mach/hurd/getcwd.c
14278         (_hurd_canonicalize_directory_name_internal): Likewise.
14279         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14280         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14281         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14282         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14283         Likewise, in both definitions.
14284         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14285         definitions.
14286         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14287         64] (__bswap_64): Likewise.
14288         * time/test_time.c (main): Likewise.
14289         * time/tzfile.c (__tzfile_read): Likewise.
14290         (__tzfile_compute): Likewise.
14291         * time/tzset.c (__tzset_parse_tz): Likewise.
14292         (tzset_internal): Likewise.
14293         (compute_change): Likewise.
14294         * wcsmbs/wcscat.c (__wcscat): Likewise.
14295         * wcsmbs/wcschr.c (wcschr): Likewise.
14296         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14297         * wcsmbs/wcscspn.c (wcscspn): Likewise.
14298         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14299         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14300         * wcsmbs/wcsspn.c (wcsspn): Likewise.
14301         * wcsmbs/wcsstr.c (wcsstr): Likewise.
14302         * wcsmbs/wmemchr.c (wmemchr): Likewise.
14303         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14304         * wcsmbs/wmemset.c (wmemset): Likewise.
14305
14306 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
14307
14308         * scripts/config.guess: Update to version 2013-05-16.
14309         * scripts/config.sub: Update to version 2013-04-24.
14310         * scripts/install-sh: Update to version 2011-11-20.07.
14311         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14312         * scripts/move-if-change: Update to version 2012-01-06 07:23.
14313
14314 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
14315
14316         * debug/fgetws_u_chk.c: Fix leading whitespaces.
14317         * elf/sln.c: Likewise.
14318         * hurd/hurd/ioctl.h: Likewise.
14319         * hurd/hurdmalloc.c: Likewise.
14320         * hurd/xattr.c: Likewise.
14321         * include/shlib-compat.h: Likewise.
14322         * inet/ruserpass.c: Likewise.
14323         * libio/iofgets_u.c: Likewise.
14324         * libio/iofgetws_u.c: Likewise.
14325         * locale/programs/ld-identification.c: Likewise.
14326         * locale/programs/ld-time.c: Likewise.
14327         * mach/msg-destroy.c: Likewise.
14328         * nss/nss_files/files-netgrp.c: Likewise.
14329         * resolv/res_data.c: Likewise.
14330         * soft-fp/op-1.h: Likewise.
14331         * soft-fp/op-2.h: Likewise.
14332         * soft-fp/op-4.h: Likewise.
14333         * soft-fp/op-common.h: Likewise.
14334         * stdio-common/printf_fphex.c: Likewise.
14335         * stdlib/strtod_l.c: Likewise.
14336         * sunrpc/rpc/clnt.h: Likewise.
14337         * sysdeps/generic/framestate.c: Likewise.
14338         * sysdeps/i386/bsd-_setjmp.S: Likewise.
14339         * sysdeps/i386/bsd-setjmp.S: Likewise.
14340         * sysdeps/i386/__longjmp.S: Likewise.
14341         * sysdeps/i386/setjmp.S: Likewise.
14342         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14343         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14344         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14345         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14346         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14347         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14348         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14349         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14350         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14351         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14352         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14353         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14354         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14355         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14356         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14357         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14358         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14359         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14360         * sysdeps/ieee754/support.c: Likewise.
14361         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14362         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14363         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14364         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14365         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14366         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14367         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14368         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14369         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14370         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14371         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14372         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14373         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14374         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14375         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14376         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14377         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14379
14380 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
14381
14382         * posix/transbug.c: Remove executable mode.
14383
14384 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
14385
14386         * crypt/speeds.c: Remove trailing whitespace.
14387         * dlfcn/default.c: Likewise.
14388         * elf/ifuncdep2.c: Likewise.
14389         * elf/ifuncmain1.c: Likewise.
14390         * elf/ifuncmain1vis.c: Likewise.
14391         * elf/testobj.h: Likewise.
14392         * elf/tst-stackguard1.c: Likewise.
14393         * gmon/sys/gmon.h: Likewise.
14394         * hurd/hurdmsg.c: Likewise.
14395         * hurd/new-fd.c: Likewise.
14396         * hurd/ports-get.c: Likewise.
14397         * iconvdata/ibm1008_420.c: Likewise.
14398         * inet/tst-getni1.c: Likewise.
14399         * inet/tst-getni2.c: Likewise.
14400         * libio/ioungetc.c: Likewise.
14401         * libio/wfiledoalloc.c: Likewise.
14402         * manual/libm-err-tab.pl: Likewise.
14403         * math/w_dremf.c: Likewise.
14404         * misc/ftruncate.c: Likewise.
14405         * posix/bug-glob2.c: Likewise.
14406         * posix/tst-pcre.c: Likewise.
14407         * posix/wait4.c: Likewise.
14408         * resolv/README: Likewise.
14409         * resolv/res_debug.h: Likewise.
14410         * resolv/tst-inet_ntop.c: Likewise.
14411         * setjmp/bug269-setjmp.c: Likewise.
14412         * soft-fp/extended.h: Likewise.
14413         * soft-fp/op-1.h: Likewise.
14414         * soft-fp/op-2.h: Likewise.
14415         * soft-fp/op-4.h: Likewise.
14416         * soft-fp/op-8.h: Likewise.
14417         * soft-fp/testit.c: Likewise.
14418         * stdio-common/bug16.c: Likewise.
14419         * stdlib/random.c: Likewise.
14420         * sunrpc/rpcsvc/rquota.x: Likewise.
14421         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14422         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14423         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14424         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14425         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14426         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14427         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14428         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14429         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14430         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14431         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14432         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14433         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14434         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14435         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14436         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14437         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14438         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14439         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14440         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14441         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14442         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14443         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14444         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14445         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14446         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14447         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14448         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14449         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14450         * sysdeps/ieee754/s_lib_version.c: Likewise.
14451         * sysdeps/mach/hurd/check_fds.c: Likewise.
14452         * sysdeps/mach/hurd/getsockname.c: Likewise.
14453         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14454         * sysdeps/mach/hurd/recvfrom.c: Likewise.
14455         * sysdeps/powerpc/bits/link.h: Likewise.
14456         * sysdeps/powerpc/dl-procinfo.c: Likewise.
14457         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14458         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14459         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14460         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14461         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14462         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14463         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14464         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14465         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14466         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14467         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14468         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14469         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14470         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14471         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14472         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14473         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14474         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14475         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14476         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14477         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14478         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14479         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14480         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14481         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14482         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14483         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14484         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14485         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14486         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14487         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14488         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14489         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14490         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14491         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14492         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14493         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14494         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14495         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14496         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14497         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14498         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14499         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14500         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14501         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14502         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14503         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14504         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14505         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14506         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14507         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14508         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14509         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14510         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14511         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14512         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14513         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14514         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14515         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14516         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14517         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14518         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14519         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14520         * sysdeps/powerpc/sysdep.h: Likewise.
14521         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14522         * sysdeps/s390/s390-64/sub_n.S: Likewise.
14523         * sysdeps/sh/dl-trampoline.S: Likewise.
14524         * sysdeps/sh/memset.S: Likewise.
14525         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14526         * sysdeps/sh/strlen.S: Likewise.
14527         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14528         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14529         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14530         * sysdeps/sparc/sparc32/rem.S: Likewise.
14531         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14532         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14533         * sysdeps/sparc/sparc32/strchr.S: Likewise.
14534         * sysdeps/sparc/sparc32/udiv.S: Likewise.
14535         * sysdeps/sparc/sparc32/urem.S: Likewise.
14536         * sysdeps/sparc/sparc64/add_n.S: Likewise.
14537         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14538         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14539         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14540         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14541         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14542         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14543         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14544         * sysdeps/unix/bsd/times.c: Likewise.
14545         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14546         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14550         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14551         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14552         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14553         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14554         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14555         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14556         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14557         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14558         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14559         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14560         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14561         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14562         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14563         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14564         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14565         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14566         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14567         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14568         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14569         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14570         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14571         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14572         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14573         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14574         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14575         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14576         * sysdeps/x86_64/strcspn.S: Likewise.
14577
14578 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14579
14580         * locale/C-translit.h: Revert #include <stdint.h> because this is a
14581         generated file.  Regenerate properly from gen-translit.pl.
14582         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
14583         locale/C-translit.h.
14584
14585 2013-06-05  Andreas Schwab  <schwab@suse.de>
14586
14587         [BZ #15100]
14588         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14589         week as 6 instead of -1.
14590         * time/tst-strptime.c (day_tests): Add test case.
14591
14592 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14593
14594         * sysdeps/generic/math_private.h
14595         (libc_feholdexcept_setround_53bit): Replace with
14596         libc_feholdsetround_53bit.
14597         (libc_feupdateenv_53bit): Replace with
14598         libc_feresetround_53bit.
14599         (SET_RESTORE_ROUND_53BIT): Adjust.
14600
14601 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14602
14603         * string/test-strchrnul.c: Add copyright header.
14604
14605         * posix/tst-getaddrinfo4.c: Increase test timeout.
14606
14607 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
14608
14609         [BZ #15536]
14610         * math/libm-test.inc (MAX_EXP): Remove
14611         (MIN_EXP): Define.
14612         (ulp): Use MIN_EXP - MANT_DIG.
14613         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14614
14615 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
14616
14617         * po/be.po: Revert last change.
14618         * po/zh_CN.po: Likewise.
14619         * po/header.pot: Likewise.
14620
14621 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
14622
14623         * Makefile ($(common-objpfx)linkobj/libc.so): Define
14624         link-libc-deps to empty as target-specific variable.
14625         * Makerules (link-libc-args): New variable.
14626         (libc-for-link): Likewise.
14627         (link-libc-deps): Likewise.
14628         (lib%.so): Depend on $(link-libc-deps).  Link with
14629         $(link-libc-args).
14630         (build-module): Link with $(link-libc-args).
14631         (build-module-asneeded): Likewise.
14632         (build-module-helper-objlist): Filter out $(link-libc-deps) from
14633         list of objects.
14634         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14635         target-specific variable.
14636         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14637         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14638         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14639         libc.
14640         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14641         libc and ld.so.
14642         ($(objpfx)libpcprofile.so): Likewise.
14643         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14644         libc_nonshared.a.
14645         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14646         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14647         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14648         $(link-libc-deps).
14649         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14650         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14651         * login/Makefile ($(objpfx)libutil.so): Likewise.
14652         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14653         * math/Makefile ($(objpfx)libm.so): Likewise.
14654         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14655         $(objpfx)libnsl.so): Define libc-for-link as target-specific
14656         variable instead of depending directly on libc.
14657         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14658         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14659         $(link-libc-deps).
14660         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14661         libc.
14662         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14663         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14664         ($(objpfx)libanl.so): Likewise.
14665         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14666         ld.so.
14667         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14668         $(link-libc-deps).
14669         * sysdeps/i386/fpu/Makefile: Remove file.
14670         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14671         ($(objpfx)libm.so): Remove dependency on ld.so.
14672
14673 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
14674
14675         [BZ # 15553]
14676         * nis/yp_xdr.c (XDRMAXNAME): Define.
14677         (XDRMAXRECORD): Define.
14678         (xdr_domainname): Use XDRMAXNAME.
14679         (xdr_mapname): Likewise.
14680         (xdr_peername): Likewise.
14681         (xdr_keydat): Use XDRMAXRECORD.
14682         (xdr_valdat): Likewise.
14683
14684 2013-05-30  Jeff Law  <law@redhat.com>
14685
14686         [BZ #14256]
14687         * manual/errno.texi (ESTALE): Update to account for more than
14688         just NFS file systems.
14689         * sysdeps/gnu/errlist.c: Regenerated.
14690
14691 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14692
14693         [BZ #15465]
14694         * elf/Makefile (tests): Add tst-null-argv.
14695         (modules-names):  Add tst-null-argv-lib.
14696         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14697         (tst-null-argv-ENV): Set environment for tst-null-argv.
14698         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14699         (RTLD_PROGNAME): New macro.
14700         * elf/tst-null-argv.c: New test case.
14701         * elf/tst-null-argv-lib.c: Library for test case.
14702         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14703         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14704         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14705         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14706         * elf/dl-init.c (call_init): Likewise.
14707         (_dl_init): Likewise.
14708         * elf/dl-load.c (print_search_path): Likewise.
14709         (_dl_map_object): Likewise.
14710         * elf/dl-lookup.c (do_lookup_x): Likewise.
14711         (add_dependency): Likewise.
14712         (_dl_lookup_symbol_x): Likewise.
14713         (_dl_debug_bindings): Likewise.
14714         * elf/dl-open.c (_dl_show_scope): Likewise.
14715         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14716         * elf/dl-version.c (match_symbol): Likewise.
14717         (_dl_check_map_versions): Likewise.
14718         * elf/rtld.c (dl_main): Likewise.
14719         (print_unresolved): Use RTLD_PROGNAME.
14720         (print_missing_version): Likewise.
14721         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14722         (elf_machine_rela): Likewise.
14723         * sysdeps/powerpc/powerpc32/dl-machine.c
14724         (__process_machine_rela): Likewise.
14725         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14726         Likewise.
14727         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14728         Likewise.
14729         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14730         Likewise.
14731         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14732         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14733         Likewise.
14734         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14735         Likewise.
14736         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14737
14738 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
14739
14740         * po/be.po: Add descriptive title.
14741         * po/zh_CN.po: Likewise.
14742         * po/header.pot: Likewise.
14743
14744 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
14745
14746         * locale/programs/locarchive.c (create_archive): Inlucde fname in
14747         error message.
14748         (enlarge_archive): Likewise.
14749
14750 2013-05-28  Ben North  <ben@redfrontdoor.org>
14751
14752         * manual/arith.texi (frexp): It is the magnitude of the return
14753         value which lies in [0.5, 1), not the return value itself.
14754
14755 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14756
14757         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14758
14759 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
14760
14761         * stdio-common/bug26.c (main): Correct fscanf template.
14762
14763         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14764         declare _dl_skip_args.
14765
14766         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14767         Don't declare.
14768
14769         * manual/platform.texi: Add missing @end deftypefun.
14770
14771 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
14772
14773         [BZ #15529]
14774         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14775         bit of mantissa of 2^16382.
14776         * math/libm-test.inc (hypot_test_data): Add more tests.
14777
14778         * math/libm-test.inc: Add drem and pow10 to list of tested
14779         functions.
14780         (pow10_test): New function.
14781         (drem_test): Likewise.
14782         (drem_test_tonearest): Likewise.
14783         (drem_test_towardzero): Likewise.
14784         (drem_test_downward): Likewise.
14785         (drem_test_upward): Likewise.
14786         (main): Call the new functions.
14787
14788         * math/libm-test.inc (finite_test_data): Remove.
14789         (finite_test): Run tests from isfinite_test_data.
14790         (gamma_test_data): Remove.
14791         (gamma_test): Run tests from lgamma_test_data.
14792         * sysdeps/i386/fpu/libm-test-ulps: Update.
14793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14794
14795 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14796
14797         * manual/platform.texi: Add PowerPC PPR function set documentation.
14798         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14799         implementation.
14800
14801 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
14802
14803         * math/libm-test.inc (MAX_EXP): Define.
14804         (ULPDIFF): Define.
14805         (ulp): New function.
14806         (check_float_internal): Use ULPDIFF.
14807         (cpow_test): Disable failing test.
14808         (check_ulp): Test ulp() implemetnation.
14809         (main): Call check_ulp before starting tests.
14810
14811 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
14812
14813         * math/gen-libm-test.pl (generate_testfile): Do not handle
14814         START_DATA and END_DATA.
14815         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14816         END_DATA.
14817         (acos_tonearest_test_data): Likewise.
14818         (acos_towardzero_test_data): Likewise.
14819         (acos_downward_test_data): Likewise.
14820         (acos_upward_test_data): Likewise.
14821         (acosh_test_data): Likewise.
14822         (asin_test_data): Likewise.
14823         (asin_tonearest_test_data): Likewise.
14824         (asin_towardzero_test_data): Likewise.
14825         (asin_downward_test_data): Likewise.
14826         (asin_upward_test_data): Likewise.
14827         (asinh_test_data): Likewise.
14828         (atan_test_data): Likewise.
14829         (atanh_test_data): Likewise.
14830         (atan2_test_data): Likewise.
14831         (cabs_test_data): Likewise.
14832         (cacos_test_data): Likewise.
14833         (cacosh_test_data): Likewise.
14834         (carg_test_data): Likewise.
14835         (casin_test_data): Likewise.
14836         (casinh_test_data): Likewise.
14837         (catan_test_data): Likewise.
14838         (catanh_test_data): Likewise.
14839         (cbrt_test_data): Likewise.
14840         (ccos_test_data): Likewise.
14841         (ccosh_test_data): Likewise.
14842         (ceil_test_data): Likewise.
14843         (cexp_test_data): Likewise.
14844         (cimag_test_data): Likewise.
14845         (clog_test_data): Likewise.
14846         (clog10_test_data): Likewise.
14847         (conj_test_data): Likewise.
14848         (copysign_test_data): Likewise.
14849         (cos_test_data): Likewise.
14850         (cos_tonearest_test_data): Likewise.
14851         (cos_towardzero_test_data): Likewise.
14852         (cos_downward_test_data): Likewise.
14853         (cos_upward_test_data): Likewise.
14854         (cosh_test_data): Likewise.
14855         (cosh_tonearest_test_data): Likewise.
14856         (cosh_towardzero_test_data): Likewise.
14857         (cosh_downward_test_data): Likewise.
14858         (cosh_upward_test_data): Likewise.
14859         (cpow_test_data): Likewise.
14860         (cproj_test_data): Likewise.
14861         (creal_test_data): Likewise.
14862         (csin_test_data): Likewise.
14863         (csinh_test_data): Likewise.
14864         (csqrt_test_data): Likewise.
14865         (ctan_test_data): Likewise.
14866         (ctan_tonearest_test_data): Likewise.
14867         (ctan_towardzero_test_data): Likewise.
14868         (ctan_downward_test_data): Likewise.
14869         (ctan_upward_test_data): Likewise.
14870         (ctanh_test_data): Likewise.
14871         (ctanh_tonearest_test_data): Likewise.
14872         (ctanh_towardzero_test_data): Likewise.
14873         (ctanh_downward_test_data): Likewise.
14874         (ctanh_upward_test_data): Likewise.
14875         (erf_test_data): Likewise.
14876         (erfc_test_data): Likewise.
14877         (exp_test_data): Likewise.
14878         (exp_tonearest_test_data): Likewise.
14879         (exp_towardzero_test_data): Likewise.
14880         (exp_downward_test_data): Likewise.
14881         (exp_upward_test_data): Likewise.
14882         (exp10_test_data): Likewise.
14883         (exp2_test_data): Likewise.
14884         (expm1_test_data): Likewise.
14885         (fabs_test_data): Likewise.
14886         (fdim_test_data): Likewise.
14887         (finite_test_data): Likewise.
14888         (floor_test_data): Likewise.
14889         (fma_test_data): Likewise.
14890         (fma_towardzero_test_data): Likewise.
14891         (fma_downward_test_data): Likewise.
14892         (fma_upward_test_data): Likewise.
14893         (fmax_test_data): Likewise.
14894         (fmin_test_data): Likewise.
14895         (fmod_test_data): Likewise.
14896         (fpclassify_test_data): Likewise.
14897         (frexp_test_data): Likewise.
14898         (gamma_test_data): Likewise.
14899         (hypot_test_data): Likewise.
14900         (ilogb_test_data): Likewise.
14901         (isfinite_test_data): Likewise.
14902         (isgreater_test_data): Likewise.
14903         (isgreaterequal_test_data): Likewise.
14904         (isinf_test_data): Likewise.
14905         (isless_test_data): Likewise.
14906         (islessequal_test_data): Likewise.
14907         (islessgreater_test_data): Likewise.
14908         (isnan_test_data): Likewise.
14909         (isnormal_test_data): Likewise.
14910         (issignaling_test_data): Likewise.
14911         (isunordered_test_data): Likewise.
14912         (j0_test_data): Likewise.
14913         (j1_test_data): Likewise.
14914         (jn_test_data): Likewise.
14915         (ldexp_test_data): Likewise.
14916         (lgamma_test_data): Likewise.
14917         (lrint_test_data): Likewise.
14918         (lrint_tonearest_test_data): Likewise.
14919         (lrint_towardzero_test_data): Likewise.
14920         (lrint_downward_test_data): Likewise.
14921         (lrint_upward_test_data): Likewise.
14922         (llrint_test_data): Likewise.
14923         (llrint_tonearest_test_data): Likewise.
14924         (llrint_towardzero_test_data): Likewise.
14925         (llrint_downward_test_data): Likewise.
14926         (llrint_upward_test_data): Likewise.
14927         (log_test_data): Likewise.
14928         (log10_test_data): Likewise.
14929         (log1p_test_data): Likewise.
14930         (log2_test_data): Likewise.
14931         (logb_test_data): Likewise.
14932         (logb_downward_test_data): Likewise.
14933         (lround_test_data): Likewise.
14934         (llround_test_data): Likewise.
14935         (modf_test_data): Likewise.
14936         (nearbyint_test_data): Likewise.
14937         (nextafter_test_data): Likewise.
14938         (nexttoward_test_data): Likewise.
14939         (pow_test_data): Likewise.
14940         (pow_tonearest_test_data): Likewise.
14941         (pow_towardzero_test_data): Likewise.
14942         (pow_downward_test_data): Likewise.
14943         (pow_upward_test_data): Likewise.
14944         (remainder_test_data): Likewise.
14945         (remainder_tonearest_test_data): Likewise.
14946         (remainder_towardzero_test_data): Likewise.
14947         (remainder_downward_test_data): Likewise.
14948         (remainder_upward_test_data): Likewise.
14949         (remquo_test_data): Likewise.
14950         (rint_test_data): Likewise.
14951         (rint_tonearest_test_data): Likewise.
14952         (rint_towardzero_test_data): Likewise.
14953         (rint_downward_test_data): Likewise.
14954         (rint_upward_test_data): Likewise.
14955         (round_test_data): Likewise.
14956         (scalb_test_data): Likewise.
14957         (scalbn_test_data): Likewise.
14958         (scalbln_test_data): Likewise.
14959         (signbit_test_data): Likewise.
14960         (sin_test_data): Likewise.
14961         (sin_tonearest_test_data): Likewise.
14962         (sin_towardzero_test_data): Likewise.
14963         (sin_downward_test_data): Likewise.
14964         (sin_upward_test_data): Likewise.
14965         (sincos_test_data): Likewise.
14966         (sinh_test_data): Likewise.
14967         (sinh_tonearest_test_data): Likewise.
14968         (sinh_towardzero_test_data): Likewise.
14969         (sinh_downward_test_data): Likewise.
14970         (sinh_upward_test_data): Likewise.
14971         (sqrt_test_data): Likewise.
14972         (tan_test_data): Likewise.
14973         (tan_tonearest_test_data): Likewise.
14974         (tan_towardzero_test_data): Likewise.
14975         (tan_downward_test_data): Likewise.
14976         (tan_upward_test_data): Likewise.
14977         (tanh_test_data): Likewise.
14978         (tgamma_test_data): Likewise.
14979         (trunc_test_data): Likewise.
14980         (y0_test_data): Likewise.
14981         (y1_test_data): Likewise.
14982         (yn_test_data): Likewise.
14983         (significand_test_data): Likewise.
14984
14985         * math/gen-libm-test.pl (@functions): Remove variable.
14986         (generate_testfile): Don't handle START and END lines.
14987         * math/libm-test.inc (START): New macro.
14988         (END): Likewise.
14989         (END_COMPLEX): Likewise.
14990         (acos_test): Use END macro without arguments.
14991         (acos_test_tonearest): Likewise.
14992         (acos_test_towardzero): Likewise.
14993         (acos_test_downward): Likewise.
14994         (acos_test_upward): Likewise.
14995         (acosh_test): Likewise.
14996         (asin_test): Likewise.
14997         (asin_test_tonearest): Likewise.
14998         (asin_test_towardzero): Likewise.
14999         (asin_test_downward): Likewise.
15000         (asin_test_upward): Likewise.
15001         (asinh_test): Likewise.
15002         (atan_test): Likewise.
15003         (atanh_test): Likewise.
15004         (atan2_test): Likewise.
15005         (cabs_test): Likewise.
15006         (cacos_test): Use END_COMPLEX macro without arguments.
15007         (cacosh_test): Likewise.
15008         (carg_test): Use END macro without arguments.
15009         (casin_test): Use END_COMPLEX macro without arguments.
15010         (casinh_test): Likewise.
15011         (catan_test): Likewise.
15012         (catanh_test): Likewise.
15013         (cbrt_test): Use END macro without arguments.
15014         (ccos_test): Use END_COMPLEX macro without arguments.
15015         (ccosh_test): Likewise.
15016         (ceil_test): Use END macro without arguments.
15017         (cexp_test): Use END_COMPLEX macro without arguments.
15018         (cimag_test): Use END macro without arguments.
15019         (clog_test): Use END_COMPLEX macro without arguments.
15020         (clog10_test): Likewise.
15021         (conj_test): Likewise.
15022         (copysign_test): Use END macro without arguments.
15023         (cos_test): Likewise.
15024         (cos_test_tonearest): Likewise.
15025         (cos_test_towardzero): Likewise.
15026         (cos_test_downward): Likewise.
15027         (cos_test_upward): Likewise.
15028         (cosh_test): Likewise.
15029         (cosh_test_tonearest): Likewise.
15030         (cosh_test_towardzero): Likewise.
15031         (cosh_test_downward): Likewise.
15032         (cosh_test_upward): Likewise.
15033         (cpow_test): Use END_COMPLEX macro without arguments.
15034         (cproj_test): Likewise.
15035         (creal_test): Use END macro without arguments.
15036         (csin_test): Use END_COMPLEX macro without arguments.
15037         (csinh_test): Likewise.
15038         (csqrt_test): Likewise.
15039         (ctan_test): Likewise.
15040         (ctan_test_tonearest): Likewise.
15041         (ctan_test_towardzero): Likewise.
15042         (ctan_test_downward): Likewise.
15043         (ctan_test_upward): Likewise.
15044         (ctanh_test): Likewise.
15045         (ctanh_test_tonearest): Likewise.
15046         (ctanh_test_towardzero): Likewise.
15047         (ctanh_test_downward): Likewise.
15048         (ctanh_test_upward): Likewise.
15049         (erf_test): Use END macro without arguments.
15050         (erfc_test): Likewise.
15051         (exp_test): Likewise.
15052         (exp_test_tonearest): Likewise.
15053         (exp_test_towardzero): Likewise.
15054         (exp_test_downward): Likewise.
15055         (exp_test_upward): Likewise.
15056         (exp10_test): Likewise.
15057         (exp2_test): Likewise.
15058         (expm1_test): Likewise.
15059         (fabs_test): Likewise.
15060         (fdim_test): Likewise.
15061         (finite_test): Likewise.
15062         (floor_test): Likewise.
15063         (fma_test): Likewise.
15064         (fma_test_towardzero): Likewise.
15065         (fma_test_downward): Likewise.
15066         (fma_test_upward): Likewise.
15067         (fmax_test): Likewise.
15068         (fmin_test): Likewise.
15069         (fmod_test): Likewise.
15070         (fpclassify_test): Likewise.
15071         (frexp_test): Likewise.
15072         (gamma_test): Likewise.
15073         (hypot_test): Likewise.
15074         (ilogb_test): Likewise.
15075         (isfinite_test): Likewise.
15076         (isgreater_test): Likewise.
15077         (isgreaterequal_test): Likewise.
15078         (isinf_test): Likewise.
15079         (isless_test): Likewise.
15080         (islessequal_test): Likewise.
15081         (islessgreater_test): Likewise.
15082         (isnan_test): Likewise.
15083         (isnormal_test): Likewise.
15084         (issignaling_test): Likewise.
15085         (isunordered_test): Likewise.
15086         (j0_test): Likewise.
15087         (j1_test): Likewise.
15088         (jn_test): Likewise.
15089         (ldexp_test): Likewise.
15090         (lgamma_test): Likewise.
15091         (lrint_test): Likewise.
15092         (lrint_test_tonearest): Likewise.
15093         (lrint_test_towardzero): Likewise.
15094         (lrint_test_downward): Likewise.
15095         (lrint_test_upward): Likewise.
15096         (llrint_test): Likewise.
15097         (llrint_test_tonearest): Likewise.
15098         (llrint_test_towardzero): Likewise.
15099         (llrint_test_downward): Likewise.
15100         (llrint_test_upward): Likewise.
15101         (log_test): Likewise.
15102         (log10_test): Likewise.
15103         (log1p_test): Likewise.
15104         (log2_test): Likewise.
15105         (logb_test): Likewise.
15106         (logb_test_downward): Likewise.
15107         (lround_test): Likewise.
15108         (llround_test): Likewise.
15109         (modf_test): Likewise.
15110         (nearbyint_test): Likewise.
15111         (nextafter_test): Likewise.
15112         (nexttoward_test): Likewise.
15113         (pow_test): Likewise.
15114         (pow_test_tonearest): Likewise.
15115         (pow_test_towardzero): Likewise.
15116         (pow_test_downward): Likewise.
15117         (pow_test_upward): Likewise.
15118         (remainder_test): Likewise.
15119         (remainder_test_tonearest): Likewise.
15120         (remainder_test_towardzero): Likewise.
15121         (remainder_test_downward): Likewise.
15122         (remainder_test_upward): Likewise.
15123         (remquo_test): Likewise.
15124         (rint_test): Likewise.
15125         (rint_test_tonearest): Likewise.
15126         (rint_test_towardzero): Likewise.
15127         (rint_test_downward): Likewise.
15128         (rint_test_upward): Likewise.
15129         (round_test): Likewise.
15130         (scalb_test): Likewise.
15131         (scalbn_test): Likewise.
15132         (scalbln_test): Likewise.
15133         (signbit_test): Likewise.
15134         (sin_test): Likewise.
15135         (sin_test_tonearest): Likewise.
15136         (sin_test_towardzero): Likewise.
15137         (sin_test_downward): Likewise.
15138         (sin_test_upward): Likewise.
15139         (sincos_test): Likewise.
15140         (sinh_test): Likewise.
15141         (sinh_test_tonearest): Likewise.
15142         (sinh_test_towardzero): Likewise.
15143         (sinh_test_downward): Likewise.
15144         (sinh_test_upward): Likewise.
15145         (sqrt_test): Likewise.
15146         (tan_test): Likewise.
15147         (tan_test_tonearest): Likewise.
15148         (tan_test_towardzero): Likewise.
15149         (tan_test_downward): Likewise.
15150         (tan_test_upward): Likewise.
15151         (tanh_test): Likewise.
15152         (tgamma_test): Likewise.
15153         (trunc_test): Likewise.
15154         (y0_test): Likewise.
15155         (y1_test): Likewise.
15156         (yn_test): Likewise.
15157         (significand_test): Likewise.
15158
15159 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
15160
15161         [BZ #15381]
15162         * libio/genops.c (_IO_no_init): Initialize wide struct info.
15163
15164 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
15165
15166         [BZ #14894]
15167         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15168         __ppc_mdoio and __ppc_mdoom.
15169         * manual/platform.texi: Document new functions __ppc_yield,
15170         __ppc_mdoio and __ppc_mdoom.
15171
15172 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
15173
15174         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15175         (main): Mention "tls" pseudo-hwcap is legacy.
15176         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15177
15178 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
15179
15180         * math/gen-libm-test.pl (parse_args): Output only string of
15181         arguments as text for test name, not full call or descriptions of
15182         tests for extra outputs.
15183         (generate_testfile): Do not pass function name to parse_args.
15184         Generate this_func variable from START.
15185         * math/libm-test.inc (struct test_f_f_data): Rename test_name
15186         field to arg_str.
15187         (struct test_ff_f_data): Likewise.
15188         (test_ff_f_data_nexttoward): Likewise.
15189         (struct test_fi_f_data): Likewise.
15190         (struct test_fl_f_data): Likewise.
15191         (struct test_if_f_data): Likewise.
15192         (struct test_fff_f_data): Likewise.
15193         (struct test_c_f_data): Likewise.
15194         (struct test_f_f1_data): Likewise.  Remove field extra_name.
15195         (struct test_fF_f1_data): Likewise.
15196         (struct test_ffI_f1_data): Likewise.
15197         (struct test_c_c_data): Rename test_name field to arg_str.
15198         (struct test_cc_c_data): Likewise.
15199         (struct test_f_i_data): Likewise.
15200         (struct test_ff_i_data): Likewise.
15201         (struct test_f_l_data): Likewise.
15202         (struct test_f_L_data): Likewise.
15203         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
15204         and extra2_name.
15205         (COMMON_TEST_SETUP): New macro.
15206         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15207         (COMMON_TEST_CLEANUP): Likewise.
15208         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15209         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
15210         macros.
15211         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15212         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
15213         macros.
15214         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15215         (RUN_TEST_fff_f): Take argument string.  Call new setup and
15216         cleanup macros.
15217         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15218         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
15219         macros.
15220         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15221         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
15222         macros.
15223         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15224         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
15225         cleanup macros.
15226         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15227         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
15228         cleanup macros.
15229         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15230         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
15231         cleanup macros.
15232         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15233         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
15234         macros.
15235         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15236         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
15237         macros.
15238         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15239         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
15240         macros.
15241         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15242         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
15243         cleanup macros.
15244         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15245         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
15246         cleanup macros.
15247         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15248         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
15249         macros.
15250         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15251         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
15252         cleanup macros.
15253         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15254         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
15255         macros.
15256         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15257         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
15258         macros.
15259         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15260         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
15261         cleanup macros.
15262         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15263
15264 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
15265
15266         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15267         to _sifields.sigfault.
15268         (si_addr_lsb): Define new macro.
15269         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15270         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15271         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15272
15273 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
15274
15275         [BZ #15441]
15276         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15277         returns -1.
15278         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15279         null return -1.
15280         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15281         loading the domain.
15282
15283 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
15284
15285         * math/gen-libm-test.pl (parse_args): Do not include expected
15286         result in test name.
15287         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15288         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15289         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15290         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15291         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15293
15294 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15295
15296         * benchtests/Makefile: Sort function entries.
15297
15298         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15299         tanh, asinh, acosh, atanh.
15300         * benchtests/acos-inputs: New file.
15301         * benchtests/acosh-inputs: New file.
15302         * benchtests/asin-inputs: New file.
15303         * benchtests/asinh-inputs: New file.
15304         * benchtests/atanh-inputs: New file.
15305         * benchtests/cosh-inputs: New file.
15306         * benchtests/log-inputs: New file.
15307         * benchtests/sinh-inputs: New file.
15308         * benchtests/tanh-inputs: New file.
15309
15310 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
15311
15312         [BZ #15339]
15313         * posix/tst-getaddrinfo4.c: New test.
15314         * posix/Makefile (tests): Add it.
15315
15316 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15317
15318         [BZ #15339]
15319         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15320         when no services were used.
15321         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15322         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15323
15324 2013-05-21  Andreas Schwab  <schwab@suse.de>
15325
15326         [BZ #15014]
15327         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15328         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15329         successful.
15330         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15331         redundant variable declarations and reallocation of buffer when
15332         parsing as IPv6 address.  Always set NSS status when called from
15333         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
15334         buffer too small.  Correct computation of needed size.
15335         * nss/Makefile (tests): Add test-digits-dots.
15336         * nss/test-digits-dots.c: New test.
15337
15338 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15339
15340         * benchtests/Makefile: Remove instructions for adding
15341         benchmark tests.
15342         * benchtests/README: New file to explain how to execute and
15343         enhance the benchmark tests.
15344
15345 2013-05-21  Andreas Schwab  <schwab@suse.de>
15346
15347         [BZ #15493]
15348         * setjmp/Makefile (tests): Add tst-sigsetjmp.
15349         * setjmp/tst-sigsetjmp.c: New test.
15350
15351 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
15352
15353         * sysdeps/x86_64/memset.S (memset): New implementation.
15354         (__bzero): Likewise.
15355         (__memset_tail): New function.
15356
15357 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
15358
15359         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15360         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15361         __memcpy_sse2_unaligned ifunc selection.
15362         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15363         Add memcpy-sse2-unaligned.S.
15364         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15365         Add: __memcpy_sse2_unaligned.
15366
15367 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
15368
15369         [BZ #15490]
15370         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15371         math_force_eval before restoring floating-point envrionment.
15372         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15373         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15374         Likewise.
15375         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15376         <math_private.h>.
15377         (__nearbyintl): Use math_force_eval before restoring
15378         floating-point environment.
15379         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15380
15381         * math/gen-libm-test.pl (special_functions): Remove.
15382         (parse_args): Don't handle TEST_extra.  Handle functions with no
15383         return value.
15384         * math/libm-test.inc (struct test_sincos_data): Replace with
15385         struct test_fFF_11_data.
15386         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15387         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15388         (sincos_test_data): Change element type to struct
15389         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
15390         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15391         RUN_TEST_LOOP_sincos.
15392         * math/README.libm-test: Don't mention special handling of
15393         individual functions.
15394         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15395         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15396         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15397         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15398         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15400
15401         * math/gen-libm-test.pl (get_variable): Remove function.
15402         (parse_args): Don't show pointer parameters to call in test
15403         names.  Use "extra output N" in test names for extra outputs
15404         rather than naming variables.
15405
15406 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
15407
15408         [BZ #15488]
15409         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15410         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15411         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15412         double tests.
15413         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15414         disable.
15415         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15416         check_long_double.
15417
15418         * math/gen-libm-test.pl (@tests): Remove variable.
15419         ($count): Likewise.
15420         (new_test): Remove function.
15421         (show_exceptions): New function.
15422         (special_functions): Use show_exceptions instead of new_test.
15423         (parse_args): Likewise.
15424         (generate_testfile): Pass only function name in generated call to
15425         print_max_error or print_complex_max_error.
15426         (get_ulps): Do not handle complex tests specially.
15427         (output_test): Rename to ...
15428         (get_all_ulps_for_test): ... this.  Return a string rather than
15429         printing to a file.  Require ulps to be present.
15430         (output_ulps): Generate arrays rather than #defines.
15431         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15432         (struct ulp_data): New type.
15433         (BUILD_COMPLEX_ULP): Remove macro.
15434         (compare_ulp_data): New function.
15435         (find_ulps): Likewise.
15436         (find_test_ulps): Likewise.
15437         (find_function_ulps): Likewise.
15438         (find_complex_function_ulps): Likewise.
15439         (print_max_error): Determine allowed ulps using
15440         find_function_ulps.
15441         (print_complex_max_error): Determine allowed ulps using
15442         find_complex_function_ulps.
15443         (check_float_internal): Determine max ulps using find_test_ulps.
15444         (check_float): Do not take max_ulp parameter.  Update call to
15445         check_float_internal.
15446         (check_complex): Likewise.
15447         (check_int): Do not take max_ulp parameter.
15448         (check_long): Likewise.
15449         (check_bool): Likewise.
15450         (check_longlong): Likewise.
15451         (struct test_f_f_data): Remove max_ulp field.
15452         (struct test_ff_f_data): Likewise.
15453         (struct test_ff_f_data_nexttoward): Likewise.
15454         (struct test_fi_f_data): Likewise.
15455         (struct test_fl_f_data): Likewise.
15456         (struct test_if_f_data): Likewise.
15457         (struct test_fff_f_data): Likewise.
15458         (struct test_c_f_data): Likewise.
15459         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15460         (struct test_fF_f1_data): Likewise.
15461         (struct test_ffI_f1_data): Likewise.
15462         (struct test_c_c_data): Remove max_ulp field.
15463         (struct test_cc_c_data): Likewise.
15464         (struct test_f_i_data): Likewise.
15465         (struct test_ff_i_data): Likewise.
15466         (struct test_f_l_data): Likewise.
15467         (struct test_f_L_data): Likewise.
15468         (struct test_sincos_data): Likewise.
15469         (RUN_TEST_f_f): Do not handle ulps.
15470         (RUN_TEST_LOOP_f_f): Likewise.
15471         (RUN_TEST_2_f): Likewise.
15472         (RUN_TEST_LOOP_2_f): Likewise.
15473         (RUN_TEST_fff_f): Likewise.
15474         (RUN_TEST_LOOP_fff_f): Likewise.
15475         (RUN_TEST_c_f): Likewise.
15476         (RUN_TEST_LOOP_c_f): Likewise.
15477         (RUN_TEST_f_f1): Likewise.
15478         (RUN_TEST_LOOP_f_f1): Likewise.
15479         (RUN_TEST_fF_f1): Likewise.
15480         (RUN_TEST_LOOP_fF_f1): Likewise.
15481         (RUN_TEST_fI_f1): Likewise.
15482         (RUN_TEST_LOOP_fI_f1): Likewise.
15483         (RUN_TEST_ffI_f1): Likewise.
15484         (RUN_TEST_LOOP_ffI_f1): Likewise.
15485         (RUN_TEST_c_c): Likewise.
15486         (RUN_TEST_LOOP_c_c): Likewise.
15487         (RUN_TEST_cc_c): Likewise.
15488         (RUN_TEST_LOOP_cc_c): Likewise.
15489         (RUN_TEST_f_i): Likewise.
15490         (RUN_TEST_LOOP_f_i): Likewise.
15491         (RUN_TEST_f_i_tg): Likewise.
15492         (RUN_TEST_LOOP_f_i_tg): Likewise.
15493         (RUN_TEST_ff_i_tg): Likewise.
15494         (RUN_TEST_LOOP_ff_i_tg): Likewise.
15495         (RUN_TEST_f_b): Likewise.
15496         (RUN_TEST_LOOP_f_b): Likewise.
15497         (RUN_TEST_f_b_tg): Likewise.
15498         (RUN_TEST_LOOP_f_b_tg): Likewise.
15499         (RUN_TEST_f_l): Likewise.
15500         (RUN_TEST_LOOP_f_l): Likewise.
15501         (RUN_TEST_f_L): Likewise.
15502         (RUN_TEST_LOOP_f_L): Likewise.
15503         (RUN_TEST_sincos): Likewise.
15504         (RUN_TEST_LOOP_sincos): Likewise.
15505
15506 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
15507
15508         [BZ #15480]
15509         [BZ #15485]
15510         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15511         main case of finite arguments, set rounding mode to FE_TONEAREST
15512         and discard exceptions.
15513         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15514         exceptions.
15515         (remainder_tonearest_test_data): New variable.
15516         (remainder_test_tonearest): New function.
15517         (remainder_towardzero_test_data): New variable.
15518         (remainder_test_towardzero): New function.
15519         (remainder_downward_test_data): New variable.
15520         (remainder_test_downward): New function.
15521         (remainder_upward_test_data): New variable.
15522         (remainder_test_upward): New function.
15523         (main): Call the new test functions.
15524
15525         * math/libm-test.inc (struct test_f_f1_data): Remove field
15526         extra_init.
15527         (struct test_fF_f1_data): Likewise.
15528         (struct test_ffI_f1_data): Likewise.
15529         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
15530         based on value of EXTRA_EXPECTED.
15531         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15532         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
15533         EXTRA_VAR based on value of EXTRA_EXPECTED.
15534         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15535         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
15536         EXTRA_VAR based on value of EXTRA_EXPECTED.
15537         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15538         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
15539         EXTRA_VAR based on value of EXTRA_EXPECTED.
15540         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15541         * math/gen-libm-test.pl (parse_args): Don't output initializers
15542         for extra output values.
15543
15544         * math/libm-test.inc (check_int): Expect result to be exactly
15545         equal to expected value and do not handle ulps.
15546         (check_long): Likewise.
15547         (check_longlong): Likewise.
15548
15549         * math/libm-test.inc (ceil_test_data): Test for "inexact"
15550         exceptions.
15551         (cimag_test_data): Likewise.
15552         (conj_test_data): Likewise.
15553         (copysign_test_data): Likewise.
15554         (cproj_test_data): Likewise.
15555         (creal_test_data): Likewise.
15556         (fabs_test_data): Likewise.
15557         (fdim_test_data): Likewise.
15558         (finite_test_data): Likewise.
15559         (floor_test_data): Likewise.
15560         (fmax_test_data): Likewise.
15561         (fmin_test_data): Likewise.
15562         (fmod_test_data): Likewise.
15563         (fpclassify_test_data): Likewise.
15564         (frexp_test_data): Likewise.
15565         (ilogb_test_data): Likewise.
15566         (isfinite_test_data): Likewise.
15567         (isgreater_test_data): Likewise.
15568         (isgreaterequal_test_data): Likewise.
15569         (isinf_test_data): Likewise.
15570         (isless_test_data): Likewise.
15571         (islessequal_test_data): Likewise.
15572         (islessgreater_test_data): Likewise.
15573         (isnan_test_data): Likewise.
15574         (isnormal_test_data): Likewise.
15575         (issignaling_test_data): Likewise.
15576         (isunordered_test_data): Likewise.
15577         (ldexp_test_data): Likewise.
15578         (lrint_test_data): Likewise.
15579         (lrint_test_data) [TEST_FLOAT]: Disable one test.
15580         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15581         (lrint_tonearest_test_data): Test for "inexact" exceptions.
15582         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15583         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15584         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15585         test input.
15586         (lrint_towardzero_test_data): Test for "inexact" exceptions.
15587         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15588         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15589         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15590         that test input.
15591         (lrint_downward_test_data): Test for "inexact" exceptions.
15592         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15593         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15594         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15595         test input.
15596         (lrint_upward_test_data): Test for "inexact" exceptions.
15597         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15598         test input.
15599         (llrint_test_data): Test for "inexact" exceptions.
15600         (llrint_test_data) [TEST_FLOAT]: Disable one test.
15601         (llrint_tonearest_test_data): Test for "inexact" exceptions.
15602         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15603         (llrint_towardzero_test_data): Test for "inexact" exceptions.
15604         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15605         (llrint_downward_test_data): Test for "inexact" exceptions.
15606         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15607         (llrint_upward_test_data): Test for "inexact" exceptions.
15608         (logb_test_data): Likewise.
15609         (logb_downward_test_data): Likewise.
15610         (nextafter_test_data): Likewise.
15611         (nexttoward_test_data): Likewise.
15612         (remainder_test_data): Likewise.
15613         (remquo_test_data): Likewise.
15614         (scalbn_test_data): Likewise.
15615         (scalbln_test_data): Likewise.
15616         (signbit_test_data): Likewise.
15617         (sqrt_test_data): Likewise.
15618         (significand_test_data): Likewise.
15619
15620 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15621
15622         [BZ #15424]
15623         * benchtests/bench-modf.c (struct args): Mark arg0 as
15624         volatile.
15625         * scripts/bench.pl: Mark members of struct args as volatile.
15626
15627 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15628
15629         [BZ # 15497]
15630         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15631         negative infinity on POWER6 or lower.
15632         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15633
15634 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
15635
15636         [BZ #15442]
15637         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15638         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15639         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15640         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15641         (_FP_SETQNAN): New macro.
15642         (_FP_SETQNAN_SEMIRAW): Likewise.
15643         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15644         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15645         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15646         (FP_EXTEND): Use _FP_FRAC_SNANP.
15647         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15648         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15649         into account.
15650         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15651         New macro.
15652         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15653         Likewise.
15654
15655 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15656
15657         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15658         with DIVIDE_BY_ZERO_EXCEPTION.
15659         (gamma_test_data): Likewise.
15660         (lgamma_test_data): Likewise.
15661         (log_test_data): Likewise.
15662         (log10_test_data): Likewise.
15663         (log2_test_data): Likewise.
15664         (tgamma_test_data): Likewise.
15665
15666         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15667         (acos_test_tonearest): Likewise.
15668         (acos_test_towardzero): Likewise.
15669         (acos_test_downward): Likewise.
15670         (acos_test_upward): Likewise.
15671         (acosh_test): Likewise.
15672         (asin_test): Likewise.
15673         (asin_test_tonearest): Likewise.
15674         (asin_test_towardzero): Likewise.
15675         (asin_test_downward): Likewise.
15676         (asin_test_upward): Likewise.
15677         (asinh_test): Likewise.
15678         (atan_test): Likewise.
15679         (atanh_test): Likewise.
15680         (atan2_test): Likewise.
15681         (cabs_test): Likewise.
15682         (cacos_test): Likewise.
15683         (cacosh_test): Likewise.
15684         (casin_test): Likewise.
15685         (casinh_test): Likewise.
15686         (catan_test): Likewise.
15687         (catanh_test): Likewise.
15688         (cbrt_test): Likewise.
15689         (ccos_test): Likewise.
15690         (ccosh_test): Likewise.
15691         (cexp_test): Likewise.
15692         (clog_test): Likewise.
15693         (clog10_test): Likewise.
15694         (cos_test): Likewise.
15695         (cos_test_tonearest): Likewise.
15696         (cos_test_towardzero): Likewise.
15697         (cos_test_downward): Likewise.
15698         (cos_test_upward): Likewise.
15699         (cosh_test): Likewise.
15700         (cosh_test_tonearest): Likewise.
15701         (cosh_test_towardzero): Likewise.
15702         (cosh_test_downward): Likewise.
15703         (cosh_test_upward): Likewise.
15704         (cpow_test): Likewise.
15705         (csin_test): Likewise.
15706         (csinh_test): Likewise.
15707         (csqrt_test): Likewise.
15708         (ctan_test): Likewise.
15709         (ctan_test_tonearest): Likewise.
15710         (ctan_test_towardzero): Likewise.
15711         (ctan_test_downward): Likewise.
15712         (ctan_test_upward): Likewise.
15713         (ctanh_test): Likewise.
15714         (ctanh_test_tonearest): Likewise.
15715         (ctanh_test_towardzero): Likewise.
15716         (ctanh_test_downward): Likewise.
15717         (ctanh_test_upward): Likewise.
15718         (erf_test): Likewise.
15719         (erfc_test): Likewise.
15720         (exp_test): Likewise.
15721         (exp_test_tonearest): Likewise.
15722         (exp_test_towardzero): Likewise.
15723         (exp_test_downward): Likewise.
15724         (exp_test_upward): Likewise.
15725         (exp10_test): Likewise.
15726         (exp2_test): Likewise.
15727         (expm1_test): Likewise.
15728         (fmod_test): Likewise.
15729         (gamma_test): Likewise.
15730         (hypot_test): Likewise.
15731         (j0_test): Likewise.
15732         (j1_test): Likewise.
15733         (jn_test): Likewise.
15734         (lgamma_test): Likewise.
15735         (log_test): Likewise.
15736         (log10_test): Likewise.
15737         (log1p_test): Likewise.
15738         (log2_test): Likewise.
15739         (logb_test_downward): Likewise.
15740         (pow_test): Likewise.
15741         (pow_test_tonearest): Likewise.
15742         (pow_test_towardzero): Likewise.
15743         (pow_test_downward): Likewise.
15744         (pow_test_upward): Likewise.
15745         (remainder_test): Likewise.
15746         (remquo_test): Likewise.
15747         (sin_test): Likewise.
15748         (sin_test_tonearest): Likewise.
15749         (sin_test_towardzero): Likewise.
15750         (sin_test_downward): Likewise.
15751         (sin_test_upward): Likewise.
15752         (sincos_test): Likewise.
15753         (sinh_test): Likewise.
15754         (sinh_test_tonearest): Likewise.
15755         (sinh_test_towardzero): Likewise.
15756         (sinh_test_downward): Likewise.
15757         (sinh_test_upward): Likewise.
15758         (sqrt_test): Likewise.
15759         (tan_test): Likewise.
15760         (tan_test_tonearest): Likewise.
15761         (tan_test_towardzero): Likewise.
15762         (tan_test_downward): Likewise.
15763         (tan_test_upward): Likewise.
15764         (tanh_test): Likewise.
15765         (tgamma_test): Likewise.
15766         (y0_test): Likewise.
15767         (y1_test): Likewise.
15768         (yn_test): Likewise.
15769
15770         * math/gen-libm-test.pl (adjust_arg): Remove function.
15771         (special_function): Remove argument $in_func.  Only handle
15772         generating output for tables of tests, not inside functions.
15773         (parse_args): Likewise.
15774         (generate_testfile): Remove variable $in_func.  Update call to
15775         parse_args.
15776         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15777         (MINUS_ZERO_INIT): Rename macro to minus_zero.
15778         (PLUS_INFTY_INIT): Rename macro to plus_infty.
15779         (MINUS_INFTY_INIT): Rename macro to minus_infty.
15780         (QNAN_VALUE_INIT): Rename macro to qnan_value.
15781         (MAX_VALUE_INIT): Rename macro to max_value.
15782         (MIN_VALUE_INIT): Rename macro to min_value.
15783         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15784         (plus_zero): Remove variable.
15785         (minus_zero): Likewise.
15786         (plus_infty): Likewise.
15787         (minus_infty): Likewise.
15788         (qnan_value): Likewise.
15789         (max_value): Likewise.
15790         (min_value): Likewise.
15791         (min_subnorm_value): Likewise.
15792
15793 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15794
15795         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15796         uint64_t or uint32_t usage.
15797         * crypt/sha256-block.c: Likewise.
15798         * crypt/sha256-crypt.c: Likewise.
15799         * crypt/sha256.c: Likewise.
15800         * crypt/sha512-block.c: Likewise.
15801         * crypt/sha512-crypt.c: Likewise.
15802         * crypt/sha512.c: Likewise.
15803         * debug/backtrace-tst.c: Likewise.
15804         * debug/pcprofiledump.c: Likewise.
15805         * elf/cache.c: Likewise.
15806         * elf/dl-cache.c: Likewise.
15807         * elf/dl-misc.c: Likewise.
15808         * elf/dl-profile.c: Likewise.
15809         * elf/dl-support.c: Likewise.
15810         * elf/ldconfig.c: Likewise.
15811         * elf/sprof.c: Likewise.
15812         * iconv/dummy-repertoire.c: Likewise.
15813         * iconv/iconv_charmap.c: Likewise.
15814         * iconv/skeleton.c: Likewise.
15815         * iconvdata/8bit-generic.c: Likewise.
15816         * iconvdata/cp737.h: Likewise.
15817         * iconvdata/cp775.h: Likewise.
15818         * iconvdata/ibm1008.h: Likewise.
15819         * iconvdata/ibm1025.h: Likewise.
15820         * iconvdata/ibm1046.h: Likewise.
15821         * iconvdata/ibm1097.h: Likewise.
15822         * iconvdata/ibm1112.h: Likewise.
15823         * iconvdata/ibm1122.h: Likewise.
15824         * iconvdata/ibm1123.h: Likewise.
15825         * iconvdata/ibm1124.h: Likewise.
15826         * iconvdata/ibm1129.h: Likewise.
15827         * iconvdata/ibm1130.h: Likewise.
15828         * iconvdata/ibm1132.h: Likewise.
15829         * iconvdata/ibm1133.h: Likewise.
15830         * iconvdata/ibm1137.h: Likewise.
15831         * iconvdata/ibm1140.h: Likewise.
15832         * iconvdata/ibm1141.h: Likewise.
15833         * iconvdata/ibm1142.h: Likewise.
15834         * iconvdata/ibm1143.h: Likewise.
15835         * iconvdata/ibm1144.h: Likewise.
15836         * iconvdata/ibm1145.h: Likewise.
15837         * iconvdata/ibm1146.h: Likewise.
15838         * iconvdata/ibm1147.h: Likewise.
15839         * iconvdata/ibm1148.h: Likewise.
15840         * iconvdata/ibm1149.h: Likewise.
15841         * iconvdata/ibm1153.h: Likewise.
15842         * iconvdata/ibm1154.h: Likewise.
15843         * iconvdata/ibm1155.h: Likewise.
15844         * iconvdata/ibm1156.h: Likewise.
15845         * iconvdata/ibm1157.h: Likewise.
15846         * iconvdata/ibm1158.h: Likewise.
15847         * iconvdata/ibm1160.h: Likewise.
15848         * iconvdata/ibm1161.h: Likewise.
15849         * iconvdata/ibm1162.h: Likewise.
15850         * iconvdata/ibm1163.h: Likewise.
15851         * iconvdata/ibm1164.h: Likewise.
15852         * iconvdata/ibm1166.h: Likewise.
15853         * iconvdata/ibm1167.h: Likewise.
15854         * iconvdata/ibm12712.h: Likewise.
15855         * iconvdata/ibm1390.h: Likewise.
15856         * iconvdata/ibm1399.h: Likewise.
15857         * iconvdata/ibm16804.h: Likewise.
15858         * iconvdata/ibm4517.h: Likewise.
15859         * iconvdata/ibm4899.h: Likewise.
15860         * iconvdata/ibm4909.h: Likewise.
15861         * iconvdata/ibm4971.h: Likewise.
15862         * iconvdata/ibm5347.h: Likewise.
15863         * iconvdata/ibm803.h: Likewise.
15864         * iconvdata/ibm856.h: Likewise.
15865         * iconvdata/ibm901.h: Likewise.
15866         * iconvdata/ibm902.h: Likewise.
15867         * iconvdata/ibm9030.h: Likewise.
15868         * iconvdata/ibm9066.h: Likewise.
15869         * iconvdata/ibm921.h: Likewise.
15870         * iconvdata/ibm922.h: Likewise.
15871         * iconvdata/ibm9448.h: Likewise.
15872         * iconvdata/isiri-3342.h: Likewise.
15873         * iconvdata/jis0201.h: Likewise.
15874         * include/link.h: Likewise.
15875         * include/netdb.h: Likewise.
15876         * inet/check_native.c: Likewise.
15877         * inet/check_pf.c: Likewise.
15878         * inet/getipv4sourcefilter.c: Likewise.
15879         * inet/getnameinfo.c: Likewise.
15880         * inet/getsourcefilter.c: Likewise.
15881         * inet/htonl.c: Likewise.
15882         * inet/setipv4sourcefilter.c: Likewise.
15883         * inet/setsourcefilter.c: Likewise.
15884         * inet/test-inet6_opt.c: Likewise.
15885         * inet/tst-network.c: Likewise.
15886         * locale/C-collate.c: Likewise.
15887         * locale/C-ctype.c: Likewise.
15888         * locale/C-time.c: Likewise.
15889         * locale/C-translit.h: Likewise.
15890         * locale/loadarchive.c: Likewise.
15891         * locale/programs/3level.h: Likewise.
15892         * locale/programs/charmap.c: Likewise.
15893         * locale/programs/charmap.h: Likewise.
15894         * locale/programs/ld-address.c: Likewise.
15895         * locale/programs/ld-collate.c: Likewise.
15896         * locale/programs/ld-ctype.c: Likewise.
15897         * locale/programs/ld-identification.c: Likewise.
15898         * locale/programs/ld-measurement.c: Likewise.
15899         * locale/programs/ld-messages.c: Likewise.
15900         * locale/programs/ld-monetary.c: Likewise.
15901         * locale/programs/ld-name.c: Likewise.
15902         * locale/programs/ld-numeric.c: Likewise.
15903         * locale/programs/ld-paper.c: Likewise.
15904         * locale/programs/ld-telephone.c: Likewise.
15905         * locale/programs/ld-time.c: Likewise.
15906         * locale/programs/linereader.c: Likewise.
15907         * locale/programs/locale.c: Likewise.
15908         * locale/programs/locarchive.c: Likewise.
15909         * locale/programs/locfile.h: Likewise.
15910         * locale/programs/repertoire.c: Likewise.
15911         * locale/programs/simple-hash.c: Likewise.
15912         * locale/programs/simple-hash.h: Likewise.
15913         * malloc/memusage.c: Likewise.
15914         * malloc/memusagestat.c: Likewise.
15915         * nis/nis_defaults.c: Likewise.
15916         * nis/nis_hash.c: Likewise.
15917         * nis/nis_print.c: Likewise.
15918         * nis/nis_xdr.c: Likewise.
15919         * nscd/connections.c: Likewise.
15920         * nscd/hstcache.c: Likewise.
15921         * nscd/nscd_gethst_r.c: Likewise.
15922         * nscd/nscd_getserv_r.c: Likewise.
15923         * nscd/nscd_helper.c: Likewise.
15924         * nscd/servicescache.c: Likewise.
15925         * nss/makedb.c: Likewise.
15926         * nss/nss_db/db-XXX.c: Likewise.
15927         * nss/nss_db/db-initgroups.c: Likewise.
15928         * nss/nss_db/db-netgrp.c: Likewise.
15929         * nss/nss_files/files-network.c: Likewise.
15930         * nss/nss_files/files-parse.c: Likewise.
15931         * posix/bug-regex5.c: Likewise.
15932         * posix/fnmatch_loop.c: Likewise.
15933         * posix/regcomp.c: Likewise.
15934         * posix/regexec.c: Likewise.
15935         * posix/tst-rfc3484-2.c: Likewise.
15936         * posix/tst-rfc3484-3.c: Likewise.
15937         * posix/tst-rfc3484.c: Likewise.
15938         * resolv/nss_dns/dns-canon.c: Likewise.
15939         * resolv/nss_dns/dns-network.c: Likewise.
15940         * resolv/res_init.c: Likewise.
15941         * resolv/res_mkquery.c: Likewise.
15942         * resolv/tst-aton.c: Likewise.
15943         * stdlib/cxa_atexit.c: Likewise.
15944         * stdlib/cxa_finalize.c: Likewise.
15945         * stdlib/gen-fpioconst.c: Likewise.
15946         * stdlib/strtol_l.c: Likewise.
15947         * string/tst-endian.c: Likewise.
15948         * sunrpc/auth_des.c: Likewise.
15949         * sunrpc/clnt_udp.c: Likewise.
15950         * sunrpc/rtime.c: Likewise.
15951         * sunrpc/svcauth_des.c: Likewise.
15952         * sunrpc/xdr.c: Likewise.
15953         * sunrpc/xdr_intXX_t.c: Likewise.
15954         * sunrpc/xdr_rec.c: Likewise.
15955         * sysdeps/generic/ldconfig.h: Likewise.
15956         * sysdeps/generic/ldsodefs.h: Likewise.
15957         * sysdeps/generic/memusage.h: Likewise.
15958         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15959         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15960         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15961         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15962         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15963         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15964         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15965         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15966         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15967         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15968         * sysdeps/posix/getaddrinfo.c: Likewise.
15969         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15970         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15971         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15972         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15973         * sysdeps/powerpc/test-gettimebase.c: Likewise.
15974         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15975         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15976         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15977         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15978         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15979         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15980         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15981         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15982         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15983         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15984         * sysdeps/x86_64/dl-tls.h: Likewise.
15985         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15986         * time/alt_digit.c: Likewise.
15987         * time/era.c: Likewise.
15988         * wcsmbs/tst-c16c32-1.c: Likewise.
15989
15990 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15991
15992         * math/libm-test.inc (struct test_sincos_data): New type.
15993         (RUN_TEST_LOOP_sincos): New macro.
15994         (sincos_test_data): New variable.
15995         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15996
15997 2013-05-16  Richard Henderson  <rth@redhat.com>
15998
15999         * math/atest-exp2.c (LIMB64): New macro.
16000         (CONSTSZ): New macro.
16001         (mp_exp1, mp_exp_m1, mp_log2): New variables.
16002         (hexdig): Move ...
16003         (print_mpn_fp): ... to function scope.
16004         (read_mpn_hex): Remove.
16005         (get_log2): Remove.
16006         (exp2_mpn): Use mp_log2.
16007         (main): Use mp_exp1.
16008
16009 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
16010
16011         * math/libm-test.inc: Remove comment about not testing "inexact"
16012         exceptions.
16013         (INEXACT_EXCEPTION): New macro.
16014         (NO_INEXACT_EXCEPTION): Likewise.
16015         (INVALID_EXCEPTION_OK): Update value.
16016         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16017         (OVERFLOW_EXCEPTION_OK): Likewise.
16018         (UNDERFLOW_EXCEPTION_OK): Likewise.
16019         (IGNORE_ZERO_INF_SIGN): Likewise.
16020         (ERRNO_UNCHANGED): Likewise.
16021         (ERRNO_EDOM): Likewise.
16022         (ERRNO_ERANGE): Likewise.
16023         (test_exceptions): Handle testing "inexact" exceptions.
16024         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16025         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16026         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16027         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16028         INEXACT_EXCEPTION.
16029         (rint_towardzero_test_data): Likewise.
16030         (rint_downward_test_data): Likewise.
16031         (rint_upward_test_data): Likewise.
16032
16033         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16034         with OVERFLOW_EXCEPTION.
16035         (exp10_test_data): Likewise.
16036         (exp2_test_data): Likewise.
16037         (expm1_test_data): Likewise.
16038         (lgamma_test_data): Likewise.
16039         (pow_test_data): Likewise.
16040         (tgamma_test_data): Likewise.
16041         (yn_test_data): Remove duplicate test of overflow.
16042
16043         * math/libm-test.inc (struct test_cc_c_data): New type.
16044         (RUN_TEST_LOOP_cc_c): New macro.
16045         (cpow_test_data): New variable.
16046         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16047
16048         * math/libm-test.inc (struct test_f_L_data): New type.
16049         (RUN_TEST_LOOP_f_L): New macro.
16050         (llrint_test_data): New variable.
16051         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16052         (llrint_tonearest_test_data): New variable.
16053         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16054         (llrint_towardzero_test_data): New variable.
16055         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16056         (llrint_downward_test_data): New variable.
16057         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16058         (llrint_upward_test_data): New variable.
16059         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16060         (llround_test_data): New variable.
16061         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16062
16063 2013-05-13  Peter Collingbourne  <pcc@google.com>
16064
16065         * math/atest-exp2.c (get_log2): Remove const attribute.
16066
16067 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
16068
16069         * math/libm-test.inc (struct test_f_l_data): New type.
16070         (RUN_TEST_LOOP_f_l): New macro.
16071         (lrint_test_data): New variable.
16072         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16073         (lrint_tonearest_test_data): New variable.
16074         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16075         (lrint_towardzero_test_data): New variable.
16076         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16077         (lrint_downward_test_data): New variable.
16078         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16079         (lrint_upward_test_data): New variable.
16080         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16081         (lround_test_data): New variable.
16082         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16083
16084 2013-05-15  Peter Collingbourne  <pcc@google.com>
16085
16086         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16087         (EXTRACT_WORDS64) Use where appropriate.
16088         (INSERT_WORDS64) Likewise.
16089
16090         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16091         constraints with x constraints.
16092         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16093
16094         * malloc/obstack.c (_obstack_compat): Add initializer.
16095
16096 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
16097
16098         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16099         si_trapno and add si_addr_lsb to _sifields.sigfault.
16100         (si_trapno): Remove macro.
16101         (si_addr_lsb): Define new macro.
16102         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16103
16104 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
16105
16106         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16107         instead of TEST_f_l.
16108         (llrint_test_tonearest): Likewise.
16109         (llrint_test_towardzero): Likewise.
16110         (llrint_test_downward): Likewise.
16111         (llrint_test_upward): Likewise.
16112         (llround_test): Likewise.
16113
16114         * math/libm-test.inc (struct test_f_i_data): Add comment.
16115         (RUN_TEST_LOOP_f_b): New macro.
16116         (RUN_TEST_LOOP_f_b_tg): Likewise.
16117         (finite_test_data): New variable.
16118         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16119         (isfinite_test_data): New variable.
16120         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16121         (isinf_test_data): New variable.
16122         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16123         (isnan_test_data): New variable.
16124         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16125         (isnormal_test_data): New variable.
16126         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16127         (issignaling_test_data): New variable.
16128         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16129         (signbit_test_data): New variable.
16130         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16131
16132         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16133         with INVALID_EXCEPTION.
16134         (acosh_test_data): Likewise.
16135         (asin_test_data): Likewise.
16136         (atanh_test_data): Likewise.
16137         (fmod_test_data): Likewise.
16138         (log_test_data): Likewise.
16139         (log10_test_data): Likewise.
16140         (log2_test_data): Likewise.
16141         (pow_test_data): Likewise.
16142         (sqrt_test_data): Likewise.
16143         (y0_test_data): Likewise.
16144         (y1_test_data): Likewise.
16145         (yn_test_data): Likewise.
16146
16147         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16148         function contents.
16149
16150         * math/libm-test.inc (struct test_ff_i_data): New type.
16151         (RUN_TEST_LOOP_ff_i_tg): New macro.
16152         (isgreater_test_data): New variable.
16153         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16154         (isgreaterequal_test_data): New variable.
16155         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16156         (isless_test_data): New variable.
16157         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16158         (islessequal_test_data): New variable.
16159         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16160         (islessgreater_test_data): New variable.
16161         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16162         (isunordered_test_data): New variable.
16163         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16164
16165 2013-05-14  David S. Miller  <davem@davemloft.net>
16166
16167         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16168
16169 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
16170
16171         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16172
16173         * math/libm-test.inc (struct test_fF_f1_data): Change type of
16174         extra_test to int.
16175         (struct test_f_i_data): Change type of max_ulp to int.
16176
16177         * math/libm-test.inc (test_ffI_f1_data): New type.
16178         (RUN_TEST_LOOP_ffI_f1): New macro.
16179         (remquo_test_data): New variable.
16180         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16181
16182         * setjmp/tst-setjmp-fp.c: New file.
16183         * setjmp/Makefile (tests): Add tst-setjmp-fp.
16184         (link-libm): New variable.
16185         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16186
16187         * math/libm-test.inc (struct test_f_i_data): New type.
16188         (RUN_TEST_LOOP_f_i): New macro.
16189         (RUN_TEST_LOOP_f_i_tg): Likewise.
16190         (fpclassify_test_data): New variable.
16191         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16192         (ilogb_test_data): New variable.
16193         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16194
16195         * math/libm-test.inc (scalbln_test): Correct function name in END
16196         call.
16197
16198         * math/libm-test.inc (struct test_f_f1_data): Add comment.
16199         (RUN_TEST_LOOP_fI_f1): New macro.
16200         (frexp_test_data): New variable.
16201         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16202
16203         * math/libm-test.inc (struct test_fF_f1_data): New type.
16204         (RUN_TEST_LOOP_fF_f1): New macro.
16205         (modf_test_data): New variable.
16206         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16207
16208         * math/libm-test.inc (struct test_f_f1_data): New type.
16209         (RUN_TEST_LOOP_f_f1): New macro.
16210         (gamma_test_data): New variable.
16211         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16212         (lgamma_test_data): New variable.
16213         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16214
16215 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
16216
16217         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16218         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16219         (main): Comment "tls" pseudo-hwcap.
16220
16221 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
16222
16223         * math/libm-test.inc (struct test_fl_f_data): New type.
16224         (RUN_TEST_LOOP_fl_f): New variable.
16225         (scalbln_test_data): New variable.
16226         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16227
16228         * math/libm-test.inc (struct test_fi_f_data): New type.
16229         (RUN_TEST_LOOP_fi_f): New macro.
16230         (ldexp_test_data): New variable.
16231         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16232         (scalbn_test_data): New variable.
16233         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16234
16235         * math/libm-test.inc (struct test_c_f_data): New type.
16236         (RUN_TEST_LOOP_c_f): New macro.
16237         (cabs_test_data): New variable.
16238         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16239         (carg_test_data): New variable.
16240         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16241         (cimag_test_data): New variable.
16242         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16243         (creal_test_data): New variable.
16244         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16245
16246         * math/libm-test.inc (struct test_if_f_data): New type.
16247         (RUN_TEST_LOOP_if_f): New macro.
16248         (jn_test_data): New variable.
16249         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16250         (yn_test_data): New variable.
16251         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16252
16253         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16254
16255 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16256
16257         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16258         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16259
16260 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16261
16262         * benchtests/Makefile (CPPFLAGS-nonlib): Add
16263         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16264         (bench-deps): Add bench-timing.h.
16265         * benchtests-bench-skeleton.c: Include bench-timing.h.
16266         (main): Use TIMING_* macros instead of clock_gettime.
16267         * benchtests/bench-timing.h: New file.
16268
16269         [BZ #14582]
16270         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16271         Renamed from _LIB_VERSION.
16272         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16273
16274 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
16275
16276         * math/libm-test.inc (struct test_fff_f_data): New type.
16277         (RUN_TEST_LOOP_fff_f): New macro.
16278         (fma_test_data): New variable.
16279         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16280         (fma_towardzero_test_data): New variable.
16281         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16282         (fma_downward_test_data): New variable.
16283         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16284         (fma_upward_test_data): New variable.
16285         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16286
16287         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16288         (struct test_c_c_data): New type.
16289         (RUN_TEST_LOOP_c_c): New macro.
16290         (cacos_test_data): New variable.
16291         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16292         (cacosh_test_data): New variable.
16293         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16294         (casin_test_data): New variable.
16295         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16296         (casinh_test_data): New variable.
16297         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16298         (catan_test_data): New variable.
16299         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16300         (catanh_test_data): New variable.
16301         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16302         (ccos_test_data): New variable.
16303         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16304         (ccosh_test_data): New variable.
16305         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16306         (cexp_test_data): New variable.
16307         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16308         (clog_test_data): New variable.
16309         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16310         (clog10_test_data): New variable.
16311         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16312         (conj_test_data): New variable.
16313         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16314         (cproj_test_data): New variable.
16315         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16316         (csin_test_data): New variable.
16317         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16318         (csinh_test_data): New variable.
16319         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16320         (csqrt_test_data): New variable.
16321         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16322         (ctan_test_data): New variable.
16323         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16324         (ctan_tonearest_test_data): New variable.
16325         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16326         (ctan_towardzero_test_data): New variable.
16327         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16328         (ctan_downward_test_data): New variable.
16329         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16330         (ctan_upward_test_data): New variable.
16331         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16332         (ctanh_test_data): New variable.
16333         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16334         (ctanh_tonearest_test_data): New variable.
16335         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16336         (ctanh_towardzero_test_data): New variable.
16337         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16338         (ctanh_downward_test_data): New variable.
16339         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16340         (ctanh_upward_test_data): New variable.
16341         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16342         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16343         of BUILD_COMPLEX.
16344
16345         * math/libm-test.inc (struct test_ff_f_data): New type.
16346         (struct test_ff_f_data_nexttoward): Likewise.
16347         (RUN_TEST_LOOP_2_f): New macro.
16348         (RUN_TEST_LOOP_ff_f): Likewise.
16349         (atan2_test_data): New variable.
16350         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16351         (copysign_test_data): New variable.
16352         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16353         (fdim_test_data): New variable.
16354         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16355         (fmax_test_data): New variable.
16356         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16357         (fmin_test_data): New variable.
16358         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16359         (fmod_test_data): New variable.
16360         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16361         (hypot_test_data): New variable.
16362         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16363         (nextafter_test_data): New variable.
16364         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16365         (nexttoward_test_data): New variable.
16366         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16367         (pow_test_data): New variable.
16368         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16369         (pow_tonearest_test_data): New variable.
16370         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16371         (pow_towardzero_test_data): New variable.
16372         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16373         (pow_downward_test_data): New variable.
16374         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16375         (pow_upward_test_data): New variable.
16376         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16377         (remainder_test_data): New variable.
16378         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16379         (scalb_test_data): New variable.
16380         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16381         * sysdeps/i386/fpu/libm-test-ulps: Update.
16382
16383 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
16384
16385         * math/libm-test.inc (fma_test): Use max_value instead of local
16386         variable fltmax.
16387         (nextafter_test): Likewise.
16388
16389         * math/libm-test.inc (acos_towardzero_test_data): New variable.
16390         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16391         (acos_downward_test_data): New variable.
16392         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16393         (acos_upward_test_data): New variable.
16394         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16395         (acosh_test_data): New variable.
16396         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16397         (asin_test_data): New variable.
16398         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16399         (asin_tonearest_test_data): New variable.
16400         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16401         (asin_towardzero_test_data): New variable.
16402         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16403         (asin_downward_test_data): New variable.
16404         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16405         (asin_upward_test_data): New variable.
16406         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16407         (asinh_test_data): New variable.
16408         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16409         (atan_test_data): New variable.
16410         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16411         (atanh_test_data): New variable.
16412         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16413         (cbrt_test_data): New variable.
16414         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16415         (ceil_test_data): New variable.
16416         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16417         (cos_test_data): New variable.
16418         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16419         (cos_tonearest_test_data): New variable.
16420         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16421         (cos_towardzero_test_data): New variable.
16422         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16423         (cos_downward_test_data): New variable.
16424         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16425         (cos_upward_test_data): New variable.
16426         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16427         (cosh_test_data): New variable.
16428         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16429         (cosh_tonearest_test_data): New variable.
16430         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16431         (cosh_towardzero_test_data): New variable.
16432         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16433         (cosh_downward_test_data): New variable.
16434         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16435         (cosh_upward_test_data): New variable.
16436         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16437         (erf_test_data): New variable.
16438         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16439         (erfc_test_data): New variable.
16440         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16441         (exp_test_data): New variable.
16442         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16443         (exp_tonearest_test_data): New variable.
16444         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16445         (exp_towardzero_test_data): New variable.
16446         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16447         (exp_downward_test_data): New variable.
16448         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16449         (exp_upward_test_data): New variable.
16450         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16451         (exp10_test_data): New variable.
16452         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16453         (exp2_test_data): New variable.
16454         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16455         (expm1_test_data): New variable.
16456         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16457         (fabs_test_data): New variable.
16458         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16459         (floor_test_data): New variable.
16460         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16461         (j0_test_data): New variable.
16462         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16463         (j1_test_data): New variable.
16464         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16465         (log_test_data): New variable.
16466         (log_test): Run tests with RUN_TEST_LOOP_f_f.
16467         (log10_test_data): New variable.
16468         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16469         (log1p_test_data): New variable.
16470         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16471         (log2_test_data): New variable.
16472         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16473         (logb_test_data): New variable.
16474         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16475         (logb_downward_test_data): New variable.
16476         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16477         (nearbyint_test_data): New variable.
16478         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16479         (rint_test_data): New variable.
16480         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16481         (rint_tonearest_test_data): New variable.
16482         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16483         (rint_towardzero_test_data): New variable.
16484         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16485         (rint_downward_test_data): New variable.
16486         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16487         (rint_upward_test_data): New variable.
16488         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16489         (round_test_data): New variable.
16490         (round_test): Run tests with RUN_TEST_LOOP_f_f.
16491         (sin_test_data): New variable.
16492         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16493         (sin_tonearest_test_data): New variable.
16494         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16495         (sin_towardzero_test_data): New variable.
16496         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16497         (sin_downward_test_data): New variable.
16498         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16499         (sin_upward_test_data): New variable.
16500         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16501         (sinh_test_data): New variable.
16502         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16503         (sinh_tonearest_test_data): New variable.
16504         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16505         (sinh_towardzero_test_data): New variable.
16506         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16507         (sinh_downward_test_data): New variable.
16508         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16509         (sinh_upward_test_data): New variable.
16510         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16511         (sqrt_test_data): New variable.
16512         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16513         (tan_test_data): New variable.
16514         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16515         (tan_tonearest_test_data): New variable.
16516         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16517         (tan_towardzero_test_data): New variable.
16518         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16519         (tan_downward_test_data): New variable.
16520         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16521         (tan_upward_test_data): New variable.
16522         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16523         (tanh_test_data): New variable.
16524         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16525         (tgamma_test_data): New variable.
16526         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16527         (trunc_test_data): New variable.
16528         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16529         (y0_test_data): New variable.
16530         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16531         (y1_test_data): New variable.
16532         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16533         (significand_test_data): New variable.
16534         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16535
16536 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
16537
16538         [BZ #12387]
16539         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16540
16541 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
16542
16543         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16544
16545 2013-05-10  Andreas Jaeger  <aj@suse.de>
16546
16547         [BZ #15448]
16548         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16549         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16550
16551 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
16552
16553         * math/gen-libm-test.pl (adjust_arg): New function.
16554         (special_functions): Handle generating output in both functions
16555         and arrays.
16556         (parse_args): Likewise.
16557         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
16558         $in_func argument to parse_args.
16559         * math/libm-test.inc (struct test_f_f_data): New type.
16560         (IF_ROUND_INIT_): New macro.
16561         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16562         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16563         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16564         (IF_ROUND_INIT_FE_UPWARD): Likewise.
16565         (ROUND_RESTORE_): Likewise.
16566         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16567         (ROUND_RESTORE_FE_TONEAREST): Likewise.
16568         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16569         (ROUND_RESTORE_FE_UPWARD): Likewise.
16570         (RUN_TEST_LOOP_f_f): New macro.
16571         (acos_test_data): New variable.
16572         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16573         (acos_tonearest_test_data): New variable.
16574         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16575
16576 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16577
16578         * benchtests/bench-skeleton.c (startup): Fix coding style.
16579
16580 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
16581
16582         [BZ #6809]
16583         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16584         negative infinity argument.
16585         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16586         negative infinity argument.
16587         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16588         negative infinity argument.
16589         * math/libm-test.inc (tgamma_test): Expect errno to be set for
16590         domain errors.
16591
16592 2013-05-10  Florian Weimer  <fweimer@redhat.com>
16593
16594         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16595         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16596         * iconv/iconv_prog.c (main): Likewise.
16597         * locale/programs/charmap-dir.c (charmap_readdir)
16598         (fopen_uncompressed): Likewise.
16599         * locale/programs/locfile.c (siblings_uncached)
16600         (write_locale_data): Use lstat64 instead of lstat.
16601         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16602         stat.
16603
16604 2013-05-10  Andreas Jaeger  <aj@suse.de>
16605
16606         [BZ #15395]
16607         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16608         localization.
16609         Include <locale.h>.
16610
16611 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
16612
16613         * elf/dl-close.c (_dl_close_worker): Add comments.
16614
16615 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
16616
16617         [BZ #15359]
16618         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16619         high part of pi/2.
16620         (__ieee754_rem_pio2l): Update comments.
16621
16622         [BZ #15429]
16623         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16624         high part of pi/2.
16625         (__ieee754_rem_pio2l): Update comments.
16626
16627         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16628         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16629
16630         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16631         M_PI_4l.
16632
16633         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16634         (M_PI_34_LOG10El): Likewise.
16635         (M_PI2_LOG10El): Likewise.
16636         (M_PI4_LOG10El): Likewise.
16637         (M_PI_LOG10El): Likewise.
16638
16639 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16640
16641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16642
16643 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
16644
16645         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16646         (MINUS_ZERO_INIT): Likewise.
16647         (PLUS_INFTY_INIT): Likewise.
16648         (MINUS_INFTY_INIT): Likewise.
16649         (QNAN_VALUE_INIT): Likewise.
16650         (MAX_VALUE_INIT): Likewise.
16651         (MIN_VALUE_INIT): Likewise.
16652         (MIN_SUBNORM_VALUE_INIT): Likewise.
16653         (plus_zero): Initialize with PLUS_ZERO_INIT.
16654         (minus_zero): Initialize with MINUS_ZERO_INIT.
16655         (plus_infty): Initialize with PLUS_INFTY_INIT.
16656         (minus_infty): Initialize with MINUS_INFTY_INIT.
16657         (qnan_value): Initialize with QNAN_VALUE_INIT.
16658         (max_value): Initialize with MAX_VALUE_INIT.
16659         (min_value): Initialize with MIN_VALUE_INIT.
16660         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16661
16662         * math/libm-test.inc (RUN_TEST_if_f): New macro.
16663         (jn_test): Use TEST_if_f instead of TEST_ff_f.
16664         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16665         (yn_test): Use TEST_if_f instead of TEST_ff_f.
16666
16667         * math/libm-test.inc (RUN_TEST_f_f): New macro.
16668         (RUN_TEST_2_f): Likewise.
16669         (RUN_TEST_ff_f): Likewise.
16670         (RUN_TEST_fi_f): Likewise.
16671         (RUN_TEST_fl_f): Likewise.
16672         (RUN_TEST_fff_f): Likewise.
16673         (RUN_TEST_c_f): Likewise.
16674         (RUN_TEST_f_f1): Likewise.
16675         (RUN_TEST_fF_f1): Likewise.
16676         (RUN_TEST_fI_f1): Likewise.
16677         (RUN_TEST_ffI_f1): Likewise.
16678         (RUN_TEST_c_c): Likewise.
16679         (RUN_TEST_cc_c): Likewise.
16680         (RUN_TEST_f_i): Likewise.
16681         (RUN_TEST_f_i_tg): Likewise.
16682         (RUN_TEST_ff_i_tg): Likewise.
16683         (RUN_TEST_f_b): Likewise.
16684         (RUN_TEST_f_b_tg): Likewise.
16685         (RUN_TEST_f_l): Likewise.
16686         (RUN_TEST_f_L): Likewise.
16687         (RUN_TEST_sincos): Likewise.
16688         * math/gen-libm-test.pl (new_test): Take new argument to indicate
16689         whether to show exceptions.  Do not include ");\n" in return
16690         value.
16691         (special_functions): Output call to RUN_TEST_sincos instead of
16692         check_float calls.  Update calls to new_test.
16693         (parse_args): Output call to single RUN_TEST_* macro instead of
16694         check_* calls and other assignments.  Update calls to new_test.
16695
16696         [BZ #2546]
16697         [BZ #2560]
16698         [BZ #5159]
16699         [BZ #15426]
16700         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16701         input to result for tgamma overflow.
16702         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16703         (gamma_coeff): New variable.
16704         (NCOEFF): New macro.
16705         (gamma_positive): New function.
16706         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16707         underflow here.  Use gamma_positive instead of exp (lgamma) for
16708         other arguments.
16709         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16710         (gamma_coeff): New variable.
16711         (NCOEFF): New macro.
16712         (gammaf_positive): New function.
16713         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16714         underflow here.  Use gamma_positive instead of exp (lgamma) for
16715         other arguments.
16716         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16717         (gamma_coeff): New variable.
16718         (NCOEFF): New macro.
16719         (gammal_positive): New function.
16720         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16721         underflow here.  Use gamma_positive instead of exp (lgamma) for
16722         other arguments.
16723         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16724         (gamma_coeff): New variable.
16725         (NCOEFF): New macro.
16726         (gammal_positive): New function.
16727         (__ieee754_gammal_r): Handle positive infinity, overflow and
16728         underflow here.  Handle NaN the same as positive infinity.  Remove
16729         check x < 0xffffffff for negative integers.  Use gamma_positive
16730         instead of exp (lgamma) for other arguments.
16731         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16732         (gamma_coeff): New variable.
16733         (NCOEFF): New macro.
16734         (gammal_positive): New function.
16735         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16736         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16737         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16738         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16739         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16740         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16741         * sysdeps/generic/math_private.h (__gamma_productf): New
16742         prototype.
16743         (__gamma_product): Likewise.
16744         (__gamma_productl): Likewise.
16745         * math/Makefile (libm-calls): Add gamma_product.
16746         * math/libm-test.inc (tgamma_test): Add more tests.
16747         * sysdeps/i386/fpu/libm-test-ulps: Update.
16748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16749
16750 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
16751
16752         * benchtests/bench-skeleton.c (main): Preheat CPU.
16753
16754 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
16755
16756         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16757
16758 2013-05-07  Roland McGrath  <roland@hack.frob.com>
16759
16760         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16761         and _dl_skip_args_internal.
16762
16763 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
16764
16765         * manual/message.texi (Message Translation): Talk about users.
16766         Message to key mapping impacts design.
16767
16768 2013-05-06  Roland McGrath  <roland@hack.frob.com>
16769
16770         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16771
16772         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16773
16774         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16775         * sysdeps/wordsize-64/glob64.c: ... here.
16776
16777         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16778         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16779         New macros.
16780
16781         * debug/getlogin_r_chk.c: Moved to ...
16782         * login/getlogin_r_chk.c: ... here.
16783         * debug/Makefile (routines): Move getlogin_r_chk to ...
16784         * login/Makefile (routines): ... here.
16785         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16786         * login/Versions (libc: GLIBC_2.4): ... here.
16787
16788         * io/poll.c (__poll): Renamed from poll.
16789         Add libc_hidden_def.
16790         (poll): Define as weak alias.
16791
16792         * debug/ptsname_r_chk.c: Moved to ...
16793         * login/ptsname_r_chk.c: ... here.
16794         * debug/Makefile (routines): Move ptsname_r_chk to ...
16795         * login/Makefile (routines): ... here.
16796         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16797         * login/Versions (libc: GLIBC_2.4): ... here.
16798
16799         * posix/getlogin.c: Moved to ...
16800         * login/getlogin.c: ... here.
16801         * posix/getlogin_r.c: Moved to ...
16802         * login/getlogin_r.c: ... here.
16803         * posix/getlogin_r.c: Moved to ...
16804         * login/getlogin_r.c: ... here.
16805         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16806         * login/Makefile (routines): ... here.
16807         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16808         * login/Versions (libc: GLIBC_2.0): ... here.
16809
16810         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16811         (setrlimit): Define as weak alias.
16812
16813         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16814         Call __ names for open, ftruncate, and close.
16815         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16816         (truncate): Define as weak alias.
16817
16818 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
16819
16820         * math/gen-libm-test.pl (parse_args): Initialize x before each
16821         test of frexp, modf and remquo.
16822
16823         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16824         test signgam value.
16825
16826 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16827
16828         [BZ #15418]
16829         [BZ #15419]
16830         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16831         internal tests.
16832         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16833
16834 2013-05-06  Roland McGrath  <roland@hack.frob.com>
16835
16836         * elf/dl-writev.h: New file.
16837         * elf/dl-misc.c: Include it.
16838         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16839         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16840
16841 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
16842
16843         * math/libm-test.inc (noXFails): Remove variable.
16844         (noXPasses): Likewise.
16845         (BUILD_COMPLEX_INT): Remove macro.
16846         (print_screen): Remove xfail argument.
16847         (print_screen_max_error): Likewise.
16848         (update_stats): Likewise.
16849         (print_max_error): Likewise.  Update calls to other affected
16850         functions.
16851         (print_complex_max_error): Likewise.
16852         (test_single_exception): Update calls to print_screen.
16853         (test_single_errno): Likewise.
16854         (check_float_internal): Remove xfail argument.  Update calls to
16855         other affected functions.
16856         (check_float): Likewise.
16857         (check_complex): Likewise.
16858         (check_int): Likewise.
16859         (check_long): Likewise.
16860         (check_bool): Likewise.
16861         (check_longlong): Likewise.
16862         (main): Don't print noXFails and noXPasses.
16863         * math/gen-libm-test.pl (top level): Don't mention expected
16864         failure handling in comment.
16865         (new_test): Don't handle expected failures.
16866         (parse_args): Don't mention expected failure handling in comment.
16867         (generate_testfile): Don't handle expected failures.
16868         (parse_ulps): Likewise.
16869         (print_ulps_file): Likewise.
16870         (get_failure): Remove function.
16871         (output_test): Don't handle expected failures.
16872         * make/README.libm-test: Don't mention expected failure handling.
16873
16874         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
16875         (minus_zero): Likewise.
16876         (plus_infty): Likewise.
16877         (minus_infty): Likewise.
16878         (qnan_value): Likewise.
16879         (max_value): Likewise.
16880         (min_value): Likewise.
16881         (min_subnorm_value): Likewise.
16882         (initialize): Do not initialize those variables dynamically.
16883
16884 2013-05-03  Roland McGrath  <roland@hack.frob.com>
16885
16886         * io/open.c (__open_2): Moved to ...
16887         * io/open_2.c: ... this new file.
16888         * io/open64.c (__open64_2): Moved to ...
16889         * io/open64_2.c: ... this new file.
16890         * io/openat.c (__openat_2): Moved to ...
16891         * io/openat_2.c: ... this new file.
16892         * io/openat64.c (__openat64_2): Moved to ...
16893         * io/openat64_2.c: ... this new file.
16894         * io/Makefile (routines): Add them.
16895         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16896         * sysdeps/unix/sysv/linux/open_2.c: File removed.
16897         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16898         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16899         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16900         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16901         (__openat64): Add hidden_ver.
16902         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16903         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16904
16905         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16906         Separately conditionalize setting of GLRO(dl_sysinfo) so
16907         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16908         as well, but the actual setting is only under [NEED_DL_SYSINFO].
16909
16910 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16911
16912         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16913         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16914         definition.
16915         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16916         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16917         (_libc_vdso_platform_setup): Add __vdso_time initialization.
16918         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16919         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16920
16921 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
16922
16923         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16924         test signgam value.
16925
16926         * math/libm-test.inc (hypot_test): Do not use
16927         IGNORE_ZERO_INF_SIGN.
16928
16929 2013-05-03  Andreas Jaeger  <aj@suse.de>
16930
16931         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16932         Linux 3.9.
16933         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16934         (PF_MAX): Adjust for VSOCK change.
16935
16936 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16937
16938         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16939
16940 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
16941
16942         [BZ #15264]
16943         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16944         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16945         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16946
16947 2013-05-02  David S. Miller  <davem@davemloft.net>
16948
16949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16950
16951 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
16952
16953         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16954
16955 2013-05-01  Roland McGrath  <roland@hack.frob.com>
16956
16957         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16958
16959 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
16960
16961         [BZ #14952]
16962         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16963         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16964         Use __attribute__ ((__gnu_inline__)).
16965         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16966         Don't use __attribute__ ((__gnu_inline__)).
16967
16968 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
16969
16970         [BZ #15423]
16971         * math/s_catan.c (__catan): Handle small real or imaginary part of
16972         input specially to avoid spurious underflow.
16973         * math/s_catanf.c (__catanf): Likewise.
16974         * math/s_catanh.c (__catanh): Likewise.
16975         * math/s_catanhf.c (__catanhf): Likewise.
16976         * math/s_catanhl.c (__catanhl): Likewise.
16977         * math/s_catanl.c (__catanl): Likewise.
16978         * math/libm-test.inc (catan_test): Add more tests.
16979         (catanh_test): Likewise.
16980         * sysdeps/i386/fpu/libm-test-ulps: Update.
16981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16982
16983 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16984
16985         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16986
16987 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
16988
16989         [BZ #15416]
16990         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16991         accurately for denominator in atan2.
16992         * math/s_catanf.c (__catanf): Likewise.
16993         * math/s_catanh.c (__catanh): Likewise.
16994         * math/s_catanhf.c (__catanhf): Likewise.
16995         * math/s_catanhl.c (__catanhl): Likewise.
16996         * math/s_catanl.c (__catanl): Likewise.
16997         * math/libm-test.inc (catan_test): Add more tests.
16998         (catanh_test): Likewise.
16999         * sysdeps/i386/fpu/libm-test-ulps: Update.
17000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17001
17002 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17003
17004         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17005
17006         * benchtests/Makefile (bench): Remove slow benchmarks.
17007         * benchtests/atan-inputs: Add slow benchmark inputs.
17008         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17009         (BENCH_FUNC): Accept variant offset.
17010         (VARIANT): Define.
17011         * benchtests/bench-skeleton.c (main): Run benchmark for each
17012         variant.
17013         * benchtests/cos-inputs: Add slow benchmark inputs.
17014         * benchtests/exp-inputs: Likewise.
17015         * benchtests/pow-inputs: Likewise.
17016         * benchtests/sin-inputs: Likewise.
17017         * benchtests/slowatan-inputs: Remove.
17018         * benchtests/slowatan.c: Remove.
17019         * benchtests/slowcos-inputs: Remove.
17020         * benchtests/slowcos.c: Remove.
17021         * benchtests/slowexp-inputs: Remove.
17022         * benchtests/slowexp.c: Remove.
17023         * benchtests/slowpow-inputs: Remove.
17024         * benchtests/slowpow.c: Remove.
17025         * benchtests/slowsin-inputs: Remove.
17026         * benchtests/slowsin.c: Remove.
17027         * benchtests/slowtan-inputs: Remove.
17028         * benchtests/slowtan.c: Remove.
17029         * benchtests/tan-inputs: Add slow benchmark inputs.
17030         * scripts/bench.pl: Parse comments and directives.
17031
17032         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
17033         in CPPFLAGS.
17034         ($(objpfx)bench-%.c): Remove *-ITER.
17035         * benchtests/bench-modf.c: Remove definition of ITER.
17036         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17037         (main): Loop for DURATION seconds instead of fixed number of
17038         iterations.
17039         * scripts/bench.pl: Don't expect iterations in parameters.
17040
17041 2013-04-29  Roland McGrath  <roland@hack.frob.com>
17042
17043         * io/fchdir.c (__fchdir): Renamed from fchdir.
17044         (fchdir): Define as weak alias.
17045
17046 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
17047
17048         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17049         (ERRNO_EDOM): Likewise.
17050         (ERRNO_ERANGE): Likewise.
17051         (noErrnoTests): New variable.
17052         (init_max_error): Set errno to 0.
17053         (test_single_errno): New function.
17054         (test_errno): Likewise.
17055         (check_float_internal): Call test_errno.  Set errno to 0.
17056         (check_complex): Refer to errno tests in comment.
17057         (check_int): Call test_errno.  Set errno to 0.
17058         (check_long): Likewise.
17059         (check_bool): Likewise.
17060         (check_longlong): Likewise.
17061         (cos_test): Use ERRNO_* flags for errno tests instead of
17062         check_int.
17063         (expm1_test): Likewise.
17064         (fmod_test): Likewise.
17065         (ilogb_test): Likewise.
17066         (lgamma_test): Likewise.
17067         (pow_test): Likewise.
17068         (remainder_test): Likewise.
17069         (sin_test): Likewise.
17070         (tan_test): Likewise.
17071         (yn_test): Likewise.
17072         (initialize): Set errno to 0.
17073         (main): Print number of errno tests.
17074         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17075
17076 2013-04-29  Andreas Jaeger  <aj@suse.de>
17077
17078         [BZ #15084]
17079         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17080         and RES_USEVC.
17081
17082         [BZ #15085]
17083         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17084         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17085         unimplemented.
17086
17087         [BZ #15380]
17088         * stdlib/random.c (__initstate): Return NULL if
17089         __initstate fails.
17090
17091         [BZ #15086]
17092         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17093         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17094         RES_SNGLKUPREOP.
17095
17096 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17097
17098         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17099
17100 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
17101
17102         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17103         of individual tests.
17104         (casin_test): Likewise.
17105         (casinh_test): Likewise.
17106
17107 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
17108
17109         [BZ #15409]
17110         * math/s_catan.c (__catan): Handle arguments with large real or
17111         imaginary part separately without squaring.
17112         * math/s_catanf.c (__catanf): Likewise.
17113         * math/s_catanh.c (__catanh): Likewise.
17114         * math/s_catanhf.c (__catanhf): Likewise.
17115         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17116         and redefine.
17117         (__catanhl): Handle arguments with large real or imaginary part
17118         separately without squaring.
17119         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17120         and redefine.
17121         (__catanl): Handle arguments with large real or imaginary part
17122         separately without squaring.
17123         * math/libm-test.inc (catan_test): Add more tests.
17124         (catanh_test): Likewise.
17125         * sysdeps/i386/fpu/libm-test-ulps: Update.
17126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17127
17128 2013-04-27  Andreas Jaeger  <aj@suse.de>
17129
17130         [BZ #15007]
17131         * stdlib/stdlib.h: Update guards for qecvt.
17132         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17133         <stdlib.h>.
17134
17135 2013-04-27  Allan McRae  <allan@archlinux.org>
17136
17137         * sysdeps/i386/fpu/libm-test-ulps: Update.
17138
17139 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
17140
17141         [BZ #15406]
17142         * math/s_catan.c: Include <float.h>.
17143         (__catan): Ensure underflow exception occurs for underflowed
17144         result.
17145         * math/s_catanf.c: Include <float.h>.
17146         (__catanf): Ensure underflow exception occurs for underflowed
17147         result.
17148         * math/s_catanh.c: Include <float.h>.
17149         (__catanh): Ensure underflow exception occurs for underflowed
17150         result.
17151         * math/s_catanhf.c: Include <float.h>.
17152         (__catanhf): Ensure underflow exception occurs for underflowed
17153         result.
17154         * math/s_catanhl.c: Include <float.h>.
17155         (__catanhl): Ensure underflow exception occurs for underflowed
17156         result.
17157         * math/s_catanl.c: Include <float.h>.
17158         (__catanl): Ensure underflow exception occurs for underflowed
17159         result.
17160         * math/libm-test.inc (catan_test): Add more tests.
17161         (catanh_test): Likewise.
17162
17163         [BZ #15405]
17164         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17165         underflowed result.
17166         * math/s_ccoshf.c (__ccoshf): Likewise.
17167         * math/s_ccoshl.c (__ccoshl): Likewise.
17168         * math/s_csin.c (__csin): Likewise.
17169         * math/s_csinf.c (__csinf): Likewise.
17170         * math/s_csinh.c (__csinh): Likewise.
17171         * math/s_csinhf.c (__csinhf): Likewise.
17172         * math/s_csinhl.c (__csinhl): Likewise.
17173         * math/s_csinl.c (__csinl): Likewise.
17174         * math/libm-test.inc (ccos_test): Add more tests.
17175         (ccosh_test): Likewise.
17176         (csin_test): Likewise.
17177         (csinh_test): Likewise.
17178
17179 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17180
17181         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17182         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17183         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17184         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17185         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17186         powerpc/power5+/fpu folders.
17187         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17188
17189
17190 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
17191
17192         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17193
17194 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
17195
17196         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17197         additions to variable.
17198         [$(config-machine) = x86_64] (modules-names): Likewise.
17199         ($(objpfx)tst-audit3): Remove dependency.
17200         ($(objpfx)tst-audit3.out): Likewise.
17201         ($(objpfx)tst-audit4): Likewise.
17202         ($(objpfx)tst-audit4.out): Likewise.
17203         ($(objpfx)tst-audit5): Likewise.
17204         ($(objpfx)tst-audit5.out): Likewise.
17205         ($(objpfx)tst-audit6): Likewise.
17206         ($(objpfx)tst-audit6.out): Likewise.
17207         ($(objpfx)tst-audit7): Likewise.
17208         ($(objpfx)tst-audit7.out): Likewise.
17209         (tst-audit3-ENV): Remove variable.
17210         (tst-audit4-ENV): Likewise.
17211         (tst-audit5-ENV): Likewise.
17212         (tst-audit6-ENV): Likewise.
17213         (tst-audit7-ENV): Likewise.
17214         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17215         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17216         addition to variable.
17217         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17218         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17219         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17220         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17221         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17222         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17223         tst-audit3, tst-audit4 and tst-audit5.
17224         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17225         tst-audit6 and tst-audit7.
17226         [$(subdir) = elf] (modules-names): Add audit modules for those
17227         tests.
17228         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17229         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17230         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17231         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17232         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17233         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17234         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17235         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17236         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17237         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17238         [$(subdir) = elf] (tst-audit3-ENV): New variable.
17239         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17240         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17241         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17242         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17243         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17244         Likewise.
17245         [$(subdir) = elf && $(config-cflags-avx) = yes]
17246         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17247         [$(subdir) = elf && $(config-cflags-avx) = yes]
17248         (CFLAGS-tst-auditmod4a.c): Likewise.
17249         [$(subdir) = elf && $(config-cflags-avx) = yes]
17250         (CFLAGS-tst-auditmod4b.c): Likewise.
17251         [$(subdir) = elf && $(config-cflags-avx) = yes]
17252         (CFLAGS-tst-auditmod6b.c): Likewise.
17253         [$(subdir) = elf && $(config-cflags-avx) = yes]
17254         (CFLAGS-tst-auditmod6c.c): Likewise.
17255         [$(subdir) = elf && $(config-cflags-avx) = yes]
17256         (CFLAGS-tst-auditmod7b.c): Likewise.
17257         * elf/tst-audit3.c: Move to ...
17258         * sysdeps/x86_64/tst-audit3.c: ... here.
17259         * elf/tst-audit4.c: Move to ...
17260         * sysdeps/x86_64/tst-audit4.c: ... here.
17261         * elf/tst-audit5.c: Move to ...
17262         * sysdeps/x86_64/tst-audit5.c: ... here.
17263         * elf/tst-audit6.c: Move to ...
17264         * sysdeps/x86_64/tst-audit6.c: ... here.
17265         * elf/tst-audit7.c: Move to ...
17266         * sysdeps/x86_64/tst-audit7.c: ... here.
17267         * elf/tst-auditmod3a.c: Move to ...
17268         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17269         * elf/tst-auditmod3b.c: Move to ...
17270         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17271         * elf/tst-auditmod4a.c: Move to ...
17272         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17273         * elf/tst-auditmod4b.c: Move to ...
17274         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17275         * elf/tst-auditmod5a.c: Move to ...
17276         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17277         * elf/tst-auditmod5b.c: Move to ...
17278         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17279         * elf/tst-auditmod6a.c: Move to ...
17280         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17281         * elf/tst-auditmod6b.c: Move to ...
17282         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17283         * elf/tst-auditmod6c.c: Move to ...
17284         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17285         * elf/tst-auditmod7a.c: Move to ...
17286         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17287         * elf/tst-auditmod7b.c: Move to ...
17288         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17289
17290 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
17291
17292         [BZ #15366]
17293         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17294         define unconditionally.
17295         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17296         define unconditionally.
17297         (INT8_C, INT16_C, etc.): Likewise.
17298
17299 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
17300
17301         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17302         __ehdr_start with hidden visibility.
17303
17304         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17305
17306 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
17307
17308         * math/libm-test.inc (cos_test): Use accurate hex constants.
17309         (sincost_test): Likewise.
17310
17311 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
17312
17313         * math/libm-test.inc (catan_test): Add more tests.
17314         (catanh_test): Likewise.
17315
17316         * math/s_catanf.c (__catanf): Use suffixed floating-point
17317         constants.
17318         * math/s_catanhf.c (__catanhf): Likewise.
17319         * math/s_catanhl.c (__catanhl): Likewise.
17320         * math/s_catanl.c (__catanl): Likewise.
17321
17322         [BZ #15394]
17323         * math/s_catan.c (__catan): Calculate imaginary part of result
17324         with log1p not log unless computing log of number close to 0.
17325         * math/s_catanf.c (__catanf): Likewise.
17326         * math/s_catanl.c (__catanl): Likewise.
17327         * math/s_catanh.c (__catanh): Calculate real part of result with
17328         log1p not log unless computing log of number close to 0.
17329         * math/s_catanhf.c (__catanhf): Likewise.
17330         * math/s_catanhl.c (__catanhl): Likewise.
17331         * math/libm-test.inc (catan_test): Add more tests.
17332         (catanh_test): Likewise.
17333         * sysdeps/i386/fpu/libm-test-ulps: Update.
17334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17335
17336 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17337
17338         * benchtests/Makefile: Mention files in which fast and slow
17339         paths of math functions are implemented.
17340
17341 2013-04-23  Roland McGrath  <roland@hack.frob.com>
17342
17343         * sysdeps/posix/timespec_get.c: New file.
17344
17345 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17346
17347         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17348         POWER.
17349         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17350         for POWER.
17351         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17352         powerpc/power5/fpu folders.
17353         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17354         * benchtests/Makefile: Add modf testcase.
17355         * benchtests/bench-modf.c: New file: Benchmark test for mo
17356
17357 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17358
17359         [BZ #14888]
17360         * time/Makefile (tests): Add tst-strptime-whitespace.
17361         * time/strptime_l.c (get_number): Use ISSPACE.
17362         (__strptime_internal): Likewise.
17363         * time/tst-strptime-whitespace.c: New test case.
17364
17365 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
17366
17367         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17368         member.
17369         (_nss_files_init): Set it here.
17370
17371 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
17372
17373         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17374         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17375         unsigned.
17376
17377 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
17378
17379         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17380
17381 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17382
17383         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17384         size just once.
17385
17386 2013-04-21  David S. Miller  <davem@davemloft.net>
17387
17388         * po/ru.po: Update Russion translation from translation project.
17389
17390 2013-04-17  Adam Conrad  <adconrad@0c3.net>
17391
17392         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17393         and setfsgid.
17394
17395 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
17396
17397         * configure.in: Remove i386 configure warning. Remove i386 case.
17398         * configure: Regenerate.
17399         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
17400         Add example to error message.
17401         * sysdeps/i386/configure: Regenerate.
17402
17403 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17404
17405         * benchtests/Makefile (bench): Add cos, tan, slowcos and
17406         slowtan.
17407         * benchtests/cos-inputs: New file.
17408         * benchtests/slowcos-inputs: New file.
17409         * benchtests/slowcos.c: New file.
17410         * benchtests/slowtan-inputs: New file.
17411         * benchtests/slowtan.c: New file.
17412         * benchtests/tan-inputs: New file.
17413
17414 2013-04-16  Roland McGrath  <roland@hack.frob.com>
17415
17416         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17417         considered kosher.
17418
17419 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17420
17421         * benchtests/Makefile: Include cppflags-iterator.mk to add
17422         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17423
17424         * Makefile.in (bench-clean): New target.
17425         * benchtests/Makefile (bench-clean): Likewise.
17426
17427 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
17428
17429         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17430
17431 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
17432
17433         * stdio-common/tstdiomisc.c: Fix coding-style violation.
17434
17435 2013-04-15  Andreas Schwab  <schwab@suse.de>
17436
17437         * nscd/grpcache.c (cache_addgr): Properly check for short write.
17438         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17439         * nscd/pwdcache.c (cache_addpw): Likewise.
17440         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
17441         more than recsize.
17442
17443 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17444
17445         * benchtests/Makefile (bench): Write all output to
17446         bench-out.tmp together.
17447
17448 2013-04-15  Andreas Schwab  <schwab@suse.de>
17449
17450         * nscd/nscd.c (main): Don't fork again after closing files.
17451
17452 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17453
17454         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17455
17456         * benchtests/Rules (bench-deps): Collect dependencies into a
17457         single variable.  Add Makefile to dependencies.
17458         ($(objpfx)bench-%.c): Depend on bench-deps.
17459
17460 2013-04-12  Roland McGrath  <roland@hack.frob.com>
17461             Xavier Roche  <roche+kml2@exalead.com>
17462
17463         [BZ #15361]
17464         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17465         just that it's a file descriptor.
17466         * manual/llio.texi (Synchronizing AIO Operations): Update description
17467         for EBADF error from aio_fsync.
17468
17469 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17470
17471         * Rules (bench): Move target definition...
17472         * benchtests/Makefile: ... here.
17473
17474 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
17475
17476         * math/libm-test.inc (cos_test): Fix PI/2 test.
17477         (sincos_test): Likewise.
17478         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17479         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17480
17481 2013-04-11  Andreas Schwab  <schwab@suse.de>
17482
17483         [BZ #13988]
17484         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17485         accept exponent character only when digits were seen.
17486         * stdio-common/Makefile (tests): Add bug26.
17487         * stdio-common/bug26.c: New file.
17488
17489         [BZ #14293]
17490         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17491         non-freeable.
17492
17493 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17494
17495         * Makeconfig (rtld-prefix): Define built linker prefix.
17496         * Rules (run-bench): Use it.
17497         * math/Makefile (run-regen-ulps): Likewise.
17498
17499         * Rules (bench): Remove eval.
17500
17501 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17502             Roland McGrath  <roland@hack.frob.com>
17503             Ondrej Bilka  <neleai@seznam.cz>
17504
17505         [BZ #15346]
17506         * time/getdate.c: Include ctype.h and alloca.h.
17507         (__getdate_r): Trim leading and trailing spaces of input.
17508         * time/tst-getdate.c (tests): Add tests with leading and
17509         trailing spaces.
17510
17511 2013-04-08  Roland McGrath  <roland@hack.frob.com>
17512
17513         [BZ #14280]
17514         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17515         when computing value.
17516
17517 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17518
17519         * math/README.libm-test (How can I generate "libm-test-ulps"?):
17520         Use testrun.sh to run libm tests.
17521
17522         [BZ #15309]
17523         * elf/dl-open.c (dl_open_worker): memset all of seen array.
17524
17525 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
17526
17527         [BZ #15264]
17528         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17529
17530 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17531
17532         * Makefile.in (regen-ulps): New target.
17533         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17534         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17535         [ifneq (no,$(PERL)] (regen-ulps): New target.
17536         [ifeq (no,$(PERL)] (regen-ulps): New target.
17537         * math/libm-test.inc (ulps_file_name): Define.
17538         (output_dir): New variable.
17539         (options): Add "output-dir" option.
17540         (parse_opt): Handle 'o' case.
17541         (main): If output_dir is non-NULL use it as a prefix
17542         otherwise use "".
17543         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17544
17545 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17546
17547         [BZ #10060, #10062]
17548         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17549         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17550         fail configure if __sync_val_compare_and_swap is not inlined.
17551         * sysdeps/i386/configure: Regenerate.
17552         * configure.in: Build for i686 when configured for i386.
17553         * configure: Regenerate.
17554         * README: Remove i386 reference.
17555
17556 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17557
17558         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17559         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17560
17561 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
17562
17563         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17564         (lmsnanval): New variables.
17565         (F): Add conversion tests.
17566         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17567         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17568
17569         * stdio-common/tstdiomisc.c (F): Properly collect individual
17570         tests' results.
17571
17572         [BZ #14686, #15336]
17573         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17574         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17575         Instead, use input NaN values or generate a qNaN by arithmetic
17576         operation.  Also fix bugs to comply with the standard.
17577         * math/libm-test.inc (remainder_test): Add more tests.
17578
17579         [BZ #15335, #15342]
17580         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17581         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17582         input NaN values or generate a qNaN by arithmetic operation.
17583
17584         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17585         unreachable code.
17586
17587         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17588         definitions.
17589
17590 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
17591
17592         [BZ #14478]
17593         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17594         underflowed result.
17595         * math/s_cexpf.c (__cexpf): Likewise.
17596         * math/s_cexpl.c (__cexpl): Likewise.
17597         * math/libm-test.inc (cexp_test): Add more tests.
17598
17599 2013-04-03  Andreas Schwab  <schwab@suse.de>
17600
17601         [BZ #15330]
17602         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17603         order arrays from heap if bigger than alloca cutoff.
17604
17605 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
17606
17607         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17608         (SNAN_TESTS_double): Refer to GCC PR56831.
17609         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17610         GCC PR56828.
17611
17612 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17613
17614         * Rules (bench): Move bench.out after the run is complete.
17615
17616         * Rules (bench): Echo currently running benchmark.
17617
17618         * benchtests/Makefile (bench): Add atan and slowatan.
17619         * benchtests/atan-inputs: New file.
17620         * benchtests/slowatan-inputs: New file.
17621         * benchtests/slowatan.c: New file.
17622
17623         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17624         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17625         its value.
17626
17627         [BZ #15305]
17628         * sysdeps/unix/sysv/linux/kernel-features.h
17629         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17630         __ASSUME_XFS_RESTRICTED_CHOWN.
17631         * sysdeps/unix/sysv/linux/pathconf.c
17632         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17633         Save and restore errno.
17634
17635 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
17636
17637         [BZ #15327]
17638         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17639         arguments using __kernel_casinh.
17640         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17641         arguments using __kernel_casinhf.
17642         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17643         arguments using __kernel_casinhl.
17644         * math/libm-test.inc (cacosh_test): Add more tests.
17645         * sysdeps/i386/fpu/libm-test-ulps: Update.
17646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17647
17648 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17649
17650         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17651         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17652
17653         * bench/Makefile (bench): Add sin and slowsin.
17654         * benchtests/sin-inputs: New file.
17655         * benchtests/slowsin-inputs: New file.
17656         * benchtests/slowsin.c: New file.
17657
17658         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17659         (bench): Add slowexp and slowpow.
17660         (exp-ITER): Increase iterations.
17661         (pow-ITER): Likewise.
17662         * benchtests/exp-inputs: Change input.
17663         * benchtests/pow-inputs: Likewise.
17664         * benchtests/slowexp-inputs: New file.
17665         * benchtests/slowexp.c: New file.
17666         * benchtests/slowpow-inputs: New file.
17667         * benchtests/slowpow.c: New file.
17668
17669 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17670
17671         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17672         instructions.
17673         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17674         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17675         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17676         * benchtests/Makefile: Add rint benchtest.
17677         * benchtests/rint-inputs: Input for rint benchtest.
17678
17679 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
17680
17681         * Versions.def (libm): Add GLIBC_2.18.
17682         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17683         hidden libm prototypes.
17684         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17685         * math/Makefile (libm-calls): Add s_issignaling.
17686         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17687         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
17688         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17689         declaration.
17690         * math/math.h [__USE_GNU] (issignaling): New macro.
17691         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17692         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17693         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17694         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17695         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17696         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17697         * manual/arith.texi (issignaling): New section.
17698         * manual/libm-err-tab.pl (@all_functions): Update comment.
17699         * math/gen-libm-test.pl (parse_args): Apply special handling for
17700         issignaling.
17701         * math/libm-test.inc (print_float, issignaling_test): New
17702         functions.
17703         (check_float_internal): Add issignaling checks.
17704         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17705         default definition.
17706         * sysdeps/powerpc/math-tests.h: New file.
17707         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17708         tests.
17709         * math/test-snan.c (TEST_FUNC): Likewise.
17710
17711 2013-03-30  David S. Miller  <davem@davemloft.net>
17712
17713         * po/de.po: Update from translation team.
17714
17715 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
17716
17717         [BZ #10357]
17718         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17719         imaginary part less than 1.0 and real part less than 0.5
17720         specially.
17721         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17722         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17723         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17724         (cacos_test): Add more tests.
17725         (casin_test): Likewise.
17726         (casinh_test): Likewise.
17727         * sysdeps/i386/fpu/libm-test-ulps: Update.
17728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17729
17730 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17731
17732         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17733         ONE with its value.
17734
17735         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17736         (__pow_mp): Replace ONE and MONE with their values.
17737         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17738         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17739         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17740         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17741         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17742         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17743
17744         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17745
17746         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17747         (__pow_mp): Replace ZERO and MZERO with their values.
17748         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17749         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17750         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17751         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17752         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17753         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17754         (__sqr): Likewise.
17755
17756         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17757
17758         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17759
17760 2013-03-28  Roland McGrath  <roland@hack.frob.com>
17761
17762         * include/stdlib.h [!SHARED] (__call_tls_dtors):
17763         Declare with __attribute__ ((weak)).
17764         * stdlib/exit.c (__libc_atexit) [!SHARED]:
17765         Call __call_tls_dtors only if it's not NULL.
17766
17767 2013-03-28  Roland McGrath  <roland@hack.frob.com>
17768
17769         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17770         didn't do it already, then set _dl_phdr and _dl_phnum based on the
17771         magic __ehdr_start linker symbol if it's defined.
17772         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17773         them up here if it was already done.
17774
17775         * elf/dl-support.c (_dl_phdr): Make pointer to const.
17776         (_dl_aux_init): Use const in cast when setting it.
17777         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17778         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17779         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17780
17781         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17782         Declare them here.
17783         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17784         * csu/libc-tls.c: Nor here.
17785         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17786
17787         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17788         (__libc_message): Never call vsyslog.
17789
17790 2013-03-28  Alan Modra  <amodra@gmail.com>
17791
17792         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17793         Define as empty.
17794         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17795         Likewise.
17796
17797 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17798
17799         [BZ #15214]
17800         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17801         underflow.
17802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17803
17804 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17805
17806         [BZ #15304]
17807         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17808         Don't add gid passed as argument.
17809
17810         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17811
17812 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
17813
17814         [BZ #15307]
17815         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17816         imaginary part between 1.0 and 1.5 and real part less than 0.5
17817         specially.
17818         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17819         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17820         * math/libm-test.inc (cacos_test): Add more tests.
17821         (casin_test): Likewise.
17822         (casinh_test): Likewise.
17823         * sysdeps/i386/fpu/libm-test-ulps: Update.
17824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17825
17826 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17827
17828         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17829         constants.
17830         (norm): Likewise.
17831         (denorm): Likewise.
17832         (__dbl_mp): Likewise.
17833         (add_magnitudes): Likewise.
17834         (sub_magnitudes): Likewise.
17835         (__add): Likewise.
17836         (__sub): Likewise.
17837         (__mul): Likewise.
17838         (__sqr): Likewise.
17839         (__inv): Likewise.
17840         (__dvd): Likewise.
17841
17842         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17843         commented code.
17844         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17845         (__dubcos): Likewise.
17846         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17847         (__ieee754_acos): Likewise.
17848         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17849         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17850         (__exp1): Likewise.
17851         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17852         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17853         (log1): Likewise.
17854         (my_log2): Likewise.
17855         (checkint): Likewise.
17856         * sysdeps/ieee754/dbl-64/e_remainder.c
17857         (__ieee754_remainder): Likewise.
17858         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17859         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17860         (bsloww): Likewise.
17861         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17862
17863         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17864         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17865         MANTISSA_STORE_T to store computations on mantissa.  Use
17866         macros for rounding and division.
17867         (denorm): Likewise.
17868         (__dbl_mp): Likewise.
17869         (add_magnitudes): Likewise.
17870         (sub_magnitudes): Likewise.
17871         (__mul): Likewise.
17872         (__sqr): Likewise.
17873         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
17874         powers of two in terms of TWOPOW macro.
17875         (mp_no): Make type of mantissa as MANTISSA_T.
17876         [!RADIXI]: Define RADIXI.
17877         [!TWO52]: Define TWO52.
17878         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17879
17880 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17881
17882         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17883         llroundl symbol when building for PPC32.
17884
17885 2013-03-24  Mark H Weaver  <mhw@netris.org>
17886
17887         * manual/arith.texi (Normalization Functions): Fix prototypes for
17888         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17889
17890 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17891
17892         [BZ #13889]
17893         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17894         high value to check if expl overflow.
17895         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17896         to check for underflow and overflow.
17897         * math/libm-test.inc: Add exp test.
17898
17899 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
17900
17901         [BZ #11120]
17902         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17903         with NOT_IN_libc.
17904
17905 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17906
17907         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17908         symbol.
17909
17910 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17911
17912         * math/gen-libm-test.pl (parse_args, special_functions): Properly
17913         wrap blocks consisting of several statements.
17914
17915         * sysdeps/generic/math-tests.h: New file.
17916         * sysdeps/i386/fpu/math-tests.h: Likewise.
17917         * math/test-snan.c: Include it.
17918         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17919
17920 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
17921
17922         [BZ #15285]
17923         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17924         (__ieee754_j0l): Do not improve calculations using cos of twice
17925         input for inputs above LDBL_MAX / 2.0L.
17926         (__ieee754_y0l): Likewise.
17927         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17928         (__ieee754_j1l): Do not improve calculations using cos of twice
17929         input for inputs above LDBL_MAX / 2.0L.
17930         (__ieee754_y1l): Likewise.
17931         * math/libm-test.inc (j0_test): Add another test.
17932         (j1_test): Likewise.
17933         (y0_test): Likewise.
17934         (y1_test): Likewise.
17935         * sysdeps/i386/fpu/libm-test-ulps: Update.
17936
17937 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17938
17939         * Rules ($(objpfx)bench-%.c): Include code from a C source
17940         file.
17941
17942 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
17943
17944         [BZ #15287]
17945         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17946         imaginary part 1.0 and real part less than 0.5 specially.
17947         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17948         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17949         * math/libm-test.inc (cacos_test): Add more tests.
17950         (casin_test): Likewise.
17951         (casinh_test): Likewise.
17952         * sysdeps/i386/fpu/libm-test-ulps: Update.
17953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17954
17955 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17956
17957         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17958         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17959
17960 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
17961
17962         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17963         * config.make.in (config-cflags-sse4): Remove variable.
17964         (config-cflags-avx): Likewise.
17965         (config-cflags-sse2avx): Likewise.
17966         (config-cflags-novzeroupper): Likewise.
17967         (config-asflags-i686): Likewise.
17968         (have-mfma4): Likewise.
17969         (have-as-vis3): Likewise.
17970         (MIG): Likewise.
17971         * configure.in (MIG): Do not AC_SUBST.
17972         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17973         (libc_cv_cc_sse4): Do not AC_SUBST.
17974         (libc_cv_cc_avx): Likewise.
17975         (libc_cv_cc_sse2avx): Likewise.
17976         (libc_cv_cc_novzeroupper): Likewise.
17977         (libc_cv_cc_fma4): Likewise.
17978         (libc_cv_as_i686): Likewise.
17979         (libc_cv_sparc_as_vis3): Likewise.
17980         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17981         LIBC_CONFIG_VAR.
17982         (config-asflags-i686): Likewise.
17983         (config-cflags-avx): Likewise.
17984         (config-cflags-sse2avx): Likewise.
17985         (have-mfma4): Likewise.
17986         (config-cflags-novzeroupper): Likewise.
17987         * sysdeps/mach/configure.in (MIG): Likewise.
17988         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17989         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17990         LIBC_CONFIG_VAR.
17991         (config-cflags-avx): Likewise.
17992         (config-cflags-sse2avx): Likewise.
17993         (have-mfma4): Likewise.
17994         (config-cflags-novzeroupper): Likewise.
17995         * configure: Regenerated.
17996         * sysdeps/i386/configure: Likewise.
17997         * sysdeps/mach/configure: Likewise.
17998         * sysdeps/sparc/configure: Likewise.
17999         * sysdeps/x86_64/configure: Likewise.
18000
18001 2013-03-20  Roland McGrath  <roland@hack.frob.com>
18002
18003         [BZ #14812]
18004         * locale/programs/localedef.c (options): Put N_ translation marker
18005         on argument names, not just descriptions.
18006
18007 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18008
18009         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18010
18011 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
18012
18013         [BZ #14176]
18014         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18015
18016 2013-03-19  Roland McGrath  <roland@hack.frob.com>
18017
18018         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18019         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18020         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18021         [!BEFORE_ABORT] (before_abort): New function.
18022         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18023         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18024         (writev_for_fatal): New function.
18025         (WRITEV_FOR_FATAL): New macro; call that.
18026         (backtrace_and_maps): New function.
18027         (BEFORE_ABORT): New macro; call that.
18028         (struct str_list): Type removed.
18029         (__libc_message, __libc_fatal): Functions removed.
18030         Include <sysdeps/posix/libc_fatal.c> instead.
18031
18032 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
18033
18034         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18035         constants.
18036         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18037         double constants.
18038
18039 2013-03-19  Andreas Schwab  <schwab@suse.de>
18040
18041         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18042         * sysdeps/gnu/configure: Regenerate.
18043
18044         * configure.in: Substitute libc_cv_rtlddir.
18045         * configure: Regenerate.
18046         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18047         * Makeconfig (rtlddir, inst_rtlddir): New variables.
18048         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18049         * elf/Makefile (install-others, CFLAGS-interp.c)
18050         (ldso_install, common-ldd-rewrite): Likewise.
18051         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18052         $(inst_slibdir)/$(rtld-installed-name).
18053         * scripts/rellns-sh: Add -p option.
18054         * Makerules (make-shlib-link): Use rellns-sh to get relative name
18055         for source.
18056
18057 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18058
18059         * manual/nptl.texi: Renamed to ...
18060         * manual/threads.texi: ... this.
18061         * manual/Makefile (chapters): Update.
18062
18063 2013-03-18  Roland McGrath  <roland@hack.frob.com>
18064
18065         [BZ #14812]
18066         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18067         on argument names, not just descriptions.
18068         * malloc/memusagestat.c (options): Likewise.
18069         * nss/getent.c (options): Likewise.
18070
18071 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
18072
18073         [BZ #14812]
18074         * iconv/iconv_prog.c (options): Put N_ translation marker
18075         on argument names, not just descriptions.
18076         * iconv/iconvconfig.c (options): Likewise.
18077
18078 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
18079
18080         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18081         implementation which is faster on all x86_64 architectures.
18082         Tested on AMD, Intel Nehalem, SNB, IVB.
18083         * sysdeps/x86_64/strnlen.S: Likewise.
18084
18085         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18086         Remove all multiarch strlen and strnlen versions.
18087         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18088         Remove strlen and strnlen related parts.
18089
18090         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18091         Inline strlen part.
18092         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18093
18094         * sysdeps/x86_64/multiarch/strlen.S: Remove.
18095         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18096         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18097         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18098         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18099         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18100
18101 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
18102
18103         * manual/memory.texi (Malloc Tunable Parameters):
18104         Sort parameters alphabetically. Add comments for missing entries.
18105
18106 2013-03-17  David S. Miller  <davem@davemloft.net>
18107
18108         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18109
18110 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
18111
18112         [BZ #15283]
18113         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18114         for arguments at most half maximum finite value.
18115         * math/libm-test.inc (j0_test): Add more tests.
18116         (j1_test): Likewise.
18117         (y0_test): Likewise.
18118         (y1_test): Likewise.
18119         * sysdeps/i386/fpu/libm-test-ulps: Update.
18120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18121
18122         [BZ #14155]
18123         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18124         1 / x and functions P and Q for arguments above 0x1p256L.
18125         (__ieee754_y0l): Likewise.
18126         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18127         (__ieee754_y1l): Likewise.
18128         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18129         (j1_test): Likewise.
18130         (y0_test): Likewise.
18131         (y1_test): Likewise.
18132
18133 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
18134
18135         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18136         variable.
18137
18138 2013-03-15  Roland McGrath  <roland@hack.frob.com>
18139
18140         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18141         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18142         zero since it's initialized to EXEC_PAGESIZE.
18143
18144         * sysdeps/unix/sysv/linux/ldsodefs.h
18145         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18146         * sysdeps/generic/ldsodefs.h: ... here.
18147
18148 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
18149
18150         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18151
18152         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18153         math/test-snan.c.
18154         * math/test-snan.c: Renamed from
18155         sysdeps/powerpc/fpu/test-powerpc-snan.c.
18156         * math/Makefile (tests): Add test-snan.
18157         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18158         test-powerpc-snan.
18159
18160         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18161         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
18162         functions.
18163         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
18164         __builtin_nan family of functions.
18165         * math/libm-test.inc (initialize): Initialize qnan_value with
18166         __builtin_nan family of functions.
18167         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18168         Remove variables.
18169         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18170         Remove functions.
18171         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
18172         storage class.  Initialize qNaN_var and sNaN_var with
18173         __builtin_nan and __builtin_nans families of functions,
18174         respectively.
18175
18176         * math/libm-test.inc (acosh_test): Also test with qNaN input.
18177         (sqrt_test): Remove duplicate test with qNaN input.
18178         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18179         (round_test, signbit_test, significand_test): Note missing +/-Inf
18180         as well as qNaN tests.
18181
18182         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18183         qNaN_var.  Fix a few strings, too.
18184         * math/libm-test.inc (nan_value): Rename to qnan_value.
18185         * math/gen-libm-test.pl (%beautify): Adjust to that.
18186         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18187         * math/test-misc.c (main): Likewise.
18188         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18189         to __qnan_bytes, and __qnan_union, respectively.
18190         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18191         Likewise.
18192         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18193         and lqnanval, respectively.
18194         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18195         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18196         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18197         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18198
18199         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18200         * math/test-misc.c (main) [__x86_64__]: Enable test for long
18201         doubles.
18202
18203         * math/test-misc.c (main): Fix copy'n'pastos.
18204         * misc/tst-efgcvt.c (special): Likewise.
18205
18206         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18207         Remove declarations.
18208
18209 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18210
18211         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18212         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18213         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18214         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18215
18216 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18217
18218         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18219         macro to return vdso values correctly in IFUNC implementations.
18220         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18221         Optimization by using IFUNC.
18222
18223 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18224             Richard Henderson  <rth@redhat.com>
18225             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18226
18227         * Makefile.in (bench): New target.
18228         * NEWS: Mention the benchmark framework.
18229         * Rules (bench): Likewise.
18230         (binaries-bench): Generate binaries for functions to
18231         benchmark.
18232         * benchtests/Makefile: New makefile for benchmark tests.
18233         * benchtests/bench-skeleton.c: New skeleton file for benchmark
18234         programs.
18235         * benchtests/exp-inputs: New input file for EXP function.
18236         * benchtests/pow-inputs: New input file for POW function.
18237         * scripts/bench.pl: New script to generate source files for
18238         benchmark programs.
18239
18240 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18241
18242         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18243         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18244         computations on mantissa.  Use macros for rounding and
18245         division.
18246         (denorm): Likewise.
18247         (__dbl_mp): Likewise.
18248         (add_magnitudes): Likewise.
18249         (sub_magnitudes): Likewise.
18250         (__mul): Likewise.
18251         (__sqr): Likewise.
18252         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
18253         powers of two in terms of TWOPOW macro.
18254         (mp_no): Make type of mantissa as MANTISSA_T.
18255         [!RADIXI]: Define RADIXI.
18256         [!TWO52]: Define TWO52.
18257         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18258
18259         * manual/nptl.texi (cindex): Modify threads to pthreads.
18260
18261 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
18262
18263         * sysdeps/x86_64/preconfigure: Regenerated.
18264
18265 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
18266
18267         [BZ #14155]
18268         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18269         0x1p28 and above.
18270         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18271         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18272         0x1p28 and above.
18273         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18274         * math/libm-test.inc (j0_test): Do not allow one spurious
18275         underflow exception.
18276         (y1_test): Likewise.
18277
18278 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18279
18280         * manual/Makefile (chapters): Add nptl.
18281         * manual/debug.texi (Debugging Support): Add link to Threads
18282         chapter.
18283         * manual/nptl.texi: New file.
18284
18285         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18286
18287 2013-03-14  Petr Baudis  <pasky@ucw.cz>
18288
18289         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18290         for non-NULL pointer before the memory validity test. Pointed
18291         out by Holger Brunck <holger.brunck@keymile.com>.
18292
18293 2013-03-13  Andreas Schwab  <schwab@suse.de>
18294
18295         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18296         instead of .os.
18297
18298 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
18299
18300         * timezone/zic.c: Update from tzcode 2013b.
18301
18302 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
18303
18304         * manual/install.texi (Configuring and compiling):
18305         Mention i686 and i586.
18306         * INSTALL: Regenerate.
18307
18308 2013-03-12  Roland McGrath  <roland@hack.frob.com>
18309
18310         * sysdeps/init_array/elf-init.c: New file.
18311         * csu/elf-init.c
18312         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18313         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18314
18315         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18316         __gmon_start__ as global, but as static with a .preinit_array pointer.
18317         * sysdeps/init_array/gmon-start.c: New file.  Use that.
18318         * sysdeps/init_array/crti.S: New file, empty except for comments.
18319         * sysdeps/init_array/crtn.S: Likewise.
18320
18321 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
18322
18323         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18324         definining bcopy.
18325         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18326         Remove Prefer_SSE_for_memop.
18327         * sysdeps/x86_64/multiarch/init-arch.h: Remove
18328         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18329         HAS_PREFER_SSE_FOR_MEMOP.
18330         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18331         memset-x86-64.
18332         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18333         Remove bzero, memset ifunc support.
18334         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18335         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18336         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18337         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18338
18339 2013-03-11  Andreas Schwab  <schwab@suse.de>
18340
18341         [BZ #15234]
18342         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18343         by SHLIB_COMPAT.
18344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18345         (GLIBC_2.16): Remove pthread_atfork.
18346
18347 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18348
18349         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18350         (ptestcases.h): Likewise.
18351
18352 2013-03-08  Roland McGrath  <roland@hack.frob.com>
18353
18354         * Makeconfig ($(common-objpfx)config.status): Depend on
18355         sysdeps/*/preconfigure{,.in} too.
18356
18357 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
18358
18359         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18360         (__free_hook): Use void * instead of __malloc_ptr_t.
18361         (__malloc_hook): Likewise.
18362         (__realloc_hook): Likewise.
18363         (__memalign_hook): Likewise.
18364         (__after_morecore_hook): Likewise.
18365         * malloc/arena.c (save_malloc_hook): Likewise.
18366         (save_free_hook): Likewise.
18367         * malloc/hooks.c (malloc_hook_ini): Likewise.
18368         (realloc_hook_ini): Likewise.
18369         (memalign_hook_ini): Likewise.
18370         * malloc/malloc.c (malloc_hook_ini): Likewise.
18371         (realloc_hook_ini): Likewise.
18372         (memalign_hook_ini): Likewise.
18373         (__free_hook): Likewise.
18374         (__malloc_hook): Likewise.
18375         (__realloc_hook): Likewise.
18376         (__memalign_hook): Likewise.
18377         (__libc_malloc): Likewise.
18378         (__libc_free): Likewise.
18379         (__libc_realloc): Likewise.
18380         (__libc_memalign): Likewise.
18381         (__libc_valloc): Likewise.
18382         (__libc_pvalloc): Likewise.
18383         (__libc_calloc): Likewise.
18384         (__posix_memalign): Likewise.
18385         * malloc/morecore.c (__sbrk): Likewise.
18386         (__default_morecore): Likewise.
18387
18388         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18389
18390         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18391         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18392         __malloc_ptrdiff_t.
18393
18394         * malloc/malloc.h (__malloc_size_t): Remove macro.
18395         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18396         __malloc_size_t.
18397         (old_memalign_hook): Likewise.
18398         (old_realloc_hook): Likewise.
18399         (struct hdr): Likewise.
18400         (flood): Likewise.
18401         (mallochook): Likewise.
18402         (memalignhook): Likewise.
18403         (reallochook): Likewise.
18404         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18405         (tr_old_realloc_hook): Likewise.
18406         (tr_old_memalign_hook): Likewise.
18407         (tr_mallochook): Likewise.
18408         (tr_reallochook): Likewise.
18409         (tr_memalignhook): Likewise.
18410
18411 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18412
18413         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18414         default_ldbl_pack and using as default implementation.
18415         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18416         implementation.
18417         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18418         redundant definition.
18419         (ldbl_insert_mantissa): Likewise.
18420         (ldbl_canonicalize): Likewise.
18421         (ldbl_nearbyint): Likewise.
18422         (ldbl_pack): Rename to ldbl_pack_ppc.
18423         (ldbl_unpack): Rename to ldbl_unpack_ppc.
18424         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18425         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18426
18427 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18428
18429         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18430         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18431         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18432         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18433         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18434         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18435         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18436         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18437
18438 2013-03-07  Andreas Jaeger  <aj@suse.de>
18439
18440         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18441         bits/mman-linux.h.
18442
18443 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18444
18445         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18446         Include mpa.h and declare __MPEXP.
18447         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18448         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18449         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18450         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18451         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18452         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18453         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18454
18455         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18456         (__slowpow): Use long double EXPL and LOGL functions to
18457         compute POW.
18458         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18459         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18460         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18461         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18462         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18463         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18464
18465         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18466         intermediate variable to calculate exponent.
18467         (__sqr): Likewise.
18468         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18469         Likewise.
18470         (__sqr): Likewise.
18471
18472         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18473         [!NO__SQR]: Define __sqr.
18474         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18475         and NO__SQR.  Remove all code except __mul and __sqr.  Include
18476         sysdeps/ieee754/dbl-64/mpa.c.
18477         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18478
18479         [BZ #12723]
18480         * posix/Makefile (tests): Add tst-pathconf.
18481         * posix/tst-pathconf.c: New test case.
18482         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18483         _PC_PIPE_BUF.
18484         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18485
18486 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
18487
18488         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18489
18490 2013-03-06  Andreas Jaeger  <aj@suse.de>
18491
18492         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18493         definition via __MAP_ANONYMOUS.
18494
18495         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18496         it's not part of Linux headers.
18497
18498         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18499         (MAP_HUGE_MASK): Define.
18500
18501         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18502         Define.
18503         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18504         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18505         Define.
18506         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18507         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18508         Define.
18509         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18510         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18511         Define.
18512         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18513
18514         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18515         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18516         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18517         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18518         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18519         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18520
18521         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18522         Handle f2fs.
18523
18524         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18525         Handle f2fs and efivarfs.
18526
18527         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18528         f2fs.
18529
18530         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18531         (EFIVARFS_MAGIC): Add.
18532         (F2FS_LINK_MAX): Add.
18533
18534 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18535
18536         * stdio-common/vfprintf.c: Replace __builtin_expect with
18537         __glibc_unlikely.
18538
18539 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
18540
18541         [BZ #13550]
18542         * sysdeps/generic/bp-sym.h: Remove file.
18543         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18544         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18545         <bp-sym.h> and <bp-asm.h>.
18546         (__longjmp): Don't use BP_SYM.
18547         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18548         and <bp-asm.h>.
18549         (memcpy): Don't use BP_SYM.
18550         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18551         <bp-sym.h> and <bp-asm.h>.
18552         (memcpy): Don't use BP_SYM.
18553         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18554         <bp-asm.h>.
18555         (memcpy): Don't use BP_SYM.
18556         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18557         <bp-asm.h>.
18558         (memset): Don't use BP_SYM.
18559         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18560         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18561         (__bzero): Don't use BP_SYM.
18562         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18563         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18564         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18565         <bp-sym.h> and <bp-asm.h>.
18566         (memcmp): Don't use BP_SYM.  Remove comment about bounded
18567         pointers.
18568         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18569         <bp-sym.h> and <bp-asm.h>.
18570         (memcpy): Don't use BP_SYM.
18571         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18572         <bp-sym.h> and <bp-asm.h>.
18573         (memset): Don't use BP_SYM.
18574         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18575         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18576         (__bzero): Don't use BP_SYM.
18577         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18578         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18579         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18580         <bp-sym.h> and <bp-asm.h>.
18581         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18582         pointers.
18583         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18584         <bp-sym.h> and <bp-asm.h>.
18585         (memcpy): Don't use BP_SYM.
18586         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18587         <bp-sym.h> and <bp-asm.h>.
18588         (memset): Don't use BP_SYM.
18589         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18590         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18591         (__bzero): Don't use BP_SYM.
18592         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18593         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18594         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18595         <bp-sym.h> and <bp-asm.h>.
18596         (__memchr): Don't use BP_SYM.
18597         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18598         <bp-sym.h> and <bp-asm.h>.
18599         (memcmp): Don't use BP_SYM.  Remove comment about bounded
18600         pointers.
18601         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18602         <bp-sym.h> and <bp-asm.h>.
18603         (memcpy): Don't use BP_SYM.
18604         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18605         <bp-sym.h> and <bp-asm.h>.
18606         (__mempcpy): Don't use BP_SYM.
18607         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18608         <bp-sym.h> and <bp-asm.h>.
18609         (__memrchr): Don't use BP_SYM.
18610         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18611         <bp-sym.h> and <bp-asm.h>.
18612         (memset): Don't use BP_SYM.
18613         (__bzero): Likewise.
18614         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18615         <bp-sym.h> and <bp-asm.h>.
18616         (__rawmemchr): Don't use BP_SYM.
18617         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18618         <bp-sym.h> and <bp-asm.h>.
18619         (__STRCMP): Don't use BP_SYM.
18620         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18621         <bp-sym.h> and <bp-asm.h>.
18622         (strchr): Don't use BP_SYM.
18623         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18624         <bp-sym.h> and <bp-asm.h>.
18625         (__strchrnul): Don't use BP_SYM.
18626         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18627         <bp-sym.h> and <bp-asm.h>.
18628         (strlen): Don't use BP_SYM.
18629         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18630         <bp-sym.h> and <bp-asm.h>.
18631         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18632         pointers.
18633         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18634         <bp-sym.h> and <bp-asm.h>.
18635         (__strnlen): Don't use BP_SYM.
18636         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18637         <bp-sym.h> and <bp-asm.h>.
18638         (__GI__setjmp): Don't use BP_SYM.
18639         (_setjmp): Likewise.
18640         (__sigsetjmp): Likewise.
18641         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18642         (L(start_addresses)): Don't use BP_SYM.
18643         (_start): Likewise.
18644         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18645         <bp-asm.h>.
18646         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18647         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18648         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18649         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18650         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18651         <bp-asm.h>.
18652         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18653         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
18654         about bounded pointers.
18655         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18656         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18657         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18658         <bp-asm.h>.
18659         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
18660         about bounded pointers.  Remove GKM FIXME comments.
18661         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18662         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18663         <bp-asm.h>.
18664         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18665         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
18666         Remove GKM FIXME comments.
18667         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18668         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18669         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18670         <bp-asm.h>.
18671         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
18672         about bounded pointers.  Remove GKM FIXME comment.
18673         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18674         and <bp-asm.h>.
18675         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18676         pointers.
18677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18678         <bp-sym.h> and <bp-asm.h>.
18679         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18681         <bp-sym.h> and <bp-asm.h>.
18682         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
18683         comment.
18684
18685 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18686
18687         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18688         call free(NULL).
18689
18690 2013-03-05  David S. Miller  <davem@davemloft.net>
18691
18692         * po/es.po: Update from translation team.
18693
18694 2013-03-05  Andreas Jaeger  <aj@suse.de>
18695
18696         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18697         <bits/mman-linux.h>.
18698         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18699         is fine.
18700         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18701         <bits/mman-linux.h> to end of file.
18702         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18703         is fine.
18704         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18705         <bits/mman-linux.h> to end of file.
18706         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18707         is fine.
18708         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18709         <bits/mman-linux.h> to end of file.
18710
18711         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18712         (MCL_CURRENT, MCL_FUTURE): Define here.
18713
18714 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18715
18716         [BZ #15232]
18717         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18718         attribute_hidden.
18719         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18720
18721 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18722
18723         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18724         fourth parameter needed for rt_sigprocmask syscall.
18725         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18726         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18727         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18728         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18729         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18730         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18731
18732 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
18733
18734         [BZ #13550]
18735         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18736         comment about bounded pointers.
18737         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18738         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18739
18740 2013-03-04  Andreas Jaeger  <aj@suse.de>
18741
18742         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18743         common definitions.
18744
18745         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18746         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18747         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18748         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18749         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18750         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18751
18752 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18753
18754         [BZ #15055]
18755         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18756         __ieee754_sqrl instead of __sqrl.
18757
18758 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
18759
18760         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18761         * sysdeps/powerpc/fpu_control.h: ... here.
18762         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18763         * sysdeps/powerpc/bits/fenvinline.h: ... here.
18764         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18765         * sysdeps/powerpc/bits/mathinline.h: ... here.
18766
18767 2013-03-01  Roland McGrath  <roland@hack.frob.com>
18768
18769         * elf/dl-hwcaps.c (_dl_important_hwcaps):
18770         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18771         to just [NEED_DL_SYSINFO_DSO].
18772         * elf/dl-support.c: Likewise.
18773         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18774         * elf/rtld.c (dl_main): Likewise.
18775         * elf/setup-vdso.h (setup_vdso): Likewise.
18776         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18777         * sysdeps/unix/sysv/linux/dl-sysdep.c
18778         (_dl_discover_osversion): Likewise.
18779
18780 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
18781
18782         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18783         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18784
18785 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18786
18787         * NEWS: Mention libm performance improvements and non-x86 PI
18788         futex support.
18789
18790         * csu/libc-start.c (__pthread_initialize_minimal): Change
18791         function arguments.
18792         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18793
18794 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
18795
18796         [BZ #13550]
18797         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18798         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18799         <bp-sym.h> and <bp-asm.h>.
18800         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18801         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18802         and <bp-asm.h>.
18803         (memcpy): Don't use BP_SYM.
18804         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18805         <bp-asm.h>.
18806         (__mpn_add_n): Don't use BP_SYM.
18807         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18808         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18809         and <bp-asm.h>.
18810         (__mpn_addmul_1): Don't use BP_SYM.
18811         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18812         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18813         <bp-sym.h>.
18814         (_setjmp): Don't use BP_SYM.
18815         (__novmx_setjmp): Likewise.
18816         (__GI__setjmp): Likewise.
18817         (__vmx_setjmp): Likewise.
18818         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18819         <bp-sym.h>.
18820         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18821         (__bzero): Don't use BP_SYM.
18822         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18823         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18824         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18825         <bp-sym.h> and <bp-asm.h>.
18826         (memcpy): Don't use BP_SYM.
18827         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18828         <bp-sym.h> and <bp-asm.h>.
18829         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18830         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18831         <bp-sym.h> and <bp-asm.h>.
18832         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18833         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18834         <bp-asm.h>.
18835         (__mpn_lshift): Don't use BP_SYM.
18836         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18837         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18838         <bp-asm.h>.
18839         (memset): Don't use BP_SYM.
18840         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18841         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18842         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18843         <bp-asm.h>.
18844         (__mpn_mul_1): Don't use BP_SYM.
18845         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18846         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18847         <bp-sym.h> and <bp-asm.h>.
18848         (memcmp): Don't use BP_SYM.
18849         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18850         <bp-sym.h> and <bp-asm.h>.
18851         (memcpy): Don't use BP_SYM.
18852         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18853         <bp-sym.h> and <bp-asm.h>.
18854         (memset): Don't use BP_SYM.
18855         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18856         <bp-sym.h> and <bp-asm.h>.
18857         (strncmp): Don't use BP_SYM.
18858         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18859         <bp-sym.h> and <bp-asm.h>.
18860         (memcpy): Don't use BP_SYM.
18861         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18862         <bp-sym.h> and <bp-asm.h>.
18863         (memset): Don't use BP_SYM.
18864         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18865         <bp-sym.h> and <bp-asm.h>.
18866         (__memchr): Don't use BP_SYM.
18867         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18868         <bp-sym.h> and <bp-asm.h>.
18869         (memcmp): Don't use BP_SYM.
18870         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18871         <bp-sym.h> and <bp-asm.h>.
18872         (memcpy): Don't use BP_SYM.
18873         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18874         <bp-sym.h> and <bp-asm.h>.
18875         (__mempcpy): Don't use BP_SYM.
18876         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18877         <bp-sym.h> and <bp-asm.h>.
18878         (__memrchr): Don't use BP_SYM.
18879         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18880         <bp-sym.h> and <bp-asm.h>.
18881         (memset): Don't use BP_SYM.
18882         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18883         <bp-sym.h> and <bp-asm.h>.
18884         (__rawmemchr): Don't use BP_SYM.
18885         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18886         <bp-sym.h> and <bp-asm.h>.
18887         (__STRCMP): Don't use BP_SYM.
18888         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18889         <bp-sym.h> and <bp-asm.h>.
18890         (strchr): Don't use BP_SYM.
18891         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18892         <bp-sym.h> and <bp-asm.h>.
18893         (__strchrnul): Don't use BP_SYM.
18894         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18895         <bp-sym.h> and <bp-asm.h>.
18896         (strlen): Don't use BP_SYM.
18897         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18898         <bp-sym.h> and <bp-asm.h>.
18899         (strncmp): Don't use BP_SYM.
18900         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18901         <bp-sym.h> and <bp-asm.h>.
18902         (__strnlen): Don't use BP_SYM.
18903         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18904         <bp-asm.h>.
18905         (__mpn_rshift): Don't use BP_SYM.
18906         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18907         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18908         <bp-sym.h> and <bp-asm.h>.
18909         (__sigsetjmp): Don't use BP_SYM.
18910         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18911         (L(start_addresses)): Don't use BP_SYM.
18912         (_start): Likewise.
18913         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18914         <bp-asm.h>.
18915         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18916         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18917         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18918         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18919         <bp-asm.h>.
18920         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18921         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18922         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18923         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18924         <bp-asm.h>.
18925         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
18926         comments.
18927         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18928         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18929         <bp-asm.h>.
18930         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
18931         FIXME comments.
18932         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18933         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18934         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18935         <bp-asm.h>.
18936         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
18937         comment.
18938         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18939         and <bp-asm.h>.
18940         (strncmp): Don't use BP_SYM,
18941         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18942         <bp-asm.h>.
18943         (__mpn_sub_n): Don't use BP_SYM.
18944         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18945         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18946         and <bp-asm.h>.
18947         (__mpn_submul_1): Don't use BP_SYM.
18948         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18950         <bp-sym.h> and <bp-asm.h>.
18951         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18953         <bp-sym.h> and <bp-asm.h>.
18954         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
18955         comment.
18956
18957 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18958
18959         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18960         Use ZK to minimize writes to Z.
18961         (sub_magnitudes): Simplify code a bit.
18962         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18963         Use ZK to minimize writes to Z.
18964         (sub_magnitudes): Simplify code a bit.
18965
18966 2013-02-27  Roland McGrath  <roland@hack.frob.com>
18967
18968         * csu/gmon-start.c: Add special exception to license text.
18969
18970 2013-02-27  Richard Henderson  <rth@redhat.com>
18971
18972         * scripts/config.guess: Update from config.git.
18973         * scripts/config.sub: Likewise.
18974
18975 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18976
18977         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18978
18979         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18980
18981         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18982
18983         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18984
18985         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18986
18987 2013-02-26  Roland McGrath  <roland@hack.frob.com>
18988
18989         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18990         [$(build-shared = yes].
18991
18992 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18993
18994         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18995         (__mul): Reduce iterations for calculating mantissa.
18996
18997         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18998         MPTWO.
18999         (__mpranred): Likewise.
19000
19001         [BZ #15160]
19002         * malloc/memusagestat.c (main): Draw graphs for heap and stack
19003         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19004
19005 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
19006
19007         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19008         Define __attribute__.
19009
19010 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19011
19012         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19013         unused.
19014         * posix/regex_internal.h (__attribute): Remove.
19015         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19016         (re_string_context_at): Likewise.
19017         (bitset_not): Use __attribute__ and mark function as possibly
19018         unused.
19019         (bitset_merge): Likewise.
19020         (bitset_mask): Likewise.
19021         (re_string_char_size_at): Likewise.
19022         (re_string_wchar_at): Likewise.
19023         (re_string_elem_size_at): Likewise.
19024
19025 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19026
19027         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19028         code.
19029         (cc32): Likewise.
19030
19031         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19032         (__acr): Likewise.
19033         (__cpy): Likewise.
19034         (norm): Likewise.
19035         (denorm): Likewise.
19036         (__dbl_mp): Likewise.
19037         (add_magnitudes): Likewise.
19038         (sub_magnitudes): Likewise.
19039         (__mul): Likewise.
19040         (__inv): Likewise.
19041
19042         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19043         style.
19044
19045         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19046         style.
19047
19048         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19049         code.
19050
19051         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19052         up changes with default code.
19053         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19054         Likewise.
19055
19056 2013-02-24  Allan McRae  <allan@archlinux.org>
19057
19058         * manual/socket.texi (The Internet Namespace): Order menu items
19059         to match that in the file.
19060
19061         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19062         node listing of the info page menu.
19063
19064 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
19065
19066         [BZ #13550]
19067         * sysdeps/i386/bp-asm.h: Remove file.
19068         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19069         (PARMS): Do not use macros from bp-asm.h.
19070         (S1): Likewise.
19071         (S2): Likewise.
19072         (SIZE): Likewise.
19073         (__mpn_add_n): Do not use BP_SYM
19074         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19075         "bp-asm.h".
19076         (PARMS): Do not use macros from bp-asm.h.
19077         (S1): Likewise.
19078         (SIZE): Likewise.
19079         (__mpn_addmul_1): Do not use BP_SYM
19080         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19081         "bp-asm.h".
19082         (PARMS): Do not use macros from bp-asm.h.
19083         (SIGMSK): Likewise.
19084         (_setjmp): Likewise.  Do not use BP_SYM.
19085         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19086         "bp-asm.h".
19087         (PARMS): Do not use macros from bp-asm.h.
19088         (SIGMSK): Likewise.
19089         (setjmp): Likewise.  Do not use BP_SYM.
19090         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19091         "bp-asm.h".
19092         (PARMS): Do not use macros from bp-asm.h.
19093         (__frexp): Do not use BP_SYM.
19094         (frexp): Likewise.
19095         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19096         "bp-asm.h".
19097         (PARMS): Do not use macros from bp-asm.h.
19098         (__frexpf): Do not use BP_SYM.
19099         (frexpf): Likewise.
19100         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19101         "bp-asm.h".
19102         (PARMS): Do not use macros from bp-asm.h.
19103         (__frexpl): Do not use BP_SYM.
19104         (frexpl): Likewise.
19105         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19106         "bp-asm.h".
19107         (PARMS): Do not use macros from bp-asm.h.
19108         (__remquo): Do not use BP_SYM.
19109         (remquo): Likewise.
19110         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19111         "bp-asm.h".
19112         (PARMS): Do not use macros from bp-asm.h.
19113         (__remquof): Do not use BP_SYM.
19114         (remquof): Likewise.
19115         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19116         "bp-asm.h".
19117         (PARMS): Do not use macros from bp-asm.h.
19118         (__remquol): Do not use BP_SYM.
19119         (remquol): Likewise.
19120         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19121         "bp-asm.h".
19122         (PARMS): Do not use macros from bp-asm.h.
19123         (DEST): Likewise.
19124         (SRC): Likewise.
19125         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
19126         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19127         "bp-asm.h".
19128         (PARMS): Do not use macros from bp-asm.h.
19129         (strlen): Do not use BP_SYM.
19130         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19131         "bp-asm.h".
19132         (PARMS): Do not use macros from bp-asm.h.
19133         (S1): Likewise.
19134         (S2): Likewise.
19135         (SIZE): Likewise.
19136         (__mpn_add_n): Do not use BP_SYM.
19137         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19138         "bp-asm.h".
19139         (PARMS): Do not use macros from bp-asm.h.
19140         (S1): Likewise.
19141         (SIZE): Likewise.
19142         (__mpn_addmul_1): Do not use BP_SYM.
19143         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19144         weak_alias.
19145         (bzero): Likewise.
19146         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19147         "bp-asm.h".
19148         (PARMS): Do not use macros from bp-asm.h.
19149         (S): Likewise.
19150         (SIZE): Likewise.
19151         (__mpn_lshift): Do not use BP_SYM.
19152         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19153         "bp-asm.h".
19154         (PARMS): Do not use macros from bp-asm.h.
19155         (DEST): Likewise.
19156         (SRC): Likewise.
19157         (LEN): Likewise.
19158         (memcpy): Likewise.  Do not use BP_SYM.
19159         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19160         libc_hidden_def and weak_alias.
19161         (mempcpy): Do not use BP_SYM in weak_alias.
19162         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19163         "bp-asm.h".
19164         (PARMS): Do not use macros from bp-asm.h.
19165         (DEST): Likewise.
19166         (LEN): Likewise.
19167         [!BZERO_P] (CHR): Likewise.
19168         (memset): Likewise.  Do not use BP_SYM.
19169         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19170         "bp-asm.h".
19171         (PARMS): Do not use macros from bp-asm.h.
19172         (S1): Likewise.
19173         (SIZE): Likewise.
19174         (__mpn_mul_1): Do not use BP_SYM.
19175         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19176         "bp-asm.h".
19177         (PARMS): Do not use macros from bp-asm.h.
19178         (S): Likewise.
19179         (SIZE): Likewise.
19180         (__mpn_rshift): Do not use BP_SYM.
19181         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19182         "bp-asm.h".
19183         (PARMS): Do not use macros from bp-asm.h.
19184         (STR): Likewise.
19185         (CHR): Likewise.
19186         (strchr): Likewise.  Do not use BP_SYM.
19187         (index): Do not use BP_SYM in weak_alias.
19188         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19189         "bp-asm.h".
19190         (PARMS): Do not use macros from bp-asm.h.
19191         (DEST): Likewise.
19192         (SRC): Likewise.
19193         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
19194         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19195         "bp-asm.h".
19196         (PARMS): Do not use macros from bp-asm.h.
19197         (strlen): Do not use BP_SYM.
19198         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19199         "bp-asm.h".
19200         (PARMS): Do not use macros from bp-asm.h.
19201         (S1): Likewise.
19202         (S2): Likewise.
19203         (SIZE): Likewise.
19204         (__mpn_sub_n): Do not use BP_SYM.
19205         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19206         "bp-asm.h".
19207         (PARMS): Do not use macros from bp-asm.h.
19208         (S1): Likewise.
19209         (SIZE): Likewise.
19210         (__mpn_submul_1): Do not use BP_SYM.
19211         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19212         "bp-asm.h".
19213         (PARMS): Do not use macros from bp-asm.h.
19214         (S1): Likewise.
19215         (S2): Likewise.
19216         (SIZE): Likewise.
19217         (__mpn_add_n): Do not use BP_SYM.
19218         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19219         weak_alias.
19220         (bzero): Likewise.
19221         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19222         "bp-asm.h".
19223         (PARMS): Do not use macros from bp-asm.h.
19224         (BLK2): Likewise.
19225         (LEN): Likewise.
19226         (memcmp): Do not use BP_SYM.
19227         (bcmp): Do not use BP_SYM in weak_alias.
19228         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19229         "bp-asm.h".
19230         (PARMS): Do not use macros from bp-asm.h.
19231         (DEST): Likewise.
19232         (SRC): Likewise.
19233         (LEN): Likewise.
19234         (memcpy): Likewise.  Do not use BP_SYM.
19235         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19236         "bp-asm.h".
19237         (PARMS): Do not use macros from bp-asm.h.
19238         (DEST): Likewise.
19239         (SRC): Likewise.
19240         (LEN): Likewise.
19241         (memmove): Likewise.  Do not use BP_SYM.
19242         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19243         "bp-asm.h".
19244         (PARMS): Do not use macros from bp-asm.h.
19245         (DEST): Likewise.
19246         (SRC): Likewise.
19247         (LEN): Likewise.
19248         (__mempcpy): Likewise.  Do not use BP_SYM.
19249         (mempcpy): Do not use BP_SYM in weak_alias.
19250         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19251         "bp-asm.h".
19252         (PARMS): Do not use macros from bp-asm.h.
19253         (DEST): Likewise.
19254         (LEN): Likewise.
19255         [!BZERO_P] (CHR): Likewise.
19256         (memset): Likewise.  Do not use BP_SYM.
19257         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19258         "bp-asm.h".
19259         (PARMS): Do not use macros from bp-asm.h.
19260         (STR2): Likewise.
19261         (strcmp): Do not use BP_SYM.
19262         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19263         "bp-asm.h".
19264         (PARMS): Do not use macros from bp-asm.h.
19265         (STR): Likewise.
19266         (DELIM): Likewise.
19267         [USE_AS_STRTOK_R] (SAVE): Likewise.
19268         (FUNCTION): Likewise.  Do not use BP_SYM.
19269         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19270         aliases.
19271         (strtok_r): Likewise.
19272         (__GI___strtok_r): Likewise.
19273         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19274         (PARMS): Do not use macros from bp-asm.h.
19275         (S): Likewise.
19276         (SIZE): Likewise.
19277         (__mpn_lshift): Do not use BP_SYM.
19278         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19279         (PARMS): Do not use macros from bp-asm.h.
19280         (STR): Likewise.
19281         (CHR): Likewise.
19282         (__memchr): Do not use BP_SYM.
19283         (memchr): Do not use BP_SYM in weak_alias.
19284         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19285         (PARMS): Do not use macros from bp-asm.h.
19286         (BLK2): Likewise.
19287         (LEN): Likewise.
19288         (memcmp): Do not use BP_SYM.
19289         (bcmp): Do not use BP_SYM in weak_alias.
19290         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19291         (PARMS): Do not use macros from bp-asm.h.
19292         (S1): Likewise.
19293         (SIZE): Likewise.
19294         (__mpn_mul_1): Do not use BP_SYM.
19295         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19296         "bp-asm.h".
19297         (PARMS): Do not use macros from bp-asm.h.
19298         (STR): Likewise.
19299         (CHR): Likewise.
19300         (__rawmemchr): Do not use BP_SYM.
19301         (rawmemchr): Do not use BP_SYM in weak_alias.
19302         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19303         (PARMS): Do not use macros from bp-asm.h.
19304         (S): Likewise.
19305         (SIZE): Likewise.
19306         (__mpn_rshift): Do not use BP_SYM.
19307         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19308         (PARMS): Do not use macros from bp-asm.h.
19309         (SIGMSK): Likewise.
19310         (__sigsetjmp): Likewise.  Do not use BP_SYM.
19311         * sysdeps/i386/start.S: Do not include "bp-sym.h".
19312         (_start): Do not use BP_SYM.
19313         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19314         (PARMS): Do not use macros from bp-asm.h.
19315         (DEST): Likewise.
19316         (SRC): Likewise.
19317         (__stpcpy): Likewise.  Do not use BP_SYM.
19318         (stpcpy): Do not use BP_SYM in weak_alias.
19319         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19320         "bp-asm.h".
19321         (PARMS): Do not use macros from bp-asm.h.
19322         (DEST): Likewise.
19323         (SRC): Likewise.
19324         (LEN): Likewise.
19325         (__stpncpy): Likewise.  Do not use BP_SYM.
19326         (stpncpy): Do not use BP_SYM in weak_alias.
19327         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19328         (PARMS): Do not use macros from bp-asm.h.
19329         (STR): Likewise.
19330         (CHR): Likewise.
19331         (strchr): Likewise.  Do not use BP_SYM.
19332         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19333         "bp-asm.h".
19334         (PARMS): Do not use macros from bp-asm.h.
19335         (STR): Likewise.
19336         (CHR): Likewise.
19337         (__strchrnul): Likewise.  Do not use BP_SYM.
19338         (strchrnul): Do not use BP_SYM in weak_alias.
19339         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19340         "bp-asm.h".
19341         (PARMS): Do not use macros from bp-asm.h.
19342         (STOP): Likewise.
19343         (strcspn): Do not use BP_SYM.
19344         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19345         "bp-asm.h".
19346         (PARMS): Do not use macros from bp-asm.h.
19347         (STR): Likewise.
19348         (STOP): Likewise.
19349         (strpbrk): Likewise.  Do not use BP_SYM.
19350         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19351         "bp-asm.h".
19352         (PARMS): Do not use macros from bp-asm.h.
19353         (STR): Likewise.
19354         (CHR): Likewise.
19355         (strrchr): Likewise.  Do not use BP_SYM.
19356         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19357         (PARMS): Do not use macros from bp-asm.h.
19358         (SKIP): Likewise.
19359         (strspn): Do not use BP_SYM.
19360         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19361         (PARMS): Do not use macros from bp-asm.h.
19362         (STR): Likewise.
19363         (DELIM): Likewise.
19364         (SAVE): Likewise.
19365         (FUNCTION): Likewise.  Do not use BP_SYM.
19366         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19367         aliases.
19368         (strtok_r): Likewise.
19369         (__GI___strtok_r): Likewise.
19370         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19371         (PARMS): Do not use macros from bp-asm.h.
19372         (S1): Likewise.
19373         (S2): Likewise.
19374         (SIZE): Likewise.
19375         (__mpn_sub_n): Do not use BP_SYM.
19376         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19377         "bp-asm.h".
19378         (PARMS): Do not use macros from bp-asm.h.
19379         (S1): Likewise.
19380         (SIZE): Likewise.
19381         (__mpn_submul_1): Do not use BP_SYM.
19382         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19383         <bp-sym.h>.
19384         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19385         and <bp-asm.h>.
19386         (PARMS): Do not use macros from bp-asm.h.
19387         (FLAGS): Likewise.
19388         (PTID): Likewise.
19389         (TLS): Likewise.
19390         (CTID): Likewise.
19391         (__clone): Do not use BP_SYM.
19392         (clone): Do not use BP_SYM in weak_alias.
19393         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19394         and <bp-asm.h>.
19395         (PARMS): Do not use macros from bp-asm.h.
19396         (LEN): Likewise.
19397         (__mmap64): Do not use BP_SYM.
19398         (mmap64): Do not use BP_SYM in weak_alias.
19399         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19400         <bp-sym.h> and <bp-asm.h>.
19401         (PARMS): Do not use macros from bp-asm.h.
19402         (__posix_fadvise64_l64): Do not use BP_SYM.
19403         * sysdeps/unix/sysv/linux/i386/semtimedop.S
19404         (PARMS): Do not use macros from bp-asm.h.
19405         (NSOPS): Likewise.
19406         (semtimedop): Do not use BP_SYM.
19407         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19408         and <bp-asm.h>.
19409
19410 2013-02-21  Allan McRae  <allan@archlinux.org>
19411
19412         * manual/message.texi (Charset conversion in gettext):
19413         Move @end statement to beginning of line.
19414
19415 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19416
19417         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19418         static.
19419         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19420         Likewise.
19421
19422         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19423         (denorm): Likewise.
19424         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19425         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19426
19427 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19428
19429         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19430         tail-call to the resolved function if pltexit isn't needed.
19431
19432 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19433
19434         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19435         or Y being zero as being unlikely.
19436         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19437         Likewise.
19438
19439 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
19440
19441         * manual/nss.texi (System Databases and Name Service Switch):
19442         Remove frobnicate @pxref.
19443
19444 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
19445
19446         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19447         __attribute__ ((unused)) to __attribute__ ((__unused__)).
19448
19449 2013-02-20  Petr Machata  <pmachata@redhat.com>
19450
19451         * elf/elf.h (R_ARM_TARGET1): New macro.
19452         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19453         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19454         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19455         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19456         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19457         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19458         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19459         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19460         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19461         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19462         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19463         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19464         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19465         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19466         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19467         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19468         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19469         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19470         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19471         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19472         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19473         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19474         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19475         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19476         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19477         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19478         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19479         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19480         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19481         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19482         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19483         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19484         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19485         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19486         (R_ARM_THM_GOT_BREL12): Likewise.
19487         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19488         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19489         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19490         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19491         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19492         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19493         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19494         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19495         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19496
19497 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
19498
19499         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19500         __attribute_used__ to __attribute__ ((unused)).
19501
19502 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19503
19504         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19505         powerpc mpa.c.
19506         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19507         comment formatting.
19508         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19509
19510 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
19511
19512         [BZ #13550]
19513         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19514         Remove macro.
19515         (ENTER): Remove both macro definitions.
19516         (LEAVE): Likewise.
19517         (CHECK_BOUNDS_LOW): Likewise.
19518         (CHECK_BOUNDS_HIGH): Likewise.
19519         (CHECK_BOUNDS_BOTH): Likewise.
19520         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19521         (RETURN_BOUNDED_POINTER): Likewise.
19522         (RETURN_NULL_BOUNDED_POINTER): Likewise.
19523         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19524         (POP_ERRNO_LOCATION_RETURN): Likewise.
19525         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19526         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19527         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19528         macros.
19529         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19530         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19531         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19532         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19533         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19534         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19535         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19536         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19537         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19538         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19539         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19540         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19541         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19542         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19543         removed macros.
19544         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19545         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19546         macros.
19547         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19548         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19549         * sysdeps/i386/i586/memset.S (memset): Likewise.
19550         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19551         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19552         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19553         macros.
19554         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19555         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19556         Change uses of L(2) to L(out).
19557         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19558         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19559         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19560         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19561         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19562         removed macros.
19563         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19564         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19565         macros.
19566         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19567         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19568         (RETURN): Do not use macro LEAVE.
19569         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19570         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19571         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19572         * sysdeps/i386/i686/memset.S (memset): Likewise.
19573         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19574         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19575         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19576         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19577         Likewise.
19578         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19579         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
19580         L(1_2) and L(1_3) into L(1).
19581         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19582         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19583         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19584         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19585         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19586         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19587         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19588         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19589         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19590         macros.
19591         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19592         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19593         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19594         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19595         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19596         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19597         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19598         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19599         * sysdeps/i386/strcspn.S (strcspn): Likewise.
19600         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19601         * sysdeps/i386/strrchr.S (strrchr): Likewise.
19602         * sysdeps/i386/strspn.S (strspn): Likewise.
19603         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19604         conditional code.
19605         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19606         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19607         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19608         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
19609         L(1_3) into L(1_1).
19610         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19611         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19612         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19613         macros.
19614         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19615
19616 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
19617
19618         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19619         macro.
19620
19621 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19622
19623         * math/atest-exp.c (exp_mpn): Remove ROUND.
19624         * math/atest-exp2.c (exp_mpn): Likewise.
19625         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19626
19627         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19628         * stdlib/tst-tls-atexit-lib.c: Likewise.
19629         * stdlib/tst-tls-atexit.c: Likewise.
19630
19631 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19632
19633         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19634         and __attribute_alloc_size__.
19635
19636 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19637
19638         * include/programs/xmalloc.h: Change __attribute_alloc_size to
19639         __attribute_alloc_size__.
19640         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19641         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19642
19643 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19644
19645         * include/programs/xmalloc.h: New file.
19646         * catgets/gencat.c: Include it.
19647         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19648         * elf/pldd.c: Likewise.
19649         * iconv/iconv_charmap.c: Likewise.
19650         * iconv/iconvconfig.c: Likewise.
19651         * iconv/strtab.c: Likewise.
19652         * locale/programs/locale.c: Likewise.
19653         * locale/programs/localedef.h: Likewise.
19654         * locale/programs/simple-hash.c: Likewise.
19655         * nscd/nscd.h: Likewise.
19656         * nss/makedb.c: Likewise.
19657         * sysdeps/generic/ldconfig.h: Likewise.
19658
19659 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19660
19661         * Versions.def: Add GLIBC_2.18.
19662         * include/link.h (struct link_map): New member l_tls_dtor_count.
19663         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19664         (__call_tls_dtors): Likewise.
19665         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19666         __cxa_thread_atexit_impl.
19667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19668         Likewise.
19669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19670         Likewise.
19671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19672         Likewise.
19673         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19674         Likewise.
19675         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19677         Likewise.
19678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19679         Likewise.
19680         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19682         Likewise.
19683         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19684         (tests): Add test case tst-tls-atexit.
19685         (modules-names): Add shared library for tst-tls-atexit.
19686         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19687         (GLIBC_PRIVATE): Add __call_tls_dtors.
19688         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19689         for libstdc++.
19690         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19691         * stdlib/tst-tls-atexit.c: New test case.
19692         * stdlib/tst-tls-atexit-lib.c: New test case.
19693
19694         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19695
19696         * elf/Versions (ld): Add _dl_find_dso_for_object.
19697         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19698         * elf/dl-open.c (_dl_find_dso_for_object): New function.
19699         (dl_open_worker): Use _dl_find_dso_for_object.
19700         * elf/dl-sym.c (do_sym): Likewise.
19701         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19702
19703 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19704
19705         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19706         Syntactic changes only.
19707         (_dl_runtime_profile): Do a tail-call to the resolved function.
19708
19709 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
19710
19711         [BZ #13550]
19712         * sysdeps/x86_64/bp-asm.h: Remove file.
19713         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19714         <bp-sym.h> and <bp-asm.h>.
19715         (__clone): Do not use BP_SYM.
19716         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19717         <bp-sym.h> and <bp-asm.h>.
19718         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19719         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19720         "bp-asm.h".
19721         (_setjmp): Do not use BP_SYM.
19722         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19723         "bp-asm.h".
19724         (setjmp): Do not use BP_SYM.
19725         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19726         libc_hidden_def.
19727         (mempcpy): Do not use BP_SYM in weak_alias.
19728         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19729         "bp-asm.h".
19730         (strchr): Do not use BP_SYM.
19731         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19732         "bp-asm.h".
19733         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19734         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19735         (_start): Do not use BP_SYM.
19736         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19737         "bp-asm.h".
19738         (strcat): Do not use BP_SYM.
19739         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19740         "bp-asm.h".
19741         (STRCMP): Do not use BP_SYM.
19742         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19743         "bp-asm.h".
19744         (STRCPY): Do not use BP_SYM.
19745         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19746         "bp-asm.h".
19747         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19748         "bp-asm.h".
19749         (FUNCTION): Do not use BP_SYM.
19750         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19751         weak_alias.
19752         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19753
19754 2013-02-17  Andreas Jaeger  <aj@suse.de>
19755
19756         * time/Versions: Sort entries.
19757         * string/Versions: Likewise.
19758         * resolv/Versions: Likewise.
19759         * posix/Versions: Likewise.
19760         * iconv/Versions: Likewise.
19761         * elf/Versions: Likewise.
19762         * wcsmbs/Versions: Likewise.
19763
19764 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19765
19766         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19767         loop termination condition.
19768
19769         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19770         variable to calculate EZ.
19771         (__sqr): Likewise.
19772
19773         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19774         the lower precision input.
19775
19776 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
19777
19778         [BZ #13550]
19779         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19780         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19781         (run-via-rtld-prefix): Do not handle %-bp tests.
19782         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19783         (all-object-suffixes): Remove .ob.
19784         (bppfx): Remove variable.
19785         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19786         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19787         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19788         [$(build-bounded) = yes] (libtype.ob): Likewise.
19789         * Makerules (elide-routines.ob): Remove variable.
19790         (do-tests-clean): Do not handle *-bp.out.
19791         (common-mostlyclean): Do not handle *-bp and *-bp.out.
19792         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19793         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19794         (tests): Do not include $(tests-bp.out).
19795         (xtests): Do not include $(xtests-bp.out).
19796         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19797         [$(build-bounded) = yes] ($(addprefix
19798         $(objpfx),$(binaries-bounded))): Remove rule.
19799         ($(objpfx)%-bp.out): Remove rule.
19800         * config.make.in (build-bounded): Remove variable.
19801         * crypt/Makefile [$(build-bounded) = yes]
19802         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19803         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19804         append to variable.
19805         [$(build-bounded) = yes] (install-lib): Likewise.
19806         [$(build-bounded) = yes] (generated): Likewise.
19807         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19808         Remove rule.
19809         * intl/Makefile [$(build-bounded) = yes]
19810         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19811         * math/Makefile [$(build-bounded) = yes]
19812         ($(tests:%=$(objpfx)%-bp): Likewise.
19813         * misc/Makefile [$(build-bounded) = yes]
19814         ($(objpfx)tst-tsearch-bp): Likewise.
19815         * nptl/Makeconfig (bounded-thread-library): Remove variable.
19816         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19817         Remove dependency.
19818         * string/Makefile (o-objects.ob): Remove variable.
19819         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19820         (CFLAGS-.ob): Remove variable.
19821         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19822         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19823         both definitions of variable.
19824         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19825         (ASFLAGS-.ob): Remove variable.
19826
19827 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
19828
19829         [BZ #13550]
19830         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19831         Remove __BOUNDED_POINTERS__ from condition.
19832         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19833         * string/bits/string2.h [!__NO_STRING_INLINES &&
19834         !__BOUNDED_POINTERS__]: Likewise.
19835         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19836         Likewise.
19837         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19838         Remove conditional code.
19839         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19840         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19841         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19842         condition.
19843
19844         [BZ #13550]
19845         * csu/libc-start.c: Do not include <bp-sym.h>.
19846         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19847         * elf/dl-open.c: Do not include <bp-sym.h>.
19848         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19849         * math/fegetenv.c: Do not include <bp-sym.h>.
19850         (fegetenv): Do not use BP_SYM in versioned symbols.
19851         * nptl/sysdeps/pthread/bits/libc-lockP.h
19852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19853         <bp-sym.h>.
19854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19855         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19856         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19857         (__pthread_mutex_destroy): Likewise.
19858         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19859         (__pthread_mutex_lock): Likewise.
19860         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19861         (__pthread_mutex_trylock): Likewise.
19862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19863         (__pthread_mutex_unlock): Likewise.
19864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19865         (__pthread_mutexattr_init): Likewise.
19866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19867         (__pthread_mutexattr_destroy): Likewise.
19868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19869         (__pthread_mutexattr_settype): Likewise.
19870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19871         (__pthread_rwlock_init): Likewise.
19872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19873         (__pthread_rwlock_destroy): Likewise.
19874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19875         (__pthread_rwlock_rdlock): Likewise.
19876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19877         (__pthread_rwlock_tryrdlock): Likewise.
19878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19879         (__pthread_rwlock_wrlock): Likewise.
19880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19881         (__pthread_rwlock_trywrlock): Likewise.
19882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19883         (__pthread_rwlock_unlock): Likewise.
19884         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19885         (__pthread_key_create): Likewise.
19886         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19887         (__pthread_setspecific): Likewise.
19888         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19889         (__pthread_getspecific): Likewise.
19890         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19891         Likewise.
19892         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19893         (_pthread_cleanup_push_defer): Likewise.
19894         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19895         (_pthread_cleanup_pop_restore): Likewise.
19896         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19897         (pthread_setcancelstate): Likewise.
19898         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19899         <bp-sym.h>.
19900         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19901         (memchr): Do not use BP_SYM in weak_alias.
19902         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19903         (fegetenv): Do not use BP_SYM in versioned symbols.
19904         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19905         (fesetenv): Do not use BP_SYM in versioned symbols.
19906         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19907         (feupdateenv): Do not use BP_SYM in versioned symbols.
19908         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19909         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19910         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19911         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19912         (open64): Do not use BP_SYM in weak_alias.
19913         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19914         (fegetenv): Do not use BP_SYM in versioned symbols.
19915         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19916         (fesetenv): Do not use BP_SYM in versioned symbols.
19917         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19918         (feupdateenv): Do not use BP_SYM in versioned symbols.
19919         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19920         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19921         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19922         (feraiseexcept): Do not use BP_SYM in versioned symbols.
19923         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19924         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19925         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19926         <bp-sym.h>.
19927         (__libc_start_main): Do not use BP_SYM.
19928
19929 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19930
19931         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19932         redundant return line.
19933         (norm): Likewise.
19934         (denorm): Likewise.
19935         (dbl_mp): Likewise.
19936         (sub_magnitudes): Likewise.
19937         (__add): Likewise.
19938         (__sub): Likewise.
19939         (__mul): Likewise.
19940         (__inv): Likewise.
19941         (__dvd): Likewise.
19942         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19943         (norm): Likewise.
19944         (denorm): Likewise.
19945         (dbl_mp): Likewise.
19946         (sub_magnitudes): Likewise.
19947         (__add): Likewise.
19948         (__sub): Likewise.
19949         (__mul): Likewise.
19950         (__inv): Likewise.
19951         (__dvd): Likewise.
19952
19953         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19954         instead of __mul.
19955         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19956         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19957         (cc32): Likewise.
19958
19959         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19960         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19961         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19962         of __mul for squares.
19963         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19964         function
19965         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19966         Likewise.
19967         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19968         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19969
19970 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
19971
19972         [BZ #13550]
19973         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19974         code.
19975         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19976         prototype or function definition.  Rename ubp_* variables and
19977         parameters.  Remove argv definitions conditional on
19978         [__BOUNDED_POINTERS__].
19979         * debug/backtrace.c (__backtrace): Do not use __unbounded.
19980         * elf/dl-runtime.c (_dl_fixup): Likewise.
19981         * include/set-hooks.h (RUN_HOOK): Likewise.
19982         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19983         definition.
19984         * string/strcpy.c (strcpy): Do not use __unbounded.
19985         * sysdeps/generic/frame.h (struct layout): Likewise.
19986         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19987         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19988         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19989         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19990         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19991         (__backtrace): Likewise.
19992         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19993         use __ptrvalue.
19994         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19995         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19996         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19997         Likewise.
19998         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19999         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20000         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20001         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20002         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20003         Do not use __unbounded.
20004         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20005         Rename __unboundedrlimits parameter to rlimits in prototype.
20006         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20007         Do not use __unbounded.
20008         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20009         not use __ptrvalue.
20010         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20011         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20012         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20013         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20014         __ptrvalue or __unbounded.
20015         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20016         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20017         use __unbounded.
20018         (__new_msgctl): Do not use __ptrvalue.
20019         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20020         __unbounded.
20021         (__libc_msgrcv): Do not use __ptrvalue.
20022         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20023         startup_info): Do not use __unbounded.
20024         (__libc_start_main): Likewise.  Rename ubp_* variables and
20025         parameters.  Remove argv definitions conditional on
20026         [__BOUNDED_POINTERS__].
20027         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20028         __ptrvalue.
20029         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20030         use __unbounded.
20031         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20032         or __ptrvalue.
20033         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20034         use __unbounded.
20035         (__new_shmctl): Do not use __ptrvalue.
20036         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20037         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20038         Likewise.
20039         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20040         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20041         (__libc_sigaction): Likewise.
20042         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20043         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20044         Likewise.
20045         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20046
20047 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
20048
20049         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
20050
20051         * string/mempcpy.c: Implement by calling memcpy.
20052
20053 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20054
20055         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20056
20057         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20058         evaluation.
20059
20060         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20061         values in the mantissa.
20062
20063         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20064         minimize writes to Z.
20065         (sub_magnitudes): Simplify code a bit.
20066
20067 2013-02-12  Roland McGrath  <roland@hack.frob.com>
20068
20069         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20070         from the message.  The linker prefixes all warnings with that already.
20071
20072 2013-02-12  Andreas Schwab  <schwab@suse.de>
20073
20074         [BZ #15078]
20075         * posix/regexec.c (extend_buffers): Add parameter min_len.
20076         (check_matching): Pass minimum needed length.
20077         (clean_state_log_if_needed): Likewise.
20078         (get_subexp): Likewise.
20079         * posix/Makefile (tests): Add bug-regex34.
20080         (bug-regex34-ENV): Define.
20081         * posix/bug-regex34.c: New file.
20082
20083         [BZ #11561]
20084         * posix/regcomp.c (parse_bracket_exp): When looking up collating
20085         elements compare against the byte sequence of it, not its name.
20086         * posix/Makefile (tests): Add bug-regex35.
20087         (bug-regex35-ENV): Define.
20088         * posix/bug-regex35.c: New file.
20089
20090 2013-02-11  Tom de Vries  <tom@codesourcery.com>
20091
20092         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
20093         comment.
20094         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20095         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20096         (CHECK_EOL): Add undef.
20097
20098 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
20099
20100         * bits/stdlib-bsearch.h: New file.
20101         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
20102         * stdlib/stdlib.h: Likewise.
20103
20104 2013-02-11  Roland McGrath  <roland@hack.frob.com>
20105
20106         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20107         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20108         declaration.
20109         * manual/search.texi (Array Search Function): Add missing const in
20110         lfind prototype.
20111         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20112         declaration to use rlim_t.
20113         (Basic Scheduling Functions): Remove erroneous const from
20114         sched_getparam prototype.  Remove erroneous * from
20115         sched_get_priority_max and sched_get_priority_min prototypes.
20116         (Resource Usage): Fix summary @comment on vtimes to refer to
20117         sys/vtimes.h rather than vtimes.h.
20118         Add missing *s in vtimes prototype.
20119         (Limits on Resources): Fix ulimit prototype to return long int.
20120         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20121         prototypes to use long int rather than double.
20122         (BSD Random): Fix initstate and setstate to use char *, not void *.
20123         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20124         prototype to make second argument 'struct aiocb64 *const[]'.
20125         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20126         (Status of AIO Operations): Remove erroneous const in aio_return and
20127         aio_return64 prototypes.
20128         (Synchronizing I/O): Fix sync prototype to return void.
20129         * manual/startup.texi (Suboptions): Remove an erroneous const in
20130         getsubopt prototype.
20131         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20132         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20133         use size_t rather than int.
20134         (Scanning All Users): Likewise for getpwent_r.
20135         (Setting Groups): Add missing const to setgroups prototype.
20136         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20137         * manual/socket.texi (Host Names): Fix gethostbyaddr and
20138         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20139         'const void *' rather than 'const char *'.
20140         (Host Address Functions): Likewise for inet_ntop.
20141         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20142         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20143         ssize_t for return value.
20144         (Sending Data): Likewise for send, sendto, sendmsg.
20145         (Socket Option Functions): Add a missing const in setsockopt prototype.
20146         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20147         use wchar_t for the argument.
20148         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20149         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20150         take no arguments.
20151         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20152         double/float/long double for second argument.
20153         Fix return types of significand, significandf, significandl.
20154         * manual/filesys.texi (Setting Permissions): Use mode_t for second
20155         argument in fchmod prototype.
20156         (File Owner): Use uid_t and gid_t in fchown prototype.
20157         (File Times): Add const to utimes, futimes, and lutimes prototypes.
20158         (Making Special Files): Use mode_t and dev_t in mknod prototype.
20159         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20160         use 'const struct dirent **' as argument types to CMP function pointer
20161         argument.
20162         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20163         (File Times): Fix summary magic @comment for struct utimbuf and utime
20164         to refer to utime.h, not time.h.
20165         * manual/string.texi (Argz Functions): Add missing const in
20166         argz_extract and argz_next prototypes.
20167         (Finding Tokens in a String): Likewise for basename.
20168         (String/Array Comparison): Fix typo in wcscasecmp prototype.
20169         (Copying and Concatenation): Fix typo in wmemmove prototype.
20170         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20171         (Signal Stack): Remove erroneous const in sigstack prototype.
20172         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20173         prototype.
20174         (Simple Calendar Time): Likewise for stime.
20175         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20176         prototype.
20177         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20178         say sys/sysctl.h instead.
20179         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20180         and vsyslog prototypes.
20181
20182 2013-02-11  Tom de Vries  <tom@codesourcery.com>
20183
20184         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20185         Remove.
20186
20187 2013-02-11  Roland McGrath  <roland@hack.frob.com>
20188
20189         * misc/sys/mman.h: Fix typo in mremap comment.
20190
20191 2013-02-08  Roland McGrath  <roland@hack.frob.com>
20192
20193         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20194         the '\0' terminator.
20195
20196 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
20197
20198         [BZ #13550]
20199         * debug/segfault.c: Don't include <bp-checks.h>.
20200         * sysdeps/generic/bp-checks.h: Remove file.
20201         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20202         (__GETDENTS): Don't use CHECK_N.
20203         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20204         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20205         (__getgroups): Don't use CHECK_N.
20206         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20207         (setgroups): Don't use CHECK_N.
20208         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20209         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20210         (__libc_msgrcv): Don't use CHECK_N.
20211         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20212         (__libc_msgsnd): Don't use CHECK_N.
20213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20214         <bp-checks.h>.
20215         (__libc_pread): Don't use CHECK_N.
20216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20217         include <bp-checks.h>.
20218         (__libc_pread64): Don't use CHECK_N.
20219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20220         include <bp-checks.h>.
20221         (__libc_pwrite): Don't use CHECK_N.
20222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20223         include <bp-checks.h>.
20224         (__libc_pwrite64): Don't use CHECK_N.
20225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20226         <bp-checks.h>.
20227         (__libc_pread): Don't use CHECK_N.
20228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20229         include <bp-checks.h>.
20230         (__libc_pread64): Don't use CHECK_N.
20231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20232         include <bp-checks.h>.
20233         (__libc_pwrite): Don't use CHECK_N.
20234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20235         include <bp-checks.h>.
20236         (__libc_pwrite64): Don't use CHECK_N.
20237         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20238         (do_pread): Don't use CHECK_N.
20239         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20240         (do_pread64): Don't use CHECK_N.
20241         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20242         (do_pwrite): Don't use CHECK_N.
20243         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20244         (do_pwrite64): Don't use CHECK_N.
20245         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20246         (__libc_readv): Don't use CHECK_N.
20247         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20248         (semop): Don't use CHECK_N.
20249         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20250         <bp-checks.h>.
20251         (semtimedop): Don't use CHECK_N.
20252         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20253         (__libc_pread): Don't use CHECK_N.
20254         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20255         <bp-checks.h>.
20256         (__libc_pread64): Don't use CHECK_N.
20257         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20258         <bp-checks.h>.
20259         (__libc_pwrite): Don't use CHECK_N.
20260         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20261         <bp-checks.h>.
20262         (__libc_pwrite64): Don't use CHECK_N.
20263         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20264         <bp-checks.h>.
20265         (__libc_msgrcv): Don't use CHECK_N.
20266         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20267         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
20268         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20269         (__libc_writev): Don't use CHECK_N.
20270
20271 2013-02-08  Roland McGrath  <roland@hack.frob.com>
20272
20273         * string/strcpy.c: Removed unused variable.
20274
20275         * Makeconfig (+sysdep-includes): Define with := rather than =.
20276         Use an existing include/ subdir of each sysdeps dir before it.
20277
20278 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
20279
20280         * nscd/connection.c (register_traced_file): Comment function.
20281         [HAVE_INOTIFY] (union __inev): Define.
20282         [HAVE_INOTIFY] (inotify_check_files): New function.
20283         [HAVE_INOTIFY] (clear_db_cache): Likewise.
20284         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20285         clear_db_cache.
20286         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20287
20288 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
20289
20290         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20291         loaded if not already and that a failure is permanent.
20292
20293 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
20294
20295         [BZ #15006]
20296         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20297         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20298
20299 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
20300
20301         [BZ #13550]
20302         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20303         (CHECK_1_NULL_OK): Likewise.
20304         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20305         (__fxstat): Do not use CHECK_1.
20306         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20307         <bp-checks.h>.
20308         (___fxstat64): Do not use CHECK_1.
20309         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20310         <bp-checks.h>.
20311         (__fxstatat): Do not use CHECK_1.
20312         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20313         <bp-checks.h>.
20314         (__fxstatat64): Do not use CHECK_1.
20315         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20316         <bp-checks.h>.
20317         (__fxstat): Do not use CHECK_1.
20318         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20319         <bp-checks.h>.
20320         (__fxstatat): Do not use CHECK_1.
20321         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20322         <bp-checks.h>.
20323         (__getresgid): Do not use CHECK_1.
20324         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20325         <bp-checks.h>.
20326         (__getresuid): Do not use CHECK_1.
20327         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20328         <bp-checks.h>.
20329         (__lxstat): Do not use CHECK_1.
20330         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20331         <bp-checks.h>.
20332         (__old_msgctl): Do not use CHECK_1.
20333         (__new_msgctl): Likewise.
20334         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20335         <bp-checks.h>.
20336         (__new_setrlimit): Do not use CHECK_1.
20337         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20338         <bp-checks.h>.
20339         (__old_shmctl): Do not use CHECK_1.
20340         (__new_shmctl): Likewise.
20341         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20342         <bp-checks.h>.
20343         (__xstat): Do not use CHECK_1.
20344         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20345         (__lxstat): Do not use CHECK_1.
20346         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20347         <bp-checks.h>.
20348         (___lxstat64): Do not use CHECK_1.
20349         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20350         (__old_msgctl): Do not use CHECK_1.
20351         (__new_msgctl): Likewise.
20352         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20353         <bp-checks.h>.
20354         (__gettimeofday): Do not use CHECK_1.
20355         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20356         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20357         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20358         <bp-checks.h>.
20359         (__gettimeofday): Do not use CHECK_1.
20360         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20361         (__old_shmctl): Do not use CHECK_1_NULL_OK.
20362         (__new_shmctl): Do not use CHECK_1.
20363         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20364         <bp-checks.h>.
20365         (do_sigtimedwait): Do not use CHECK_1.
20366         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20367         <bp-checks.h>.
20368         (do_sigwaitinfo): Do not use CHECK_1.
20369         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20370         <bp-checks.h>.
20371         (msgctl): Do not use CHECK_1.
20372         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20373         <bp-checks.h>.
20374         (shmctl): Do not use CHECK_1.
20375         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20376         (ustat): Do not use CHECK_1.
20377         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20378         <bp-checks.h>.
20379         (__fxstat): Do not use CHECK_1.
20380         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20381         <bp-checks.h>.
20382         (__fxstatat): Do not use CHECK_1.
20383         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20384         <bp-checks.h>.
20385         (__lxstat): Do not use CHECK_1.
20386         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20387         <bp-checks.h>.
20388         (__xstat): Do not use CHECK_1.
20389         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20390         (__xstat): Do not use CHECK_1.
20391         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20392         (___xstat64): Do not use CHECK_1.
20393
20394         [BZ #13550]
20395         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20396         definitions.
20397         (CHECK_BOUNDS_HIGH): Likewise.
20398         * string/strcpy.c: Do not include <bp-checks.h>.
20399         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20400
20401 2013-02-07  Roland McGrath  <roland@hack.frob.com>
20402
20403         * nscd/nscd-client.h (__nscd_drop_map_ref):
20404         Add __attribute__ ((unused)).
20405         * nis/nss-nisplus.h (niserr2nss): Likewise.
20406
20407         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20408         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20409
20410         * csu/libc-tls.c (init_static_tls, init_slotinfo):
20411         Remove inline keyword.
20412         * include/rounding-mode.h (round_away): Likewise.
20413         * libio/wfileops.c (adjust_wide_data): Likewise.
20414         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20415         (__m128i_strloadu_tolower): Likewise.
20416         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20417         (__m128i_strloadu_tolower): Likewise.
20418         * time/mktime.c (ydhms_diff): Likewise.
20419         * locale/elem-hash.h (elem_hash): Likewise.
20420         * locale/setlocale.c (setdata): Likewise.
20421         * posix/regex_internal.h (re_string_char_size_at): Likewise.
20422         (re_string_wchar_at): Likewise.
20423         (bitset_not, bitset_merge, bitset_mask): Likewise.
20424         [!(__GNUC__ > 3)] (inline): Remove macro.
20425         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20426         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20427         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20428         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20429         * string/memcmp.c (memcmp_bytes): Likewise.
20430         * locale/programs/locarchive.c (compute_hashval): Likewise.
20431         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20432         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20433         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20434         * nss/getent.c (print_rpc, print_protocols): Likewise.
20435         (print_passwd, print_group, print_aliases): Likewise.
20436         * nis/nss-nisplus.h (niserr2nss): Likewise.
20437         * nscd/connections.c (restart_p): Likewise.
20438         Change return type to bool.
20439
20440 2013-02-05  Roland McGrath  <roland@hack.frob.com>
20441
20442         * Makeconfig (all-Depend-files): Add existing
20443         $(sorted-subdirs:=/Depend) files.
20444         (all-subdirs): Remove nss.
20445         * sysdeps/unix/inet/Subdirs: Add it here instead.
20446         * hesiod/Depend: New file.
20447
20448         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20449         instead of calling alloca.
20450
20451         * io/lseek.c (__lseek): Rename to __libc_lseek.
20452         Define __lseek as an alias.
20453
20454         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20455
20456 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
20457
20458         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20459         else clause and remove check for non-standard endianness.
20460
20461 2013-02-04  David S. Miller  <davem@davemloft.net>
20462
20463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20464
20465 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
20466
20467         [BZ #13550]
20468         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20469         (__ubp_memchr): Remove prototype.
20470         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20471         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20472         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20473         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20474         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20475         Remove alias.
20476         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20477         (__ubp_memchr): Likewise.
20478         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20479         (__ubp_memchr): Likewise.
20480         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20481         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20482         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20483         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20484         CHECK_STRING.
20485         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20486         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20487         (__getcwd): Do not use CHECK_STRING.
20488         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20489         <bp-checks.h>.
20490         (__real_chown): Do not use CHECK_STRING.
20491         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20492         <bp-checks.h>.
20493         (fchownat): Do not use CHECK_STRING.
20494         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20495         CHECK_STRING.
20496         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20497         <bp-checks.h>.
20498         (__lchown): Do not use CHECK_STRING.
20499         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20500         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20501         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20502         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20504         include <bp-checks.h>.
20505         (truncate64): Do not use CHECK_STRING.
20506         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20507         <bp-checks.h>.
20508         (__real_chown): Do not use CHECK_STRING.
20509         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20510         <bp-checks.h>.
20511         (__lchown): Do not use CHECK_STRING.
20512         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20513         <bp-checks.h>.
20514         (__chown): Do not use CHECK_STRING.
20515         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20516         <bp-checks.h>.
20517         (truncate64): Do not use CHECK_STRING.
20518         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20519         Likewise.
20520         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20521         (__xmknod): Do not use CHECK_STRING.
20522         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20523         <bp-checks.h>.
20524         (__xmknodat): Do not use CHECK_STRING.
20525         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20526         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20527
20528 2013-02-04  Andreas Schwab  <schwab@suse.de>
20529
20530         [BZ #14142]
20531         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20532         * include/netdb.h: Likewise for h_errno.
20533         * elf/tst-stackguard1.c: Include <tls.h>.
20534
20535 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
20536
20537         * elf/link.h (struct link_map): Extend the l_addr comment.
20538         * include/link.h (struct link_map): Likewise.
20539
20540 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
20541
20542         [BZ #13550]
20543         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20544         (BOUNDED_1): Remove macro.
20545         * debug/backtrace.c: Don't include <bp-checks.h>.
20546         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20547         (__backtrace): Likewise.
20548         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20549         <bp-checks.h>.
20550         (__backtrace): Don't use BOUNDED_1.
20551         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20552         <bp-checks.h>.
20553         (__backtrace): Don't use BOUNDED_1.
20554         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20555         (__backtrace): Don't use BOUNDED_1.
20556         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20557         (shmat): Don't use BOUNDED_N.
20558
20559 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
20560
20561         [BZ #13550]
20562         * sysdeps/generic/bp-start.h: Remove file.
20563         * csu/libc-start.c: Don't include <bp-start.h>.
20564         (LIBC_START_MAIN): Set up __environ directly instead of using
20565         INIT_ARGV_and_ENVIRON.
20566         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20567         <bp-start.h>.
20568
20569         [BZ #13550]
20570         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20571         definitions.
20572         (CHECK_FCNTL): Likewise.
20573         (CHECK_N_PAGES): Likewise.
20574
20575         [BZ #13550]
20576         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20577         definitions.
20578         (CHECK_SIGSET_NULL_OK): Likewise.
20579         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20580         <bp-checks.h>.
20581         (sigpending): Don't use CHECK_SIGSET.
20582         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20583         <bp-checks.h>.
20584         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20585         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20586         <bp-checks.h>.
20587         (do_sigsuspend): Don't use CHECK_SIGSET.
20588         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20589         use CHECK_SIGSET.
20590         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20591         (do_sigwait): Don't use CHECK_SIGSET.
20592         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20593         use CHECK_SIGSET.
20594         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20595         include <bp-checks.h>.
20596         (sigpending): Don't use CHECK_SIGSET.
20597         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20598         include <bp-checks.h>.
20599         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20600         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20601         <bp-checks.h>.
20602         (sigpending): Don't use CHECK_SIGSET.
20603         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20604         <bp-checks.h>.
20605         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20606
20607         [BZ #13550]
20608         * sysdeps/generic/bp-semctl.h: Remove file.
20609         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20610         <bp-checks.h> and <bp-semctl.h>.
20611         (__old_semctl): Don't use CHECK_SEMCTL.
20612         (__new_semctl): Likewise.
20613         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20614         and <bp-semctl.h>.
20615         (__old_semctl): Don't use CHECK_SEMCTL.
20616         (__new_semctl): Likewise.
20617         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20618         <bp-checks.h> and <bp-semctl.h>.
20619         (__old_semctl): Don't use CHECK_SEMCTL.
20620         (__new_semctl): Likewise.
20621         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20622         <bp-checks.h> and <bp-semctl.h>.
20623         (semctl): Don't use CHECK_SEMCTL.
20624
20625         [BZ #13550]
20626         * Makerules (elide-bp-thunks): Remove variable.
20627         (elide-routines.oS): Don't use $(elide-bp-thunks).
20628         (elide-routines.os): Likewise.
20629         (elide-routines.o): Likewise.
20630         (elide-routines.op): Likewise.
20631         (elide-routines.og): Likewise.
20632         (objects): Don't use $(bp-thunks).
20633         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20634         include.
20635         (common-generated): Do not add s-proto-bp.d.
20636         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20637         (int): Likewise.
20638         (typ): Likewise.
20639         Do not generate makefile rules for bounded-pointer thunks.
20640         * sysdeps/generic/bp-thunks.h: Remove file.
20641         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20642         * sysdeps/unix/s-proto-bp.S: Likewise.
20643
20644         [BZ #15062]
20645         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20646         parts of result separately when argument is not close to line from
20647         -i to i and one part of argument is small.
20648         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20649         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20650         * math/libm-test.inc (cacos_test): Add more tests.
20651         (casin_test): Likewise.
20652         (casinh_test): Likewise.
20653         * sysdeps/i386/fpu/libm-test-ulps: Update.
20654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20655
20656 2013-01-31  David S. Miller  <davem@davemloft.net>
20657
20658         * po/de.po: Update from translation team.
20659
20660 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
20661
20662         * time/tzfile.c: Include stdint.h for SIZE_MAX.
20663
20664 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
20665
20666         * configure.in (_AC_PROG_CC_C89): New definition.
20667         * configure: Regenerate.
20668
20669         * configure.in (AC_PROG_CPP): New definition.
20670         * configure: Regenerate.
20671
20672 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
20673
20674         * debug/tst-backtrace.h: New file.
20675         * debug/tst-backtrace2.c: Include tst-backtrace.h.
20676         (ret): Remove variable.
20677         (x): Likewise.
20678         (FAIL): Remove macro.
20679         (NO_INLINE): Likewise.
20680         (fn1): Use match function instead of strstr.
20681         * debug/tst-backtrace3.c: Include tst-backtrace.h.
20682         (ret): Remove variable.
20683         (x): Likewise.
20684         (FAIL): Remove macro.
20685         (NO_INLINE): Likewise.
20686         (fn): Use match function instead of strstr.
20687         * debug/tst-backtrace4.c: Include tst-backtrace.h.
20688         (ret): Remove variable.
20689         (x): Likewise.
20690         (FAIL): Remove macro.
20691         (NO_INLINE): Likewise.
20692         (handle_signal): Use match function instead of strstr.
20693         * debug/tst-backtrace5.c: Include tst-backtrace.h.
20694         (ret): Remove variable.
20695         (x): Likewise.
20696         (FAIL): Remove macro.
20697         (NO_INLINE): Likewise.
20698         (handle_signal): Use match function instead of strstr.
20699
20700 2013-01-23  Roland McGrath  <roland@hack.frob.com>
20701
20702         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20703
20704 2013-01-23  David S. Miller  <davem@davemloft.net>
20705
20706         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20707         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20708         argument of CAS if possible.
20709         * sysdeps/sparc/sparc64/bits/atomic.h
20710         (__arch_compare_and_exchange_val_32_acq): Likewise.
20711         (__arch_compare_and_exchange_val_64_acq): Likewise.
20712
20713 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
20714
20715         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20716         * sysdeps/posix/ulimit.c: ... this.
20717         Include <limits.h>.
20718         * sysdeps/unix/bsd/ulimit.c: Remove file.
20719
20720 2013-01-23  Adam Conrad  <adconrad@0c3.net>
20721
20722         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20723         (LDFLAGS-tst-array5): Likewise.
20724
20725 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
20726
20727         [BZ #15036]
20728         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20729         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20730         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20731         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20732
20733 2013-01-21  David S. Miller  <davem@davemloft.net>
20734
20735         * sysdeps/sparc/backtrace.c: New file.
20736         * sysdeps/sparc/sparc32/backtrace.h: New file.
20737         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20738         * sysdeps/sparc/sparc64/backtrace.h: New file.
20739         * sysdeps/sparc/sparc64/backtrace.c: Delete.
20740         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20741         -funwind-tables.
20742
20743 2013-01-21  Andreas Schwab  <schwab@suse.de>
20744
20745         [BZ #15020]
20746         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20747         closed its stdout.
20748
20749 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
20750
20751         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20752         "mpa2.h".
20753         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20754
20755 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
20756             Mark Mitchell  <mark@codesourcery.com>
20757             Tom de Vries  <tom@codesourcery.com>
20758             Paul Pluzhnikov  <ppluzhnikov@google.com>
20759
20760         * debug/tst-backtrace2.c: New file.
20761         * debug/tst-backtrace3.c: Likewise.
20762         * debug/tst-backtrace4.c: Likewise.
20763         * debug/tst-backtrace5.c: Likewise.
20764         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20765         (CFLAGS-tst-backtrace3.c): Likewise.
20766         (CFLAGS-tst-backtrace4.c): Likewise.
20767         (CFLAGS-tst-backtrace5.c): Likewise.
20768         (LDFLAGS-tst-backtrace2): Likewise.
20769         (LDFLAGS-tst-backtrace3): Likewise.
20770         (LDFLAGS-tst-backtrace4): Likewise.
20771         (LDFLAGS-tst-backtrace5): Likewise.
20772         (tests): Add new tests tst-backtrace2, tst-backtrace3,
20773         tst-backtrace4 and tst-backtrace5.
20774
20775 2013-01-18  Anton Blanchard  <anton@samba.org>
20776             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20777
20778         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20779         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20780         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20781         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20783         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20784         "+r" and remove output regs list as redundant.  Add explicit inline
20785         asm to specify register of return val to work around compiler codegen
20786         bug.  Remove (int) cast on return value.  Add return type parameter to
20787         use in macro so that this macro does not truncate return value for
20788         64-bit values.
20789         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20790         pass to INTERNAL_VSYSCALL_NCS.
20791         (INLINE_VSYSCALL): Add 'long int' as return type to
20792         INTERNAL_VSYSCALL_NCS macro invocation.
20793         (INTERNAL_VSYSCALL): Add 'long int' as return type to
20794         INTERNAL_VSYSCALL_NCS macro invocation.
20795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20796
20797 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20798
20799         [BZ #14496]
20800         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20801         Fix application of SIMD FP exception mask.
20802
20803         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20804         mp_no from a power of two.
20805         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20806         __mpexp_twomm1.  Use __pow_mp.
20807
20808         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20809         multiplication.
20810
20811 2013-01-17  David S. Miller  <davem@davemloft.net>
20812
20813         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20814
20815 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
20816
20817         [BZ #15023]
20818         * include/complex.h: Condition contents on [!_COMPLEX_H].
20819         (__kernel_casinhf): New prototype.
20820         (__kernel_casinh): Likewise.
20821         (__kernel_casinhl): Likewise.
20822         * math/Makefile (libm_calls): Add k_casinh.
20823         * math/k_casinh.c: New file.
20824         * math/k_casinhf.c: Likewise.
20825         * math/k_casinhl.c: Likewise.
20826         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20827         finite nonzero arguments.
20828         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20829         finite nonzero arguments.
20830         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20831         finite nonzero arguments.
20832         * math/s_casinh.c: Do not include <float.h>.
20833         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20834         * math/s_casinhf.c: Do not include <float.h>.
20835         (__casinhf): Move code for finite nonzero arguments to
20836         k_casinhf.c.
20837         * math/s_casinhl.c: Do not include <float.h>.
20838         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20839         redefine.
20840         (__casinhl): Move code for finite nonzero arguments to
20841         k_casinhl.c.
20842         * math/libm-test.inc (cacos_test): Add more tests.
20843         * sysdeps/i386/fpu/libm-test-ulps: Update.
20844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20845
20846 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
20847
20848         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20849         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20850         [!HAVE_MREMAP]: Remove [defined linux] case.
20851         * malloc/arena.c: Do not include <malloc-sysdep.h>.
20852
20853 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20854
20855         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20856
20857 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
20858
20859         * elf/elf.h (R_386_SIZE32): New relocation.
20860         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20861         R_386_SIZE32.
20862         (elf_machine_rela): Likewise.
20863         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20864         R_X86_64_SIZE64 and R_X86_64_SIZE32.
20865
20866 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
20867
20868         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20869         (FP_FAST_FMA): Do not define.
20870         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20871         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20872         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20873         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20874         !_SOFT_FLOAT]: Likewise.
20875         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20876         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20877         value.
20878         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20879         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20880         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20881         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20882         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20883         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20884         file.
20885
20886 2013-01-16  Andreas Schwab  <schwab@suse.de>
20887
20888         [BZ #14327]
20889         * include/stdlib.h (__mktemp): Add declaration.
20890         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20891         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20892
20893 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20894
20895         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20896         definitions.
20897         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20898         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20899         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20900         definitions here.
20901         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20902         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20903         definitions.
20904         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20905         and ONE.
20906         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20907         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20908         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20909         definitions.
20910         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20911         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20912         definitions.
20913         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20914
20915         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20916
20917 2013-01-15  David S. Miller  <davem@davemloft.net>
20918
20919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20920         trunc{,f} to libm-sysdep_routes.
20921         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20923         file.
20924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20926         file.
20927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20928         file.
20929         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20930         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20931         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20932         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20933         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20934         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20935         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20936         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20937
20938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20939         nearbyint{,f} to libm-sysdep_routes.
20940         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20942         New file.
20943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20944         file.
20945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20946         New file.
20947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20948         file.
20949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20951         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20952         file.
20953         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20954         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20955         file.
20956         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20957         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20958         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20959
20960         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20961         libc_feholdexcept and libc_fesetenv.
20962
20963 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
20964
20965         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20966
20967 2013-01-14  David S. Miller  <davem@davemloft.net>
20968
20969         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20970         (SPARC_ASM_VIS2_IFUNC): Likewise.
20971         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20973         use of 'siam' instruction.
20974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20975         Likewise.
20976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20977         Likewise.
20978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20979         Likewise.
20980         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20981         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20982         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20983         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20985         file.
20986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20987         file.
20988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20989         file.
20990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20991         file.
20992         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20993         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20994         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20995         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20997         new VIS2 routines.
20998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21001         Likewise.
21002         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21003         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21004         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21005         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21007         routines to libm-sysdep_routines.
21008         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21009
21010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21011         fdim/fdimf to libm-sysdep_routines.
21012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21013         file.
21014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21016         file.
21017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21020         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21021         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21022         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21023         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21024
21025 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21026
21027         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21028         to optimize copies.
21029
21030         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21031         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21032         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21033
21034         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21035         local variable MPTWO.
21036         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21037         Likewise.
21038
21039 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
21040
21041         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21042         GLOB_NOESCAPE.
21043
21044 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
21045
21046         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21047
21048 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
21049
21050         * manual/pattern.texi (glob_t): Document gl_flags.
21051         (glob64_t): Likewise.
21052
21053 2013-01-11  David S. Miller  <davem@davemloft.net>
21054
21055         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21056         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21057         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
21058         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21059         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21060         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21061         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21062         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21063         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21064         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21065         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21066         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21067         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21068
21069         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21070         sparc V9 rather than using V8 code.
21071         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21072         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21073
21074         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21075         Move to...
21076         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21077         Here.
21078
21079 2013-01-11  Roland McGrath  <roland@hack.frob.com>
21080
21081         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21082         not in the main loop.
21083         * configure: Regenerated.
21084
21085 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
21086
21087         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21088         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21089         to just #else.
21090         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
21091         [!__GLIBC_HAVE_LONG_LONG] case.
21092         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21093         condition to just #else.
21094         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21095         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21096         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21097         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21098         unconditional.
21099         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21100         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21101         #elif condition to just #else.
21102         * sysdeps/unix/sysv/linux/sys/sysmacros.h
21103         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21104         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21105         #elif condition to just #else.
21106
21107 2013-01-11  Steve Ellcey  <sellcey@mips.com>
21108
21109         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21110         (EF_MIPS_ARCH_64): Fix value.
21111         (EF_MIPS_ARCH_32R2): New.
21112         (EF_MIPS_ARCH_64R2): New.
21113
21114 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
21115
21116         * Makeconfig (+link-pie-before-libc): New.
21117         (+link-pie-after-libc): Likewise.
21118         (+link-pie-tests): Likewise.
21119         (+link-pie): Rewritten.
21120         (link-before-libc): Remove $(config-LDFLAGS).
21121         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21122         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21123         (config-LDFLAGS): Renamed to ...
21124         (rtld-LDFLAGS): This.
21125         (rtld-tests-LDFLAGS): New macro.
21126         (link-libc-rpath-link): Likewise.
21127         (link-libc-tests-rpath-link): Likewise.
21128         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21129         (link-libc): Prepand $(link-libc-rpath-link).
21130         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21131         (test-program-prefix): New macro.
21132         (test-via-rtld-prefix): Likewise.
21133         (test-program-cmd): Likewise.
21134         (host-test-program-cmd): Likewise.
21135         * Makefile ($(common-objpfx)testrun.sh): Replace
21136         $(run-program-prefix) with $(test-program-prefix).
21137         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21138         $(rtld-LDFLAGS).
21139         ($(common-objpfx)shlib.lds): Likewise.
21140         (build-module-helper): Likewise.
21141         ($(common-objpfx)format.lds): Likewise.
21142         * Rules (binaries-pie-tests): New.
21143         (binaries-pie-notests): Likewise.
21144         (binaries-pie): Rewritten.
21145         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21146         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21147         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21148         (make-test-out): Replace $(host-built-program-cmd) with
21149         $(host-test-program-cmd).
21150         * config.make.in (build-hardcoded-path-in-tests): New variable.
21151         * configure.in (--enable-hardcoded-path-in-tests): New configure
21152         option.
21153         (hardcoded_path_in_tests): New AC_SUBST.
21154         * configure: Regenerated.
21155         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21156         $(built-program-cmd) with $(test-program-cmd).
21157         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21158         (test_program_cmd): This.
21159         * elf/Makefile ($(objpfx)order.out): Run test with
21160         $(test-program-prefix).
21161         ($(objpfx)order2.out): Likewise.
21162         ($(objpfx)tst-initorder.out): Likewise.
21163         ($(objpfx)tst-initorder2.out): Likewise.
21164         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21165         $(test-program-cmd).
21166         ($(objpfx)tst-array1-static.out): Likewise.
21167         ($(objpfx)tst-array2.out): Likewise.
21168         ($(objpfx)tst-array3.out): Likewise.
21169         ($(objpfx)tst-array4.out): Likewise.
21170         ($(objpfx)tst-array5.out): Likewise.
21171         ($(objpfx)tst-array5-static.out): Likewise.
21172         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21173         $(test-program-cmd).
21174         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21175         $(run-program-prefix) with $(test-program-prefix).
21176         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21177         (test_program_prefix): This.
21178         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21179         $(run-program-prefix) with $(test-program-prefix).
21180         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21181         (test_program_prefix): This.
21182         * iconvdata/tst-tables.sh: Likewise.
21183         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21184         $(run-program-prefix) with $(test-program-prefix).
21185         ($(objpfx)tst-translit.out): Likewise.
21186         ($(objpfx)tst-gettext2.out): Likewise.
21187         ($(objpfx)tst-gettext4.out): Likewise.
21188         ($(objpfx)tst-gettext6.out): Likewise.
21189         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21190         (test_program_prefix): This.
21191         * intl/tst-gettext2.sh: Likewise.
21192         * intl/tst-gettext4.sh  Likewise.
21193         * intl/tst-gettext6.sh: Likewise.
21194         * intl/tst-translit.sh: Likewise.
21195         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21196         with $(test-program-cmd).
21197         * libio/Makefile ($(objpfx)test-freopen.out): Replace
21198         $(run-program-prefix) with $(test-program-prefix).
21199         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21200         (test_program_prefix): This.
21201         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21202         $(run-program-prefix) with $(test-program-prefix).
21203         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21204         (test_program_prefix): This.
21205         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21206         * posix/Makefile ($(objpfx)globtest.out): Replace
21207         $(run-via-rtld-prefix) and $(test-wrapper) with
21208         $(test-program-prefix) and $(test-via-rtld-prefix).
21209         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21210         $(test-program-prefix).
21211         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21212         $(host-test-program-cmd).
21213         (tst-spawn-ARGS): Likewise.
21214         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21215         $(test-program-prefix).
21216         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21217         (test_via_rtld_prefix): This.
21218         (test_wrapper): Renamed to ...
21219         (test_program_prefix): This.
21220         (run_program_prefix): Replaced by test_program_prefix.
21221         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21222         (test_program_prefix): This.
21223         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21224         with $(host-test-program-cmd).
21225         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21226         $(run-program-prefix) with $(test-program-prefix).
21227         ($(objpfx)tst-printf.out): Likewise.
21228         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21229         $(test-program-cmd).
21230         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21231         (test_program_prefix): This.
21232         * stdio-common/tst-unbputc.sh: Likewise.
21233         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21234         $(run-program-prefix) with $(test-program-prefix).
21235         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21236         (test_program_prefix): This.
21237         * string/Makefile ($(objpfx)tst-svc.out):  Replace
21238         $(built-program-cmd) with $(test-program-cmd).
21239
21240 2013-01-11  Andreas Jaeger  <aj@suse.de>
21241
21242         [BZ #15003]
21243         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21244         value. Sync with Linux 3.7.
21245
21246 2013-01-10  David S. Miller  <davem@davemloft.net>
21247
21248         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21249         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21250         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21251
21252 2013-01-10  Roland McGrath  <roland@hack.frob.com>
21253
21254         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21255         never set.
21256         * configure: Regenerated.
21257
21258 2013-01-10  David S. Miller  <davem@davemloft.net>
21259
21260         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21261         sparc V9 rather than using V8 code.
21262         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21263         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21264
21265 2013-01-10  Roland McGrath  <roland@hack.frob.com>
21266
21267         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21268         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21269         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21270         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21271         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21272         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21273         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21274         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21275         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21276         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21277         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21278         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21279         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21280         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21281         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21282         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21283         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21284         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21285         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21286         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21287         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21288         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21289         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21290         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21291         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21292         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21293         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21294
21295 2013-01-10  David S. Miller  <davem@davemloft.net>
21296
21297         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21298
21299 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
21300
21301         * posix/Makefile (tests-static): New variable.
21302         (tests): Add $(tests-static).
21303         (tst-exec-static-ARGS): New variable.
21304         (tst-spawn-static-ARGS): Likewise.
21305         * posix/tst-exec-static.c: New file.
21306         * posix/tst-spawn-static.c: Likewise.
21307         * posix/tst-exec.c: Support run directly.
21308         * posix/tst-spawn.c: Likewise.
21309
21310 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
21311
21312         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21313         long.
21314         * math/bits/mathcalls.h (llrint): Likewise.
21315         (llround): Likewise.
21316         * stdlib/stdlib.h (struct drand48_data): Likewise.
21317         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21318         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21319         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21320         Likewise.
21321         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21322         Likewise.
21323         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21324         (elf_greg_t): Likewise.
21325         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21326         (__jmp_buf): Likewise.
21327         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21328         definitions.
21329         (llrint): Likewise, for all definitions.
21330         (llrintl): Likewise.
21331
21332         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21333         Remove [__GNUC__] condition.
21334         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21335         condition to just [__USE_ISOC99].
21336         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21337
21338 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
21339
21340         [BZ #14200]
21341         * sysdeps/unix/sysv/linux/x86/bits/environments.h
21342         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21343         defined.
21344         (_POSIX_V6_ILP32_OFF32): Likewise.
21345         (_XBS5_ILP32_OFF32): Likewise.
21346         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21347         (__ILP32_OFFBIG_LDFLAGS): Likewise.
21348
21349 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21350
21351         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21352
21353         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21354         doubles __mpexp_twomm1.  Adjust usage.
21355         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21356         Remove.
21357
21358 2013-01-10  Andreas Schwab  <schwab@suse.de>
21359
21360         [BZ #14964]
21361         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21362         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21363
21364 2013-01-09  David S. Miller  <davem@davemloft.net>
21365
21366         [BZ #15003]
21367         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21368         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21369         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21370         (TCP_FASTOPEN): Define.
21371         (tcp_repair_opt): New structure.
21372         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21373         enum values.
21374         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21375         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21376         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
21377         (tcp_cookie_transactions): New structure.
21378
21379 2013-01-09  Anton Blanchard  <anton@samba.org>
21380
21381         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21382         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21383         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21384         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21385
21386 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
21387
21388         * include/features.h (__USE_ANSI): Remove.
21389
21390 2013-01-09  Roland McGrath  <roland@hack.frob.com>
21391
21392         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21393
21394         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21395
21396 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
21397
21398         * sysdeps/s390/fpu/libm-test-ulps: Update.
21399
21400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21401
21402         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21403         (__acr): Likewise.
21404         (__cpy): Likewise.
21405         (norm): Likewise.
21406         (denorm): Likewise.
21407         (__mp_dbl): Likewise.
21408         (__dbl_mp): Likewise.
21409         (add_magnitudes): Likewise.
21410         (sub_magnitudes): Likewise.
21411         (__add): Likewise.
21412         (__sub): Likewise.
21413         (__mul): Likewise.
21414         (__inv): Likewise.
21415         (__dvd): Likewise.
21416         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21417         (__acr): Likewise.
21418         (__cpy): Likewise.
21419         (norm): Likewise.
21420         (denorm): Likewise.
21421         (__mp_dbl): Likewise.
21422         (__dbl_mp): Likewise.
21423         (add_magnitudes): Likewise.
21424         (sub_magnitudes): Likewise.
21425         (__add): Likewise.
21426         (__sub): Likewise.
21427         (__mul): Likewise.
21428         (__inv): Likewise.
21429         (__dvd): Likewise.
21430         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21431         (__acr): Likewise.
21432         (__cpy): Likewise.
21433         (norm): Likewise.
21434         (denorm): Likewise.
21435         (__mp_dbl): Likewise.
21436         (__dbl_mp): Likewise.
21437         (add_magnitudes): Likewise.
21438         (sub_magnitudes): Likewise.
21439         (__add): Likewise.
21440         (__sub): Likewise.
21441         (__mul): Likewise.
21442         (__inv): Likewise.
21443         (__dvd): Likewise.
21444
21445 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
21446
21447         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21448         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21449         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21450         2 && __USE_EXTERN_INLINES]: Likewise.
21451
21452 2013-01-08  Andreas Jaeger  <aj@suse.de>
21453
21454         [BZ# 14985]
21455         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21456         Remove.
21457         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21458         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21459
21460 2013-01-07  Anton Blanchard  <anton@samba.org>
21461
21462         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21463         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21464         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21465         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21466         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21467         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21468         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21469         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21470         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21471         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21472         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21473         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21474         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21475         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21476         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21477         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21478         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21479         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21480         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21481         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21482         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21483         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21484         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21485         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21486         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21487         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21488         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21489         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21490         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21491         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21492         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21493         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21494         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21495         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21496         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21497         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21498         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21499         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21500         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21501         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21502         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21503         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21504         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21505
21506 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
21507
21508         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21509         (__MALLOC_PMT): Likewise.
21510         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21511         [__GNUC__], only on [_LIBC].
21512         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21513         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21514         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21515         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21516         forward declaration.
21517         (realloc_hook_ini): Likewise.
21518         (memalign_hook_ini): Likewise.
21519         (__libc_memalign): Do not use __MALLOC_PMT in variable
21520         declaration.
21521         (__libc_valloc): Likewise.
21522         (__libc_pvalloc): Likewise.
21523         (__libc_calloc): Likewise.
21524         (__posix_memalign): Likewise.
21525
21526         [BZ #14996]
21527         * math/s_casinh.c: Include <float.h>.
21528         (__casinh): Do not do computation with squaring and square root
21529         for large arguments.
21530         * math/s_casinhf.c: Include <float.h>.
21531         (__casinhf): Do not do computation with squaring and square root
21532         for large arguments.
21533         * math/s_casinhl.c: Include <float.h>.
21534         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21535         (__casinhl): Do not do computation with squaring and square root
21536         for large arguments.
21537         * math/libm-test.inc (casin_test): Add more tests.
21538         (casinh_test): Likewise.
21539         * sysdeps/i386/fpu/libm-test-ulps: Update.
21540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21541
21542 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
21543
21544         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21545         (__x86_64_raw_data_cache_size): Likewise.
21546         (__x86_64_data_cache_size_half): Likewise.
21547         (__x86_64_raw_data_cache_size_half): Likewise.
21548         (__x86_64_shared_cache_size): Likewise.
21549         (__x86_64_raw_shared_cache_size): Likewise.
21550         (__x86_64_shared_cache_size_half): Likewise.
21551         (__x86_64_raw_shared_cache_size_half): Likewise.
21552         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21553         to ...
21554         (__x86_data_cache_size): This.
21555         (__x86_64_raw_data_cache_size): Renamed to ...
21556         (__x86_raw_data_cache_size): This.
21557         (__x86_64_data_cache_size_half): Renamed to ...
21558         (__x86_data_cache_size_half): This.
21559         (__x86_64_raw_data_cache_size_half): Renamed to ...
21560         (__x86_raw_data_cache_size_half): This.
21561         (__x86_64_shared_cache_size): Renamed to ...
21562         (__x86_shared_cache_size): This.
21563         (__x86_64_raw_shared_cache_size): Renamed to ...
21564         (__x86_raw_shared_cache_size): This.
21565         (__x86_64_shared_cache_size_half): Renamed to ...
21566         (__x86_shared_cache_size_half): This.
21567         (__x86_64_raw_shared_cache_size_half): Renamed to ...
21568         (__x86_raw_shared_cache_size_half): This.
21569         * sysdeps/x86_64/memcpy.S: Updated.
21570         * sysdeps/x86_64/memset.S: Likewise.
21571         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21572         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21573         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21574
21575 2013-01-04  David S. Miller  <davem@davemloft.net>
21576
21577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21578
21579 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
21580
21581         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21582         1 to avoid redefinition warning.
21583         (__USE_GNU): Don't define.
21584         (init_signaling_nan): Protoize.
21585
21586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21587
21588 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21589
21590         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21591         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21592         (__cpymn): Likewise.
21593         (norm): Remove commented code.
21594         (denorm): Likewise.
21595         (__mp_dbl): Likewise.
21596         (__inv): Likewise.
21597         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21598         (__cpymn): Likewise.
21599         (norm): Remove commented code.
21600         (denorm): Likewise.
21601         (__mp_dbl): Likewise.
21602         (__inv): Likewise.
21603
21604         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21605         mp_no value for 1.0 and 2.0.
21606         (norm): Use RADIXI instead of radixi.d.
21607         (denorm): Likewise.
21608         (__mul): Use 0.0 instead of zero.d.
21609         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21610         mp_no value for 1.0 and 2.0.
21611         (norm): Use RADIXI instead of radixi.d.
21612         (denorm): Likewise.
21613         (__mul): Use 0.0 instead of zero.d.
21614
21615 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
21616
21617         [BZ #14994]
21618         * math/s_casinh.c (__casinh): Reduce finite argument to first
21619         quadrant then set signs of results at the end.
21620         * math/s_casinhf.c (__casinhf): Likewise.
21621         * math/s_casinhl.c (__casinhl): Likewise.
21622         * math/libm-test.inc (casin_test): Add more tests.
21623         (casinh_test): Likewise.
21624         * sysdeps/i386/fpu/libm-test-ulps: Update.
21625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21626
21627 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21628
21629         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21630
21631         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21632
21633         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21634         declarations.
21635         (denorm): Likewise.
21636         (__mp_dbl): Likewise.
21637         (__inv): Likewise.
21638
21639         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21640         and adjust the header comment.
21641
21642         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21643         variable name from declaration.
21644
21645 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
21646
21647         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21648         Initialize COMMON_CPUID_INDEX_7 element.
21649         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21650         (CPUID_RTM): Likewise.
21651         (HAS_RTM): Likewise.
21652         (COMMON_CPUID_INDEX_7): New enum.
21653
21654 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
21655
21656         [BZ #14981]
21657         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21658         size is zero, record memory as freed.
21659
21660 2013-01-03  Andreas Jaeger  <aj@suse.de>
21661
21662         * po/ia.po: Add new Interlingua translation.
21663
21664 2012-01-03  Allan McRae  <allan@archlinux.org>
21665
21666         * locale/programs/localedef.c: Fix description of '--posix' flag.
21667
21668 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
21669
21670         * NEWS: Update dates in second copyright notice.
21671         * README: Update copyright dates in example.
21672         * manual/libc.texinfo: Update copyright dates.
21673         * scripts/test-installation.pl: Update copyright date in --version
21674         output.
21675
21676         * hurd/ctty-input.c: Fix copyright notice formatting.
21677         * hurd/ctty-output.c: Likewise.
21678         * hurd/dtable.c: Likewise.
21679         * hurd/hurd-raise.c: Likewise.
21680         * hurd/hurdprio.c: Likewise.
21681         * hurd/msgportdemux.c: Likewise.
21682         * misc/sys/file.h: Likewise.
21683         * misc/sys/ioctl.h: Likewise.
21684         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21685         * sysdeps/mach/hurd/chdir.c: Likewise.
21686         * sysdeps/mach/hurd/fchdir.c: Likewise.
21687         * sysdeps/mach/hurd/rename.c: Likewise.
21688         * sysdeps/mach/hurd/rmdir.c: Likewise.
21689         * sysdeps/mach/hurd/seekdir.c: Likewise.
21690         * sysdeps/mach/hurd/setsid.c: Likewise.
21691         * sysdeps/posix/wait3.c: Likewise.
21692
21693         * All files with FSF copyright notices: Update copyright dates
21694         using scripts/update-copyrights.
21695         * intl/plural.c: Regenerated.
21696         * locale/programs/charmap-kw.h: Likewise.
21697         * locale/programs/locfile-kw.h: Likewise.
21698
21699 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21700
21701         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21702         four values.
21703
21704         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21705         calculation loop and add branch prediction.
21706
21707         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21708         check access beyond bounds of m1np.
21709
21710         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21711         MPTWO.
21712         (__inv): Remove local variable MPTWO to use the global
21713         constant.
21714         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21715         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21716         variable MPTWO.
21717         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21718         MP3HALFS static const.
21719
21720 2013-01-01  David S. Miller  <davem@davemloft.net>
21721
21722         * po/ca.po: Update from translation team.
21723
21724 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
21725
21726         * scripts/update-copyrights: New file.
21727         * Makeconfig: Reformat copyright notice.
21728         * ctype/ctype.h: Likewise.
21729         * debug/swprintf_chk.c: Likewise.
21730         * elf/dl-cache.c: Likewise.
21731         * elf/dl-debug.c: Likewise.
21732         * elf/dl-object.c: Likewise.
21733         * grp/initgroups.c: Likewise.
21734         * hurd/Makefile: Likewise.
21735         * hurd/hurd/signal.h: Likewise.
21736         * hurd/hurdfault.c: Likewise.
21737         * hurd/hurdioctl.c: Likewise.
21738         * hurd/hurdlookup.c: Likewise.
21739         * hurd/intr-msg.c: Likewise.
21740         * iconv/gconv_open.c: Likewise.
21741         * libio/swprintf.c: Likewise.
21742         * locale/lc-ctype.c: Likewise.
21743         * locale/nl_langinfo.c: Likewise.
21744         * mach/Machrules: Likewise.
21745         * mach/Makefile: Likewise.
21746         * malloc/obstack.h: Likewise.
21747         * manual/Makefile: Likewise.
21748         * manual/tsort.awk: Likewise.
21749         * misc/bits/stab.def: Likewise.
21750         * nis/nis_print_group_entry.c: Likewise.
21751         * nis/nis_table.c: Likewise.
21752         * nis/nss_compat/compat-pwd.c: Likewise.
21753         * nis/nss_compat/compat-spwd.c: Likewise.
21754         * po/Makefile: Likewise.
21755         * posix/fnmatch.c: Likewise.
21756         * posix/regex.h: Likewise.
21757         * resolv/Makefile: Likewise.
21758         * resolv/nss_dns/dns-network.c: Likewise.
21759         * resolv/res_hconf.c: Likewise.
21760         * scripts/gen-sorted.awk: Likewise.
21761         * soft-fp/soft-fp.h: Likewise.
21762         * stdio-common/printf.h: Likewise.
21763         * stdlib/monetary.h: Likewise.
21764         * stdlib/random.c: Likewise.
21765         * stdlib/random_r.c: Likewise.
21766         * sysdeps/generic/Makefile: Likewise.
21767         * sysdeps/gnu/Makefile: Likewise.
21768         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21769         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21770         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21771         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21772         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21773         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21774         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21775         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21776         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21777         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21778         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21779         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21780         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21781         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21782         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21783         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21784         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21785         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21786         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21787         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21788         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21789         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21790         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21791         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21792         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21793         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21794         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21795         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21796         * sysdeps/mach/hurd/errnos.awk: Likewise.
21797         * sysdeps/mach/hurd/fork.c: Likewise.
21798         * sysdeps/mach/hurd/getcwd.c: Likewise.
21799         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21800         * sysdeps/mach/hurd/mmap.c: Likewise.
21801         * sysdeps/mach/hurd/utimes.c: Likewise.
21802         * sysdeps/mach/hurd/xmknod.c: Likewise.
21803         * sysdeps/posix/profil.c: Likewise.
21804         * sysdeps/posix/readdir_r.c: Likewise.
21805         * sysdeps/powerpc/bits/mathdef.h: Likewise.
21806         * sysdeps/powerpc/bits/setjmp.h: Likewise.
21807         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21808         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21809         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21810         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21811         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21812         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21813         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21814         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21815         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21816         * sysdeps/pthread/lio_listio.c: Likewise.
21817         * sysdeps/sparc/dl-procinfo.h: Likewise.
21818         * sysdeps/unix/i386/sysdep.S: Likewise.
21819         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21820         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21821         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21822         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21824         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21825         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21826         * sysdeps/unix/sysv/linux/speed.c: Likewise.
21827         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21828         * sysdeps/wordsize-32/divdi3.c: Likewise.
21829         * time/sys/time.h: Likewise.
21830         * wcsmbs/Makefile: Likewise.
21831
21832 2013-01-01  David S. Miller  <davem@davemloft.net>
21833
21834         * po/fr.po: Update from translation team.
21835
21836         * catgets/gencat.c: Update copyright year.
21837         * csu/version.c: Likewise.
21838         * debug/catchsegv.sh: Likewise.
21839         * debug/pcprofiledump.c: Likewise.
21840         * debug/xtrace.sh: Likewise.
21841         * elf/ldconfig.c: Likewise.
21842         * elf/ldd.bash.in: Likewise.
21843         * elf/pldd.c: Likewise.
21844         * elf/sotruss.ksh: Likewise.
21845         * elf/sprof.c: Likewise.
21846         * iconv/iconv_prog.c: Likewise.
21847         * iconv/iconvconfig.c: Likewise.
21848         * locale/programs/locale.c: Likewise.
21849         * locale/programs/localedef.c: Likewise.
21850         * login/programs/pt_chown.c: Likewise.
21851         * malloc/memusage.sh: Likewise.
21852         * malloc/memusagestat.c: Likewise.
21853         * malloc/mtrace.pl: Likewise.
21854         * nscd/nscd.c: Likewise.
21855         * nss/getent.c: Likewise.
21856         * nss/makedb.c: Likewise.
21857         * posix/getconf.c: Likewise.
21858
21859 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21860
21861         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21862         numbers.
21863
21864 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
21865
21866         * math/bits/mathcalls.h (modf): Use __nonnull.
21867
21868 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21869
21870         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21871         (split): Use macro CN instead of the bare value.
21872         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21873         could be used.
21874         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21875         instead of the bare value.
21876         (power1): Likewise.
21877
21878 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21879
21880         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21881         __ATAN_TWOM.
21882         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21883
21884         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21885         their values.
21886         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21887         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21888         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21889         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21890
21891 2012-12-28  Andreas Jaeger  <aj@suse.de>
21892
21893         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
21894         values are from Linux 3.7.
21895
21896         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21897         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
21898
21899 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21900
21901         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21902         TRUE case.
21903
21904         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21905         (norm): Likewise.
21906         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21907         variables with preprocessor constants.
21908         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21909         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21910         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21911
21912 2012-12-27  Bruno Haible  <bruno@clisp.org>
21913
21914         [BZ #14317]
21915         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21916         only if needed.
21917
21918 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21919
21920         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21921         and use variable directly.
21922         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21923
21924         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21925         MPONE.
21926         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21927         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21928         variable MPONE.
21929         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21930         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21931         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21932         include directive.  Remove local variable MPONE.
21933         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21934         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21935         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21936
21937 2012-12-25  David S. Miller  <davem@davemloft.net>
21938
21939         * version.h (RELEASE): Set to "development".
21940         (VERSION): Set to "2.17.90".
21941         * NEWS: Add 2.18 section.
21942
21943 2012-12-21  David S. Miller  <davem@davemloft.net>
21944
21945         * po/hr.po: Update from translation team.
21946
21947 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21948
21949         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21950
21951 2012-12-19  Steve Ellcey  <sellcey@mips.com>
21952
21953         * NEWS:  Mention new memcpy for MIPS.
21954
21955 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21956
21957         * manual/contrib.texi (Contributors): Spelling correction.
21958
21959 2012-12-15  David S. Miller  <davem@davemloft.net>
21960
21961         * po/ru.po: Update from translation team.
21962
21963 2012-12-13  David S. Miller  <davem@davemloft.net>
21964
21965         * NEWS: Mention IFUNC testsuite enhancements.
21966
21967         * po/pl.po: Update from translation team.
21968         * po/bg.po: Likewise.
21969
21970         * manual/contrib.texi (Contributors): Update entries for Hongjiu
21971         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
21972
21973 2012-12-11  David S. Miller  <davem@davemloft.net>
21974
21975         * po/sv.po: Update from translation team.
21976
21977         * po/vi.po: Update from translation team.
21978
21979         * po/cs.po: Update from translation team.
21980
21981         * po/de.po: Update from translation team.
21982         * po/eo.po: Likewise.
21983         * po/nl.po: Likewise.
21984
21985 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21986
21987         [BZ #14246]
21988         * manual/argp.texi (Argp Helper Functions): Move node to follow
21989         Argp Parsing State.
21990
21991         [BZ #14872]
21992         * manual/conf.texi (Limits on File System Capacity): Mention if
21993         terminating null is included in the max size.
21994
21995 2012-12-10  Andreas Jaeger  <aj@suse.de>
21996
21997         * po/cs.po: Update from translation team.
21998
21999 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22000
22001         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22002         void pointer and cast to uintptr_t.
22003         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22004         path.
22005         * sysdeps/s390/s390-64/memcpy.S: Likewise.
22006         * sysdeps/s390/s390-64/memset.S: Likewise.
22007
22008 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
22009
22010         [BZ #14833]
22011         * menual/message.texi (Message Translation): Fix typos.
22012         (Helper programs for gettext): Likewise.
22013
22014 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
22015
22016         [BZ #14898]
22017         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22018         Change to -1.
22019
22020 2012-12-07  David S. Miller  <davem@davemloft.net>
22021
22022         * po/libc.pot: Update.
22023
22024 2012-12-07  Richard Henderson  <rth@redhat.com>
22025
22026         [BZ #10114]
22027         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22028         normal/normal case to before the switch.
22029         (_FP_DIV): Likewise.
22030
22031 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
22032             Mike Frysinger  <vapier@gentoo.org>
22033
22034         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22035         check for __NR_fadvise64_64.
22036
22037 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
22038
22039         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22040         0, not just to plain "0" as a statement.
22041         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22042         with cw.
22043
22044 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
22045
22046         * NEWS: Use sourceware.org in Bugzilla URL.
22047
22048 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22049
22050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22051         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22052
22053         * stdio-common/tst-put-error.c (do_test): Add newline to the
22054         padded test to ensure flush.
22055
22056 2012-12-05  Jeff Law  <law@redhat.com>
22057
22058         * sunrpc/etc.rpc (fedfs_admin): Add entry.
22059
22060 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
22061
22062         * README: Don't refer to ports add-on as distributed separately.
22063         Mention AArch64 in list of systems supported in the ports add-on.
22064
22065         * LICENSES: Add more non-FSF copyright and license notices.
22066
22067         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22068         ((unused)).
22069
22070         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22071
22072         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22073         10000 as width of padded output.
22074
22075 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
22076
22077         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22078
22079         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22080         variable LX with __attribute__ ((unused)).
22081         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22082         Likewise.
22083         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22084         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22085         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22086         with __attribute__ ((unused)).
22087
22088 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
22089
22090         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22091
22092 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
22093
22094         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22095         (CFLAGS-nldbl-acos.c): New variable.
22096         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22097         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22098         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22099         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22100         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22101         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22102         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22103         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22104         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22105         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22106         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22107         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22108         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22109         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22110         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22111         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22112         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22113         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22114         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22115         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22116         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22117         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22118         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22119         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22120         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22121         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22122         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22123         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22124         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22125         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22126         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22127         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22128         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22129         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22130         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22131         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22132         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22133         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22134         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22135         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22136         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22137         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22138         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22139         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22140         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22141         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22142         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22143         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22144         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22145         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22146         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22147         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22148         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22149         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22150         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22151         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22152         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22153         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22154         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22155         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22156         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22157         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22158         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22159         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22160         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22161         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22162         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22163         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22164         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22165         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22166         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22167         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22168         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22169         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22170         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22171         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22172         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22173         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22174         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22175         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22176         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22177         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22178         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22179         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22180         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22181         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22182         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22183         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22184         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22185         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22186         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22187         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22188         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22189         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22190         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22191         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22192         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22193
22194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22195         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22196
22197         [BZ #14914]
22198         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22199         whole low double instead of just low 47 bits when splitting values
22200         into two parts.
22201
22202 2012-12-03  Allan McRae  <allan@archlinux.org>
22203
22204         * manual/stdio.texi (Predefined Printf Handlers): Remove
22205         @hsep and @vsep usage.
22206
22207 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
22208
22209         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22210         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22211
22212 2012-12-03  Jeff Law  <law@redhat.com>
22213
22214         * time/sys/time.h (settimeofday): Do not mark TV argument
22215         as __nonnull.
22216
22217 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
22218
22219         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22220         when currently writing and seek to current position when not.
22221         * libio/Makefile (tests): Remove bug-fclose1.
22222         * libio/bug-fclose1.c: Delete.
22223
22224 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
22225
22226         * manual/arith.texi (feenableexcept): Fix typo.
22227         (fedisableexcept): Likewise.
22228
22229 2012-11-30  Roland McGrath  <roland@hack.frob.com>
22230
22231         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22232         second, differently-typed declaration, rather than a cast.
22233
22234 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22235
22236         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22237         * include/rpc/svc.h: ... here.
22238
22239 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
22240
22241         [BZ #13013]
22242         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22243         depending n and resplen2 to catch cases where answer
22244         equals answerp2.
22245
22246 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
22247
22248         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22249         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22250
22251 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
22252
22253         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22254
22255 2012-11-29  Roland McGrath  <roland@hack.frob.com>
22256
22257         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22258
22259 2012-11-28  Jeff Law  <law@redhat.com>
22260
22261         [BZ #13761]
22262         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22263         dataset_temporary.  Track alloca usage into alloca_used.
22264         If dataset is large allocate and release it via malloc/free.
22265
22266 2012-06-04  Florian Weimer  <fweimer@redhat.com>
22267
22268         [BZ #14197]
22269         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22270
22271 2012-11-28  David S. Miller  <davem@davemloft.net>
22272
22273         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22274
22275 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
22276
22277         [BZ #14803]
22278         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22279         of pi/2 rounded to nearest to 64 bits.
22280         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22281         nearest to 64 bits.
22282         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22283         bits.
22284
22285 2012-11-28  Jeff Law <law@redhat.com>
22286             Martin Osvald <mosvald@redhat.com>
22287
22288         [BZ #14889]
22289         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22290         * sunrpc/svc.c: Include time.h.
22291         (__svc_accept_failed): New function.
22292         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22293         any reason other than EINTR, call __svc_accept_failed.
22294         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22295         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22296
22297 2012-11-28  Andreas Schwab  <schwab@suse.de>
22298
22299         * scripts/abilist.awk: Also handle indirect functions in .opd
22300         section.
22301
22302 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
22303
22304         [BZ #13881]
22305         * sysdeps/x86/fpu/powl_helper.c: New file.
22306         * sysdeps/x86/fpu/Makefile: Likewise.
22307         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22308         (p3): New object.
22309         (__ieee754_powl): Use __powl_helper for finite arguments except
22310         integer exponents below 8.
22311         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22312         (p3): New object.
22313         (__ieee754_powl): Use __powl_helper for finite arguments except
22314         integer exponents below 8.
22315         * math/libm-test.inc (pow_test): Add more tests and enable some
22316         previously disabled tests.
22317         * sysdeps/i386/fpu/libm-test-ulps: Update.
22318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22319
22320 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22321             Carlos O'Donell  <carlos_odonell@mentor.com>
22322
22323         * nss/makedb.c (is_prime): Assert that input is odd and greater
22324         than 4.  Note that fact in a comment too.
22325         (next_prime): Add 4 to input.
22326
22327 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22328
22329         [BZ #11741]
22330         * libio/Makefile (tests): Add test case tst-fwrite-error.
22331         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22332         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22333         * libio/tst-fwrite-error.c: New test case.
22334
22335 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
22336
22337         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22338         before casting to void *.
22339         * include/libc-internal.h (__pointer_type): New macro.
22340         (__integer_if_pointer_type_sub): Likewise.
22341         (__integer_if_pointer_type): Likewise.
22342         (cast_to_integer): Likewise.
22343         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22344         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22345         before casting to atomic64_t.
22346         (atomic_exchange_acq): Likewise.
22347         (__arch_exchange_and_add_body): Likewise.
22348         (__arch_add_body): Likewise.
22349         (atomic_add_negative): Likewise.
22350         (atomic_add_zero): Likewise.
22351
22352 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
22353
22354         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22355         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22356         (add_fdes): Likewise.
22357         (linear_search_fdes): Likewise.
22358         (binary_search_unencoded_fdes): Likewise.
22359
22360 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
22361
22362         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22363
22364 2012-11-24  Adam Conrad  <adconrad@0c3.net>
22365
22366         * configure.in: Autodetect C++ header directories.
22367         * configure: Regenerated.
22368
22369 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
22370
22371         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22372
22373 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
22374
22375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22376
22377 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
22378
22379         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22380         LDBL_MANT_DIG == 106]: Disable some tests.
22381         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22382         Likewise.
22383         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22384         Likewise.
22385
22386         [BZ #14871]
22387         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22388         input for small inputs.  Return +/- pi/2 for large inputs.
22389         * math/libm-test.inc (atan_test): Add more tests.
22390
22391         * sysdeps/generic/unwind-dw2-fde-glibc.c
22392         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22393         __attribute__ ((unused)).
22394
22395         [BZ #14645]
22396         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22397         x * y if x and y are nonzero and z is zero.
22398
22399         [BZ #14811]
22400         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22401         nonzero exponents with absolute value below 0x1p-117 to +/-
22402         0x1p-117.
22403
22404         [BZ #14869]
22405         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22406         up arguments below 2**-450, not just those below 2**-500.
22407         * math/libm-test.inc (hypot_test): Add another test.
22408
22409         [BZ #14868]
22410         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22411         Return a+b for ratio over 2**120, not 2**60.
22412         * math/libm-test.inc (hypot_test): Add another test.
22413
22414         * math/libm-test.inc (clog_test): Use
22415         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22416         (clog10_test): Likewise.
22417
22418         [BZ #6778]
22419         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22420
22421 2012-11-22  Andreas Schwab  <schwab@suse.de>
22422
22423         * sysdeps/i386/fpu/libm-test-ulps: Update.
22424
22425 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
22426
22427         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22428         printf output with newline.
22429
22430 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
22431
22432         [BZ #14865]
22433         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22434         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22435         -z nodlopen, -z initfirst and -z execstack support.
22436         * configure: Regenerated.
22437
22438         * elf/elf.h (DF_1_NODIRECT): New macro.
22439         (DF_1_IGNMULDEF): Likewise.
22440         (DF_1_NOKSYMS): Likewise.
22441         (DF_1_NOHDR): Likewise.
22442         (DF_1_EDITED): Likewise.
22443         (DF_1_NORELOC): Likewise.
22444         (DF_1_SYMINTPOSE): Likewise.
22445         (DF_1_GLOBAUDIT): Likewise.
22446         (DF_1_SINGLETON): Likewise.
22447         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22448         DT_1_SUPPORTED_MASK bits.
22449         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22450
22451 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
22452
22453         * sysdeps/unix/make-syscalls.sh: Document prefixes.
22454
22455 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
22456
22457         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22458         macro.
22459
22460         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22461         (sendmmsg): Move declarations...
22462         * socket/sys/socket.h: ... here.
22463         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22464         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22465         include it from...
22466         * socket/recvmmsg.c: ... this new file.
22467         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22468         (sendmmsg): Rename to __sendmmsg, create weak alias and make
22469         definition of __sendmmsg hidden.
22470         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22471         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22472         Move ENOSYS stub into and include it from...
22473         * socket/sendmmsg.c: ... this new file.
22474         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22475         (sysdep_routines): Move recvmmsg and sendmmsg...
22476         * socket/Makefile (routines): ... here.
22477         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22478         (GLIBC_PRIVATE): Add __sendmmsg.
22479         * include/sys/socket.h (__sendmmsg): Add declarations.
22480         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22481         sendmmsg.
22482
22483 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
22484
22485         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22486         variable I1 with __attribute__ ((unused)).
22487         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22488
22489 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
22490
22491         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22492         DUMMY variables with __attribute__ ((unused)).
22493
22494         * bits/byteswap.h: Include <bits/types.h>.
22495         (__bswap_64): Use __uint64_t instead of unsigned long long int.
22496
22497 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
22498
22499         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22500         string_t.  Do not manually set errno.
22501         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22502         length with __strnlen.  Make sure to both set errno and return it on
22503         failure.
22504
22505 2012-11-19  David S. Miller  <davem@davemloft.net>
22506
22507         With help from Joseph Myers.
22508         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22509         very large arguments properly.
22510         * math/libm-test.inc (atan_test): New tests.
22511         (atan2_test): New tests.
22512         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22513         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22514
22515 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
22516
22517         [BZ #14856]
22518         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22519         Define to 3.
22520
22521         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22522         [POSIX] (EADDRNOTAVAIL): Likewise.
22523         [POSIX] (EAFNOSUPPORT): Likewise.
22524         [POSIX] (EALREADY): Likewise.
22525         [POSIX] (ECONNABORTED): Likewise.
22526         [POSIX] (ECONNREFUSED): Likewise.
22527         [POSIX] (ECONNRESET): Likewise.
22528         [POSIX] (EDESTADDRREQ): Likewise.
22529         [POSIX] (EDQUOT): Likewise.
22530         [POSIX] (EHOSTUNREACH): Likewise.
22531         [POSIX] (EIDRM): Likewise.
22532         [POSIX] (EISCONN): Likewise.
22533         [POSIX] (ELOOP): Likewise.
22534         [POSIX] (EMULTIHOP): Likewise.
22535         [POSIX] (ENETDOWN): Likewise.
22536         [POSIX] (ENETUNREACH): Likewise.
22537         [POSIX] (ENOBUFS): Likewise.
22538         [POSIX] (ENODATA): Likewise.
22539         [POSIX] (ENOLINK): Likewise.
22540         [POSIX] (ENOMSG): Likewise.
22541         [POSIX] (ENOPROTOOPT): Likewise.
22542         [POSIX] (ENOSR): Likewise.
22543         [POSIX] (ENOSTR): Likewise.
22544         [POSIX] (ENOTCONN): Likewise.
22545         [POSIX] (ENOTSOCK): Likewise.
22546         [POSIX] (EOPNOTSUPP): Likewise.
22547         [POSIX] (EOVERFLOW): Likewise.
22548         [POSIX] (EPROTO): Likewise.
22549         [POSIX] (EPROTONOSUPPORT): Likewise.
22550         [POSIX] (EPROTOTYPE): Likewise.
22551         [POSIX] (ESTALE): Likewise.
22552         [POSIX] (ETIME): Likewise.
22553         [POSIX] (ETXTBSY): Likewise.
22554         [POSIX] (EWOULDBLOCK): Likewise.
22555         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22556         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22557         [POSIX] (SEEK_CUR): Likewise.
22558         [POSIX] (SEEK_END): Likewise.
22559         [POSIX || UNIX98] (mode_t): Do not require.
22560         [POSIX] (off_t): Likewise.
22561         [POSIX] (pid_t): Likewise.
22562         [POSIX] (sys/stat.h): Do not allow header.
22563         [POSIX] (unistd.h): Likewise.
22564         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22565         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22566         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22567         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22568         require.
22569         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22570         sigevent): Specify elements.
22571         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22572         entry.
22573         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22574         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22575
22576         * conform/data/cpio.h-data [POSIX]: Disable whole file.
22577         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22578         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22579         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22580         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22581         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22582         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22583         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22584         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22585         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22586         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22587         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22588         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22589         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22590         Likewise.
22591         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22592         Likewise.
22593         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22594         Likewise.
22595         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22596         Likewise.
22597         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22598         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22599         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22600         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22601         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22602         Specify lower bound on value.
22603         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22604         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22605         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22606         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22607         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22608         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22609         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22610         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22611         value.
22612         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22613         as optional.
22614         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22615         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22616         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22617         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22618         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22619         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22620         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22621         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22622         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22623         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22624         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22625         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22626         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22627         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22628         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22629         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22630         entry.
22631         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22632         optional.
22633         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22634         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22635         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22636         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22637         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22638         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22639         Likewise.
22640         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22641         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22642         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22643         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22644         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
22645         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22646         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22647         as optional.
22648         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22649         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22650         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22651         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22652         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22653         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22654         specify as optional.
22655         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22656         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22657         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22658         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22659         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22660         [XPG3] (NL_LANGMAX): Likewise.
22661         [POSIX || XPG3] (NL_MSGMAX): Likewise.
22662         [POSIX || XPG3] (NL_NMAX): Likewise.
22663         [POSIX || XPG3] (NL_SETMAX): Likewise.
22664         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22665         [XPG3] (NZERO): Likewise.
22666         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22667         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22668         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22669         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22670         (REG_ERANGE): Expect.
22671         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22672         optional-constant.
22673         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22674         Use (void) in prototype.
22675         [POSIX] (*_t): Allow.
22676         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22677         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22678         (WRDE_BADVAL): Expect.
22679
22680         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22681         expect.
22682         [XPG3 || XPG4] (O_RSYNC): Likewise.
22683         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22684         Likewise.
22685         [XPG3 || XPG4] (pthread_sigmask): Likewise.
22686         [XPG3 || XPG4] (sigqueue): Likewise.
22687         [XPG3 || XPG4] (sigtimedwait): Likewise.
22688         [XPG3 || XPG4] (sigwaitinfo): Likewise.
22689         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22690         [XPG3 || XPG4] (vsnprintf): Likewise.
22691         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22692         Likewise.
22693         [XPG3 || XPG4] (blksize_t): Likewise.
22694         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22695         Likewise.
22696         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22697         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22698         [XPG3 || XPG4] (struct itimerspec): Likewise.
22699         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22700         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22701         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22702         [XPG3 || XPG4] (clockid_t): Likewise.
22703         [XPG3 || XPG4] (timer_t): Likewise.
22704         [XPG3 || XPG4] (clock_getres): Likewise.
22705         [XPG3 || XPG4] (clock_gettime): Likewise.
22706         [XPG3 || XPG4] (clock_settime): Likewise.
22707         [XPG3 || XPG4] (nanosleep): Likewise.
22708         [XPG3 || XPG4] (timer_create): Likewise.
22709         [XPG3 || XPG4] (timer_delete): Likewise.
22710         [XPG3 || XPG4] (timer_gettime): Likewise.
22711         [XPG3 || XPG4] (timer_getoverrun): Likewise.
22712         [XPG3 || XPG4] (timer_settime): Likewise.
22713         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22714         [XPG3 || XPG4] (getlogin_r): Likewise.
22715         [XPG3 || XPG4] (pread): Likewise.
22716         [XPG3 || XPG4] (pthread_atfork): Likewise.
22717         [XPG3 || XPG4] (pwrite): Likewise.
22718
22719         [BZ #14835]
22720         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22721         <bits/siginfo.h>.
22722
22723 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
22724
22725         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22726         finalizing MALLSTREAM.
22727
22728         * sysdeps/mach/hurd/syncfs.c: New file.
22729
22730 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22731
22732         [BZ #14719]
22733         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22734         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22735         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22736         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22737         (_nss_dns_gethostbyname4_r): Likewise.
22738         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22739         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22740
22741 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
22742
22743         [BZ #13763]
22744         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22745
22746 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
22747
22748         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22749         * elf/cache.c (print_entry): Print ",AArch64" for
22750         FLAG_AARCH64_LIB64
22751
22752         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22753         * elf/cache.c (print_entry): Print ",hard-float" for
22754         FLAG_ARM_LIBHF.
22755
22756 2012-11-18  David S. Miller  <davem@davemloft.net>
22757
22758         With help from Joseph Myers.
22759         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22760         cutoff to 2**-13.
22761         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22762         cutoff to 2**-25.
22763         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22764         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22765         small.
22766         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22767         * math/libm-test.inc (y0_test): New tests.
22768         (y1_test): New tests.
22769         * sysdeps/i386/fpu/libm-test-ulps: Update.
22770         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22771         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22772
22773 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
22774
22775         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22776         64-bit targets.
22777         * configure: Regenerated.
22778
22779 2012-11-17  David S. Miller  <davem@davemloft.net>
22780
22781         [BZ #14811]
22782         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22783         nonzero exponents with absolute value below 0x1p-128 to +/-
22784         0x1p-128.
22785
22786 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
22787
22788         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22789
22790         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22791
22792         * posix/getconf-speclist.c: New file.
22793         * posix/posix-envs.def: Likewise.
22794         * posix/confstr.c (START_ENV_GROUP): New macro.
22795         (END_ENV_GROUP): Likewise.
22796         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22797         (KNOWN_PRESENT_ENV_STRING): Likewise.
22798         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22799         (UNKNOWN_ENVIRONMENT): Likewise.
22800         (confstr): Include posix-envs.def instead of handling
22801         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22802         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22803         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22804         (END_ENV_GROUP): Likewise.
22805         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22806         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22807         (UNKNOWN_ENVIRONMENT): Likewise.
22808         (__sysconf): Include posix-envs.def instead of handling associated
22809         cases directly here.
22810         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22811         preprocessing getconf-speclist.c rather than running getconf or
22812         generating empty file.
22813
22814 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
22815
22816         * scripts/check-local-headers.sh: Ignore 'mach' headers.
22817
22818 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
22819
22820         [BZ #14672]
22821         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22822
22823 2012-11-16  David S. Miller  <davem@davemloft.net>
22824
22825         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22826         smaller than LDBL_EPSILON/2.0L, just return xm1.
22827
22828 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
22829
22830         * elf/tst-array1.c (init): Set constructor priority to 1000.
22831         (fini): Set destructor priority to 1000.
22832         * elf/tst-array2dep.c: Likewise.
22833
22834 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22835
22836         [BZ #11741]
22837         * libio/fileops.c (_IO_new_file_write): Correctly return error.
22838         (_IO_new_file_xsputn): Also return EOF if none of the input
22839         data was written when overflow failed.
22840         * libio/iopadn.c (_IO_padn): Likewise.
22841         * libio/iowpadn.c (_IO_wpadn): Likewise.
22842         * stdio-common/tst-put-error.c: Add copyright notice.
22843         (do_test): Add case for printing padded string.
22844         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22845         _IO_padn returned error.
22846         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22847         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22848         return EOF.
22849
22850 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22851
22852         * libio/libioP.h: Add comment note that the references to C++
22853         bits are now obsolete.
22854
22855 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22856
22857         * math/libm-test.inc (check_complex): Use asprintf.
22858
22859 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
22860
22861         * debug/pcprofiledump.c (print_version): Update copyright year.
22862         * malloc/memusagestat.c (print_version): Likewise.
22863
22864 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
22865
22866         [BZ #14831]
22867         * elf/Makefile (tests): Add tst-audit8.
22868         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22869         ($(objpfx)tst-audit8.out): New target.
22870         (tst-audit8-ENV): New variable.
22871         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22872         audit if l_reloc_result is NULL.
22873         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22874         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22875         * elf/tst-audit8.c: New file.
22876
22877 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22878
22879         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22880         * misc/Makefile (CFLAGS-select.c): Define.
22881         * posix/Makefile (CFLAGS-pause.c): Define.
22882
22883 2012-11-13  David S. Miller  <davem@davemloft.net>
22884
22885         * crypt/Makefile: Move test targets after toplevel Rules
22886         inclusion.  Grab any necessary sysdep routines when linking.
22887         * crypt/md5.c (md5_process_block): Remove define, we will always
22888         name it __md5_process_block.
22889         (md5_finish_ctx): Update md5_process_block call.
22890         (md5_stream): Likewise.
22891         (md5_process_bytes): Likewise.
22892         (md5_process_block): Rename to __md5_process_block and move to ...
22893         * crypt/md5-block.c: ... here.
22894         * crypt/sha256.c (sha256_process_block): Move to ...
22895         * crypt/sha256-block.c: ... here.
22896         * crypt/sha512.c (sha512_process_block): Move to ...
22897         * crypt/sha512-block.c: ... here.
22898         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22899         path.
22900         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22901         * sysdeps/sparc/sparc64/multiarch/Makefile
22902         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22903         crypt subdir.
22904         (localedef-aux): Add md5 crypto assembler when in locale subdir.
22905         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22906         multiarch changes.
22907         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22908         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22909         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22910         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22911         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22912         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22913         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22914         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22915         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22916         file.
22917         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22918         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22919         file.
22920         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22921
22922 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
22923
22924         * timezone/tzselect.ksh: Update from tzcode git revision
22925         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22926         * timezone/zdump.c: Likewise.
22927         * timezone/zic.c: Likewise.
22928         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22929         in TZVERSION setting, not $(PKGVERSION).
22930         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
22931         REPORT_BUGS_TO settings.
22932
22933         [BZ #14838]
22934         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22935         macro.
22936
22937 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22938
22939         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22940         detection to immediately after _FP_ROUND().
22941         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22942         bits are 0.
22943
22944 2012-11-11  David S. Miller  <davem@davemloft.net>
22945
22946         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22947         inttypes.h
22948         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22949         __close rather than their public counterparts.
22950
22951 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
22952
22953         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22954         file.
22955         [UNIX98] (sem_timedwait): Do not expect.
22956         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22957         [XPG4 || UNIX98] (sockatmark): Do not expect.
22958         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22959         (clock_getcpuclockid): Do not expect.
22960         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22961         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22962         Do not expect.
22963         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22964         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22965         [UNIX98] (vwscanf): Likewise.
22966         [UNIX98] (vswscanf): Likewise.
22967
22968 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
22969
22970         * timezone/version.h: Remove file.
22971         * timezone/README: Do not refer to version.h.
22972         * timezone/Makefile ($(objpfx)zic.o): New dependency on
22973         $(objpfx)version.h.
22974         ($(objpfx)zdump.o): Likewise.
22975         ($(objpfx)version.h): New target.
22976
22977         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22978         2012i.
22979         * timezone/README: Don't mention modification to tzselect.ksh.
22980         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22981         work on unmodified tzselect.ksh.  Substitute version numbers in
22982         tzselect.ksh.
22983
22984         * Makefile (format-me): Remove.
22985         (INSTALL): Adjust indentation.  Use commands directly instead of
22986         using $(format-me).
22987
22988         * aclocal.m4 (ACX_PKGVERSION): New macro.
22989         (ACX_BUGURL): Likewise.
22990         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22991         (PKGVERSION): New AC_DEFINE_UNQUOTED.
22992         (REPORT_BUGS_TO): Likewise.
22993         * configure: Regenerated.
22994         * config.h.in (PKGVERSION): New macro.
22995         (REPORT_BUGS_TO): Likewise.
22996         * config.make.in (PKGVERSION): New variable.
22997         (PKGVERSION_TEXI): Likewise.
22998         (REPORT_BUGS_TO): Likewise.
22999         (REPORT_BUGS_TEXI): Likewise.
23000         * Makefile (format-me): Use -I$(common-objpfx)manual.
23001         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23002         ($(common-objpfx)manual/%): New target.
23003         (manual/%): Remove target.
23004         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23005         (print_version): Use PKGVERSION.
23006         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23007         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23008         and REPORT_BUGS_TO.
23009         ($(objpfx)xtrace): Likewise.
23010         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23011         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23012         (print_version): Use PKGVERSION.
23013         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23014         (do_version): Use PKGVERSION.
23015         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23016         REPORT_BUGS_TO.
23017         (common-ldd-rewrite): Likewise.
23018         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23019         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23020         (print_version): Use PKGVERSION.
23021         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23022         * elf/pldd.c (argp_program_bug_address): Remove variable.
23023         (more_help): New function.
23024         (argp): Use more_help.
23025         (print_version): Use PKGVERSION.
23026         * elf/sln.c (main): Use PKGVERSION.
23027         (usage): Use REPORT_BUGS_TO.
23028         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23029         (top level): Use PKGVERSION.
23030         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23031         (print_version): Use PKGVERSION.
23032         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23033         (print_version): Use PKGVERSION.
23034         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23035         (print_version): Use PKGVERSION.
23036         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23037         (print_version): Use PKGVERSION.
23038         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23039         (print_version): Use PKGVERSION.
23040         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23041         (print_version): Use PKGVERSION.
23042         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23043         and BUGURL.
23044         ($(objpfx)memusage): Likewise.
23045         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23046         (do_version): Use PKGVERSION.
23047         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23048         (print_version): Use PKGVERSION.
23049         * malloc/mtrace.pl ($PACKAGE): Remove variable.
23050         ($PKGVERSION): New variable.
23051         ($REPORT_BUGS_TO): Likewise.
23052         (usage): Use $REPORT_BUGS_TO.
23053         (top level): Use $PKGVERSION.
23054         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23055         ($(objpfx)pkgvers.texi): New rule.
23056         ($(objpfx)stamp-pkgvers): Likewise.
23057         * manual/install.texi: Include pkgvers.texi.
23058         (--with-pkgversion): Document new configure option.
23059         (--with-bugurl): Likewise.
23060         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23061         than necessarily for this particular distribution.  Use
23062         REPORT_BUGS_TO for where to report bugs.
23063         * INSTALL: Regenerated.
23064         * manual/libc.texinfo: Include pkgvers.texi.
23065         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23066         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23067         (print_version): Use PKGVERSION.
23068         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23069         (print_version): Use PKGVERSION.
23070         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23071         (print_version): Use PKGVERSION.
23072         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23073         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23074         macro.
23075         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23076         (print_version): Use PKGVERSION.
23077         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23078         (print_version): Use PKGVERSION.
23079         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23080         and PKGVERSION.
23081
23082         * timezone/checktab.awk: Update from tzcode 2012i.
23083         * timezone/ialloc.c: Likewise.
23084         * timezone/private.h: Likewise.
23085         * timezone/scheck.c: Likewise.
23086         * timezone/tzfile.h: Likewise.
23087         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23088         (TZVERSION): Hardcode tzcode version number.
23089         * timezone/zdump.c: Update from tzcode 2012i.
23090         * timezone/zic.c: Likewise.
23091         * timezone/version.h: New file.
23092         * timezone/README: Describe version.h.  Update upstream location.
23093
23094         [BZ #14824]
23095         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23096         (mktemp): Enable declaration.
23097         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23098         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23099         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23100         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23101         Likewise.
23102         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23103         Likewise.
23104         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23105         Likewise.
23106         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23107         Likewise.
23108         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23109         Likewise.
23110         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23111         Likewise.
23112
23113         [BZ #14821]
23114         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23115         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
23116         for copies of such integer values.
23117         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23118         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23119
23120 2012-11-09  Andreas Jaeger  <aj@suse.de>
23121
23122         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23123         definitions and declarations that are provided by
23124         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23125
23126 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23127
23128         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
23129         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23130         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23131         definition.
23132
23133 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23134
23135         * elf/elf.h: Update comment before AArch64 relocations.
23136
23137 2012-11-07  David S. Miller  <davem@davemloft.net>
23138
23139         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23140         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23141         (__start_context): Declare.
23142         (__makecontext_ret): Delete.
23143         (__makecontext): Hook up __start_context instead of
23144         __makecontext_ret.
23145         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23146         (sysdep_routines): Add __start_context when in stdlib.
23147
23148 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23149
23150         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23151         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23152         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
23153         hardcoded "nm".
23154         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
23155         (READELF): New variable.  Use it instead of hardcoded "readelf".
23156
23157 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
23158
23159         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23160         * sysdeps/x86/Makefile: Here.
23161         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23162         * sysdeps/x86/tst-xmmymm.sh: This.
23163
23164 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23165
23166         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23167         expectations.
23168         [UNIX98] (pthread_barrier_t): Do not expect.
23169         [UNIX98] (pthread_barrierattr_t): Likewise.
23170         [UNIX98] (pthread_spinlock_t): Likewise.
23171         [UNIX98] (pthread_barrier_destroy): Likewise.
23172         [UNIX98] (pthread_barrier_init): Likewise.
23173         [UNIX98] (pthread_barrier_wait): Likewise.
23174         [UNIX98] (pthread_barrierattr_destroy): Likewise.
23175         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23176         [UNIX98] (pthread_barrierattr_init): Likewise.
23177         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23178         [UNIX98] (pthread_getcpuclockid): Likewise.
23179         [UNIX98] (pthread_mutex_timedlock): Likewise.
23180         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23181         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23182         [UNIX98] (pthread_sigmask): Likewise.
23183         [UNIX98] (pthread_spin_destroy): Likewise.
23184         [UNIX98] (pthread_spin_init): Likewise.
23185         [UNIX98] (pthread_spin_lock): Likewise.
23186         [UNIX98] (pthread_spin_trylock): Likewise.
23187         [UNIX98] (pthread_spin_unlock): Likewise.
23188         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23189         Do not expect.
23190         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23191         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23192         [XPG3 || XPG4] (pthread_cond_t): Likewise.
23193         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23194         [XPG3 || XPG4] (pthread_key_t): Likewise.
23195         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23196         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23197         [XPG3 || XPG4] (pthread_once_t): Likewise.
23198         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23199         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23200         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23201         [XPG3 || XPG4] (pthread_t): Likewise.
23202
23203         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23204         not expect.
23205         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23206
23207         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23208         Change function return type to int.
23209
23210         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23211         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23212         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23213         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23214         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23215         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23216         [!POSIX] (posix_madvise): Likewise.
23217         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23218         && !UNIX98].
23219         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23220         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23221         (mode_t): Likewise.
23222         (posix_mem_offset): Likewise.
23223         (posix_typed_mem_get_info): Likewise.
23224         (posix_typed_mem_open): Likewise.
23225
23226         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23227         Change condition to [XOPEN2K8].
23228
23229         * conform/conformtest.pl: Preprocess allow-header data with -x c
23230         instead of from stdin.
23231         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23232         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23233         [C99-based standards] (cerfc): Likewise.
23234         [C99-based standards] (cexp2): Likewise.
23235         [C99-based standards] (cexpm1): Likewise.
23236         [C99-based standards] (clog10): Likewise.
23237         [C99-based standards] (clog1p): Likewise.
23238         [C99-based standards] (clog2): Likewise.
23239         [C99-based standards] (clgamma): Likewise.
23240         [C99-based standards] (ctgamma): Likewise.
23241         [C99-based standards] (cerff): Likewise.
23242         [C99-based standards] (cerfcf): Likewise.
23243         [C99-based standards] (cexp2f): Likewise.
23244         [C99-based standards] (cexpm1f): Likewise.
23245         [C99-based standards] (clog10f): Likewise.
23246         [C99-based standards] (clog1pf): Likewise.
23247         [C99-based standards] (clog2f): Likewise.
23248         [C99-based standards] (clgammaf): Likewise.
23249         [C99-based standards] (ctgammaf): Likewise.
23250         [C99-based standards] (cerfl): Likewise.
23251         [C99-based standards] (cerfcl): Likewise.
23252         [C99-based standards] (cexp2l): Likewise.
23253         [C99-based standards] (cexpm1l): Likewise.
23254         [C99-based standards] (clog10l): Likewise.
23255         [C99-based standards] (clog1pl): Likewise.
23256         [C99-based standards] (clog2l): Likewise.
23257         [C99-based standards] (clgammal): Likewise.
23258         [C99-based standards] (ctgammal): Likewise.
23259         * conform/data/inttypes.h-data [C99-based standards]: Include
23260         stdint.h-data.  Remove all expectations for stdint.h contents.
23261         [C99-based standards] (PRI*): Do not allow.
23262         [C99-based standards] (SCN*): Likewise.
23263         [C99-based standards] (*_t): Likewise.
23264         [C99-based-standards] (PRId8): Expect macro.
23265         [C99-based-standards] (PRIi8): Likewise.
23266         [C99-based-standards] (PRIo8): Likewise.
23267         [C99-based-standards] (PRIu8): Likewise.
23268         [C99-based-standards] (PRIx8): Likewise.
23269         [C99-based-standards] (PRIX8): Likewise.
23270         [C99-based-standards] (SCNd8): Likewise.
23271         [C99-based-standards] (SCNi8): Likewise.
23272         [C99-based-standards] (SCNo8): Likewise.
23273         [C99-based-standards] (SCNu8): Likewise.
23274         [C99-based-standards] (SCNx8): Likewise.
23275         [C99-based-standards] (PRIdLEAST8): Likewise.
23276         [C99-based-standards] (PRIiLEAST8): Likewise.
23277         [C99-based-standards] (PRIoLEAST8): Likewise.
23278         [C99-based-standards] (PRIuLEAST8): Likewise.
23279         [C99-based-standards] (PRIxLEAST8): Likewise.
23280         [C99-based-standards] (PRIXLEAST8): Likewise.
23281         [C99-based-standards] (SCNdLEAST8): Likewise.
23282         [C99-based-standards] (SCNiLEAST8): Likewise.
23283         [C99-based-standards] (SCNoLEAST8): Likewise.
23284         [C99-based-standards] (SCNuLEAST8): Likewise.
23285         [C99-based-standards] (SCNxLEAST8): Likewise.
23286         [C99-based-standards] (PRIdFAST8): Likewise.
23287         [C99-based-standards] (PRIiFAST8): Likewise.
23288         [C99-based-standards] (PRIoFAST8): Likewise.
23289         [C99-based-standards] (PRIuFAST8): Likewise.
23290         [C99-based-standards] (PRIxFAST8): Likewise.
23291         [C99-based-standards] (PRIXFAST8): Likewise.
23292         [C99-based-standards] (SCNdFAST8): Likewise.
23293         [C99-based-standards] (SCNiFAST8): Likewise.
23294         [C99-based-standards] (SCNoFAST8): Likewise.
23295         [C99-based-standards] (SCNuFAST8): Likewise.
23296         [C99-based-standards] (SCNxFAST8): Likewise.
23297         [C99-based-standards] (PRId16): Likewise.
23298         [C99-based-standards] (PRIi16): Likewise.
23299         [C99-based-standards] (PRIo16): Likewise.
23300         [C99-based-standards] (PRIu16): Likewise.
23301         [C99-based-standards] (PRIx16): Likewise.
23302         [C99-based-standards] (PRIX16): Likewise.
23303         [C99-based-standards] (SCNd16): Likewise.
23304         [C99-based-standards] (SCNi16): Likewise.
23305         [C99-based-standards] (SCNo16): Likewise.
23306         [C99-based-standards] (SCNu16): Likewise.
23307         [C99-based-standards] (SCNx16): Likewise.
23308         [C99-based-standards] (PRIdLEAST16): Likewise.
23309         [C99-based-standards] (PRIiLEAST16): Likewise.
23310         [C99-based-standards] (PRIoLEAST16): Likewise.
23311         [C99-based-standards] (PRIuLEAST16): Likewise.
23312         [C99-based-standards] (PRIxLEAST16): Likewise.
23313         [C99-based-standards] (PRIXLEAST16): Likewise.
23314         [C99-based-standards] (SCNdLEAST16): Likewise.
23315         [C99-based-standards] (SCNiLEAST16): Likewise.
23316         [C99-based-standards] (SCNoLEAST16): Likewise.
23317         [C99-based-standards] (SCNuLEAST16): Likewise.
23318         [C99-based-standards] (SCNxLEAST16): Likewise.
23319         [C99-based-standards] (PRIdFAST16): Likewise.
23320         [C99-based-standards] (PRIiFAST16): Likewise.
23321         [C99-based-standards] (PRIoFAST16): Likewise.
23322         [C99-based-standards] (PRIuFAST16): Likewise.
23323         [C99-based-standards] (PRIxFAST16): Likewise.
23324         [C99-based-standards] (PRIXFAST16): Likewise.
23325         [C99-based-standards] (SCNdFAST16): Likewise.
23326         [C99-based-standards] (SCNiFAST16): Likewise.
23327         [C99-based-standards] (SCNoFAST16): Likewise.
23328         [C99-based-standards] (SCNuFAST16): Likewise.
23329         [C99-based-standards] (SCNxFAST16): Likewise.
23330         [C99-based-standards] (PRId32): Likewise.
23331         [C99-based-standards] (PRIi32): Likewise.
23332         [C99-based-standards] (PRIo32): Likewise.
23333         [C99-based-standards] (PRIu32): Likewise.
23334         [C99-based-standards] (PRIx32): Likewise.
23335         [C99-based-standards] (PRIX32): Likewise.
23336         [C99-based-standards] (SCNd32): Likewise.
23337         [C99-based-standards] (SCNi32): Likewise.
23338         [C99-based-standards] (SCNo32): Likewise.
23339         [C99-based-standards] (SCNu32): Likewise.
23340         [C99-based-standards] (SCNx32): Likewise.
23341         [C99-based-standards] (PRIdLEAST32): Likewise.
23342         [C99-based-standards] (PRIiLEAST32): Likewise.
23343         [C99-based-standards] (PRIoLEAST32): Likewise.
23344         [C99-based-standards] (PRIuLEAST32): Likewise.
23345         [C99-based-standards] (PRIxLEAST32): Likewise.
23346         [C99-based-standards] (PRIXLEAST32): Likewise.
23347         [C99-based-standards] (SCNdLEAST32): Likewise.
23348         [C99-based-standards] (SCNiLEAST32): Likewise.
23349         [C99-based-standards] (SCNoLEAST32): Likewise.
23350         [C99-based-standards] (SCNuLEAST32): Likewise.
23351         [C99-based-standards] (SCNxLEAST32): Likewise.
23352         [C99-based-standards] (PRIdFAST32): Likewise.
23353         [C99-based-standards] (PRIiFAST32): Likewise.
23354         [C99-based-standards] (PRIoFAST32): Likewise.
23355         [C99-based-standards] (PRIuFAST32): Likewise.
23356         [C99-based-standards] (PRIxFAST32): Likewise.
23357         [C99-based-standards] (PRIXFAST32): Likewise.
23358         [C99-based-standards] (SCNdFAST32): Likewise.
23359         [C99-based-standards] (SCNiFAST32): Likewise.
23360         [C99-based-standards] (SCNoFAST32): Likewise.
23361         [C99-based-standards] (SCNuFAST32): Likewise.
23362         [C99-based-standards] (SCNxFAST32): Likewise.
23363         [C99-based-standards] (PRId64): Likewise.
23364         [C99-based-standards] (PRIi64): Likewise.
23365         [C99-based-standards] (PRIo64): Likewise.
23366         [C99-based-standards] (PRIu64): Likewise.
23367         [C99-based-standards] (PRIx64): Likewise.
23368         [C99-based-standards] (PRIX64): Likewise.
23369         [C99-based-standards] (SCNd64): Likewise.
23370         [C99-based-standards] (SCNi64): Likewise.
23371         [C99-based-standards] (SCNo64): Likewise.
23372         [C99-based-standards] (SCNu64): Likewise.
23373         [C99-based-standards] (SCNx64): Likewise.
23374         [C99-based-standards] (PRIdLEAST64): Likewise.
23375         [C99-based-standards] (PRIiLEAST64): Likewise.
23376         [C99-based-standards] (PRIoLEAST64): Likewise.
23377         [C99-based-standards] (PRIuLEAST64): Likewise.
23378         [C99-based-standards] (PRIxLEAST64): Likewise.
23379         [C99-based-standards] (PRIXLEAST64): Likewise.
23380         [C99-based-standards] (SCNdLEAST64): Likewise.
23381         [C99-based-standards] (SCNiLEAST64): Likewise.
23382         [C99-based-standards] (SCNoLEAST64): Likewise.
23383         [C99-based-standards] (SCNuLEAST64): Likewise.
23384         [C99-based-standards] (SCNxLEAST64): Likewise.
23385         [C99-based-standards] (PRIdFAST64): Likewise.
23386         [C99-based-standards] (PRIiFAST64): Likewise.
23387         [C99-based-standards] (PRIoFAST64): Likewise.
23388         [C99-based-standards] (PRIuFAST64): Likewise.
23389         [C99-based-standards] (PRIxFAST64): Likewise.
23390         [C99-based-standards] (PRIXFAST64): Likewise.
23391         [C99-based-standards] (SCNdFAST64): Likewise.
23392         [C99-based-standards] (SCNiFAST64): Likewise.
23393         [C99-based-standards] (SCNoFAST64): Likewise.
23394         [C99-based-standards] (SCNuFAST64): Likewise.
23395         [C99-based-standards] (SCNxFAST64): Likewise.
23396         [C99-based-standards] (PRIdMAX): Likewise.
23397         [C99-based-standards] (PRIiMAX): Likewise.
23398         [C99-based-standards] (PRIoMAX): Likewise.
23399         [C99-based-standards] (PRIuMAX): Likewise.
23400         [C99-based-standards] (PRIxMAX): Likewise.
23401         [C99-based-standards] (PRIXMAX): Likewise.
23402         [C99-based-standards] (SCNdMAX): Likewise.
23403         [C99-based-standards] (SCNiMAX): Likewise.
23404         [C99-based-standards] (SCNoMAX): Likewise.
23405         [C99-based-standards] (SCNuMAX): Likewise.
23406         [C99-based-standards] (SCNxMAX): Likewise.
23407         [C99-based-standards] (PRIdPTR): Likewise.
23408         [C99-based-standards] (PRIiPTR): Likewise.
23409         [C99-based-standards] (PRIoPTR): Likewise.
23410         [C99-based-standards] (PRIuPTR): Likewise.
23411         [C99-based-standards] (PRIxPTR): Likewise.
23412         [C99-based-standards] (PRIXPTR): Likewise.
23413         [C99-based-standards] (SCNdPTR): Likewise.
23414         [C99-based-standards] (SCNiPTR): Likewise.
23415         [C99-based-standards] (SCNoPTR): Likewise.
23416         [C99-based-standards] (SCNuPTR): Likewise.
23417         [C99-based-standards] (SCNxPTR): Likewise.
23418         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23419         allow.
23420         * conform/data/stdint.h-data: Update comments to clarify
23421         requirements.
23422         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
23423         type.
23424         [C99-based standards] (INT8_MAX): Likewise.
23425         [C99-based standards] (INT16_MIN): Likewise.
23426         [C99-based standards] (INT16_MAX): Likewise.
23427         [C99-based standards] (INT32_MIN): Likewise.
23428         [C99-based standards] (INT32_MAX): Likewise.
23429         [C99-based standards] (INT64_MIN): Likewise.
23430         [C99-based standards] (INT64_MAX): Likewise.
23431         [C99-based standards] (UINT8_MAX): Likewise.
23432         [C99-based standards] (UINT16_MAX): Likewise.
23433         [C99-based standards] (UINT32_MAX): Likewise.
23434         [C99-based standards] (UINT64_MAX): Likewise.
23435         [C99-based standards] (INT_LEAST8_MIN): Likewise.
23436         [C99-based standards] (INT_LEAST8_MAX): Likewise.
23437         [C99-based standards] (INT_LEAST16_MIN): Likewise.
23438         [C99-based standards] (INT_LEAST16_MAX): Likewise.
23439         [C99-based standards] (INT_LEAST32_MIN): Likewise.
23440         [C99-based standards] (INT_LEAST32_MAX): Likewise.
23441         [C99-based standards] (INT_LEAST64_MIN): Likewise.
23442         [C99-based standards] (INT_LEAST64_MAX): Likewise.
23443         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23444         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23445         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23446         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23447         [C99-based standards] (INT_FAST8_MIN): Likewise.
23448         [C99-based standards] (INT_FAST8_MAX): Likewise.
23449         [C99-based standards] (INT_FAST16_MIN): Likewise.
23450         [C99-based standards] (INT_FAST16_MAX): Likewise.
23451         [C99-based standards] (INT_FAST32_MIN): Likewise.
23452         [C99-based standards] (INT_FAST32_MAX): Likewise.
23453         [C99-based standards] (INT_FAST64_MIN): Likewise.
23454         [C99-based standards] (INT_FAST64_MAX): Likewise.
23455         [C99-based standards] (UINT_FAST8_MAX): Likewise.
23456         [C99-based standards] (UINT_FAST16_MAX): Likewise.
23457         [C99-based standards] (UINT_FAST32_MAX): Likewise.
23458         [C99-based standards] (UINT_FAST64_MAX): Likewise.
23459         [C99-based standards] (INTPTR_MIN): Likewise.
23460         [C99-based standards] (INTPTR_MAX): Likewise.
23461         [C99-based standards] (UINTPTR_MAX): Likewise.
23462         [C99-based standards] (INTMAX_MIN): Likewise.
23463         [C99-based standards] (INTMAX_MAX): Likewise.
23464         [C99-based standards] (UINTMAX_MAX): Likewise.
23465         [C99-based standards] (PTRDIFF_MIN): Likewise.
23466         [C99-based standards] (PTRDIFF_MAX): Likewise.
23467         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23468         [C99-based standards] (SIZE_MAX): Likewise.
23469         [C99-based standards] (WCHAR_MAX): Likewise.
23470         [C99-based standards] (WINT_MAX): Likewise.
23471         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
23472         constraint on value.
23473         [C99-based standards] (WCHAR_MIN): Likewise.
23474         [C99-based standards] (WINT_MIN): Likewise.
23475         [C99-based standards] (*_t): Allow.
23476         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23477         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23478         Include math.h-data and complex.h-data.  Remove all expectations
23479         of math.h and complex.h contents.
23480         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23481         at end of line.
23482         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23483         (struct tm): Expect tag.
23484         [C99-based-standards] (wcstof): Expect function.
23485         [C99-based-standards] (wcstold): Likewise.
23486         [C99-based-standards] (wcstoll): Likewise.
23487         [C99-based-standards] (wcstoull): Likewise.
23488         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23489         macro-int-constant.  Specify type.
23490         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
23491         constraint on value.
23492         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23493         Specify type.
23494         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23495         Specify value.
23496         [ISO C standards]: Do not allow headers.
23497         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23498         wcs[abcdefghijklmnopqrstuvwxyz]*.
23499         [ISO C standards] (*_t): Do not allow.
23500         * conform/data/wctype.h-data [C99-based standards] (iswblank):
23501         Expect function.
23502         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23503         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23504         Specify type.
23505         [ISO C standards]: Do not allow headers.
23506         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23507         is[abcdefghijklmnopqrstuvwxyz]*.
23508         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23509         to[abcdefghijklmnopqrstuvwxyz]*.
23510         [ISO C standards] (*_t): Do not allow.
23511         * conform/data/stdalign.h-data: New file.
23512         * conform/data/stdbool.h-data: Likewise.
23513         * conform/data/stdnoreturn.h-data: Likewise.
23514
23515 2012-11-07  Roland McGrath  <roland@hack.frob.com>
23516
23517         [BZ #14815]
23518         * manual/filesys.texi (Directory Entries): Typo fix.
23519         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23520
23521 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23522
23523         * elf/elf.h (EM_AARCH64): New macro.
23524         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23525         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23526         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23527         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23528         (R_AARCH64_TLSDESC): Likewise.
23529         (NT_ARM_TLS): Likewise.
23530         (NT_ARM_HW_BREAK): Likewise.
23531         (NT_ARM_HW_WATCH): Likewise.
23532
23533 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23534
23535         [BZ #14811]
23536         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23537         (__ieee754_powl): Saturate nonzero exponents with absolute value
23538         below 0x1p-79 to +/- 0x1p-79.
23539         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23540         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23541         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23542         nonzero exponents with absolute value below 0x1p-32 to +/-
23543         0x1p-32.
23544         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23545         (__ieee754_powl): Saturate nonzero exponents with absolute value
23546         below 0x1p-79 to +/- 0x1p-79.
23547         * math/libm-test.inc (pow_test): Add more tests.
23548
23549 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23550
23551         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23552         _dl_s390_cap_flags with kernel. Increase string length.
23553         (_dl_s390_platforms): Add z196 and zEC12.
23554
23555 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23556
23557         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23558         Change XOPEN21K to XOPEN2K.
23559
23560 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
23561
23562         * string/memmove.c: Use memcpy when possible.
23563
23564 2012-11-06  Andreas Jaeger  <aj@suse.de>
23565
23566         * po/eo.po: Update from translation team.
23567
23568 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
23569
23570         [BZ #14793]
23571         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23572         exponent and small x and y exponents, scale x or y up.  Increase
23573         by 2 the exponent used in scaling up.
23574         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23575         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23576         * math/libm-test.inc (fma_test): Add more tests.
23577         (fma_test_towardzero): Likewise.
23578         (fma_test_downward): Likewise.
23579         (fma_test_upward): Likewise.
23580
23581 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
23582
23583         [BZ #14805]
23584         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23585         fenv_t *.
23586
23587         [BZ #14801]
23588         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23589         namespace for names of struct fields.
23590         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23591         fenv_t fields.
23592         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23593         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23594
23595 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23596
23597         [BZ #3665]
23598         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23599
23600 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
23601
23602         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23603         PTR_DEMANGLE.
23604
23605         [BZ #5246]
23606         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23607         PTR_DEMANGLE.
23608
23609 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
23610
23611         [BZ #14797]
23612         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23613         definitely overflow as x * y not x * y + z.
23614         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23615         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23616         * math/libm-test.inc (fma_test): Add more tests.
23617         (fma_test_towardzero): Likewise.
23618         (fma_test_downward): Likewise.
23619         (fma_test_upward): Likewise.
23620
23621 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
23622
23623         [BZ #157]
23624
23625         * include/stub-tag.h: Remove file.
23626         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23627         '#include' of it.
23628         * manual/maint.texi (Porting): Don't reference it.
23629         * Makerules ($(objpfx)stubs): Likewise.
23630         * dirent/closedir.c: Don't include <stub-tag.h>.
23631         * dirent/dirfd.c: Likewise.
23632         * dirent/fdopendir.c: Likewise.
23633         * dirent/getdents.c: Likewise.
23634         * dirent/getdents64.c: Likewise.
23635         * dirent/opendir.c: Likewise.
23636         * dirent/readdir.c: Likewise.
23637         * dirent/readdir64.c: Likewise.
23638         * dirent/readdir64_r.c: Likewise.
23639         * dirent/readdir_r.c: Likewise.
23640         * dirent/rewinddir.c: Likewise.
23641         * dirent/seekdir.c: Likewise.
23642         * dirent/telldir.c: Likewise.
23643         * gmon/profil.c: Likewise.
23644         * grp/setgroups.c: Likewise.
23645         * inet/if_index.c: Likewise.
23646         * io/access.c: Likewise.
23647         * io/chdir.c: Likewise.
23648         * io/chmod.c: Likewise.
23649         * io/chown.c: Likewise.
23650         * io/close.c: Likewise.
23651         * io/dup.c: Likewise.
23652         * io/dup2.c: Likewise.
23653         * io/dup3.c: Likewise.
23654         * io/euidaccess.c: Likewise.
23655         * io/faccessat.c: Likewise.
23656         * io/fchdir.c: Likewise.
23657         * io/fchmod.c: Likewise.
23658         * io/fchmodat.c: Likewise.
23659         * io/fchown.c: Likewise.
23660         * io/fchownat.c: Likewise.
23661         * io/fcntl.c: Likewise.
23662         * io/flock.c: Likewise.
23663         * io/fstatfs.c: Likewise.
23664         * io/fstatfs64.c: Likewise.
23665         * io/fstatvfs.c: Likewise.
23666         * io/fstatvfs64.c: Likewise.
23667         * io/futimens.c: Likewise.
23668         * io/fxstat.c: Likewise.
23669         * io/fxstat64.c: Likewise.
23670         * io/fxstatat.c: Likewise.
23671         * io/fxstatat64.c: Likewise.
23672         * io/getcwd.c: Likewise.
23673         * io/isatty.c: Likewise.
23674         * io/lchmod.c: Likewise.
23675         * io/lchown.c: Likewise.
23676         * io/link.c: Likewise.
23677         * io/linkat.c: Likewise.
23678         * io/lseek.c: Likewise.
23679         * io/lseek64.c: Likewise.
23680         * io/lxstat64.c: Likewise.
23681         * io/mkdir.c: Likewise.
23682         * io/mkdirat.c: Likewise.
23683         * io/mkfifo.c: Likewise.
23684         * io/mkfifoat.c: Likewise.
23685         * io/open.c: Likewise.
23686         * io/open64.c: Likewise.
23687         * io/openat.c: Likewise.
23688         * io/openat64.c: Likewise.
23689         * io/pipe.c: Likewise.
23690         * io/pipe2.c: Likewise.
23691         * io/poll.c: Likewise.
23692         * io/posix_fadvise.c: Likewise.
23693         * io/posix_fadvise64.c: Likewise.
23694         * io/posix_fallocate.c: Likewise.
23695         * io/posix_fallocate64.c: Likewise.
23696         * io/read.c: Likewise.
23697         * io/readlink.c: Likewise.
23698         * io/readlinkat.c: Likewise.
23699         * io/rmdir.c: Likewise.
23700         * io/sendfile.c: Likewise.
23701         * io/sendfile64.c: Likewise.
23702         * io/statfs.c: Likewise.
23703         * io/statfs64.c: Likewise.
23704         * io/statvfs.c: Likewise.
23705         * io/statvfs64.c: Likewise.
23706         * io/symlink.c: Likewise.
23707         * io/symlinkat.c: Likewise.
23708         * io/ttyname.c: Likewise.
23709         * io/ttyname_r.c: Likewise.
23710         * io/umask.c: Likewise.
23711         * io/unlink.c: Likewise.
23712         * io/unlinkat.c: Likewise.
23713         * io/utime.c: Likewise.
23714         * io/utimensat.c: Likewise.
23715         * io/write.c: Likewise.
23716         * io/xmknod.c: Likewise.
23717         * io/xmknodat.c: Likewise.
23718         * io/xstat.c: Likewise.
23719         * io/xstat64.c: Likewise.
23720         * login/getpt.c: Likewise.
23721         * login/grantpt.c: Likewise.
23722         * login/unlockpt.c: Likewise.
23723         * math/e_acoshl.c: Likewise.
23724         * math/e_acosl.c: Likewise.
23725         * math/e_asinl.c: Likewise.
23726         * math/e_atan2l.c: Likewise.
23727         * math/e_atanhl.c: Likewise.
23728         * math/e_coshl.c: Likewise.
23729         * math/e_expl.c: Likewise.
23730         * math/e_fmodl.c: Likewise.
23731         * math/e_gammal_r.c: Likewise.
23732         * math/e_hypotl.c: Likewise.
23733         * math/e_j0l.c: Likewise.
23734         * math/e_j1l.c: Likewise.
23735         * math/e_jnl.c: Likewise.
23736         * math/e_lgammal_r.c: Likewise.
23737         * math/e_log10l.c: Likewise.
23738         * math/e_log2l.c: Likewise.
23739         * math/e_logl.c: Likewise.
23740         * math/e_powl.c: Likewise.
23741         * math/e_rem_pio2l.c: Likewise.
23742         * math/e_sinhl.c: Likewise.
23743         * math/e_sqrtl.c: Likewise.
23744         * math/fclrexcpt.c: Likewise.
23745         * math/fedisblxcpt.c: Likewise.
23746         * math/feenablxcpt.c: Likewise.
23747         * math/fegetenv.c: Likewise.
23748         * math/fegetexcept.c: Likewise.
23749         * math/fegetround.c: Likewise.
23750         * math/feholdexcpt.c: Likewise.
23751         * math/fesetenv.c: Likewise.
23752         * math/fesetround.c: Likewise.
23753         * math/feupdateenv.c: Likewise.
23754         * math/fgetexcptflg.c: Likewise.
23755         * math/fraiseexcpt.c: Likewise.
23756         * math/fsetexcptflg.c: Likewise.
23757         * math/ftestexcept.c: Likewise.
23758         * math/k_cosl.c: Likewise.
23759         * math/k_rem_pio2l.c: Likewise.
23760         * math/k_sinl.c: Likewise.
23761         * math/k_tanl.c: Likewise.
23762         * math/s_asinhl.c: Likewise.
23763         * math/s_atanl.c: Likewise.
23764         * math/s_cbrtl.c: Likewise.
23765         * math/s_erfl.c: Likewise.
23766         * math/s_expm1l.c: Likewise.
23767         * math/s_log1pl.c: Likewise.
23768         * math/s_tanhl.c: Likewise.
23769         * misc/acct.c: Likewise.
23770         * misc/brk.c: Likewise.
23771         * misc/chflags.c: Likewise.
23772         * misc/chroot.c: Likewise.
23773         * misc/fchflags.c: Likewise.
23774         * misc/fgetxattr.c: Likewise.
23775         * misc/flistxattr.c: Likewise.
23776         * misc/fremovexattr.c: Likewise.
23777         * misc/fsetxattr.c: Likewise.
23778         * misc/fsync.c: Likewise.
23779         * misc/ftruncate.c: Likewise.
23780         * misc/futimes.c: Likewise.
23781         * misc/futimesat.c: Likewise.
23782         * misc/getdomain.c: Likewise.
23783         * misc/getdtsz.c: Likewise.
23784         * misc/gethostid.c: Likewise.
23785         * misc/gethostname.c: Likewise.
23786         * misc/getloadavg.c: Likewise.
23787         * misc/getpagesize.c: Likewise.
23788         * misc/getsysstats.c: Likewise.
23789         * misc/getxattr.c: Likewise.
23790         * misc/gtty.c: Likewise.
23791         * misc/ioctl.c: Likewise.
23792         * misc/lgetxattr.c: Likewise.
23793         * misc/listxattr.c: Likewise.
23794         * misc/llistxattr.c: Likewise.
23795         * misc/lremovexattr.c: Likewise.
23796         * misc/lsetxattr.c: Likewise.
23797         * misc/lutimes.c: Likewise.
23798         * misc/madvise.c: Likewise.
23799         * misc/mincore.c: Likewise.
23800         * misc/mlock.c: Likewise.
23801         * misc/mlockall.c: Likewise.
23802         * misc/mmap.c: Likewise.
23803         * misc/mprotect.c: Likewise.
23804         * misc/msync.c: Likewise.
23805         * misc/munlock.c: Likewise.
23806         * misc/munlockall.c: Likewise.
23807         * misc/munmap.c: Likewise.
23808         * misc/preadv.c: Likewise.
23809         * misc/preadv64.c: Likewise.
23810         * misc/ptrace.c: Likewise.
23811         * misc/pwritev.c: Likewise.
23812         * misc/pwritev64.c: Likewise.
23813         * misc/readv.c: Likewise.
23814         * misc/reboot.c: Likewise.
23815         * misc/remap_file_pages.c: Likewise.
23816         * misc/removexattr.c: Likewise.
23817         * misc/revoke.c: Likewise.
23818         * misc/select.c: Likewise.
23819         * misc/setdomain.c: Likewise.
23820         * misc/setegid.c: Likewise.
23821         * misc/seteuid.c: Likewise.
23822         * misc/sethostid.c: Likewise.
23823         * misc/sethostname.c: Likewise.
23824         * misc/setregid.c: Likewise.
23825         * misc/setreuid.c: Likewise.
23826         * misc/setxattr.c: Likewise.
23827         * misc/sstk.c: Likewise.
23828         * misc/stty.c: Likewise.
23829         * misc/swapoff.c: Likewise.
23830         * misc/swapon.c: Likewise.
23831         * misc/sync.c: Likewise.
23832         * misc/syncfs.c: Likewise.
23833         * misc/syscall.c: Likewise.
23834         * misc/truncate.c: Likewise.
23835         * misc/ualarm.c: Likewise.
23836         * misc/usleep.c: Likewise.
23837         * misc/ustat.c: Likewise.
23838         * misc/utimes.c: Likewise.
23839         * misc/vhangup.c: Likewise.
23840         * misc/writev.c: Likewise.
23841         * posix/_exit.c: Likewise.
23842         * posix/alarm.c: Likewise.
23843         * posix/execve.c: Likewise.
23844         * posix/fexecve.c: Likewise.
23845         * posix/fork.c: Likewise.
23846         * posix/fpathconf.c: Likewise.
23847         * posix/getaddrinfo.c: Likewise.
23848         * posix/getegid.c: Likewise.
23849         * posix/geteuid.c: Likewise.
23850         * posix/getgid.c: Likewise.
23851         * posix/getgroups.c: Likewise.
23852         * posix/getlogin.c: Likewise.
23853         * posix/getlogin_r.c: Likewise.
23854         * posix/getpgid.c: Likewise.
23855         * posix/getpid.c: Likewise.
23856         * posix/getppid.c: Likewise.
23857         * posix/getresgid.c: Likewise.
23858         * posix/getresuid.c: Likewise.
23859         * posix/getsid.c: Likewise.
23860         * posix/getuid.c: Likewise.
23861         * posix/glob64.c: Likewise.
23862         * posix/nanosleep.c: Likewise.
23863         * posix/pathconf.c: Likewise.
23864         * posix/pause.c: Likewise.
23865         * posix/posix_madvise.c: Likewise.
23866         * posix/pread.c: Likewise.
23867         * posix/pread64.c: Likewise.
23868         * posix/pwrite.c: Likewise.
23869         * posix/pwrite64.c: Likewise.
23870         * posix/sched_getaffinity.c: Likewise.
23871         * posix/sched_getp.c: Likewise.
23872         * posix/sched_gets.c: Likewise.
23873         * posix/sched_primax.c: Likewise.
23874         * posix/sched_primin.c: Likewise.
23875         * posix/sched_rr_gi.c: Likewise.
23876         * posix/sched_setaffinity.c: Likewise.
23877         * posix/sched_setp.c: Likewise.
23878         * posix/sched_sets.c: Likewise.
23879         * posix/sched_yield.c: Likewise.
23880         * posix/setgid.c: Likewise.
23881         * posix/setlogin.c: Likewise.
23882         * posix/setpgid.c: Likewise.
23883         * posix/setresgid.c: Likewise.
23884         * posix/setresuid.c: Likewise.
23885         * posix/setsid.c: Likewise.
23886         * posix/setuid.c: Likewise.
23887         * posix/sleep.c: Likewise.
23888         * posix/spawni.c: Likewise.
23889         * posix/sysconf.c: Likewise.
23890         * posix/times.c: Likewise.
23891         * posix/wait.c: Likewise.
23892         * posix/wait3.c: Likewise.
23893         * posix/wait4.c: Likewise.
23894         * posix/waitpid.c: Likewise.
23895         * resolv/gai_sigqueue.c: Likewise.
23896         * resource/getpriority.c: Likewise.
23897         * resource/getrlimit.c: Likewise.
23898         * resource/getrusage.c: Likewise.
23899         * resource/nice.c: Likewise.
23900         * resource/setpriority.c: Likewise.
23901         * resource/setrlimit.c: Likewise.
23902         * resource/ulimit.c: Likewise.
23903         * rt/aio_cancel.c: Likewise.
23904         * rt/aio_fsync.c: Likewise.
23905         * rt/aio_read.c: Likewise.
23906         * rt/aio_sigqueue.c: Likewise.
23907         * rt/aio_suspend.c: Likewise.
23908         * rt/aio_write.c: Likewise.
23909         * rt/clock_getres.c: Likewise.
23910         * rt/clock_gettime.c: Likewise.
23911         * rt/clock_nanosleep.c: Likewise.
23912         * rt/clock_settime.c: Likewise.
23913         * rt/lio_listio.c: Likewise.
23914         * rt/mq_close.c: Likewise.
23915         * rt/mq_getattr.c: Likewise.
23916         * rt/mq_notify.c: Likewise.
23917         * rt/mq_open.c: Likewise.
23918         * rt/mq_receive.c: Likewise.
23919         * rt/mq_send.c: Likewise.
23920         * rt/mq_setattr.c: Likewise.
23921         * rt/mq_timedreceive.c: Likewise.
23922         * rt/mq_timedsend.c: Likewise.
23923         * rt/mq_unlink.c: Likewise.
23924         * rt/shm_open.c: Likewise.
23925         * rt/shm_unlink.c: Likewise.
23926         * rt/timer_create.c: Likewise.
23927         * rt/timer_delete.c: Likewise.
23928         * rt/timer_getoverr.c: Likewise.
23929         * rt/timer_gettime.c: Likewise.
23930         * rt/timer_settime.c: Likewise.
23931         * setjmp/__longjmp.c: Likewise.
23932         * setjmp/setjmp.c: Likewise.
23933         * signal/kill.c: Likewise.
23934         * signal/killpg.c: Likewise.
23935         * signal/raise.c: Likewise.
23936         * signal/sigaction.c: Likewise.
23937         * signal/sigaltstack.c: Likewise.
23938         * signal/sigblock.c: Likewise.
23939         * signal/sigignore.c: Likewise.
23940         * signal/sigintr.c: Likewise.
23941         * signal/signal.c: Likewise.
23942         * signal/sigpause.c: Likewise.
23943         * signal/sigpending.c: Likewise.
23944         * signal/sigqueue.c: Likewise.
23945         * signal/sigreturn.c: Likewise.
23946         * signal/sigset.c: Likewise.
23947         * signal/sigsetmask.c: Likewise.
23948         * signal/sigstack.c: Likewise.
23949         * signal/sigsuspend.c: Likewise.
23950         * signal/sigtimedwait.c: Likewise.
23951         * signal/sigvec.c: Likewise.
23952         * signal/sigwait.c: Likewise.
23953         * signal/sigwaitinfo.c: Likewise.
23954         * signal/sysv_signal.c: Likewise.
23955         * socket/accept.c: Likewise.
23956         * socket/accept4.c: Likewise.
23957         * socket/bind.c: Likewise.
23958         * socket/connect.c: Likewise.
23959         * socket/getpeername.c: Likewise.
23960         * socket/getsockname.c: Likewise.
23961         * socket/getsockopt.c: Likewise.
23962         * socket/isfdtype.c: Likewise.
23963         * socket/listen.c: Likewise.
23964         * socket/recv.c: Likewise.
23965         * socket/recvfrom.c: Likewise.
23966         * socket/recvmsg.c: Likewise.
23967         * socket/send.c: Likewise.
23968         * socket/sendmsg.c: Likewise.
23969         * socket/sendto.c: Likewise.
23970         * socket/setsockopt.c: Likewise.
23971         * socket/shutdown.c: Likewise.
23972         * socket/sockatmark.c: Likewise.
23973         * socket/socket.c: Likewise.
23974         * socket/socketpair.c: Likewise.
23975         * stdio-common/ctermid.c: Likewise.
23976         * stdio-common/cuserid.c: Likewise.
23977         * stdio-common/remove.c: Likewise.
23978         * stdio-common/rename.c: Likewise.
23979         * stdio-common/renameat.c: Likewise.
23980         * stdio-common/tempname.c: Likewise.
23981         * stdlib/getcontext.c: Likewise.
23982         * stdlib/makecontext.c: Likewise.
23983         * stdlib/setcontext.c: Likewise.
23984         * stdlib/swapcontext.c: Likewise.
23985         * stdlib/system.c: Likewise.
23986         * streams/fattach.c: Likewise.
23987         * streams/fdetach.c: Likewise.
23988         * streams/getmsg.c: Likewise.
23989         * streams/getpmsg.c: Likewise.
23990         * streams/putmsg.c: Likewise.
23991         * streams/putpmsg.c: Likewise.
23992         * sysdeps/unix/bsd/getpt.c: Likewise.
23993         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23994         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23995         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23997         Likewise.
23998         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23999         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24000         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24001         * sysvipc/msgctl.c: Likewise.
24002         * sysvipc/msgget.c: Likewise.
24003         * sysvipc/msgrcv.c: Likewise.
24004         * sysvipc/msgsnd.c: Likewise.
24005         * sysvipc/semctl.c: Likewise.
24006         * sysvipc/semget.c: Likewise.
24007         * sysvipc/semop.c: Likewise.
24008         * sysvipc/semtimedop.c: Likewise.
24009         * sysvipc/shmat.c: Likewise.
24010         * sysvipc/shmctl.c: Likewise.
24011         * sysvipc/shmdt.c: Likewise.
24012         * sysvipc/shmget.c: Likewise.
24013         * termios/tcdrain.c: Likewise.
24014         * termios/tcflow.c: Likewise.
24015         * termios/tcflush.c: Likewise.
24016         * termios/tcgetattr.c: Likewise.
24017         * termios/tcgetpgrp.c: Likewise.
24018         * termios/tcsendbrk.c: Likewise.
24019         * termios/tcsetattr.c: Likewise.
24020         * termios/tcsetpgrp.c: Likewise.
24021         * time/adjtime.c: Likewise.
24022         * time/clock.c: Likewise.
24023         * time/getitimer.c: Likewise.
24024         * time/gettimeofday.c: Likewise.
24025         * time/setitimer.c: Likewise.
24026         * time/settimeofday.c: Likewise.
24027         * time/stime.c: Likewise.
24028         * time/time.c: Likewise.
24029
24030 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
24031
24032         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24033         /usr/old/bin.
24034
24035         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24036         instead of spaces.
24037         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24038
24039 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
24040
24041         [BZ #14796]
24042         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24043         FE_TONEAREST before applying Dekker multiplication and Knuth
24044         addition.  Clear inexact exceptions and check for exact zero
24045         results afterwards.
24046         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24047         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24048         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24049         * math/libm-test.inc (fma_test): Add more tests.
24050         (fma_test_towardzero): Likewise.
24051         (fma_test_downward): Likewise.
24052         (fma_test_upward): Likewise.
24053         * sysdeps/generic/math_private.h (default_libc_fesetround): New
24054         function.
24055         (libc_fesetround): New macro.
24056         (libc_fesetroundf): Likewise.
24057         (libc_fesetroundl): Likewise.
24058         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24059         function.
24060         (libc_fesetround_387): Likewise.
24061         (libc_fesetroundf): New macro.
24062         (libc_fesetround): Likewise.
24063         (libc_fesetroundl): Likewise.
24064         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24065         function.
24066         (libc_fesetroundf): New macro.
24067         (libc_fesetround): Likewise.
24068         (libc_fesetroundl): Likewise.
24069         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24070         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24071         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24072         libm_hidden_ver.
24073         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24074         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24075         libm_hidden_def.
24076         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24077         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24078         libm_hidden_ver.
24079         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24080         libm_hidden_def.
24081
24082         [BZ #3439]
24083         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24084         integer constant usable in #if and use that to give value to enum
24085         constant.
24086         (FE_DIVBYZERO): Likewise.
24087         (FE_UNDERFLOW): Likewise.
24088         (FE_OVERFLOW): Likewise.
24089         (FE_INVALID): Likewise.
24090         (FE_INVALID_SNAN): Likewise.
24091         (FE_INVALID_ISI): Likewise.
24092         (FE_INVALID_IDI): Likewise.
24093         (FE_INVALID_ZDZ): Likewise.
24094         (FE_INVALID_IMZ): Likewise.
24095         (FE_INVALID_COMPARE): Likewise.
24096         (FE_INVALID_SOFTWARE): Likewise.
24097         (FE_INVALID_SQRT): Likewise.
24098         (FE_INVALID_INTEGER_CONVERSION): Likewise.
24099         (FE_TONEAREST): Likewise.
24100         (FE_TOWARDZERO): Likewise.
24101         (FE_UPWARD): Likewise.
24102         (FE_DOWNWARD): Likewise.
24103         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24104         (FE_DIVBYZERO): Likewise.
24105         (FE_OVERFLOW): Likewise.
24106         (FE_UNDERFLOW): Likewise.
24107         (FE_INEXACT): Likewise.
24108         (FE_TONEAREST): Likewise.
24109         (FE_DOWNWARD): Likewise.
24110         (FE_UPWARD): Likewise.
24111         (FE_TOWARDZERO): Likewise.
24112         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24113         (FE_UNDERFLOW): Likewise.
24114         (FE_OVERFLOW): Likewise.
24115         (FE_DIVBYZERO): Likewise.
24116         (FE_INVALID): Likewise.
24117         (FE_TONEAREST): Likewise.
24118         (FE_TOWARDZERO): Likewise.
24119         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24120         (FE_OVERFLOW): Likewise.
24121         (FE_UNDERFLOW): Likewise.
24122         (FE_DIVBYZERO): Likewise.
24123         (FE_INEXACT): Likewise.
24124         (FE_TONEAREST): Likewise.
24125         (FE_TOWARDZERO): Likewise.
24126         (FE_UPWARD): Likewise.
24127         (FE_DOWNWARD): Likewise.
24128         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24129         (FE_DIVBYZERO): Likewise.
24130         (FE_OVERFLOW): Likewise.
24131         (FE_UNDERFLOW): Likewise.
24132         (FE_INEXACT): Likewise.
24133         (FE_TONEAREST): Likewise.
24134         (FE_DOWNWARD): Likewise.
24135         (FE_UPWARD): Likewise.
24136         (FE_TOWARDZERO): Likewise.
24137
24138 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
24139
24140         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24141
24142 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
24143
24144         * scripts/cross-test-ssh.sh (command): Use newlines to separate
24145         commands.  Quote $PWD.
24146         (blacklist_exports): Don't use remove_newlines.  Replace "declare
24147         -x" by "export".
24148         (remove_newlines): Remove.
24149
24150 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
24151
24152         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24153         * stdlib/stdlib.h (atof): Moved to ...
24154         * include/bits/stdlib-float.h: Here.  New file.
24155         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24156         * stdlib/bits/stdlib-float.h: New file.
24157         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24158         -mno-sse -mno-mmx.
24159         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24160         <xmmintrin.h>.
24161
24162 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
24163
24164         * conform/conformtest.pl (@headers): Add fenv.h.
24165         * conform/data/fenv.h-data: New file.
24166         * include/fenv.h [_ISOMAC]: Disable all contents of file except
24167         include of <math/fenv.h>.
24168
24169         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24170         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24171         && !UNIX98].  Enables tests for XOPEN2K8.
24172         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24173         POSIX2008]: Likewise.
24174
24175         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24176         (struct rusage): Do not expect type or its members.
24177
24178         [BZ #3439]
24179         * math/math.h (FP_NAN): Define macro to integer constant usable in
24180         #if and use that to give value to enum constant.
24181         (FP_INFINITE): Likewise.
24182         (FP_ZERO): Likewise.
24183         (FP_SUBNORMAL): Likewise.
24184         (FP_NORMAL): Likewise.
24185
24186 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
24187
24188         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24189         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24190         arguments.
24191
24192 2012-11-02  Roland McGrath  <roland@hack.frob.com>
24193
24194         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24195         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24196         autoconf-time if not.
24197         * configure.in: Remove AC_PREREQ.
24198
24199 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24200
24201         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24202         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24203         of the internal implementation.
24204
24205 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
24206
24207         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24208         except include of <misc/sys/syslog.h>.
24209
24210 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
24211
24212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24213         function returns with a NULL context exit with zero.
24214
24215 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24216
24217         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24218
24219 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
24220
24221         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24222         (run_program_cmd): This.
24223         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24224         (tst_langinfo): New variable.  Use it.
24225
24226 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
24227
24228         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24229         floating point opcodes.
24230
24231 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
24232
24233         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24234         variable.
24235
24236         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24237
24238         * sysdeps/mach/hurd/powerpc: Remove directory.
24239         * sysdeps/mach/powerpc: Likewise.
24240
24241 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
24242
24243         * scripts/check-local-headers.sh: Ignore c++ headers.
24244
24245 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
24246
24247         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24248         __libc_cleanup_region_start argument.
24249
24250 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
24251
24252         [BZ #14784]
24253         [BZ #14785]
24254         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24255         x * y using scaling, not as x * y + z.
24256         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24257         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24258         * math/libm-test.inc (fma_test): Add more tests.
24259         (fma_test_towardzero): Likewise.
24260         (fma_test_downward): Likewise.
24261         (fma_test_upward): Likewise.
24262
24263 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
24264
24265         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24266
24267 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
24268
24269         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24270         New variable.
24271
24272 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
24273
24274         * rt/tst-shm.c (worker): Correct checking for mmap failure.
24275
24276 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
24277
24278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24279         Fix sort order.
24280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24281         Likewise.
24282
24283 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24284
24285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24286         Fix the order of the list for glibc 2.17.
24287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24288         Likewise.
24289
24290 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
24291
24292         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24293
24294 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
24295
24296         [BZ #14610]
24297         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24298         for low part of x being zero before using __atanl (y).
24299         * math/libm-test.inc (atan2_test): Add another test.
24300
24301         * manual/install.texi (Configuring and compiling): Document
24302         general use of test-wrapper and test-wrapper-env.
24303         * INSTALL: Regenerated.
24304
24305         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24306         (__fma): Do not extract and scale down low bits on after-rounding
24307         systems when result rounded to normal precision would have normal
24308         exponent.
24309         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24310         (__fmal): Do not extract and scale down low bits on after-rounding
24311         systems when result rounded to normal precision would have normal
24312         exponent.
24313         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24314         (__fmal): Do not extract and scale down low bits on after-rounding
24315         systems when result rounded to normal precision would have normal
24316         exponent.
24317         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24318         macro.
24319         (fma_test): Add more tests.
24320         (fma_test_towardzero): Likewise.
24321         (fma_test_downward): Likewise.
24322         (fma_test_upward): Likewise.
24323
24324 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
24325
24326         * sysdeps/i386/tininess.h: Renamed to ...
24327         * sysdeps/x86/tininess.h: This.
24328         * sysdeps/x86_64/tininess.h: Removed.
24329
24330 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
24331
24332         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24333         input.  Use $(build-program-cmd).
24334         ($(objpfx)tst-array1-static.out): Likewise.
24335         ($(objpfx)tst-array2.out): Likewise.
24336         ($(objpfx)tst-array3.out): Likewise.
24337         ($(objpfx)tst-array4.out): Likewise.
24338         ($(objpfx)tst-array5.out): Likewise.
24339         ($(objpfx)tst-array5-static.out): Likewise.
24340
24341 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
24342
24343         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24344         if defined.
24345
24346         * nss/nsswitch.h (nss_interface_function): Provide new
24347         macro for use with NSS functions.
24348         * grp/initgroups.c: Use new macro.
24349         * nss/getXXbyYY.c: Likewise.
24350         * nss/getXXbyYY_r.c: Likewise.
24351         * nss/getXXent.c: Likewise.
24352         * nss/getXXent_r.c: Likewise.
24353         * sysdeps/posix/getaddrinfo.c: Likewise.
24354
24355 2012-10-30  Andreas Jaeger  <aj@suse.de>
24356
24357         * po/ru.po: Update Russion translation from translation project.
24358
24359 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
24360
24361         [BZ #14152]
24362         [BZ #14783]
24363         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24364         result and shift together with sticky bit instead of replicating
24365         round-to-nearest rounding.
24366         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24367         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24368         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
24369         missing underflow exceptions.
24370         (fma_test_towardzero): Add more tests.
24371         (fma_test_downward): Likewise.
24372         (fma_test_upward): Likewise.
24373
24374         [BZ #14047]
24375         * sysdeps/generic/tininess.h: New file.
24376         * sysdeps/i386/tininess.h: Likewise.
24377         * sysdeps/sh/tininess.h: Likewise.
24378         * sysdeps/x86_64/tininess.h: Likewise.
24379         * stdlib/tst-strtod-underflow.c: Likewise.
24380         * stdlib/tst-tininess.c: Likewise.
24381         * stdlib/strtod_l.c: Include <tininess.h>.
24382         (round_and_return): Do not set errno for exact underflow cases.
24383         Force an underflow exception when setting errno for underflow.
24384         Determine underflow based on rounding to normal precision if
24385         TININESS_AFTER_ROUNDING.
24386         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24387         ERANGE for exact underflow cases.
24388         * stdlib/Makefile (tests): Add tst-tininess and
24389         tst-strtod-underflow.
24390         ($(objpfx)tst-tininess): Use $(link-libm).
24391         ($(objpfx)tst-strtod-underflow): Likewise.
24392
24393 2012-10-30  Andreas Jaeger  <aj@suse.de>
24394
24395         [BZ#14767]
24396         * elf/Makefile (tests): Remove conditional for have-initfini-array
24397         since this is now always required and the variable does not exist
24398         anymore.
24399         (tests-static): Likewise.
24400         (modules-names): Likewise.
24401
24402         * po/eo.po: Add Esperanto translation from translation project.
24403
24404         * elf/tst-array1.c (fini_array): Make writeable so that it can be
24405         merged with constructor/destructor.
24406         (init_array): Likewise.
24407         * elf/tst-array2dep.c (fini_array): Likewise.
24408         (init_array): Likewise.
24409
24410 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
24411
24412         * manual/message.texi: Delete @cartouche tags.
24413
24414 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
24415
24416         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24417         EOPNOTSUPP.
24418         * sysdeps/mach/hurd/fsync.c: Likewise.
24419
24420         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24421         [_POSIX_REALTIME_SIGNALS]: Change condition to
24422         [_POSIX_REALTIME_SIGNALS > 0].
24423
24424 2012-10-27  Andreas Jaeger  <aj@suse.de>
24425
24426         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24427         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24428         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24429         [__WORDSIZE != 64]: Likewise.
24430
24431 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
24432
24433         *  iconvdata/tst-table.sh: Remove ${SHELL}.
24434         *  iconvdata/tst-tables.sh: Likewise.
24435
24436 2012-10-25  David S. Miller  <davem@davemloft.net>
24437
24438         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24439         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24440         of strtoull.
24441
24442         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24443         ifunc-impl-list.c
24444         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24445         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24446         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24447         file.
24448
24449 2012-10-25  Roland McGrath  <roland@hack.frob.com>
24450
24451         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24452         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24453         __getdirentries.
24454
24455 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
24456             Jim Blandy  <jimb@codesourcery.com>
24457
24458         * scripts/cross-test-ssh.sh: New file.
24459         * manual/install.texi (Configuring and compiling): Document use of
24460         cross-test-ssh.sh.
24461         * INSTALL: Regenerated.
24462
24463 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
24464
24465         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24466         EOPNOTSUPP.
24467
24468 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
24469
24470         * Makeconfig (run-program-prefix): Fix comment.
24471
24472 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
24473             Jim Blandy  <jimb@codesourcery.com>
24474
24475         * Makeconfig (test-wrapper): New variable,
24476         (test-wrapper-env): Likewise.
24477         [$(cross-compiling) = yes && $(test-wrapper) != ""]
24478         (run-built-tests): Define to yes.
24479         (run-program-prefix): Use $(test-wrapper).
24480         (built-program-cmd): Likewise.
24481         * Rules (make-test-out): Use $(test-wrapper-env) and
24482         $(host-built-program-cmd).
24483         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24484         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24485         tst-pathopt.sh.
24486         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24487         $(test-wrapper-env) to tst-rtld-load-self.sh.
24488         ($(objpfx)order2.out): Use $(test-wrapper).
24489         ($(objpfx)tst-initorder.out): Likewise.
24490         ($(objpfx)tst-initorder2.out): Likewise.
24491         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24492         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24493         (test_wrapper_env): New variable.  Use it to run ld.so.
24494         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24495         Use it to run ld.so.
24496         (test_wrapper_env): Likewise.
24497         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24498         $(test-wrapper) to run-iconv-test.sh.
24499         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24500         (ICONV): Use $test_wrapper.
24501         * posix/Makefile ($(objpfx)globtest.out): Pass
24502         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24503         globtest.sh, not $(run-program-prefix).
24504         * posix/globtest.sh (run_via_rtld_prefix): New variable.
24505         (test_wrapper): Likewise.
24506         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
24507         set together with run_via_rtld_prefix.
24508         (run_program_prefix): Define in terms of test_wrapper and
24509         run_via_rtld_prefix.
24510
24511 2012-10-24  Roland McGrath  <roland@hack.frob.com>
24512
24513         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24514         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24515         Targets removed.
24516
24517         [BZ #14743]
24518         * include/time.h: Remove librt_hidden_proto (clock_gettime).
24519         Declare __clock_getres, __clock_gettime, __clock_settime,
24520         __clock_nanosleep, and __clock_getcpuclockid.
24521         * rt/clock_gettime.c: Define __clock_gettime as an alias.
24522         Remove librt_hidden_def (clock_gettime).
24523         * sysdeps/unix/clock_gettime.c: Likewise.
24524         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24525         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24526         * rt/clock_getres.c: Define __clock_getres as an alias.
24527         * sysdeps/posix/clock_getres.c: Likewise.
24528         * rt/clock_settime.c: Define __clock_settime as an alias.
24529         * sysdeps/unix/clock_settime.c: Likewise.
24530         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24531         * sysdeps/unix/clock_nanosleep.c: Likewise.
24532         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24533         * rt/clock-compat.c: New file.
24534         * rt/Makefile (librt-routines): Add clock-compat and move
24535         $(clock-routines) to ...
24536         (routines): ... here, new variable.
24537         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24538         Don't add get_clockfreq here.
24539         * rt/Versions (libc: GLIBC_2.17): New version set.
24540         Add clock_* symbols here.
24541         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
24542         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24543         (GLIBC_2.17): Add clock_* symbols.
24544         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24545         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24546         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24548         Likewise.
24549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24550         Likewise.
24551         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24552         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24555         * NEWS: Mention the move.
24556
24557         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24558         Use __open, __read, __close rather than their public counterparts.
24559         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24560         (__get_clockfreq_via_cpuinfo): Likewise.
24561         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24562         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24563
24564         * config.h.in (HAVE_IFUNC): New #undef.
24565         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24566         was successful.
24567         * configure: Regenerated.
24568
24569 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
24570
24571         * configure.in: Move READELF check to start of file.
24572         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24573         libc_cv_asm_gnu_indirect_function in the process.
24574         * configure: Regenerated.
24575
24576 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
24577
24578         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24579         send the output to /dev/null.
24580         (libc_cv_cc_with_libunwind): Likewise.
24581         (libc_cv_as_noexecstack): Likewise.
24582         * configure: Regenerate.
24583
24584 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
24585
24586         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24587
24588         * posix/globtest.sh (TMPDIR): Do not set.
24589         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24590         (testout): Likewise.
24591
24592 2012-10-24  Andreas Jaeger  <aj@suse.de>
24593
24594         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24595         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24596         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24597         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24598         posix_fadvise64, posix_fallocate64.
24599
24600         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24601         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24602         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24603         Likewise.
24604         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24605         Likewise.
24606         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24607
24608         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24609         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24610         <bits/fcntl-linux.h>.
24611         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24612
24613         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24614         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24615         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24616         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24617         [__WORDSIZE != 64]: Likewise.
24618
24619 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
24620
24621         * Makeconfig (run-built-tests): New variable.
24622         * Rules [$(cross-compiling) = yes]: Change condition to
24623         [$(run-built-tests) = no].
24624         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24625         to [$(run-built-tests) = yes].
24626         * elf/Makefile [$(cross-compiling) = no]: Likewise
24627         * grp/Makefile [$(cross-compiling) = no]: Likewise.
24628         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24629         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24630         * intl/Makefile [$(cross-compiling) = no]: Likewise.
24631         * io/Makefile [$(cross-compiling) = no]: Likewise.
24632         * libio/Makefile [$(cross-compiling) = no]: Likewise.
24633         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24634         * misc/Makefile [$(cross-compiling) = no]: Likewise.
24635         * posix/Makefile [$(cross-compiling) = no]: Likewise.
24636         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24637         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24638         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24639         * string/Makefile [$(cross-compiling) = no]: Likewise.
24640
24641         * posix/Makefile ($(objpfx)globtest.out): Pass
24642         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24643         $(rtld-installed-name).
24644         * posix/globtest.sh (elf_objpfx): Remove variable.
24645         (rtld_installed_name): Likewise.
24646         (library_path): Likewise.
24647         (run_program_prefix): New variable.  Use for running globtest
24648         binary.
24649
24650 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
24651             Joseph Myers  <joseph@codesourcery.com>
24652
24653         * Makeconfig (host-built-program-cmd): New variable.
24654         * elf/Makefile (tst-stackguard1-ARGS): Use
24655         $(host-built-program-cmd).
24656         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24657         (tst-spawn-ARGS): Likewise.
24658         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24659
24660 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
24661             Jim Blandy  <jimb@codesourcery.com>
24662
24663         * Makeconfig (run-via-rtld-prefix): New variable.
24664         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24665         (built-program-cmd): Likewise.
24666
24667 2012-10-22  Andreas Jaeger  <aj@suse.de>
24668
24669         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24670         __O_RSYNC if it exists, otherwise to O_SYNC.
24671
24672 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
24673             Joseph Myers  <joseph@codesourcery.com>
24674
24675         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24676         /dev/null.
24677         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24678         from /dev/null
24679         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24680         /dev/null.
24681
24682 2012-10-22  Andreas Jaeger  <aj@suse.de>
24683
24684         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24685         Define always.
24686         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24687
24688         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24689         bits/fcntl-linux.h.
24690
24691         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24692         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24693
24694         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24695         to __O_LARGEFILE.
24696         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24697         to __O_LARGEFILE.
24698
24699 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
24700             Joseph Myers  <joseph@codesourcery.com>
24701
24702         * config.make.in (NM): New variable.
24703
24704 2012-10-21  Andreas Jaeger  <aj@suse.de>
24705
24706         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24707         definitions and declarations that are provided by
24708         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24709
24710 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
24711
24712         [BZ #14683]
24713         * elf/Makefile (tests-static): Add tst-leaks1-static.
24714         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24715         ($(objpfx)tst-leaks1-static): New rule.
24716         ($(objpfx)tst-leaks1-static-mem): Likewise.
24717         (tst-leaks1-static-ENV): New macro.
24718         * elf/dl-open.c (dl_open_worker): Check the main application
24719         only if SHARED is defined.
24720         * elf/tst-leaks1-static.c: New file.
24721
24722 2012-10-20  Andreas Jaeger  <aj@suse.de>
24723
24724         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24725         generic values for Linux.
24726         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24727         and declarations that are provided by <bits/fcntl-linux.h> and
24728         include <bits/fcntl-linux.h>.
24729         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24730         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24731
24732 2012-10-20  Roland McGrath  <roland@hack.frob.com>
24733
24734         * io/fcntl.h: Move include of <bits/types.h> to the top and
24735         include it unconditionally.
24736
24737 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
24738
24739         * wcsmbs/Makefile (tests-ifunc): New variable.
24740         (tests): Add $(tests-ifunc).
24741         * wcsmbs/test-wcschr-ifunc.c: New file.
24742         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24743         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24744         * wcsmbs/test-wcslen-ifunc.c: Likewise.
24745         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24746         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24747
24748         * string/Makefile (tests-ifunc): New variable.
24749         (tests): Add $(tests-ifunc).
24750         * string/test-memccpy.c (TEST_NAME): New macro.
24751         * string/test-memchr.c (TEST_NAME): Likewise.
24752         * string/test-memcmp.c (TEST_NAME): Likewise.
24753         * string/test-memcpy.c (TEST_NAME): Likewise.
24754         * string/test-memmem.c (TEST_NAME): Likewise.
24755         * string/test-memmove.c (TEST_NAME): Likewise.
24756         * string/test-memset.c (TEST_NAME): Likewise.
24757         * string/test-rawmemchr.c (TEST_NAME): Likewise.
24758         * string/test-stpcpy.c (TEST_NAME): Likewise.
24759         * string/test-stpncpy.c (TEST_NAME): Likewise.
24760         * string/test-strcasecmp.c (TEST_NAME): Likewise.
24761         * string/test-strcasestr.c (TEST_NAME): Likewise.
24762         * string/test-strcat.c (TEST_NAME): Likewise.
24763         * string/test-strchr.c (TEST_NAME): Likewise.
24764         * string/test-strcmp.c(TEST_NAME): Likewise.
24765         * string/test-strcpy.c (TEST_NAME): Likewise.
24766         * string/test-strcspn.c (TEST_NAME): Likewise.
24767         * string/test-strlen.c (TEST_NAME): Likewise.
24768         * string/test-strncasecmp.c (TEST_NAME): Likewise.
24769         * string/test-strncmp.c (TEST_NAME): Likewise.
24770         * string/test-strncpy.c (TEST_NAME): Likewise.
24771         * string/test-strnlen.c (TEST_NAME): Likewise.
24772         * string/test-strpbrk.c (TEST_NAME): Likewise.
24773         * string/test-strrchr.c (TEST_NAME): Likewise.
24774         * string/test-strspn.c (TEST_NAME): Likewise.
24775         * string/test-strstr.c (TEST_NAME): Likewise.
24776         * string/test-bcopy-ifunc.c: New file.
24777         * string/test-bzero-ifunc.c: Likewise.
24778         * string/test-memccpy-ifunc.c: Likewise.
24779         * string/test-memchr-ifunc.c: Likewise.
24780         * string/test-memcmp-ifunc.c: Likewise.
24781         * string/test-memcpy-ifunc.c: Likewise.
24782         * string/test-memmem-ifunc.c: Likewise.
24783         * string/test-memmove-ifunc.c: Likewise.
24784         * string/test-mempcpy-ifunc.c: Likewise.
24785         * string/test-memset-ifunc.c: Likewise.
24786         * string/test-rawmemchr-ifunc.c: Likewise.
24787         * string/test-stpcpy-ifunc.c: Likewise.
24788         * string/test-stpncpy-ifunc.c: Likewise.
24789         * string/test-strcasecmp-ifunc.c: Likewise.
24790         * string/test-strcasestr-ifunc.c: Likewise.
24791         * string/test-strcat-ifunc.c: Likewise.
24792         * string/test-strchr-ifunc.c: Likewise.
24793         * string/test-strchrnul-ifunc.c: Likewise.
24794         * string/test-strcmp-ifunc.c: Likewise.
24795         * string/test-strcpy-ifunc.c: Likewise.
24796         * string/test-strcspn-ifunc.c: Likewise.
24797         * string/test-strlen-ifunc.c: Likewise.
24798         * string/test-strncasecmp-ifunc.c: Likewise.
24799         * string/test-strncat-ifunc.c: Likewise.
24800         * string/test-strncmp-ifunc.c: Likewise.
24801         * string/test-strncpy-ifunc.c: Likewise.
24802         * string/test-strnlen-ifunc.c: Likewise.
24803         * string/test-strpbrk-ifunc.c: Likewise.
24804         * string/test-strrchr-ifunc.c: Likewise.
24805         * string/test-strspn-ifunc.c: Likewise.
24806         * string/test-strstr-ifunc.c: Likewise.
24807
24808         * debug/Makefile (tests-ifunc): New variable.
24809         (tests): Add $(tests-ifunc).
24810         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24811         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24812         * debug/test-stpcpy_chk-ifunc.c: New file.
24813         * debug/test-strcpy_chk-ifunc.c: Likewise.
24814
24815 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24816
24817         [BZ #13601]
24818         * elf/dl-load.c (open_verify): Retry read if the entire ELF
24819         header is not read in.
24820
24821 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
24822
24823         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
24824         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
24825         directly.  Pass built executable to script as
24826         $(built-program-cmd).
24827         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
24828         $testprogram without using LD_LIBRARY_PATH and $ldso.
24829
24830         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24831         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24832         $(rtld-installed-name).
24833         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24834         (rtld_installed_name): Likewise.
24835         (library_path): Likewise.
24836         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
24837         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24838         $(run-program-prefix) to tst-tables.sh.
24839         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
24840         it to run tst-table-from and tst-table-to.
24841         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24842         Pass it to tst-table.sh.
24843         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24844         $(run-program-prefix) to tst-gettext.sh.
24845         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24846         tst-translit.sh.
24847         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24848         tst-gettext2.sh.
24849         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
24850         to run tst-gettext.
24851         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
24852         to run tst-gettext2.
24853         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
24854         to run tst-translit.
24855         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24856         $(run-program-prefix) to tst-mtrace.sh.
24857         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
24858         to run tst-mtrace.
24859         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24860         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24861         $(rtld-installed-name).
24862         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24863         (rtld_installed_name): Likewise.
24864         (run_program_prefix): New variable.  Use it to run wordexp-test.
24865
24866         * Makeconfig (ARCH): Remove all definitions.
24867         (machine): Likewise.
24868         [ARCH]: Remove conditional code.
24869         [!objdir]: Give error.
24870         [!objdir] (objpfx): Remove.
24871         [!objdir] (common-objpfx): Likewise.
24872         [!objdir] (common-objdir): Likewise.
24873         * configure.in (config_makefile): Remove.  Hardcode Makefile in
24874         AC_CONFIG_FILES call.
24875         * configure: Regenerated.
24876
24877         [BZ #13888]
24878         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24879         or TMPDIR.
24880         (testout): Likewise.
24881
24882         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24883         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24884         $(rtld-installed-name).
24885         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24886         (rtld_installed_name): Likwise.
24887         (runit): Remove function.
24888         (run_getconf): New variable,  Use it for running getconf binary.
24889
24890 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
24891
24892         [BZ #14716]
24893         * string/test-memmem.c (check_result): New function.
24894         (do_one_test): Use it.
24895         (check1): New function.
24896         (test_main): Use it.
24897
24898 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
24899
24900         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24901
24902 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
24903
24904         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24905         (_G_LSEEK64): Likewise.
24906         (_G_MMAP64): Likewise.
24907         (_G_FSTAT64): Likewise.
24908         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24909         (_G_LSEEK64): Likewise.
24910         (_G_MMAP64): Likewise.
24911         (_G_FSTAT64): Likewise.
24912         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24913         unconditional.  Call __mmap64 directly.
24914         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24915         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
24916         __lseek64 directly.
24917         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24918         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
24919         __mmap64 directly.
24920         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24921         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
24922         __lseek64 directly.
24923         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24924         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
24925         __lseek64 directly.
24926         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24927         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
24928         __lseek64 directly.
24929         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24930         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
24931         __fxstat64 directly.
24932         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24933         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24934         unconditional.
24935         (freopen64) [!_G_OPEN64]: Remove conditional code.
24936         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24937         unconditional.
24938         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24939         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24940         unconditional.
24941         (ftello64) [!_G_LSEEK64]: Remove conditional code.
24942         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24943         unconditional.
24944         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24945         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24946         unconditional.
24947         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24948         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24949         unconditional.
24950         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24951         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24952         unconditional.
24953         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24954         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24955         unconditional.
24956         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24957
24958 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24959
24960         [BZ #12140]
24961         * manual/memory.texi (Malloc Tunable Parameters): Add note
24962         about free list pointers overwriting some perturb bytes.
24963         Wording suggested by Roland McGrath.
24964
24965 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
24966
24967         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24968         (lgamma_test): Likewise.
24969         (tgamma_test): Likewise.
24970
24971 2012-10-16  Florian Weimer  <fweimer@redhat.com>
24972
24973         [BZ #14700]
24974         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24975         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24976
24977 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
24978
24979         * NEWS: Mention BZ #14716.
24980         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24981         when removing AVAILABLE1_USES_J macro.
24982
24983 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
24984
24985         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24986         (__bswap_64): __uint64_t for unsigned 64-bit int.
24987
24988 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
24989
24990         * include/string.h (memmem): Declare libc hidden alias.
24991         * string/memmem.c (memmem): Define libc hidden alias.
24992         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24993         __read, __close instead of open, read, close.
24994
24995 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
24996
24997         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24998         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24999         global and hidden.
25000         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25001         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25002         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25003         Likewise.
25004         (__rawmemchr_sse2): Likewise.
25005         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25006         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25007         (__strchr_sse2): Likewise.
25008         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25009         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25010         (__strcasecmp_sse2): Likewise.
25011         (__strncasecmp_sse2): Likewise.
25012         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25013         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25014         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25015         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25016         (__strrchr_sse2): Likewise.
25017         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25018         ifunc-impl-list.c.
25019         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25020         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25021         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25022         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25023         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25024         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25025         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25026         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25027         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25028         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25029         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25030         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25031         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25032         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25033         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25034         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25035         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25036         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25037         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25038         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25039         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25040         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25041         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25042         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25043         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25044         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25045         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25046         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25047         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25048         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25049
25050         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25051         global and hidden.
25052         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25053         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25054         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25055         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25056         Likewise.
25057         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25058         Likewise.
25059         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25060         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25061         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25062         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25063         ifunc-impl-list.c.
25064         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25065         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25066         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25067         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25068         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25069         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25070         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25071         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25072         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25073         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25074         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25075         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25076         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25077         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25078         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25079         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25080         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25081         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25082         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25083         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25084         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25085         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25086         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25087         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25088         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25089         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25090         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25091         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25092         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25093         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25094         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25095         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25096         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25097         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25098         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25099         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25100         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25101         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25102         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25103         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25104         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25105
25106         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25107         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25108         * include/ifunc-impl-list.h: New file.
25109         * misc/ifunc-impl-list.c: Likewise.
25110         * misc/Makefile (routines): Add ifunc-impl-list.
25111         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25112         * string/test-string.h: Include <ifunc-impl-list.h>.
25113         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25114         TEST_NAME]: New variables.
25115         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25116         are defined.
25117         (test_init): Call __libc_ifunc_impl_list to initialize
25118         func_list if TEST_IFUNC and TEST_NAME are defined.
25119
25120         * string/Makefile (strop-tests): Add bcopy and bzero.
25121         * string/test-bcopy.c: New file.
25122         * string/test-bzero.c: Likewise.
25123         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25124         defined.
25125         * string/test-memset.c: Support bzero test if TEST_BZERO is
25126         defined.
25127         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25128         __libc_memmove.
25129         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25130         __libc_memset.
25131         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25132         of memset.
25133
25134 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
25135
25136         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25137         * configure: Regenerated.
25138
25139         * Makeconfig (+link-static-before-libc): Don't include
25140         $(link-static-libc).
25141
25142         * libio/libio.h (_IO_pos_t): Remove.
25143
25144 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
25145
25146         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
25147         McGrath.
25148
25149 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
25150
25151         * crypt/crypt-entry.c: Include fips-private.h.
25152         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25153         * crypt/md5c-test.c (main): Tolerate disabled MD5.
25154         * sysdeps/unix/sysv/linux/fips-private.h: New file.
25155         * sysdeps/generic/fips-private.h: New file, dummy fallback.
25156
25157 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
25158
25159         * crypt/crypt-private.h: Include stdbool.h.
25160         (_ufc_setup_salt_r): Return bool.
25161         * crypt/crypt-entry.c: Include errno.h.
25162         (__crypt_r): Return NULL with EINVAL for bad salt.
25163         * crypt/crypt_util.c (bad_for_salt): New.
25164         (_ufc_setup_salt_r): Check that salt is long enough and within
25165         the specified alphabet.
25166         * crypt/badsalttest.c: New file.
25167         * crypt/Makefile (tests): Add it.
25168         ($(objpfx)badsalttest): New.
25169
25170 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
25171
25172         * NEWS: Add entry for BZ #14602.
25173
25174 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
25175
25176         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25177         type-generic.
25178         * math/libm-test.inc: Update comment listing what functions and
25179         macros are tested.
25180         (isgreater_test): New function.
25181         (isgreaterequal_test): Likewise.
25182         (isless_test): Likewise.
25183         (islessequal_test): Likewise.
25184         (islessgreater_test): Likewise.
25185         (isunordered_test): Likewise.
25186         (main): Call the new functions.
25187
25188 2012-10-09  Roland McGrath  <roland@hack.frob.com>
25189
25190         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25191         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25192         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25193         * sysdeps/i386/configure: Regenerated.
25194         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25195         * sysdeps/mach/configure: Regenerated.
25196         * sysdeps/mach/hurd/configure: Regenerated.
25197         * sysdeps/powerpc/configure: Regenerated.
25198         * sysdeps/powerpc/powerpc32/configure: Regenerated.
25199         * sysdeps/powerpc/powerpc64/configure: Regenerated.
25200         * sysdeps/s390/s390-32/configure: Regenerated.
25201         * sysdeps/s390/s390-64/configure: Regenerated.
25202         * sysdeps/sh/configure: Regenerated.
25203         * sysdeps/sparc/configure: Regenerated.
25204         * sysdeps/unix/sysv/linux/configure: Regenerated.
25205         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25206         * sysdeps/x86_64/configure: Regenerated.
25207
25208         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25209         defined.  Don't check if MAP is NULL.
25210
25211 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
25212
25213         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25214         (_G_stat64): Likewise.
25215         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25216         (_G_stat64): Likewise.
25217         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25218         instead of struct _G_stat64.
25219         * libio/fileops.c (mmap_remap_check): Likewise.
25220         (decide_maybe_mmap): Likewise.
25221         (_IO_new_file_seekoff): Likewise.
25222         (_IO_file_stat): Likewise.
25223         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25224         _G_off64_t.
25225         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25226         instead of struct _G_stat64.
25227         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25228
25229 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
25230
25231         [BZ #14602]
25232         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25233         Replace with ...
25234         (CHECK_EOL): New macro.
25235         (two_way_short_needle): Check beginning of haystack for EOL.  Use
25236         CHECK_EOL.
25237         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25238         Replace with CHECK_EOL.
25239         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25240         Replace with CHECK_EOL.
25241
25242 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
25243
25244         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25245         type-generic.
25246         * math/libm-test.inc: Update comment listing what functions and
25247         macros are tested.
25248         (finite_test): New function.
25249         (isinf_test): Likewise.
25250         (isnan_test): Likewise.
25251         (fpclassify_test): Test subnormal input.
25252         (isfinite_test): Likewise.
25253         (isnormal_test): Likewise.
25254         (main): Call the new functions.
25255
25256 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
25257
25258         [BZ #14660]
25259         * Makerules (%.dynsym): Force C locale when running
25260         $(OBJDUMP) --dynamic-syms.
25261
25262 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
25263
25264         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25265         <stdint.h>.
25266
25267 2012-10-06  David S. Miller  <davem@davemloft.net>
25268
25269         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25270         upper 32-bits of the length value in %o2 since we use branch-on-register
25271         tests which consider the entire 64-bit register.
25272
25273 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
25274
25275         * string/test-strstr.c (check2): Add a test for page boundary.
25276
25277 2012-10-05  David S. Miller  <davem@davemloft.net>
25278
25279         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25280         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25281         file.
25282         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25283         sysdep_routines.
25284         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25285         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25286         and bzero when HWCAP_SPARC_CRYPTO is present.
25287
25288 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
25289
25290         [BZ #14602]
25291         * string/test-strstr.c (check2): New function.
25292         (test_main): Call check2.
25293
25294         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25295         and bug-strchr1.
25296         * string/bug-strcasestr1.c (do_test): Moved to ...
25297         * string/test-strcasestr.c (check1): Here.  New function.
25298         (do_one_test): Break out result checking code into ...
25299         (check_result): This.  New function.
25300         (do_one_test): Call check_result.
25301         (test_main): Call check1.
25302         * string/bug-strchr1.c (do_test): Moved to ...
25303         * string/test-strchr.c (check1): Here.  New function.
25304         (do_one_test): Break out result checking code into ...
25305         (check_result): This.  New function.
25306         (do_one_test): Call check_result.
25307         (test_main): Call check1.
25308         * string/bug-strstr1.c (main): Moved to ...
25309         * string/test-strstr.c (check1): Here.  New function.
25310         (do_one_test): Break out result checking code into ...
25311         (check_result): This.  New function.
25312         (do_one_test): Call check_result.
25313         (test_main): Call check1.
25314         * string/bug-strcasestr1.c: Removed.
25315         * string/bug-strchr1.c: Likewise.
25316         * string/bug-strstr1.c: Likewise.
25317
25318         * elf/Makefile (dl-routines): Add hwcaps.
25319         * elf/dl-support.c (_dl_important_hwcaps): Removed.
25320         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25321         (_dl_important_hwcaps): Moved to ...
25322         * elf/dl-hwcaps.c: Here.  New file.
25323         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25324
25325         [BZ #14557]
25326         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25327         if IS_IN_rtld isn't defined.
25328
25329         * elf/dl-support.c (_dl_sysinfo_map): New.
25330         Include "get-dynamic-info.h" and "setup-vdso.h".
25331         (_dl_non_dynamic_init): Call setup_vdso.
25332         * elf/dynamic-link.h: Don't include <assert.h>.
25333         (elf_get_dynamic_info): Moved to ...
25334         * elf/get-dynamic-info.h: Here.  New file.
25335         * elf/dynamic-link.h: Include "get-dynamic-info.h".
25336         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25337         * elf/setup-vdso.h: Here.  New file.
25338         * elf/rtld.c: Include "setup-vdso.h".
25339         (dl_main): Call setup_vdso.
25340
25341 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
25342
25343         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25344         creal in comment listing functions tested.  List finite, isinf,
25345         isnan, isless, islessequal, isgreater, isgreaterequal,
25346         islessgreater, isunordered, lgamma_r and pow10 as functions and
25347         macros not tested.  Mention which functions not tested are aliases
25348         for other functions.  Fix typo.  Note that signs of NaNs are not
25349         tested.
25350
25351         * scripts/config.guess: Update from config.git.
25352         * scripts/config.sub: Likewise.
25353
25354 2012-10-04  Roland McGrath  <roland@hack.frob.com>
25355
25356         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25357         * misc/madvise.c (madvise): Renamed to __madvise.
25358         Make madvise a weak alias.
25359         * include/sys/mman.h: Declare __madvise.
25360         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25361         * sysdeps/unix/syscalls.list
25362         (madvise): Make __madvise the strong name, and madvise a weak alias.
25363         * sysdeps/unix/sysv/linux/syscalls.list
25364         (madvise, mmap): Remove redundant entries.
25365         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25366         * malloc/malloc.c (mtrim): Likewise.
25367         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25368
25369 2012-10-03  Roland McGrath  <roland@hack.frob.com>
25370
25371         * sysdeps/mach/hurd/dl-cache.c: File removed.
25372         * config.h.in (USE_LDCONFIG): New #undef.
25373         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25374         * configure: Regenerated.
25375         * elf/Makefile (dl-routines): Add dl-cache only under
25376         [$(use-ldconfig) = yes].
25377         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25378         cache on [USE_LDCONFIG].
25379         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25380         [USE_LDCONFIG].
25381         * elf/rtld.c (dl_main): Likewise.
25382
25383 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
25384
25385         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25386         _SC_LEVEL4_CACHE_LINESIZE.
25387
25388 2012-10-03  Roland McGrath  <roland@hack.frob.com>
25389
25390         * sysdeps/unix/bsd/confstr.h: File removed.
25391
25392 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
25393
25394         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25395         sys/sdt-config.h.
25396
25397 2012-10-02  Roland McGrath  <roland@hack.frob.com>
25398
25399         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25400         Make 'mapoff' field ElfW(Off) rather than off_t.
25401
25402 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
25403
25404         * nscd/Makefile: Remove nscd-cflags and all its users.
25405         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25406         (CFLAGS-nonlib): Add compiler flags for nscd modules.
25407
25408         [BZ #10631]
25409         * malloc.c (malloc_printerr): Clarify error message.
25410
25411 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
25412
25413         [BZ #14648]
25414         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25415         Set bit_FMA_Usable if FMA is supported.
25416         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25417         macro.
25418         (bit_FMA4_Usable): Updated.
25419         (index_FMA_Usable): New macro.
25420         (CPUID_FMA): Likewise
25421         (HAS_FMA): Defined with bit_FMA_Usable.
25422
25423 2012-10-01  Roland McGrath  <roland@hack.frob.com>
25424
25425         * bits/types.h (__swblk_t): Type removed.
25426         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25427         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25428         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25429         (__SWBLK_T_TYPE): Likewise.
25430         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25431         (__SWBLK_T_TYPE): Likewise.
25432         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25433         (__SWBLK_T_TYPE): Likewise.
25434         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25435         (__SWBLK_T_TYPE): Likewise.
25436
25437 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
25438             Honza Horak <hhorak@redhat.com>
25439
25440         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25441         (xdr_mapname): Use YPMAXMAP as maxsize.
25442         (xdr_peername): Use YPMAXPEER as maxsize.
25443         (xdr_keydat): Use YPAXRECORD as maxsize.
25444         (xdr_valdat): Use YPMAXRECORD as maxsize.
25445
25446 2012-10-01  Roland McGrath  <roland@hack.frob.com>
25447
25448         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25449
25450         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25451         * csu/init-first.c: ... here.
25452         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25453         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25454         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25455         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25456         * sysdeps/i386/init-first.c: File removed.
25457         * sysdeps/sh/init-first.c: File removed.
25458
25459 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
25460
25461         [BZ #14645]
25462         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25463         if x * y might underflow to zero and z is zero.
25464         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25465         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25466         * math/libm-test.inc (min_subnorm_value): New variable.
25467         (fma_test): Add more tests.
25468         (fma_test_towardzero): Likewise.
25469         (fma_test_downward): Likewise
25470         (fma_test_upward): Likewise.
25471         (initialize): Set min_subnorm_value.
25472
25473 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
25474
25475         [BZ #14638]
25476         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25477         0 + 0.
25478         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25479         mode for addition resulting in exact zero.
25480         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25481         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25482         exact 0 + 0.
25483         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25484         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25485         * math/libm-test.inc (fma_test): Add more tests.
25486         (fma_test_towardzero): New function.
25487         (fma_test_downward): Likewise.
25488         (fma_test_upward): Likewise.
25489         (main): Call the new functions.
25490
25491 2012-09-28  David S. Miller  <davem@davemloft.net>
25492
25493         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25494
25495 2012-09-28  Roland McGrath  <roland@hack.frob.com>
25496
25497         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25498         instead of SIGALRM.
25499
25500         * sysdeps/gnu/_G_config.h: Moved to ...
25501         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25502         * sysdeps/mach/hurd/_G_config.h: Moved to ...
25503         * sysdeps/generic/_G_config.h: ... here.
25504
25505         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
25506
25507         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25508
25509         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25510         Conditionalize target on [libnss_test1.so-version].
25511
25512         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25513
25514         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25515         (elfobjdir): Move out of conditionals.
25516
25517         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25518         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25519         (__nss_lookup_function): Conditionalize label remove_from_tree on
25520         [!DO_STATIC_NSS || SHARED], matching its only use.
25521
25522 2012-09-28  David S. Miller  <davem@davemloft.net>
25523
25524         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25525         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25526         file.
25527         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25528         sysdep_routines.
25529         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25530         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25531         when HWCAP_SPARC_CRYPTO is present.
25532
25533 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
25534
25535         * io/tst-mknodat.c: Create a FIFO instead of a socket.
25536
25537 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
25538
25539         [BZ #6530]
25540         * stdio-common/vfprintf.c (process_string_arg): Revert
25541         2000-07-22 change.
25542
25543 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
25544
25545         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25546         for testcase.
25547         * stdio-common/tst-sprintf.c: Include <locale.h>
25548         (main): Test sprintf's handling of incomplete multibyte
25549         characters.
25550
25551 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
25552
25553         * elf/dl-runtime.c (VERSYMIDX): Removed.
25554         * elf/dl-version.c (VERSYMIDX): Likewise.
25555         * elf/do-rel.h (VERSYMIDX): Likewise.
25556         (VALIDX): Likewise.
25557         * elf/dynamic-link.h (VERSYMIDX): Likewise.
25558         * elf/rtld.c (VALIDX): Likewise.
25559         (ADDRIDX): Likewise.
25560         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25561         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25562         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
25563         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25564         (VALIDX): Likewise.
25565         (ADDRIDX): Likewise.
25566
25567 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
25568
25569         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25570
25571 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
25572
25573         [BZ #11438]
25574         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25575         to global scope.
25576         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25577         addresses are in the same scope as 192.0.2/24.
25578         * posix/gai.conf: Document new scope table defaults.
25579
25580 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25581
25582         [BZ #5298]
25583         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25584         for ftell.  Compute offsets from write pointers instead.
25585         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25586
25587 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25588
25589         [BZ #14543]
25590         * libio/Makefile (tests): New test case tst-fseek.
25591         * libio/tst-fseek.c: New test case to verify that fseek/ftell
25592         combination works in wide mode.
25593         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25594         state when the external buffer state changes.
25595
25596 2012-09-27  David S. Miller  <davem@davemloft.net>
25597
25598         [BZ #14376]
25599         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25600         pass reloc->r_addend in as the 'high' argument to
25601         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25602
25603         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25604
25605 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
25606
25607         * rt/tst-aio2.c: Include <pthread.h>.
25608         * rt/tst-aio3.c: Likewise.
25609
25610 2012-09-27  Steve Ellcey  <sellcey@mips.com>
25611
25612         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25613
25614 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
25615
25616         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25617         contents on [SHARED].
25618
25619 2012-09-26  Marek Polacek  <polacek@redhat.com>
25620
25621         [BZ #14530]
25622         [BZ #13741]
25623         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25624         for C++ and GCC <4.3 as well as for non GCC compilers.
25625
25626 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
25627
25628         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25629
25630 2012-09-25  Roland McGrath  <roland@hack.frob.com>
25631
25632         * Makefile.in (all, install): Declare with .PHONY.
25633         Reported by Michael Hope <michael.hope@linaro.org>.
25634
25635 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25636
25637         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25638         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25639         system header.
25640         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25641         Likewise.
25642         (sydep_routines): Add the new and the internal functions.
25643         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25644         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25646         (GLIBC_2.17): Add the new function.
25647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25648         (GLIBC_2.17): Likewise.
25649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25650         (GLIBC_2.17): Likewise.
25651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25652         (GLIBC_2.17): Likewise.
25653         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25654
25655 2012-09-25  Alan Modra  <amodra@gmail.com>
25656
25657         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25658         Add release barrier before setting once_control to say
25659         initialisation is done.  Add hints on lwarx.  Use macro in
25660         place of isync.
25661         (clear_once_control): Add release barrier.
25662
25663 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
25664
25665         [BZ #13629]
25666         * math/s_clog.c (__clog): Handle more values close to |z| = 1
25667         specially.
25668         * math/s_clog10.c (__clog10): Likewise.
25669         * math/s_clog10f.c (__clog10f): Likewise.
25670         * math/s_clog10l.c (__clog10l): Likewise.
25671         * math/s_clogf.c (__clogf): Likewise.
25672         * math/s_clogl.c (__clogl): Likewise.
25673         * math/Makefile (libm-calls): Add x2y2m1.
25674         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25675         (__x2y2m1): Likewise.
25676         (__x2y2m1l): Likewise.
25677         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25678         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25679         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25680         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25681         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25682         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25683         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25684         * sysdeps/i386/fpu/libm-test-ulps: Update.
25685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25686
25687         [BZ #14621]
25688         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25689         int as type of variable DEPTH.
25690         (glob): Use size_t instead of int as type of variables NEWCOUNT
25691         and OLD_PATHC.
25692
25693 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25694
25695         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25696         Add s_sincosf-sse2.
25697         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25698         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25699         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25700         macros for using routine as __sincosf_ia32.
25701         Use macro for function declaration and weak_alias.
25702         * sysdeps/i386/fpu/libm-test-ulps: Update.
25703
25704         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25705         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25706
25707         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25708         subnormal argument.
25709         * math/s_cexpf.c (__cexpf): Likewise.
25710         * math/s_csinf.c (__csinf): Likewise.
25711         * math/s_csinhf.c (__csinhf): Likewise.
25712         * math/s_ctanf.c (__ctanf): Likewise.
25713         * math/s_ctanhf.c (__ctanhf): Likewise.
25714         * math/s_ccosh.c (__ccoshf): Likewise.
25715         * math/s_cexp.c (__cexpl): Likewise.
25716         * math/s_csin.c (__csin): Likewise.
25717         * math/s_csinh.c (__csinh): Likewise.
25718         * math/s_ctan.c (__ctan): Likewise.
25719         * math/s_ctanh.c (ctanh): Likewise.
25720         * math/s_ccoshl.c (__ccoshl): Likewise.
25721         * math/s_cexpl.c (__cexpl): Likewise.
25722         * math/s_csinl.c (__csinl): Likewise.
25723         * math/s_csinhl.c (__csinhl): Likewise.
25724         * math/s_ctanl.c (__ctanl): Likewise.
25725         * math/s_ctanhl.c (__ctanhl): Likewise.
25726
25727 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
25728
25729         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25730         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25731         (_IO_off_t): Define to __off_t, not _G_off_t.
25732         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25733         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25734         (_IO_wint_t): Define to wint_t, not _G_wint_t.
25735         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25736         type of __dummy and __dummy2 fields.
25737         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25738         (_G_ssize_t): Likewise.
25739         (_G_off_t): Likewise.
25740         (_G_pid_t): Likewise.
25741         (_G_uid_t): Likewise.
25742         (_G_wchar_t): Likewise.
25743         (_G_wint_t): Likewise.
25744         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25745         (_G_ssize_t): Likewise.
25746         (_G_off_t): Likewise.
25747         (_G_pid_t): Likewise.
25748         (_G_uid_t): Likewise.
25749         (_G_wchar_t): Likewise.
25750         (_G_wint_t): Likewise.
25751         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25752         (_G_ssize_t): Likewise.
25753         (_G_off_t): Likewise.
25754         (_G_pid_t): Likewise.
25755         (_G_uid_t): Likewise.
25756         (_G_wchar_t): Likewise.
25757         (_G_wint_t): Likewise.
25758
25759 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25760
25761         * malloc/arena.c: Include malloc-sysdep.h.
25762         (shrink_heap): Use check_may_shrink_heap to decide if madvise
25763         is sufficient to shrink the heap or an unmap is needed.
25764         * sysdeps/generic/malloc-sysdep.h: New file.  Define
25765         new function check_may_shrink_heap.
25766         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
25767         new function check_may_shrink_heap.
25768
25769 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25770
25771         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25772         comments.
25773
25774 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
25775
25776         * catgets/test-gencat.sh: Add "set -e".
25777         * elf/tst-pathopt.sh: Likewise.
25778         * grp/tst_fgetgrent.sh: Likewise.
25779         * iconvdata/run-iconv-test.sh: Likewise.
25780         * intl/tst-gettext.sh: Likewise.
25781         * intl/tst-gettext2.sh: Likewise.
25782         * intl/tst-gettext4.sh: Likewise.
25783         * intl/tst-gettext6.sh: Likewise.
25784         * intl/tst-translit.sh: Likewise.
25785         * io/ftwtest-sh: Likewise.
25786         * libio/test-freopen.sh: Likewise.
25787         * malloc/tst-mtrace.sh: Likewise.
25788         * posix/globtest.sh: Likewise.
25789         * posix/tst-getconf.sh: Likewise.
25790         * posix/wordexp-tst.sh: Likewise.
25791         * stdio-common/tst-printf.sh: Likewise.
25792         * stdio-common/tst-unbputc.sh: Likewise.
25793         * stdlib/tst-fmtmsg.sh: Likewise.
25794         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25795         * catgets/Makefile: Do not specify -e option when running
25796         testsuite shell scripts.
25797         * elf/Makefile: Likewise.
25798         * grp/Makefile: Likewise.
25799         * iconvdata/Makefile: Likewise.
25800         * intl/Makefile: Likewise.
25801         * io/Makefile: Likewise.
25802         * libio/Makefile: Likewise.
25803         * malloc/Makefile: Likewise.
25804         * posix/Makefile: Likewise.
25805         * stdio-common/Makefile: Likewise.
25806         * stdlib/Makefile: Likewise.
25807         * sysdeps/x86_64/Makefile: Likewise.
25808
25809         * io/ftwtest-sh: Add copyright header.
25810         * posix/globtest.sh: Likewise.
25811         * posix/tst-getconf.sh: Likewise.
25812         * posix/wordexp-tst.sh: Likewise.
25813         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25814
25815 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
25816
25817         [BZ #13679]
25818         * Makeconfig (+link): Defined as $(+link-static) if
25819         $(build-shared) isn't yes.
25820         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25821         isn't yes.
25822         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25823
25824         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25825
25826         [BZ #14562]
25827         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25828         new chunk size with MALLOC_ALIGN_MASK.
25829
25830 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
25831
25832         [BZ #5044]
25833         * stdio-common/printf_fphex.c: Include <stdbool.h> and
25834         <rounding-mode.h>.
25835         (__printf_fphex): Determine rounding using get_rounding_mode and
25836         round_away.
25837         * stdio-common/tst-printf-round.c (struct hex_test): New
25838         structure.
25839         (hex_tests): New variable.
25840         (test_hex_in_one_mode): New function.
25841         (do_test): Also run tests for hex float output.
25842
25843 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
25844
25845         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25846         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25847         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25848         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25849         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25850         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25851         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25852         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25853
25854 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
25855
25856         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25857         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25858         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25859         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25860
25861 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
25862
25863         [BZ #14579]
25864         * elf/rtld.c (dl_main): Limit the check for self loading to normal
25865         mode only.
25866         * elf/tst-rtld-load-self.sh: New test.
25867         * elf/Makefile: Run it.
25868
25869 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
25870
25871         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25872         (tst-writev-ENV): Remove.
25873         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25874
25875 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
25876
25877         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25878
25879 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
25880
25881         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25882         unconditional.
25883         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25884         Likewise.
25885         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25886         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25887         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25888         Likewise.
25889
25890 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
25891
25892         [BZ #14587]
25893         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25894         * config.make.in (have-cpp-asm-debuginfo): Removed.
25895         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25896         * configure: Regenerated.
25897
25898 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
25899
25900         [BZ #5044]
25901         * stdio-common/printf_fp.c: Include <stdbool.h> and
25902         <rounding-mode.h>.
25903         (___printf_fp): Determine rounding using get_rounding_mode and
25904         round_away.
25905         * stdio-common/tst-printf-round.c: New file.
25906         * stdio-common/Makefile (tests): Add tst-printf-round.
25907         (link-libm): New variable.
25908         ($(objpfx)tst-printf-round): Depend in $(link-libm).
25909
25910 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
25911
25912         [BZ #14576]
25913         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25914         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25915         Likewise.
25916         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25917         Likewise.
25918
25919 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
25920
25921         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25922         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25923         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25924         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25925
25926 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
25927
25928         [BZ #14518]
25929         * include/rounding-mode.h: New file.
25930         * sysdeps/generic/get-rounding-mode.h: Likewise.
25931         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25932         * stdlib/strtod_l.c: Include <rounding-mode.h>.
25933         (MAX_VALUE): New macro.
25934         (MIN_VALUE): Likewise.
25935         (overflow_value): New function.
25936         (underflow_value): Likewise.
25937         (round_and_return): Use overflow_value and underflow_value to
25938         determine return values in overflow and underflow cases.  Use
25939         round_away to determine rounding depending on rounding mode.
25940         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25941         determine return values in overflow and underflow cases.
25942         * stdlib/tst-strtod-round.c: Include <fenv.h>.
25943         (struct test_results): New structure.
25944         (struct test): Use struct test_results to store expected results
25945         for all rounding modes.
25946         (TEST): Include expected results for all rounding modes.
25947         (test_in_one_mode): New function.
25948         (do_test): Use test_in_one_mode to compute and check results.
25949         Check results for all rounding modes.
25950         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25951         $(link-libm).
25952
25953 2012-12-09  Allan McRae  <allan@archlinux.org>
25954
25955         * sysdeps/i386/fpu/libm-test-ulps: Update
25956
25957 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
25958
25959         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25960         (_G_int32_t): Likewise.
25961         (_G_uint16_t): Likewise.
25962         (_G_uint32_t): Likewise.
25963         (_G_HAVE_BOOL): Likewise.
25964         (_G_HAVE_ATEXIT): Likewise.
25965         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25966         (_G_HAVE_IO_FILE_OPEN): Likewise.
25967         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25968         (_G_int32_t): Likewise.
25969         (_G_uint16_t): Likewise.
25970         (_G_uint32_t): Likewise.
25971         (_G_HAVE_BOOL): Likewise.
25972         (_G_HAVE_ATEXIT): Likewise.
25973         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25974         (_G_HAVE_IO_FILE_OPEN): Likewise.
25975         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25976         (_G_int32_t): Likewise.
25977         (_G_uint16_t): Likewise.
25978         (_G_uint32_t): Likewise.
25979         (_G_HAVE_BOOL): Likewise.
25980         (_G_HAVE_ATEXIT): Likewise.
25981         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25982         (_G_HAVE_IO_FILE_OPEN): Likewise.
25983
25984 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
25985
25986         * csu/libc-tls.c: Update copyright years.
25987
25988 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
25989
25990         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25991         [!_G_USING_THUNKS]: Remove conditional code.
25992         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25993         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25994
25995         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25996         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25997         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25998         (_G_VTABLE_LABEL_PREFIX): Likewise.
25999         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26000         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26001         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26002         (_G_VTABLE_LABEL_PREFIX): Likewise.
26003         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26004         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26005         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26006         (_G_VTABLE_LABEL_PREFIX): Likewise.
26007         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26008
26009 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
26010
26011         * libio/Makefile: Include ../Makeconfig before tests.
26012         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26013         only if $(build-shared) is yes.
26014
26015         * iconv/gconv_db.c: Update copyright years.
26016
26017 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26018
26019         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26020         unwind info if defined PIC. Fix special cases description.
26021         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26022
26023         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26024         DP_HI_MASK entry.
26025         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26026
26027 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
26028
26029         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26030
26031         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26032         is NULL.
26033
26034         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26035         (LDLIBS-tst-chk4): This.
26036         (LDFLAGS-tst-chk5): Renamed to ...
26037         (LDLIBS-tst-chk5): This.
26038         (LDFLAGS-tst-chk6): Renamed to ...
26039         (LDLIBS-tst-chk6): This.
26040         (LDFLAGS-tst-lfschk4): Renamed to ...
26041         (LDLIBS-tst-lfschk4): This.
26042         (LDFLAGS-tst-lfschk5): Renamed to ...
26043         (LDLIBS-tst-lfschk5): This.
26044         (LDFLAGS-tst-lfschk6): Renamed to ...
26045         (LDLIBS-tst-lfschk6): This.
26046
26047         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26048         on $(common-objpfx)soversions.mk.
26049
26050 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
26051
26052         [BZ #10014]
26053         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26054         example host name.
26055
26056 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
26057
26058         * malloc/arena.c (arena_get_retry): New function that gets
26059         another arena for the caller to try its request on.
26060         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26061         current arena cannot fulfill the request.
26062         (__libc_memalign): Likewise.
26063         (__libc_memalign): Likewise.
26064         (__libc_pvalloc): Likewise.
26065         (__libc_calloc): Likewise.
26066
26067 2012-09-05  John Tobey  <john.tobey@gmail.com>
26068
26069         [BZ #13542]
26070         * manual/arith.texi (Operations on Complex): Fix description
26071         of carg branch cut.
26072
26073 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
26074
26075         [BZ #10014]
26076         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26077         host name.
26078
26079         [BZ #10038]
26080         * manual/memory.texi (Memory): Make order of menu items match
26081         order of sections.
26082
26083 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26084
26085         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26086         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
26087         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26088
26089 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26090
26091         * csu/libc-tls.c (static_dtv): Renamed to ...
26092         (_dl_static_dtv): This.  Make it global.
26093         (_dl_initial_dtv): Removed.
26094         (__libc_setup_tls): Updated.
26095         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26096         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26097         DL_INITIAL_DTV.
26098
26099 2012-09-06  Petr Machata  <pmachata@redhat.com>
26100
26101         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26102         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26103         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26104         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26105
26106 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26107
26108         [BZ #14545]
26109         * csu/libc-tls.c (_dl_initial_dtv): New variable.
26110         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26111         freeing dtv[-1].
26112
26113 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26114
26115         [BZ #14544]
26116         * Makeconfig (link-static-before-libc): Replace $(+prector)
26117         with $(+prectorT).
26118         (link-static-after-libc): Replace $(+postctor) with
26119         $(+postctorT).
26120         (link-bounded): Replace $(+prector)/$(+postctor) with
26121         $(+prectorT)/$(+postctorT).
26122         (+prectorT): New macro.
26123         (+postctorT): Likewise.
26124
26125 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
26126
26127         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26128         (round_str): Handle values above the maximum for IBM long double
26129         as inexact.
26130         * stdlib/tst-strtod-round.c (tests): Regenerated.
26131
26132 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26133
26134         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26135         assembler flag.
26136         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26137         zarch_nohighgprs around the zarch optimized routines.
26138         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26139         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26140         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26141         for zarch.
26142
26143 2012-09-05  David S. Miller  <davem@davemloft.net>
26144
26145         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26146
26147         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26148         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
26149         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26150         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26151         entries.
26152
26153 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26154
26155         * malloc/arena.c: Fold copyright years.
26156         * malloc/mcheck.c, malloc/memusage.c: Likewise.
26157
26158 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26159
26160         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26161
26162 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26163
26164         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
26165
26166 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26167
26168         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26169         change internal state upon failure.
26170
26171 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26172
26173         * malloc/mcheck.c (mcheck_check_all): Fix typo.
26174         * malloc/memusage.c (mmap): Likewise.
26175         (mmap64, mremap): Likewise.  Adjust name in comment.
26176
26177 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26178
26179         * libio/fileops.c: Fix typos in comments.
26180         * libio/oldfileops.c: Likewise.
26181         * libio/wfileops.c: Likewise.
26182
26183 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26184
26185         [BZ #1349]
26186         * malloc/Makefile (tests): Add tst-malloc-usable test case.
26187         (tst-malloc-usable-ENV): Set environment for test case.
26188         * malloc/hooks.c (malloc_check_get_size): New function to get
26189         requested size.
26190         * malloc/malloc.c (musable): Use malloc_check_get_size.
26191         * malloc/tst-malloc-usable.c: New test case.
26192
26193 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
26194
26195         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26196
26197 2012-09-05  Allan McRae  <allan@archlinux.org>
26198
26199         [BZ #13966]
26200         * configure.in (CXX_SYSINCLUDES): Use compiler output to
26201         determine header location.
26202         * configure: Regenerated.
26203
26204 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
26205
26206         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26207         float format.
26208         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
26209         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26210         format.
26211         (test): Regenerate.
26212
26213 2012-09-04  David S. Miller  <davem@davemloft.net>
26214
26215         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26216         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26217         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26218
26219 2012-09-04  Florian Weimer  <fweimer@redhat.com>
26220
26221         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26222         failures.
26223
26224         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26225
26226 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
26227
26228         [BZ #9914]
26229         * libio/iogetdelim.c: Include <limits.h>.
26230         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26231         + len + 1 would overflow.
26232
26233 2012-09-03  Andreas Jaeger  <aj@suse.de>
26234
26235         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26236         * sysdeps/i386/fpu/libm-test-ulps: Update.
26237
26238 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26239
26240         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26241         Add s_sinf-sse2, s_conf-sse2.
26242
26243         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26244         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26245         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26246         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26247
26248         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26249         for using routine as __sinf_ia32.
26250         Use macro for function declaration and weak_alias.
26251         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26252         for using routine as __cosf_ia32.
26253         Use macro for function declaration and weak_alias.
26254
26255         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26256         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26257
26258         * sysdeps/x86_64/fpu/s_sinf.S: New file.
26259         * sysdeps/x86_64/fpu/s_cosf.S: New file.
26260         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26261
26262         * math/libm-test.inc (cos_test): Add more test cases.
26263         (sin_test): Likewise.
26264         (sincos_test): Likewise.
26265
26266 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26267
26268         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26269         (IFUNC_RESOLVE): Make pointers to the specialized implementations
26270         hidden.
26271         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26272
26273 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
26274
26275         [BZ #14538]
26276         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26277         first element of the GOT.
26278         (elf_machine_load_address): Return the difference between
26279         the runtime address of _DYNAMIC and elf_machine_dynamic ().
26280
26281 2012-09-01  Allan McRae  <allan@archlinux.org>
26282
26283         [BZ #13412]
26284         * configure.in (AWK): Require gawk version 3.0 or later.
26285         * configure: Regenerated.
26286
26287 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
26288
26289         * sysdeps/unix/sysv/linux/kernel-features.h
26290         (__ASSUME_POSIX_CPU_TIMERS): Remove.
26291         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26292         [__NR_clock_getres]: Make code unconditional.
26293         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26294         (clock_getcpuclockid): Remove code left unreachable by removal of
26295         conditionals.
26296         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26297         code unconditional.
26298         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26299         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26300         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26301         Make code unconditional.
26302         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26303         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26304         * sysdeps/unix/sysv/linux/clock_settime.c
26305         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26306         conditional code.
26307         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26308         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26309
26310 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
26311
26312         [BZ #14476]
26313         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26314         scripts/test-installation.pl.
26315
26316         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26317         and $ld_so_version if it is set.
26318
26319 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26320
26321         [BZ #14516]
26322         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26323         failure if reading from procfs failed.
26324         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26325
26326 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
26327
26328         * sysdeps/unix/sysv/linux/kernel-features.h
26329         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26330         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26331         Remove conditional code.
26332         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26333         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26334         Remove conditional code.
26335         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26336         * sysdeps/unix/sysv/linux/i386/fxstat.c
26337         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26338         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26339         * sysdeps/unix/sysv/linux/i386/fxstatat.c
26340         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26341         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26342         * sysdeps/unix/sysv/linux/i386/lxstat.c
26343         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26344         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26345         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26346         Remove conditional code.
26347         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26348         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26349         Remove conditional code.
26350         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26351         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26352         <kernel-features.h>.
26353         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26354         Remove.
26355         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26356         Remove conditional code.
26357         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26358         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26359         Remove conditional.
26360
26361 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
26362
26363         [BZ #5400]
26364         * NEWS: Add fixed bug number.
26365
26366 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
26367
26368         [BZ #14519]
26369         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26370         underflowing exponent in case of negative sign.
26371         * stdlib/tst-strtod-round-data: Add more tests.
26372         * stdlib/tst-strtod-round.c (tests): Regenerated.
26373
26374         [BZ #3479]
26375         * stdlib/strtod_l.c (NDIG): Remove.
26376         (HEXNDIG): Likewise.
26377         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26378         smallest representable value.
26379         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26380         lie within an exact representation of 1/2 ulp of the result.
26381         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26382         unconditionally.
26383         (TENS_P9_IDX): Define unconditionally.
26384         (TENS_P9_SIZE): Likewise.
26385         (TENS_P10_IDX): Likewise.
26386         (TENS_P10_SIZE): Likewise.
26387         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26388         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26389         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26390         entries for 10^2^13 and 10^2^14.
26391         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26392         (TENS_P13_IDX): Define.
26393         (TENS_P13_SIZE): Likewise.
26394         (TENS_P14_IDX): Likewise.
26395         (TENS_P14_SIZE): Likewise.
26396         (_fpioconst_pow10): Change array size to
26397         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
26398         unconditional.
26399         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26400         1024]: Add entries for 10^2^13 and 10^2^14.
26401         [LAST_POW10 > _LAST_POW10]: Remove #error.
26402         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26403         (_fpioconst_pow10): Change array size to
26404         FPIOCONST_POW10_ARRAY_SIZE.
26405         * stdlib/gen-fpioconst.c: New file.
26406         * stdlib/gen-tst-strtod-round.c: Likewise.
26407         * stdlib/tst-strtod-round-data: Likewise.
26408         * stdlib/tst-strtod-round.c: Likewise.
26409         * stdlib/Makefile (tests): Add tst-strtod-round.
26410
26411         [BZ #14459]
26412         * stdlib/strtod_l.c: Include <stdint.h>.
26413         (NDEBUG): Do not define.
26414         (round_and_return): Change EXPONENT parameter to type intmax_t.
26415         Rearrange calculations to avoid internal overflow possibilities.
26416         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26417         Rearrange calculations to avoid internal overflow possibilities.
26418         Assert that number fits inside MPNSIZE limbs.
26419         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26420         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
26421         calculations and add assertions to avoid internal overflow
26422         possibilities.  Add casts to avoid signed/unsigned operations.
26423         * stdlib/tst-strtod-overflow.c: New file.
26424         * stdlib/Makefile (tests): Add tst-strtod-overflow.
26425
26426 2012-08-25  Marek Polacek  <polacek@redhat.com>
26427
26428         * time/time.h: Fix some typos in comments.
26429
26430 2012-08-23  Roland McGrath  <roland@hack.frob.com>
26431
26432         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26433         * posix/tst-rfc3484-2.c: Likewise.
26434         * posix/tst-rfc3484-3.c: Likewise.
26435
26436 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
26437
26438         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26439         (EF_ARM_ABI_FLOAT_HARD): Likewise.
26440
26441 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
26442
26443         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26444         #include of fxstatat64.c.
26445
26446 2012-08-22  Roland McGrath  <roland@hack.frob.com>
26447
26448         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26449         * shadow/getspent_r.c: Likewise.
26450         * shadow/getspnam.c: Likewise.
26451         * shadow/getspnam_r.c: Likewise.
26452         * gshadow/getsgent.c: Likewise.
26453         * gshadow/getsgent_r.c: Likewise.
26454         * gshadow/getsgnam.c: Likewise.
26455         * gshadow/getsgnam_r.c: Likewise.
26456         * inet/getnetbyad.c: Likewise.
26457         * inet/getnetbyad_r.c: Likewise.
26458         * inet/getnetbynm.c: Likewise.
26459         * inet/getnetbynm_r.c: Likewise.
26460         * inet/getnetent.c: Likewise.
26461         * inet/getnetent_r.c: Likewise.
26462         * inet/getproto.c: Likewise.
26463         * inet/getproto_r.c: Likewise.
26464         * inet/getprtent.c: Likewise.
26465         * inet/getprtent_r.c: Likewise.
26466         * inet/getprtname.c: Likewise.
26467         * inet/getprtname_r.c: Likewise.
26468         * inet/getrpcbyname.c: Likewise.
26469         * inet/getrpcbyname_r.c: Likewise.
26470         * inet/getrpcbynumber.c: Likewise.
26471         * inet/getrpcbynumber_r.c: Likewise.
26472         * inet/getrpcent.c: Likewise.
26473         * inet/getrpcent_r.c: Likewise.
26474         * inet/getaliasent.c: Likewise.
26475         * inet/getaliasent_r.c: Likewise.
26476         * inet/getaliasname.c: Likewise.
26477         * inet/getaliasname_r.c: Likewise.
26478         * nscd/getgrgid_r.c: Likewise.
26479         * nscd/getgrnam_r.c: Likewise.
26480         * nscd/gethstbyad_r.c: Likewise.
26481         * nscd/gethstbynm3_r.c: Likewise.
26482         * nscd/getpwnam_r.c: Likewise.
26483         * nscd/getpwuid_r.c: Likewise.
26484         * nscd/getsrvbynm_r.c: Likewise.
26485         * nscd/getsrvbypt_r.c: Likewise.
26486         * nscd/gai.c: Likewise.
26487
26488         * configure.in (build_nscd): New substituted variable, set
26489         by --disable-build-nscd and defaults to $use_nscd.
26490         * configure: Regenerated.
26491         * config.make.in (build-nscd): New substituted variable.
26492         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26493         Change conditional to require [$(build-nscd) = yes] as well.
26494         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26495
26496         [BZ# 13696]
26497         * configure.in (use_nscd): New substituted variable, set by
26498         --disable-nscd.  If enabled, define USE_NSCD.
26499         * configure: Regenerated.
26500         * config.h.in: Add USE_NSCD.
26501         * config.make.in (use-nscd): New substituted variable.
26502         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26503         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26504         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26505         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26506         (CFLAGS-getgrnam_r.c): Likewise.
26507         (CFLAGS-initgroups.c): Likewise.
26508         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26509         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26510         Variables removed.
26511         * inet/getnetgrent_r.c
26512         (nscd_setnetgrent): New function, broken out of ...
26513         (setnetgrent): ... here.  Call it.
26514         (innetgr): Conditionalize nscd bits on [USE_NSCD].
26515         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26516         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26517         * nscd/Makefile (routines, aux): Move definitions after include of
26518         Makeconfig.  Conditionalize on [$(use-nscd) != no].
26519         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26520         Conditionalize on [USE_NSCD].
26521         (is_nscd, nscd_init_cb): Likewise.
26522         (nss_load_library): Conditionalize init callback on [USE_NSCD].
26523         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26524         * nss/nss_db/db-init.c: Likewise.
26525         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26526         [USE_NSCD].
26527         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26528         (make_request): Use it.
26529         (cache_valid_p): New function.
26530         (__check_pf): Use it.
26531         * NEWS: Add item for --disable-nscd.
26532
26533 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
26534
26535         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26536         to support sed >= 4.2.1-20-ga9bf076.
26537         * configure: Regenerated.
26538
26539 2012-08-22  Roland McGrath  <roland@hack.frob.com>
26540
26541         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26542         Conditionalize whole body on [IREL].
26543
26544 2012-08-22  Jeff Law <law@redhat.com>
26545
26546         [BZ #14505]
26547         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26548         if the family is PF_UNSPEC.
26549
26550 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
26551
26552         * Makerules (lib-version): Rename from V.
26553         (install-lib-nosubdir): Change V to lib-version.
26554
26555 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
26556
26557         [BZ #14252]
26558         * powerpc32/power6/wcschr.c: New file.
26559         * powerpc32/power6/wcscpy.c: New file.
26560         * powerpc32/power6/wcsrchr.c: New file.
26561         * powerpc64/power6/wcschr.c: New file.
26562         * powerpc64/power6/wcscpy.c: New file.
26563         * powerpc64/power6/wcsrchr.c: New file.
26564
26565 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
26566
26567         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26568         (two_way_short_needle): Use it.
26569         * string/strstr.c (AVAILABLE1_USES_J): Define.
26570         * string/strcasestr.c: Likewise.
26571
26572         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26573         array references.
26574         * string/strcasestr.c (TOLOWER): Make side-effect safe.
26575
26576         [BZ #11607]
26577         * NEWS: Add an entry.
26578         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26579         define their defaults.
26580         (two_way_short_needle): Detect end-of-string on-the-fly.
26581         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26582         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26583         * string/bug-strcasestr1.c: New test.
26584         * string/Makefile: Run it.
26585
26586 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
26587
26588         [BZ #11607]
26589         * string/str-two-way.h (two_way_short_needle): Optimize matching of
26590         the first character.
26591
26592 2012-08-21  Roland McGrath  <roland@hack.frob.com>
26593
26594         * csu/elf-init.c (__libc_csu_irel): Function removed.
26595         * csu/libc-start.c (apply_irel): New function.
26596         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26597
26598 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
26599
26600         * sysdeps/unix/sysv/linux/kernel-features.h
26601         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26602         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26603         <kernel-features.h>.
26604         [__NR_fadvise64_64]: Make code unconditional.
26605         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26606         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26607         !__NR_fadvise64_64)]: Likewise.
26608         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26609         !__NR_fadvise64_64))]: Likewise.
26610         [__NR_fadvise64]: Make code unconditional.
26611         [!__NR_fadvise64]: Remove conditional code.
26612         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26613         <kernel-features.h>.
26614         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26615         unconditional.
26616         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26617         conditional code.
26618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26619         not include <kernel-features.h>.
26620         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26621         unconditional.
26622         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26623         conditional code.
26624         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26625         include <kernel-features.h>.
26626         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26627         unconditional.
26628         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26629         conditional code.
26630
26631 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
26632
26633         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26634         slight instruction rearrangements per scrollpipe analysis.
26635         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26636
26637 2012-08-20  Roland McGrath  <roland@hack.frob.com>
26638
26639         * manual/syslog.texi (syslog; vsyslog, closelog):
26640         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26641         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26642
26643         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26644         DSOCAPS to match condition on defining it.
26645
26646 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
26647
26648         * sysdeps/unix/sysv/linux/kernel-features.h
26649         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26651         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26652         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26654         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26655         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26657         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26658         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26659
26660         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26661         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26662
26663         * sysdeps/unix/sysv/linux/kernel-features.h
26664         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26665         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26666         unconditional.
26667         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26668         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26669         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26670         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26671         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26672         Make code unconditional.
26673         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26674         (__mmap64) [!__NR_mmap2]: Likewise.
26675         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26676         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26677         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26678         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26679         [__NR_mmap2]: Make code unconditional.
26680         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26681         (__mmap64) [!__NR_mmap2]: Likewise.
26682
26683 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26684
26685         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26686
26687 2012-08-18  Andreas Jaeger  <aj@suse.de>
26688
26689         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26690
26691 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
26692
26693         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26694         * include/unistd.h (__have_sock_cloexec): Likewise.
26695         (__have_pipe2): Likewise.
26696         (__have_dup3): Likewise.
26697
26698 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
26699
26700         [BZ #9685]
26701         * include/unistd.h (__have_pipe2): Change define into an extern int.
26702         (__have_dup3): Likewise.
26703         * socket/have_sock_cloexec.c: Include fcntl.h.
26704         (__have_pipe2): New variable.
26705         (__have_dup3): Likewise.
26706
26707 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
26708
26709         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26710
26711 2012-08-17  Marek Polacek  <polacek@redhat.com>
26712
26713         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26714         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26715
26716 2012-08-17  Roland McGrath  <roland@hack.frob.com>
26717
26718         * configure.in: Add AC_SUBST for sysheaders.
26719         * configure: Regenerated.
26720         * config.make.in (sysheaders): New substituted variable.
26721
26722         * sysdeps/unix/mkfifo.c: Moved ...
26723         * sysdeps/posix/mkfifo.c: ... here.
26724         * sysdeps/unix/mkfifoat.c: Moved ...
26725         * sysdeps/posix/mkfifoat.c: ... here.
26726
26727         * sysdeps/unix/utime.c: Moved ...
26728         * sysdeps/posix/utime.c: ... here.
26729
26730         * sysdeps/unix/time.c: Moved ...
26731         * sysdeps/posix/time.c: ... here.
26732         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26733         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26734
26735         * sysdeps/unix/nice.c: Moved ...
26736         * sysdeps/posix/nice.c: ... here.
26737
26738         * sysdeps/unix/alarm.c: Moved ...
26739         * sysdeps/posix/alarm.c: ... here.
26740
26741         * intl/Makefile ($(codeset_mo)): Depend on the input file.
26742
26743 2012-08-17  Jeff Law <law@redhat.com>
26744
26745         * intl/Makefile (codeset_mo): New variable.
26746         ($(codeset_mo)): New target.
26747         (tst-codeset.out): Depend on that.  Remove explicit rule.
26748         (tst-gettext3.out, tst-gettext5.out): Likewise.
26749         (LOCPATH-ENV, tst-codeset-ENV): New variables.
26750         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26751         * intl/tst-codeset.sh: Remove.
26752         * intl/tst-gettext3.sh: Likewise.
26753         * intl/tst-gettext5.sh: Likewise.
26754
26755 2012-08-17  Roland McGrath  <roland@hack.frob.com>
26756
26757         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
26758         * sysdeps/unix/syscalls.list: ... here.
26759
26760         * sysdeps/posix/getaddrinfo.c
26761         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26762         (gaiconf_init, gaiconf_reload): Use them.
26763         [!_STATBUF_ST_NSEC]
26764         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26765         Define using time_t rather than struct timespec.
26766
26767         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26768         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26769         Macros removed.
26770         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26771         [!NO_THREADS].
26772         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26773         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26774         Likewise.
26775
26776         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26777         __libc_cleanup_push argument.
26778
26779         * bits/param.h: New file.
26780         * misc/sys/param.h: New file.
26781         * include/sys/param.h: New file.
26782         * misc/Makefile (headers): Add bits/param.h.
26783         * sysdeps/generic/sys/param.h: File removed.
26784         * sysdeps/unix/sysv/linux/bits/param.h: New file.
26785         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26786         * sysdeps/mach/hurd/bits/param.h: New file.
26787         * sysdeps/mach/hurd/sys/param.h: File removed.
26788
26789         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26790         last change.
26791
26792         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26793         [_IO_MTSAFE_IO].
26794         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26795         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26796         New macros.
26797
26798         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26799         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26800         rather than -D_IO_MTSAFE_IO conditionally.
26801         * stdio-common/Makefile (CPPFLAGS): Likewise.
26802         * wcsmbs/Makefile (CPPFLAGS): Likewise.
26803         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26804         Use $(libio-mtsafe).
26805         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26806         of -D_IO_MTSAFE_IO.
26807         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26808         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26809         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26810         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26811         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26812         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26813         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26814         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26815         (CFLAGS-fread_u_chk.c): Likewise.
26816         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26817         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26818         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26819         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26820         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26821         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26822         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26823         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26824         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26825
26826         * libio/Makefile: Test [$(libc-reentrant) = yes]
26827         instead of [$(filter %REENTRANT, $(defines)) nonempty].
26828
26829         * Makeconfig
26830         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26831         * sysdeps/pthread/configure: File removed.
26832         * sysdeps/pthread/Makeconfig: New file.
26833         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26834         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26835
26836 2012-08-16  Gary Benson  <gbenson@redhat.com>
26837
26838         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26839         unmapping the first object in a namespace.
26840
26841 2012-08-16  Roland McGrath  <roland@hack.frob.com>
26842
26843         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26844         (__internal_setnetgrent): ... this.  Add internal_function to
26845         definition.  Add libc_hidden_def.
26846         (setnetgrent): Update caller.
26847         (internal_endnetgrent): Renamed to ...
26848         (__internal_endnetgrent): ... this.  Add internal_function to
26849         definition.  Add libc_hidden_def.
26850         (endnetgrent): Update caller.
26851         (internal_getnetgrent_r): Renamed to ...
26852         (__internal_getnetgrent_r): ... this.  Add internal_function to
26853         definition.  Add libc_hidden_def.
26854         (__getnetgrent_r): Update caller.
26855         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
26856
26857 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
26858
26859         * stdlib/longlong.h: Update from GCC.
26860
26861 2012-08-16  Roland McGrath  <roland@hack.frob.com>
26862
26863         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26864         on _QL, which is set by umul_ppmm but never used.
26865         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26866         variables, which are set by GMP macros but never used.
26867         * stdio-common/_itowa.c (_itowa): Likewise.
26868         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26869         * stdlib/mod_1.c (mpn_mod_1): Likewise.
26870
26871 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
26872
26873         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26874         struct La_sh_regs is not constant.
26875         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26876         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26877         and struct La_sparc64_regs are not constant.
26878
26879 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
26880
26881         * sysdeps/unix/sysv/linux/kernel-features.h
26882         (__ASSUME_POSIX_TIMERS): Remove.
26883         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26884         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26885         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26886         Make code unconditional.
26887         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26888         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26889         Make code unconditional.
26890         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26891         * sysdeps/unix/sysv/linux/clock_nanosleep.c
26892         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26893         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26894         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26895         Make code unconditional.
26896         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26897         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26898         (__libc_missing_posix_timers): Remove.
26899
26900 2012-08-15  Roland McGrath  <roland@hack.frob.com>
26901
26902         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26903         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26904
26905         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26906
26907         * elf/dl-sym.c: Include <stdlib.h>.
26908
26909         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26910         constants, which avoids warnings in 32-bit builds.
26911
26912         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26913         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26914
26915         * misc/lseek.c: File moved to ...
26916         * io/lseek.c: ... here.
26917
26918         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26919
26920         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26921         shifting LEN more than 31 bits at once.
26922
26923 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26924
26925         [BZ #14195]
26926         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26927         segmentation fault for a case of two empty input strings.
26928         * string/test-strncasecmp.c (check1): Renamed to...
26929         (bz12205): ...this.
26930         (bz14195): Add new testcase for two empty input strings and N > 0.
26931         (test_main): Call new testcase, adapt for renamed function.
26932
26933 2012-08-15  Andreas Jaeger  <aj@suse.de>
26934
26935         [BZ #14090]
26936         * crypt/md5test2.c: New test, based on test supplied by Serge
26937         Belyshev <belyshev@depni.sinp.msu.ru>.
26938         * crypt/Makefile (xtests): Add md5test-giant..
26939         * crypt/Makefile ($(objpfx)md5test-giant): Add.
26940
26941 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
26942
26943         [BZ #14090]
26944         * crypt/md5.c (md5_process_block): Don't assume the buffer
26945         length is less than 2**32.
26946         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26947         length is less than 2**64.
26948
26949 2012-08-15  Roland McGrath  <roland@hack.frob.com>
26950
26951         * string/str-two-way.h: Include <sys/param.h>.
26952         (MAX): Macro removed.
26953
26954         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26955         Move #define and #undef of memmove to just before and after
26956         including <string.h>.
26957
26958         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26959         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26960         and after including <string.h>.  Move declarations of
26961         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26962         to before #include "string/memmove.c".
26963
26964         * include/dirent.h: Declare __getdirentries.
26965
26966         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26967         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26968
26969 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
26970
26971         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26972         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26973         * sysdeps/i386/configure: Regenerated.
26974         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26975         STABS_CURRENT_FILE, and STABS_FUN.
26976         (END): Remove call to STABS_FUN_END.
26977         (STABS_CURRENT_FILE1): Delete.
26978         (STABS_CURRENT_FILE): Likewise.
26979         (STABS_FUN): Likewise.
26980         (STABS_FUN_END): Likewise.
26981         (STABS_FUN2): Likewise.
26982         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26983         * sysdeps/x86_64/configure: Regenerated.
26984
26985 2012-08-14  Roland McGrath  <roland@hack.frob.com>
26986
26987         * elf/dl-open.c: Include <atomic.h>.
26988         * elf/dl-lookup.c: Likewise.
26989
26990 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
26991
26992         * sysdeps/unix/sysv/linux/kernel-features.h
26993         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26994         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26995         unconditionally.
26996         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26997         unconditionally.
26998         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26999         condition on __ASSUME_CLONE_THREAD_FLAGS.
27000
27001 2012-08-14  Andreas Jaeger  <aj@suse.de>
27002
27003         * sysdeps/i386/fpu/libm-test-ulps: Update.
27004
27005 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
27006
27007         * include/atomic.h (atomic_exchange_and_add): Split into ...
27008         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27009         New atomic macros.
27010
27011 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
27012
27013         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27014
27015 2012-08-13  Jeff Law <law@redhat.com>
27016
27017         * manual/stdio.texi (snprintf): Clarify handling of the trailing
27018         null byte in the output string.
27019
27020 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
27021
27022         * sysdeps/unix/sysv/linux/kernel-features.h
27023         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27024         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27025         (__ASSUME_ARG_MAX_STACK_BASED): Define.
27026         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27027         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27028         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
27029         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27030
27031 2012-08-09  Jeff Law <law@redhat.com>
27032
27033         [BZ #13939]
27034         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27035         When avoid_arena is set, don't retry in the that arena.  Pick the
27036         next one, whatever it might be.
27037         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27038         (arena_lock): Pass in new parameter to arena_get2.
27039         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27040         arena_get2.
27041         (__libc_malloc): Unify retrying after main arena failure with
27042         __libc_memalign version.
27043         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27044
27045 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
27046
27047         [BZ #14166]
27048         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27049         to __redirect_strstr.
27050         (__strstr_sse42): Use typeof __redirect_strstr.
27051         (__strstr_ia32): Likewise.
27052         (__libc_strstr): New prototype.
27053         (strstr): Renamed to ...
27054         (__libc_strstr): This.
27055         (strstr): New strong alias of __libc_strstr.
27056         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27057         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27058         __redirect_time.
27059         Include <time.h>.
27060         (__libc_time): New prototype.
27061         (time_ifunc): Replace time with __libc_time.
27062         (time): New strong alias and hidden definition of __libc_time.
27063         (__GI_time): Remove strong alias.
27064         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27065         Include <stddef.h>.
27066         (memmove): Redefined to __redirect_memmove.
27067         (__memmove_sse2): Use typeof __redirect_memmove.
27068         (__memmove_ssse3): Likewise.
27069         (__memmove_ssse3_back): Likewise.
27070         (__libc_memmove): New prototype.
27071         (memmove): Renamed to ...
27072         (__libc_memmove): This.
27073         (memmove): New strong alias of __libc_memmove.
27074
27075 2012-08-08  Mark Salter  <msalter@redhat.com>
27076
27077         * elf/elf.h
27078         (R_MN10300_TLS_GD): Define.
27079         (R_MN10300_TLS_LD): Likewise.
27080         (R_MN10300_TLS_LDO): Likewise.
27081         (R_MN10300_TLS_GOTIE): Likewise.
27082         (R_MN10300_TLS_IE): Likewise.
27083         (R_MN10300_TLS_LE): Likewise.
27084         (R_MN10300_TLS_DTPMOD): Likewise.
27085         (R_MN10300_TLS_DTPOFF): Likewise.
27086         (R_MN10300_TLS_TPOFF): Likewise.
27087         (R_MN10300_SYM_DIFF): Likewise.
27088         (R_MN10300_ALIGN): Likewise.
27089         (R_MN10300_NUM): Update.
27090
27091 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
27092
27093         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27094         Remove.
27095
27096 2012-08-08  Roland McGrath  <roland@hack.frob.com>
27097
27098         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27099
27100         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27101         sysdeps/unix -> sysdeps/posix move.
27102         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27103
27104 2012-08-07      Allan McRae     <allan@archlinux.org>
27105
27106         [BZ #14303]
27107         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27108         (SUNOS_CPP): Likewise.
27109         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27110         not found.
27111         (open_input): Call CPP using execvp.
27112
27113 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
27114
27115         * sysdeps/unix/sysv/linux/kernel-features.h
27116         (__ASSUME_PROT_GROWSUPDOWN): Remove.
27117         (__ASSUME_NO_CLONE_DETACHED): Likewise.
27118         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27119         (__ASSUME_WAITID_SYSCALL): Likewise.
27120         * sysdeps/unix/sysv/linux/dl-execstack.c
27121         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27122         code unconditional.
27123         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27124         conditional code.
27125         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27126         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27127         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27128         code.
27129         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27130         unconditional.
27131         [__ASSUME_WAITID_SYSCALL]: Likewise.
27132         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27133
27134 2012-08-07  Roland McGrath  <roland@hack.frob.com>
27135
27136         * sysdeps/unix/closedir.c: Renamed to ...
27137         * sysdeps/posix/closedir.c: ... here.
27138         * sysdeps/unix/dirfd.c: Renamed to ...
27139         * sysdeps/posix/dirfd.c: ... here.
27140         * sysdeps/unix/dirstream.h: Renamed to ...
27141         * sysdeps/posix/dirstream.h: ... here.
27142         * sysdeps/unix/fdopendir.c: Renamed to ...
27143         * sysdeps/posix/fdopendir.c: ... here.
27144         * sysdeps/unix/opendir.c: Renamed to ...
27145         * sysdeps/posix/opendir.c: ... here.
27146         * sysdeps/unix/readdir.c: Renamed to ...
27147         * sysdeps/posix/readdir.c: ... here.
27148         * sysdeps/unix/readdir_r.c: Renamed to ...
27149         * sysdeps/posix/readdir_r.c: ... here.
27150         * sysdeps/unix/rewinddir.c: Renamed to ...
27151         * sysdeps/posix/rewinddir.c: ... here.
27152         * sysdeps/unix/seekdir.c: Renamed to ...
27153         * sysdeps/posix/seekdir.c: ... here.
27154         * sysdeps/unix/telldir.c: Renamed to ...
27155         * sysdeps/posix/telldir.c: ... here.
27156         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27157         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27158         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27159         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27160
27161         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27162         * bits/fcntl.h: ... here.
27163
27164         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27165         not 0.
27166         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27167         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27168         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27169         (struct flock): Move l_start, l_len to the beginning.
27170         Use __pid_t for l_pid.
27171         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27172         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27173         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27174         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27175         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27176         [__USE_LARGEFILE64] (struct flock64): New type.
27177         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27178
27179         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27180         * bits/dirent.h: ... here.
27181
27182         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27183         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27184
27185 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
27186
27187         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27188         Change from 2.6.0 to 2.6.16.
27189         * sysdeps/unix/sysv/linux/configure: Regenerated.
27190         * sysdeps/unix/sysv/linux/kernel-features.h
27191         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27192         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27193         version.
27194         (__ASSUME_UTIMES): Likewise.
27195         (__ASSUME_CLONE_STOPPED): Remove.
27196         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27197         architectures, not kernel version.
27198         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27199         (__ASSUME_NO_CLONE_DETACHED): Likewise.
27200         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27201         (__ASSUME_WAITID_SYSCALL): Likewise.
27202         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27203         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27204         * README: State 2.6.16 as minimum Linux kernel version.  Do not
27205         refer to older versions.
27206
27207 2012-08-06  Roland McGrath  <roland@hack.frob.com>
27208
27209         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27210         Define alphasort64 as an alias.
27211         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27212         Define versionsort64 as an alias.
27213         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27214         Define scandir64 as an alias.
27215         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27216         Define scandirat64 as an alias.
27217         * dirent/alphasort64.c (alphasort64):
27218         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27219         * dirent/versionsort64.c: Likewise.
27220         * dirent/scandir64.c: Likewise.
27221         * dirent/scandirat64.c: Likewise.
27222         * sysdeps/wordsize-64/alphasort.c: File removed.
27223         * sysdeps/wordsize-64/alphasort64.c: File removed.
27224         * sysdeps/wordsize-64/scandir.c: File removed.
27225         * sysdeps/wordsize-64/scandir64.c: File removed.
27226         * sysdeps/wordsize-64/scandirat.c: File removed.
27227         * sysdeps/wordsize-64/scandirat64.c: File removed.
27228         * sysdeps/wordsize-64/versionsort.c: File removed.
27229         * sysdeps/wordsize-64/versionsort64.c: File removed.
27230         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27231         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27232         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27233         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27234         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27235         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27236         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27237         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27238
27239         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27240         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27241         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27242         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27243         [defined __arch64__ || defined __sparcv9]
27244         (__INO_T_MATCHES_INO64_T): New macro.
27245         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27246         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27247         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27248         * sysdeps/unix/sysv/linux/bits/dirent.h
27249         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27250         (_DIRENT_MATCHES_DIRENT64): New macro.
27251
27252         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27253         Define lockf64 as an alias.
27254         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27255         Define fseeko64 as an alias.
27256         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27257         Define ftello64 as an alias.
27258         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27259         Define _IO_fgetpos64 and fgetpos64 as aliases.
27260         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27261         Define _IO_fsetpos64 and fsetpos64 as aliases.
27262         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27263         Conditionalize body on this.
27264         * libio/fseeko64.c: Likewise.
27265         * libio/ftello64.c: Likewise.
27266         * libio/iofgetpos64.c: Likewise.
27267         * libio/iofsetpos64.c: Likewise.
27268         * sysdeps/wordsize-64/lockf.c: File removed.
27269         * sysdeps/wordsize-64/lockf64.c: File removed.
27270         * sysdeps/wordsize-64/fseeko.c: File removed.
27271         * sysdeps/wordsize-64/fseeko64.c: File removed.
27272         * sysdeps/wordsize-64/ftello.c: File removed.
27273         * sysdeps/wordsize-64/ftello64.c: File removed.
27274         * sysdeps/wordsize-64/iofgetpos.c: File removed.
27275         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27276         * sysdeps/wordsize-64/iofsetpos.c: File removed.
27277         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27278         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27279         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27280         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27281         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27282         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27283         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27284         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27285         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27286         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27287         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27288
27289         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27290         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27291         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27292         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27293         [defined __arch64__ || defined __sparcv9]
27294         (__OFF_T_MATCHES_OFF64_T): New macro.
27295         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27296         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27297         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27298         (__OFF_T_MATCHES_OFF64_T): New macro.
27299
27300 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
27301
27302         * stdlib/secure-getenv.c (__secure_getenv): Replace
27303         GLIBC_2_16 with GLIBC_2_17.
27304
27305 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
27306
27307         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27308         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27309
27310 2012-08-03  David S. Miller  <davem@davemloft.net>
27311
27312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27313
27314 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
27315
27316         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27317         Remove.
27318         (__ASSUME_CORRECT_SI_PID): Likewise.
27319         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27320         (__ASSUME_TMPFS_NAME): Likewise.
27321         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27322         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27323         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27324         (HAVE_AUX_SECURE): Make definition unconditional.
27325         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27326         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27327
27328 2012-08-03  Roland McGrath  <roland@hack.frob.com>
27329
27330         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27331         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27332         * sysdeps/mach/hurd/eloop-threshold.h: New file.
27333         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27334         __eloop_threshold instead of SYMLOOP_MAX.
27335
27336         * sysdeps/generic/eloop-threshold.h: New file.
27337         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27338         of MAXSYMLINKS.
27339         * elf/chroot_canon.c (chroot_canon): Likewise.
27340
27341 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
27342
27343         [BZ #13717]
27344         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27345         Change to 2.6.0 everywhere.
27346         * sysdeps/unix/sysv/linux/configure: Regenerated.
27347         * sysdeps/unix/sysv/linux/kernel-features.h
27348         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27349         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27350         kernel versions.
27351         (__ASSUME_POSIX_TIMERS): Define unconditionally.
27352         (__ASSUME_FUTEX_REQUEUE): Remove.
27353         (__ASSUME_STATFS64): Define unconditionally.
27354         (__ASSUME_AT_SECURE): Likewise.
27355         (__ASSUME_CORRECT_SI_PID): Likewise.
27356         (__ASSUME_TGKILL): Define without depending on kernel version for
27357         i386.
27358         (__ASSUME_UTIMES): Likewise.
27359         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27360         kernel version.
27361         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27362         (__ASSUME_TMPFS_NAME): Likewise.
27363         * README: Update reference to Linux kernel versions.
27364
27365 2012-08-02  Marek Polacek  <polacek@redhat.com>
27366
27367         [BZ# 14150]
27368         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
27369         libc_cv_asm_type_prefix with %.
27370         * configure: Regenerated.
27371         * include/libc-symbols.h: Remove comment about
27372         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27373         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27374         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27375         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27376         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27377         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27378         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27379         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27380         * elf/tst-unique2mod1.c: Likewise.
27381         * elf/tst-unique1mod2.c: Likewise.
27382         * elf/tst-unique1mod1.c: Likewise.
27383         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27384         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27385         Replace ASM_TYPE_DIRECTIVE with .type.
27386         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27387         * sysdeps/i386/sysdep.h: Likewise.
27388         * sysdeps/x86_64/sysdep.h: Likewise.
27389         * sysdeps/sh/sysdep.h: Likewise.
27390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27391         Do not define ASM_TYPE_DIRECTIVE.
27392         * sysdeps/powerpc/sysdep.h: Likewise.
27393         * sysdeps/powerpc/powerpc32/sysdep.h:
27394         Replace ASM_TYPE_DIRECTIVE with .type.
27395         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27396         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27397         * sysdeps/i386/fpu/e_powf.S: Likewise.
27398         * sysdeps/i386/fpu/e_expl.S: Likewise.
27399         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27400         * sysdeps/i386/fpu/e_acosh.S: Likewise.
27401         * sysdeps/i386/fpu/e_pow.S: Likewise.
27402         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27403         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27404         * sysdeps/i386/fpu/s_expm1.S: Likewise.
27405         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27406         * sysdeps/i386/fpu/e_log2.S: Likewise.
27407         * sysdeps/i386/fpu/e_log2l.S: Likewise.
27408         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27409         * sysdeps/i386/fpu/e_powl.S: Likewise.
27410         * sysdeps/i386/fpu/e_log10f.S: Likewise.
27411         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27412         * sysdeps/i386/fpu/e_logl.S: Likewise.
27413         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27414         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27415         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27416         * sysdeps/i386/fpu/e_log2f.S: Likewise.
27417         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27418         * sysdeps/i386/fpu/e_log.S: Likewise.
27419         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27420         * sysdeps/i386/fpu/e_logf.S: Likewise.
27421         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27422         * sysdeps/i386/fpu/e_atanh.S: Likewise.
27423         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27424         * sysdeps/i386/fpu/e_log10.S: Likewise.
27425         * sysdeps/i386/fpu/s_frexp.S: Likewise.
27426         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27427         * sysdeps/i386/fpu/s_asinh.S: Likewise.
27428         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27429         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27430         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27431         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27432         * sysdeps/i386/i686/strtok.S: Likewise.
27433         * sysdeps/i386/i386-mcount.S: Likewise.
27434         * sysdeps/i386/strtok.S: Likewise.
27435         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27436         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27437         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27438         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27439         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27440         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27441         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27442         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27443         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27444         * sysdeps/x86_64/_mcount.S: Likewise.
27445         * sysdeps/x86_64/strtok.S: Likewise.
27446         * sysdeps/sh/_mcount.S: Likewise.
27447
27448 2012-08-01  Roland McGrath  <roland@hack.frob.com>
27449
27450         * libio/iofopen.c: Include <fcntl.h>.
27451         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27452         (_IO_fopen64, fopen64): Define as aliases.
27453         * libio/iofopen64.c: Include <fcntl.h>.
27454         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27455         Conditionalize body on this.
27456         * sysdeps/wordsize-64/iofopen.c: File removed.
27457         * sysdeps/wordsize-64/iofopen64.c: File removed.
27458
27459 2012-08-01  Marek Polacek  <polacek@redhat.com>
27460
27461         * libc/Makeconfig: Use elf in place of binfmt-subdir.
27462         Use dlfcn directly instead of a variable.
27463         (binfmt-subdir): Do not define.
27464         (dlfcn): Likewise.
27465
27466 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
27467
27468         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27469         Remove all definitions.
27470         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27471         <kernel-features.h>.
27472         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27473         (miss_F_GETOWN_EX): Remove all definitions.
27474         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27475         macro definition.
27476         [!__ASSUME_FCNTL64]: Remove conditional code.
27477         [__ASSUME_FCNTL64]: Make code unconditional.
27478         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27479         <kernel-features.h>.
27480         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27481         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27482         (lockf64) [__NR_fcntl64]: Make code unconditional.
27483         (lockf64) [__ASSUME_FCNTL64]: Likewise.
27484
27485         * sysdeps/unix/sysv/linux/kernel-features.h
27486         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27487         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27488         Make code unconditional.
27489         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27490         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27492         [__NR_vfork]: Make code unconditional.
27493         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27494         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27496         [__NR_vfork]: Make code unconditional.
27497         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27498         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27499
27500 2012-08-01  Roland McGrath  <roland@hack.frob.com>
27501
27502         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27503         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27504
27505         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27506         Define mkstemp64 as an alias.
27507         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27508         Define mkstemps64 as an alias.
27509         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27510         Define mkostemp64 as an alias.
27511         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27512         Define mkostemps64 as an alias.
27513         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27514         Conditionalize body on this.
27515         * misc/mkostemp64.c: Likewise.
27516         * misc/mkostemps64.c: Likewise.
27517         * misc/mkstemps64.c: Likewise.
27518         * sysdeps/wordsize-64/mkstemp64.c: File removed.
27519         * sysdeps/wordsize-64/mkostemp64.c: File removed.
27520         * sysdeps/wordsize-64/mkostemp.c: File removed.
27521         * sysdeps/wordsize-64/mkstemp.c: File removed.
27522         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27523         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27524         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27525         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27526
27527         [BZ #14138]
27528         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27529         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27530         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27531         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27532
27533         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27534         compat_symbol macros from <shlib-compat.h> rather than the underlying
27535         default_symbol_version and symbol_version macros, so that DEFAULT
27536         lines in shlib-versions are respected.
27537         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27538
27539 2012-08-01  Florian Weimer  <fweimer@redhat.com>
27540
27541         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27542         Declare with warn_unused_result.
27543         (setgid, setregid, setegid, setresgid): Likewise.
27544         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27545         Likewise.
27546         * WUR-REPORT: Remove set*id functions.
27547
27548 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
27549
27550         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27551
27552 2012-07-31  Roland McGrath  <roland@hack.frob.com>
27553
27554         [BZ #10191]
27555         * include/sys/socket.h (__libc_accept, __libc_accept4):
27556         Add attribute_hidden.
27557         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27558
27559         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27560         use of PTR_MANGLE.
27561         * inet/getnetgrent_r.c (setup): Likewise.
27562
27563         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27564
27565 2012-07-31  David S. Miller  <davem@davemloft.net>
27566
27567         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27568
27569 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
27570
27571         [BZ #13629]
27572         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27573         value between 1.0 and 2.0 and smaller part has absolute value less
27574         than 1.0.
27575         * math/s_clog10.c (__clog10): Likewise.
27576         * math/s_clog10f.c (__clog10f): Likewise.
27577         * math/s_clog10l.c (__clog10l): Likewise.
27578         * math/s_clogf.c (__clogf): Likewise.
27579         * math/s_clogl.c (__clogl): Likewise.
27580         * math/libm-test.inc (clog_test): Add more tests.
27581         (clog10_test): Likewise.
27582         * sysdeps/i386/fpu/libm-test-ulps: Update.
27583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27584
27585 2012-07-31  Florian Weimer  <fweimer@redhat.com>
27586
27587         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27588         Exit with zero in case no suitable GID is found, and write a
27589         message to standard error.
27590
27591 2012-07-30  Roland McGrath  <roland@hack.frob.com>
27592
27593         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27594         rather than to 1.
27595         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27596         (MAXPATHLEN): Removed.
27597         (NOGROUP, NODEV): New macros.
27598         (setbit, clrbit, isset, isclr): New macros.
27599         (howmany, roundup, powerof2): New macros.
27600         (DEV_BSIZE): New macro.
27601
27602         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27603         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27604
27605         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27606         definition on [!__NO_LONG_DOUBLE_MATH].
27607
27608         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27609         PTR_MANGLE and PTR_DEMANGLE.
27610
27611         * socket/accept4.c (accept4): Rename to __libc_accept4.
27612         Define accept4 as a weak alias.
27613
27614         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27615         on [_DIRENT_HAVE_D_TYPE].
27616         * io/ftw.c (ftw_dir): Likewise.
27617
27618         * io/xmknod.c (__xmknod): Don't check PATH for being null.
27619
27620         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27621
27622         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27623         Use the BSD numbers rather than the arbitrary ones we had.
27624         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27625         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27626         (SIGXCPU, SIGXFSZ): New macros.
27627         (_NSIG): Now 32.
27628
27629         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27630         initializer on [_LIBC_REENTRANT].
27631
27632         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27633         definitions inside [_POSIX_MAPPED_FILES].
27634
27635         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27636
27637         * dirent/opendir.c: Include <fcntl.h>.
27638
27639         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27640         (__libc_getspecific): Likewise.
27641         (__libc_key_create): Likewise.
27642
27643         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27644         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27645         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27646         (tmpfile64): Define as alias.
27647         * sysdeps/wordsize-64/tmpfile.c: File removed.
27648         * sysdeps/wordsize-64/tmpfile64.c: File removed.
27649         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27650         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27651
27652         * stdio-common/vfscanf.c: Include <stdbool.h>.
27653         * nss/makedb.c: Likewise.
27654         * stdio-common/_i18n_number.h: Likewise.
27655         * argp/argp-help.c: Likewise.
27656         * posix/wordexp.c: Likewise.
27657         * sysdeps/posix/spawni.c: Likewise.
27658         * nss/nss_files/files-initgroups.c: Likewise.
27659         * stdio-common/reg-modifier.c: Include <stdlib.h>.
27660         * nss/nss_files/files-initgroups.c: Likewise.
27661         * nss/nss_db/db-netgrp.c: Likewise.
27662         * nss/nss_db/db-initgroups.c: Likewise.
27663         * io/fchmodat.c: Include <sys/stat.h>.
27664
27665         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27666         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27667
27668         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27669         [HAVE_MMAP].
27670
27671         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27672         Add multiple inclusion protection.
27673
27674 2012-07-27  David S. Miller  <davem@davemloft.net>
27675
27676         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27677
27678 2012-07-27  Gary Benson  <gbenson@redhat.com>
27679
27680         [BZ #14298]
27681         * elf/rtld.c: Include <stap-probe.h>.
27682         (dl_main): Added static probes "init_start" and "init_complete".
27683         * elf/dl-load.c: Include <stap-probe.h>.
27684         (lose): Take new parameter "nsid".
27685         Added static probe "map_failed".
27686         (_dl_map_object_from_fd): Pass namespace id to lose.
27687         Added static probe "map_start".
27688         (open_verify): Pass namespace id to lose.
27689         * elf/dl-open.c: Include <stap-probe.h>.
27690         (dl_open_worker) Added static probes "map_complete", "reloc_start"
27691         and "reloc_complete".
27692         * elf/dl-close.c: Include <stap-probe.h>.
27693         (_dl_close_worker): Added static probes "unmap_start" and
27694         "unmap_complete".
27695         * elf/rtld-debugger-interface.txt: New file documenting the above.
27696
27697 2012-07-26  Roland McGrath  <roland@hack.frob.com>
27698
27699         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27700         rather than a string variable.
27701         * sunrpc/rpc_main.c (h_output): Likewise.
27702         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27703
27704 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
27705
27706         * inet/check_native.c: New file.
27707
27708 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
27709
27710         [BZ #13629]
27711         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27712         if larger part has absolute value 1.0.
27713         * math/s_clog10.c (__clog10): Likewise.
27714         * math/s_clog10f.c (__clog10f): Likewise.
27715         * math/s_clog10l.c (__clog10l): Likewise.
27716         * math/s_clogf.c (__clogf): Likewise.
27717         * math/s_clogl.c (__clogl): Likewise.
27718         * math/libm-test.inc (clog_test): Add more tests.
27719         (clog10_test): Likewise.
27720         * sysdeps/i386/fpu/libm-test-ulps: Update.
27721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27722
27723         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27724         (pltexit): Likewise.
27725         (La_regs): Likewise.
27726         (La_retval): Likewise.
27727         (int_retval): Likewise.
27728         Update #error for removed macros to refer only to definitions in
27729         tst-audit.h.
27730         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27731         macro.
27732         (pltexit): Likewise.
27733         (La_regs): Likewise.
27734         (La_retval): Likewise.
27735         (int_retval): Likewise.
27736         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27737         macro.
27738         (pltexit): Likewise.
27739         (La_regs): Likewise.
27740         (La_retval): Likewise.
27741         (int_retval): Likewise.
27742         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27743         macro.
27744         (pltexit): Likewise.
27745         (La_regs): Likewise.
27746         (La_retval): Likewise.
27747         (int_retval): Likewise.
27748         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27749         macro.
27750         (pltexit): Likewise.
27751         (La_regs): Likewise.
27752         (La_retval): Likewise.
27753         (int_retval): Likewise.
27754         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27755         macro.
27756         (pltexit): Likewise.
27757         (La_regs): Likewise.
27758         (La_retval): Likewise.
27759         (int_retval): Likewise.
27760         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27761         macro.
27762         (pltexit): Likewise.
27763         (La_regs): Likewise.
27764         (La_retval): Likewise.
27765         (int_retval): Likewise.
27766         * sysdeps/generic/tst-audit.h: Update comment to refer only to
27767         macro definitions in tst-audit.h.
27768         * sysdeps/i386/tst-audit.h: New file.
27769         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27770         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27771         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27772         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27773         * sysdeps/sh/tst-audit.h: Likewise.
27774         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27775         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27776         * sysdeps/x86_64/tst-audit.h: Likewise.
27777
27778 2012-07-26  Andreas Jaeger  <aj@suse.de>
27779
27780         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27781         ptrace.
27782
27783         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27784         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27785         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27786         PTRACE_O_MASK.
27787         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27788         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27789         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27790
27791         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27792         value.
27793
27794         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27795         _sigsys.
27796         (si_call_addr, si_syscall, si_arch): Define new macro.
27797         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27798         _sigsys.
27799         (si_call_addr, si_syscall, si_arch): Define new marcro.
27800         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27801         _sigsys.
27802         (si_call_addr, si_syscall, si_arch): Define new macro.
27803         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27804         _sigsys.
27805         (si_call_addr, si_syscall, si_arch): Define new macro.
27806
27807 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
27808
27809         [BZ #13717]
27810         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27811         Change to 2.4.21 where previously 2.4.1.
27812         * sysdeps/unix/sysv/linux/configure: Regenerated.
27813         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27814         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27815         Linux kernel version.
27816         (__ASSUME_STD_AUXV): Remove.
27817         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27818         kernel version.
27819         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27820         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27821         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27822         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27823         (__ASSUME_NETLINK_SUPPORT): Likewise.
27824         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27825         (__no_netlink_support): Remove conditional definition.
27826         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27827         Remove.
27828         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27829         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27830         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27831         (if_nameindex_ioctl): Remove.
27832         (if_nameindex_netlink): Do not handle __no_netlink_support.
27833         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27834         code.
27835         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27836         Remove conditional code.
27837         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27838         code.
27839         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27840         unconditional.
27841         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27842         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27843         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27844         Remove.
27845         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27846         [!__ASSUME_STD_AUXV]: Remove conditional code.
27847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27848         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27849         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27851         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27852         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27853         code.
27854         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27856         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27857         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27858         conditional code.
27859         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27861         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27862         code.
27863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27864         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27865         conditional code.
27866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27867         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27868         code unconditional.
27869         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27870         conditional code.
27871         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27872         unconditional.
27873         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27874         conditional code.
27875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27876         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27877         unconditional.
27878         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27879         conditional code.
27880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27881         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27882         code unconditional.
27883         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27884         conditional code.
27885         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27886         unconditional.
27887         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27888         conditional code.
27889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27890         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27891         code unconditional.
27892         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27893         conditional code.
27894         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27895         unconditional.
27896         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27897         conditional code.
27898
27899 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
27900
27901         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27902         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27903         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27904         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27905         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27906         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27907         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27908         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27909         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27910         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27911         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27912         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27913         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27914         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27915         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27916         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27917         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27918         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27919         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27920         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27921         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27922         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27923         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27924
27925 2012-07-25  Florian Weimer  <fweimer@redhat.com>
27926
27927         * Versions.def: Add GLIBC_2.17.
27928         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27929         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27930         Introduce __libc_secure_getenv.
27931         * stdlib/Versions (2.17): Add secure_getenv
27932         (GLIBC_PRIVATE): Add __libc_secure_getenv.
27933         * stdlib/secure-getenv.c: Rename __secure_getenv to
27934         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
27935         symbol __secure_getenv for GLIBC_2.0.
27936         * stdlib/tst-secure-getenv.c: New.
27937         * stdlib/Makefile (tests): Add testcase.
27938         * manual/startup.texi (Environment Access): Document
27939         secure_getenv.
27940         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27941         __libc_secure_getenv.
27942         * inet/ruserpass.c (ruserpass): Likewise.
27943         * malloc/mtrace.c (mtrace): Likewise.
27944         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27945         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27946         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27947         * sysdeps/posix/tempname.c: Likewise.  Evaluate
27948         HAVE_SECURE_GETENV.
27949         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27950         __secure_getenv to __libc_secure_getenv.
27951         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27953         Likewise.
27954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27955         Likewise.
27956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27957         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27958         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27959         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27961         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27962         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27963
27964 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
27965
27966         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27967         (struct La_i86_retval): Likewise.
27968         (struct La_x86_64_regs): Likewise.
27969         (struct La_x86_64_retval): Likewise.
27970         (struct La_x32_regs): Likewise.
27971         (struct La_x32_retval): Likewise.
27972         (struct La_ppc32_regs): Likewise.
27973         (struct La_ppc32_retval): Likewise.
27974         (struct La_ppc64_regs): Likewise.
27975         (struct La_ppc64_retval): Likewise.
27976         (struct La_sh_regs): Likewise.
27977         (struct La_sh_retval): Likewise.
27978         (struct La_s390_32_regs): Likewise.
27979         (struct La_s390_32_retval): Likewise.
27980         (struct La_s390_64_regs): Likewise.
27981         (struct La_s390_64_retval): Likewise.
27982         (struct La_sparc32_regs): Likewise.
27983         (struct La_sparc32_retval): Likewise.
27984         (struct La_sparc64_regs): Likewise.
27985         (struct La_sparc64_retval): Likewise.
27986         (struct audit_ifaces): Remove architecture-specific pltenter and
27987         pltexit members.
27988         * sysdeps/i386/ldsodefs.h: New file.
27989         * sysdeps/powerpc/ldsodefs.h: Likewise.
27990         * sysdeps/s390/ldsodefs.h: Likewise.
27991         * sysdeps/sh/ldsodefs.h: Likewise.
27992         * sysdeps/sparc/ldsodefs.h: Likewise.
27993         * sysdeps/x86_64/ldsodefs.h: Likewise.
27994
27995 2012-07-25  Marek Polacek  <polacek@redhat.com>
27996
27997         [BZ #6808]
27998         * math/libm-test.inc (yn_test): Add another test.
27999         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28000         to ERANGE when the result is +-Inf.
28001         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28002         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28003         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28004         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28005
28006 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
28007
28008         * conform/data/time.h-data (NULL): Use macro-constant.  Require
28009         equal to 0.
28010         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
28011         clock_t.
28012         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
28013
28014 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
28015
28016         * configure.in <sysdeps resolving>: Correct printing
28017         Implies_before.
28018         * configure: Regenerate.
28019
28020 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
28021
28022         * math/w_ilogb.c: Include <limits.h>.
28023         * math/w_ilogbl.c: Likewise.
28024
28025 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
28026
28027         * manual/lang.texi (__va_copy): Document primarily as ISO C99
28028         va_copy.  Document allowing for unavailable va_copy only as
28029         pre-C99 compatibility.
28030         * manual/string.texi (Copying and Concatenation): Use va_copy
28031         instead of __va_copy in concat example.
28032
28033 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
28034
28035         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28036         (__sendto): Use create_address_port.  Initialize APORT and deallocate
28037         it if not null.
28038
28039         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28040         with O_NOLINK passed to __file_name_lookup.
28041
28042         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28043         with O_NOLINK passed to __file_name_lookup.
28044
28045         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28046         negative N or less than NGIDS.
28047
28048         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28049         type to string_t.  Set ERANGE as errno and return it if NAME is not big
28050         enough.  Use memcpy instead of strncpy.
28051
28052 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
28053
28054         * elf/Makefile (check-data): Remove.
28055         (localplt.data): New vpath directive.
28056         ($(objpfx)check-localplt.out): Use localplt.data from vpath
28057         instead of $(check-data).
28058         * scripts/data/localplt-generic.data: Move to ...
28059         * sysdeps/generic/localplt.data: ... here.
28060         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28061         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28062         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28064         ... here.
28065         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28067         ... here.
28068         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28070         ... here.
28071         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28073         ... here.
28074         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28076         ... here.
28077         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28079         ... here.
28080
28081 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28082
28083         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28084         PPC32 and PPC64 files.
28085         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28086         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28087
28088 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28089
28090         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28091         __makecontext_ret to ...
28092         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28093         ... here and call exit if uc_link is NULL.  New file.
28094         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28095         __makecontext_ret.S.
28096         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28097         __makecontext_ret to ...
28098         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28099         ... here and call exit if uc_link is NULL.  New file.
28100         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28101         __makecontext_ret.S.
28102
28103 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28104
28105         * elf/elf.h (R_390_IRELATIVE): New definition.
28106         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28107         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
28108         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28109         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28110         (elf_machine_lazy_rel): Likewise.
28111         * sysdeps/s390/dl-irel.h: New file.
28112         * sysdeps/s390/s390-64/memcpy.S: New asm code.
28113         * sysdeps/s390/s390-64/memset.S: New asm code.
28114         * sysdeps/s390/s390-64/memcmp.S: New asm code.
28115         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28116         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28117         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28118         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28119         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28120         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28121         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28122         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28123         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28124         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28125         * sysdeps/s390/s390-32/memcpy.S: New asm code.
28126         * sysdeps/s390/s390-32/memset.S: New asm code.
28127         * sysdeps/s390/s390-32/memcmp.S: New asm code.
28128
28129 2012-07-17  Marek Polacek  <polacek@redhat.com>
28130
28131         [BZ #14349]
28132         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28133         * sysdeps/s390/s390-64/configure.in: Likewise.
28134         * sysdeps/sparc/configure.in: Likewise.
28135         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28136         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28137         * sysdeps/i386/configure.in: Likewise.
28138         * sysdeps/x86_64/configure.in: Likewise.
28139         * sysdeps/sh/configure.in: Likewise.
28140         * sysdeps/s390/s390-32/configure: Regenerated.
28141         * sysdeps/s390/s390-64/configure: Likewise.
28142         * sysdeps/x86_64/configure: Likewise.
28143         * sysdeps/sh/configure: Likewise.
28144         * sysdeps/powerpc/powerpc64/configure: Likewise.
28145         * sysdeps/powerpc/powerpc32/configure: Likewise.
28146         * sysdeps/sparc/configure: Likwise.
28147         * sysdeps/i386/configure: Likewise.
28148
28149         * elf/dl-open.c: Comment fixes.
28150
28151 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
28152
28153         * Makefile [CXX] (check-data): Remove.
28154         [CXX] (c++-types.data): New vpath directive.
28155         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28156         vpath.  Do not allow for C++ type data being missing.
28157         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28158         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28159         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28160         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28161         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28162         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28163         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28165         ... here.
28166         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28168         ... here.
28169         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28171         ... here.
28172         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28173         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28174         ... here.
28175         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28176         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28177         ... here.
28178         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28179         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28180         ... here.
28181         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28182         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28183         ... here.
28184         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28185         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28186
28187         * elf/tls-macros.h (TLS_LE): Move architecture-specific
28188         definitions to architecture-specific files.
28189         (TLS_IE): Likewise.
28190         (TLS_LD): Likewise.
28191         (TLS_GD): Likewise.
28192         * sysdeps/i386/tls-macros.h: New file.
28193         * sysdeps/powerpc/tls-macros.h: Likewise.
28194         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28195         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28196         * sysdeps/sh/tls-macros.h: Likewise.
28197         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28198         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28199         * sysdeps/x86_64/tls-macros.h: Likewise.
28200
28201 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
28202
28203         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28204         zero value for regular exit case.
28205
28206         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28207         (__start_context): Preserve zero value for regular exit case.
28208
28209 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
28210             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28211
28212         * manual/setjmp.texi (setcontext): Clarify normal process
28213         termination when uc_link is the null pointer.
28214         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28215         exit call.
28216
28217 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
28218
28219         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28220         preprocessor.  Test for each exception mask separately.
28221
28222 2012-07-16  Andreas Jaeger  <aj@suse.de>
28223
28224         * po/ru.po: Update from translation team.
28225
28226 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
28227
28228         * conform/data/string.h-data (NULL): Use macro-constant.  Require
28229         equal to 0.
28230         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28231         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28232         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28233         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28234         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28235
28236 2012-07-13  Andreas Jaeger  <aj@suse.de>
28237
28238         * po/fr.po: Update from translation team.
28239
28240 2012-07-12  Marek Polacek  <polacek@redhat.com>
28241
28242         [BZ #14173]
28243         * math/libm-test.inc (yn_test): Add test for BZ #14173.
28244         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28245         loop condition.
28246
28247 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
28248
28249         [BZ #13717]
28250         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28251         Change to 2.4.1 where previously 2.4.0.
28252         * sysdeps/unix/sysv/linux/configure: Regenerated.
28253         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28254         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28255         version.
28256         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28257         (__ASSUME_AT_CLKTCK): Remove.
28258         (__ASSUME_AT_PAGESIZE): Likewise.
28259         (__ASSUME_AT_XID): Likewise.
28260         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28261         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28262         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28263         unconditionally.
28264         (HAVE_AUX_PAGESIZE): Likewise.
28265         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28266         [__ASSUME_AT_CLKTCK]: Make code unconditional.
28267         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28268
28269 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
28270
28271         [BZ #14307]
28272         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28273         the temporary buffer used to invoke __gethostbyname2_r,
28274         __gethostbyaddr_r and gethostbyname4_r to make room for struct
28275         host_data / struct gaih_addrtuple.
28276         * resolv/nss_dns/dns-host.c (global scope): Move definition of
28277         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28278         header file nss/nsswitch.h.
28279         * nss/nsswitch.h (global scope): Add definition of implementation
28280         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28281         resolv/nss_dns/dns-host.c).
28282
28283 2012-07-11  Andreas Jaeger  <aj@suse.de>
28284
28285         * po/fr.po: Update from translation team.
28286
28287         * po/sv.po: Update from translation team
28288         * po/fr.po: Another update from translation team.
28289
28290 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28291
28292         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28293         for subnormals or multiply small sinh result by itself.
28294         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28296
28297 2012-07-11  David S. Miller  <davem@davemloft.net>
28298
28299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28300
28301 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
28302
28303         [BZ #14347]
28304         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28305         (INTERNAL_MARK): Shift it here.
28306
28307 2012-07-10  Marek Polacek  <polacek@redhat.com>
28308
28309         [BZ #14151]
28310         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
28311         libc_cv_asm_global_directive with .globl.
28312         * configure: Regenerated.
28313         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28314         with .globl.
28315         * sysdeps/i386/configure: Regenerated.
28316         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28317         with .globl.
28318         * sysdeps/x86_64/configure: Regenerated.
28319         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28320         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28321         * elf/tst-unique2mod2.c: Likewise.
28322         * elf/tst-unique2mod1.c: Likewise.
28323         * elf/tst-unique1mod2.c: Likewise.
28324         * elf/tst-unique1mod1.c: Likewise.
28325         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28326         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28327         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28328         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28329         * sysdeps/mach/sysdep.h: Likewise.
28330         * sysdeps/i386/sysdep.h: Likewise.
28331         * sysdeps/i386/i386-mcount.S: Likewise.
28332         * sysdeps/x86_64/_mcount.S: Likewise.
28333         * sysdeps/x86_64/sysdep.h: Likewise.
28334         * sysdeps/sh/_mcount.S: Likewise.
28335         * sysdeps/sh/sysdep.h: Likewise.
28336         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28337         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28338         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28339         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28340         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28341         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28342         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28343         * locale/localeinfo.h: Likewise.
28344         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28345         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28346
28347 2012-07-09  Roland McGrath  <roland@hack.frob.com>
28348
28349         [BZ #14336]
28350         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28351         system".
28352         * manual/message.texi (The Uniforum approach): Likewise.
28353         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28354         (glibc iconv Implementation): Likewise.
28355
28356 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
28357
28358         [BZ #14337]
28359         * math/s_clog.c (__clog): Avoid scaling a value down where that
28360         could result in underflow.
28361         * math/s_clog10.c (__clog10): Likewise.
28362         * math/s_clog10f.c (__clog10f): Likewise.
28363         * math/s_clog10l.c (__clog10l): Likewise.
28364         * math/s_clogf.c (__clogf): Likewise.
28365         * math/s_clogl.c (__clogl): Likewise.
28366         * math/libm-test.inc (clog_test): Add more tests.
28367         (clog10_test): Likewise.
28368         * sysdeps/i386/fpu/libm-test-ulps: Update.
28369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28370
28371 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
28372
28373         [BZ #14283]
28374         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28375         by 7 not 8 to examine high bit of fractional part.
28376
28377         [BZ #14042]
28378         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28379         for call to __mcount_internal.
28380         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28381         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28382         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28383
28384 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
28385
28386         [BZ #14154]
28387         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28388         approximation for values within 0x1p-13f of an odd multiple of
28389         pi/4.
28390         * math/libm-test.inc (tan_test): Do not allow spurious underflow
28391         exception.  Add more tests.
28392         * sysdeps/i386/fpu/libm-test-ulps: Update.
28393
28394         [BZ #6778]
28395         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28396         inputs and return -1 for them.  Do not check for +Inf in case not
28397         reachable for +Inf.
28398         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28399         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28400         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28401         and return -1 for them.  Do not check for +Inf in case not
28402         reachable for +Inf.
28403         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28404         define.
28405         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28406         and return -1 for them.  Do not check for +Inf in case not
28407         reachable for +Inf.
28408         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
28409         spurious underflow.
28410         * sysdeps/i386/fpu/libm-test-ulps: Update.
28411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28412
28413 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
28414
28415         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28416
28417 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
28418
28419         [BZ #14157]
28420         [BZ #14331]
28421         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28422         could result in spurious underflow.  Scale down values above
28423         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28424         * math/s_csqrtf.c (__csqrtf): Likewise.
28425         * math/s_csqrtl.c (__csqrtl): Likewise.
28426         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
28427         spurious underflow.
28428         * sysdeps/i386/fpu/libm-test-ulps: Update.
28429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28430
28431 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
28432
28433         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28434         xopen-msg.sed.
28435         * catgets/xopen-msg.awk: New file.
28436         * catgets/xopen-msg.sed: Removed.
28437
28438         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28439         po2text.sed.
28440         * intl/po2test.awk: New file.
28441         * intl/po2test.sed: Removed.
28442
28443 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
28444
28445         [BZ #14328]
28446         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28447         or multiply small sinh result by itself.
28448         * math/s_ctanf.c (__ctanf): Likewise.
28449         * math/s_ctanh.c (__ctanh): Likewise.
28450         * math/s_ctanhf.c (__ctanhf): Likewise.
28451         * math/s_ctanhl.c (__ctanhl): Likewise.
28452         * math/s_ctanl.c (__ctanl): Likewise.
28453         * math/libm-test.inc (ctan_test_tonearest): New function.
28454         (ctan_test_towardzero): Likewise.
28455         (ctan_test_downward): Likewise.
28456         (ctan_test_upward): Likewise.
28457         (ctanh_test_tonearest): Likewise.
28458         (ctanh_test_towardzero): Likewise.
28459         (ctanh_test_downward): Likewise.
28460         (ctanh_test_upward): Likewise.
28461         (main): Call these new functions.
28462         * sysdeps/i386/fpu/libm-test-ulps: Update.
28463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28464
28465 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
28466
28467         * .gitignore: Delete /ports entry.
28468
28469 2012-07-03  Andreas Jaeger  <aj@suse.de>
28470
28471         * po/bg.po: Update from translation team.
28472         * po/cs.po: Likewise.
28473         * po/de.po: Likewise.
28474         * po/hr.po: Likewise.
28475         * po/nl.pl: Likewise.
28476         * po/pl.po: Likewise.
28477         * po/vi.po: Likewise.
28478
28479 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
28480
28481         * Makeconfig [!+link] (+link-before-libc): New variable.
28482         [!+link] (+link-after-libc): Likewise.
28483         [!+link] (+link-tests): Likewise.
28484         [!+link] (+link): Define in terms of $(+link-before-libc) and
28485         $(+link-after-libc).
28486         [!+link-static] (+link-static-before-libc): New variable.
28487         [!+link-static] (+link-static-after-libc): Likewise.
28488         [!+link-static] (+link-static-tests): Likewise.
28489         [!+link-static] (+link-static): Define in terms of
28490         $(+link-static-before-libc) and $(+link-static-after-libc).
28491         [build-shared] (link-libc-before-gnulib): New variable.
28492         [build-shared] (link-libc-tests): Likewise.
28493         [build-shared] (link-libc): Define in terms of
28494         $(link-libc-before-gnulib).
28495         [!build-shared] (link-libc-tests): New variable.
28496         (link-libc-static-tests): New variable.
28497         [!gnulib] (gnulib-arch): New variable.
28498         [!gnulib] (gnulib-tests): Likewise.
28499         [!gnulib] (static-gnulib-arch): Likewise.
28500         [!gnulib] (static-gnulib-tests): Likewise.
28501         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
28502         Define with "=" instead of ":=".
28503         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
28504         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
28505         * Rules (binaries-all-notests): New variable.
28506         (binaries-all-tests): Likewise.
28507         (binaries-static-notests): Likewise.
28508         (binaries-static-tests): Likewise.
28509         (binaries-all): Define using $(binaries-all-notests) and
28510         $(binaries-all-tests).
28511         (binaries-static): Define using $(binaries-static-notests) and
28512         $(binaries-static-tests).
28513         (binaries-shared-tests): New variable.
28514         (binaries-shared-notests): Likewise.
28515         (binaries-shared): Remove variable.
28516         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28517         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28518         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28519         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28520         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28521         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28522         * elf/Makefile (sln-modules): New variable.
28523         (extra-objs): Add $(sln-modules:=.o).
28524         (ldconfig-modules): Add static-stubs.
28525         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28526         * elf/static-stubs.c: New file.
28527
28528         [BZ #14283]
28529         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28530         by 7 not 8 to examine high bit of fractional part.  Use volatile
28531         variables when splitting into final array of floats if
28532         __FLT_EVAL_METHOD__ != 0.
28533         * math/libm-test.inc (cos_test): Add another test.
28534         (sin_test): Likewise.
28535         * sysdeps/i386/fpu/libm-test-ulps: Update.
28536
28537         [BZ #14273]
28538         * math/libm-test.inc (cosh_test): Add more tests.
28539
28540         * version.h (RELEASE): Set to "development".
28541         (VERSION): Set to "2.16.90".
28542
28543 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
28544
28545         * NEWS: Update copyright. Remove last-updated date.
28546         Mention math library bug fixes and timezone data changes.
28547         * README: Mention GNU/Hurd, x32, and HPPA support status.
28548
28549 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
28550
28551         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28552
28553 2012-06-27  Andreas Jaeger  <aj@suse.de>
28554
28555         * manual/contrib.texi (Contributors): Add Samuel Thibault.
28556
28557 2012-06-25  Andreas Jaeger  <aj@suse.de>
28558
28559         * sysdeps/s390/fpu/libm-test-ulps: Update.
28560
28561 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
28562             Thomas Schwinge  <thomas@codesourcery.com>
28563
28564         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28565         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28566         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28567         fanotify_mark.
28568
28569 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
28570
28571         * sysdeps/mach/start.c: Remove file.
28572         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28573         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28574         * sysdeps/sh/init-first.c: Likewise.
28575
28576         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28577         registers for frame unwinding purposes, add CFI directives.
28578         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28579         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28580         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28581         Likewise.
28582
28583         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28584         __fortify_fail returning.
28585         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28586
28587         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28588         sysdeps/sh/____longjmp_chk.S.
28589         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28590         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28591         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28592         (gen-as-const-headers): Append sigaltstack-offsets.sym.
28593
28594         * sysdeps/sh/abort-instr.h: New file.
28595         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28596         process in case exit returns.
28597
28598         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28599         initialize the GOT register before use.
28600
28601         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28602         calculation of ARGC > 4.
28603
28604         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28605         meaningful names to some local labels.
28606
28607 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28608             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28609
28610         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28611         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28612         (__arch_compare_and_exchange_val_16_acq): Likewise.
28613         (__arch_compare_and_exchange_val_32_acq): Likewise.
28614         (atomic_exchange_and_add): Fix gUSA sequence.
28615         (atomic_add): Likewise.
28616         (atomic_add_negative): Likewise.
28617         (atomic_add_zero): Likewise.
28618         (atomic_bit_test_set): Likewise.
28619
28620 2012-06-22  Andreas Schwab  <schwab@redhat.com>
28621
28622         [BZ #13579]
28623         * include/link.h (struct link_map): Add l_free_initfini.
28624         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28625         l_initfini.
28626         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28627         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28628         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28629         set.
28630
28631 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
28632
28633         * configure.in: Use AC_LANG_SOURCE.
28634         * configure: Regenerate.
28635
28636 2012-06-22  Roland McGrath  <roland@hack.frob.com>
28637
28638         * configure.in (libc_cv_localstatedir): New substituted variable.
28639         * configure: Regenerated.
28640         * config.make.in (localstatedir): New variable, substituted from
28641         libc_cv_localstatedir.
28642         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28643         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28644         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28645         * sysdeps/gnu/configure: Regenerated.
28646
28647 2012-06-21  Jeff Law  <law@redhat.com>
28648
28649         [BZ #14277]
28650         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28651         free.  Simplify list management for _LIBC case.
28652
28653 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
28654
28655         [BZ #14273]
28656         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28657         Clear sign bit of 64-bit integer value before comparing against
28658         overflow value.
28659
28660         * sysdeps/mach/configure: Regenerated.
28661
28662 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
28663
28664         [BZ #14278]
28665         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28666
28667 2012-06-21  Jeff Law  <law@redhat.com>
28668
28669         [BZ #13882]
28670         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
28671         uint16_t for elements in the "seen" array to avoid char overflows.
28672         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28673         * elf/dl-open.c (dl_open_worker): Likewise.
28674
28675 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
28676
28677         * scripts/list-sources.sh: Scan PORTS for translations.
28678         * po/libc.pot: Regenerated.
28679
28680 2012-06-21  Andreas Jaeger  <aj@suse.de>
28681
28682         [BZ #12194]
28683         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28684         warning.
28685         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28686         * bits/byteswap-16.h (__bswap_16): Likewise.
28687         * bits/byteswap.h (__bswap_constant_16): Likewise.
28688
28689 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
28690
28691         [BZ #14117]
28692         * sysdeps/i386/fpu_control.h: Removed.
28693         * sysdeps/x86_64/fpu_control.h: Moved to ...
28694         * sysdeps/x86/fpu_control.h: Here.
28695
28696         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28697         (_FPU_SETCW): Likewise.
28698
28699 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
28700
28701         [BZ #14117]
28702         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28703         * sysdeps/x86/fpu/bits/mathinline.h: This.
28704         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28705
28706         [BZ #14050]
28707         [BZ #14117]
28708         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28709         functions if __x86_64__ is defined.
28710
28711 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
28712
28713         * string/endian.h: Add !__ASSEMBLER__ condition for including
28714         conversion interfaces.
28715
28716 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
28717
28718         [BZ #14241]
28719         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28720         of ABS(x) in calculating zero to negative powers other than odd
28721         integers.
28722         * math/libm-test.inc (pow_test): Add more tests.
28723
28724 2012-06-15  Andreas Jaeger  <aj@suse.de>
28725
28726         * manual/contrib.texi (Contributors): Update entry of Liubov
28727         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28728         Machado Filho.
28729
28730 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
28731
28732         * string/string.h: Add __wur to GNU version of strerror_r.
28733
28734 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
28735
28736         [BZ #14229]
28737         * string/Makefile (tests): Add tst-strtok_r.
28738         * string/tst-strtok_r.c: New file.
28739         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28740         RAX_LP/RDX_LP on SAVE_PTR.
28741
28742 2012-06-14  Roland McGrath  <roland@hack.frob.com>
28743
28744         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28745
28746 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
28747
28748         * libm_test.inc (csqrt_test): Allow more spurious underflow
28749         exceptions.
28750         (j0_test): Likewise.
28751         (j1_test): Likewise.
28752         (y0_test): Likewise.
28753         (y1_test): Likewise.
28754
28755 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
28756
28757         * po/Makefile (libc.pot): Use UTF-8 charset.
28758
28759 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
28760
28761         [BZ #14210]
28762         Suppress sign-conversion warning from FD_SET.
28763         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28764         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28765         not unsigned long int.
28766         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28767
28768 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
28769
28770         [BZ #14050]
28771         [BZ #14117]
28772         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28773         __extern_always_inline instead of __extern_inline.
28774         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28775         (__signbit): Likewise.
28776         (__signbitl): Support C++ namespace.
28777         (lrintf): New inline function.
28778         (lrint): Likewise.
28779         (llrintf): Likewise.
28780         (llrint): Likewise.
28781         (fmaxf): Likewise.
28782         (fmax): Likewise.
28783         (fminf): Likewise.
28784         (fmin): Likewise.
28785         (rint): Likewise.
28786         (rintf): Likewise.
28787         (ceil): Likewise.
28788         (ceilf): Likewise.
28789         (floor): Likewise.
28790         (floorf): Likewise.
28791         (nearbyint): Likewise.
28792         (nearbyintf): Likewise.
28793
28794 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
28795
28796         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28797         non-default versions.
28798
28799 2012-06-11  Roland McGrath  <roland@hack.frob.com>
28800
28801         [BZ #14218]
28802         * manual/argp.texi (Argp): Reword argp_parse description slightly.
28803
28804 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
28805
28806         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28807         (FE_UPWARD, FE_DOWNWARD): Don't define.
28808         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28809         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28810
28811         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28812         reading it.
28813         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28814         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28815
28816 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28817
28818         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28819         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28820         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28821         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28822
28823 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
28824
28825         [BZ #14117]
28826         * sysdeps/i386/fpu/bits/fenv.h: Removed.
28827         * sysdeps/i386/fpu/Implies: New file.
28828         * sysdeps/x86_64/fpu/Implies: Likewise.
28829         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28830         * sysdeps/x86/fpu/bits/fenv.h: This.
28831
28832         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28833         __SSE_MATH__.
28834
28835 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28836
28837         [BZ #14134]
28838         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28839         character 0xffff that matches the last element of the
28840         conversion table.
28841
28842 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28843
28844         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28845         fmodl commit.
28846
28847 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28848
28849         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28850         values higher than 25.6283.
28851
28852 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28853
28854         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28855         subnormal exponent extraction and add some __builtin_expect.
28856         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28857         Fix for subnormal mantissa calculation.
28858
28859 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
28860
28861         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28862         cpu2 is -1 and errno is not ENOSYS.
28863
28864 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
28865
28866         [BZ #14117]
28867         * sysdeps/i386/i486/bits/string.h: Renamed to ...
28868         * sysdeps/x86/bits/string.h: This.
28869         * sysdeps/x86_64/bits/string.h: Removed.
28870
28871         * sysdeps/i386/i486/bits/string.h: Define inline functions only
28872         if not compiling for x86-64, but compiling for >= i486.
28873
28874         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28875         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28876
28877         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28878         New macro from Linux kernel 3.4.0.
28879         (FP_XSTATE_MAGIC2): Likewise.
28880         (FP_XSTATE_MAGIC2_SIZE): Likewise.
28881         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28882         (struct _fpx_sw_bytes): New struct.
28883         (struct _xsave_hdr): Likewise.
28884         (struct _ymmh_state): Likewise.
28885         (struct _xstate): Likewise.
28886
28887         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28888         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28889         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28890         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28891         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28892         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28893
28894         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28895         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28896         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28897         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28898         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28899         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28900
28901 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28902
28903         [BZ #13743]
28904         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28905         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28906         (sysdep_headers): Include sys/platform/ppc.h.
28907         * sysdeps/powerpc/test-gettimebase.c: Test for
28908         __ppc_get_timebase() to catch future ISA opcode/insn changes.
28909         * manual/Makefile (appendices): Include platform.texi.
28910         * manual/contrib.texi (Contributors): Update @node pointers.
28911         * manual/maint.texi (Maintenance): Likewise.
28912         (Platform): New node.
28913         * manual/platform.texi: New file.  Document the new features.
28914
28915 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28916             Jakub Jelinek  <jakub@redhat.com>
28917
28918         [BZ #14188]
28919         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28920         where __builtin_expect is unavailable.
28921
28922 2012-06-03  David S. Miller  <davem@davemloft.net>
28923
28924         * stdlib/longlong.h: Updated from GCC.
28925
28926 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
28927
28928         [BZ #14042]
28929         * sysdeps/powerpc/powerpc32/mcount.c: New file.
28930         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28931         __mcount_internal.
28932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28933         (GLIBC_2.16): Likewise.
28934
28935 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28936
28937         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28938
28939 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
28940
28941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28942         (default-abi): New variable.
28943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28944         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28945         variable.
28946         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28947         Likewise.
28948         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28949         Likewise.
28950         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28951         Likewise.
28952
28953         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28954         definition.  Document in comment.
28955
28956 2012-06-01  David S. Miller  <davem@davemloft.net>
28957
28958         * stdlib/longlong.h: Updated from GCC.
28959
28960 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28961
28962         [BZ #14117]
28963         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28964         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28965         sys/debugreg.h sys/io.h here.
28966         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28967         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28968         sys/io.h.
28969         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28970         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28971         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28972         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28973         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28974         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28975
28976         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28977         Define only if __x86_64__ is defined.
28978
28979 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
28980
28981         [BZ #14048]
28982         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28983         Use int64_t for variable i.
28984         * math/libm-test.inc (fmod_test): Add more tests.
28985
28986         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28987         z computation is not scheduled after fetestexcept.
28988         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28989         Use math_force_eval instead of asm to ensure calculation scheduled
28990         before exception test.
28991         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28992         Ensure a1 + u.d computation is not scheduled after fetestexcept.
28993
28994 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
28995
28996         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28997         computation is not scheduled after fetestexcept.
28998
28999 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
29000
29001         [BZ #14117]
29002         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29003         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29004
29005 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29006
29007         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29008         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29009
29010 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
29011
29012         [BZ #14117]
29013         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29014         <bits/wordsize.h>.
29015         (__WCHAR_MIN): Support __WORDSIZE == 64.
29016         (__WCHAR_MAX): Likewise.
29017
29018         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29019         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29020
29021         [BZ #14183]
29022         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29023         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29024
29025         [BZ #14117]
29026         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29027         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29028
29029         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29030         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29031
29032         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29033         Defined to 1 if __x86_64__ isn't defined.
29034         (_STAT_VER_LINUX_OLD): New.
29035         (st_atime): Remove duplicate.
29036         (st_mtime): Likewise.
29037         (st_ctime): Likewise.
29038
29039 2012-05-31  David S. Miller  <davem@davemloft.net>
29040
29041         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29042         entries.
29043
29044 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
29045
29046         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29047         gen-libm-test.pl.
29048
29049         [BZ #14132]
29050         * elf/dl-reloc.c: Include <_itoa.h>.
29051         (_dl_reloc_bad_type): Remove use of INTUSE.
29052         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29053         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29054         * stdio-common/psiginfo.c (psiginfo): Likewise.
29055         * stdio-common/psignal.c (psignal): Likewise.
29056         * string/strsignal.c (strsignal): Likewise.
29057         * include/signal.h (_sys_siglist): Declare hidden proto.
29058         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
29059         INTVARDEF with libc_hidden_data_def.
29060         * stdio-common/itoa-udigits.c: Likewise.
29061         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29062         (_itoa_lower_digits_internal): Remove declaration.
29063         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29064         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29065         (_sys_sigabbrev_internal): Remove aliases.
29066         (_sys_siglist): Define hidden alias.
29067
29068 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
29069
29070         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29071         bits/sysctl.h.
29072
29073 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
29074
29075         [BZ #14117]
29076         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29077         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29078
29079         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29080         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29081         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29082         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29083         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29084         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29085
29086         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29087         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29088         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29089
29090         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29091         with __addr.
29092         (insw): Likewise.
29093         (insl): Likewise.
29094         (outsb): Likewise.
29095         (outsw): Likewise.
29096         (outsl): Likewise.
29097
29098         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29099         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29100         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29101
29102         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29103         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29104         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29105         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29106         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29107         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29108
29109         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29110         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29111
29112         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29113         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29114
29115         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29116         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29117         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29118
29119         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29120         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29121         to ...
29122         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29123
29124         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29125         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29126         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29127
29128         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29129         for x86-64.
29130         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29131
29132 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
29133
29134         * math/math.h (M_El): Use two more decimal places.
29135         (M_LOG2El): Likewise.
29136         (M_LOG10El): Likewise.
29137         (M_LN2l): Likewise.
29138         (M_LN10l): Likewise.
29139         (M_PIl): Likewise.
29140         (M_PI_2l): Likewise.
29141         (M_PI_4l): Likewise.
29142         (M_1_PIl): Likewise.
29143         (M_2_PIl): Likewise.
29144         (M_2_SQRTPIl): Likewise.
29145         (M_SQRT2l): Likewise.
29146         (M_SQRT1_2l): Likewise.
29147
29148 2012-05-31  David S. Miller  <davem@davemloft.net>
29149
29150         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29151         values between float registers.
29152         * sysdeps/sparc/sparc64/memset.S: Likewise.
29153         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29154
29155 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
29156
29157         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29158         -D_FORTIFY_SOURCE=1.
29159         (CPPFLAGS-tst-longjmp_chk.c): Define.
29160         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29161         (CPPFLAGS-tst-longjmp_chk2.c): Define.
29162         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29163         CFLAGS-tst-wchar-h.c.
29164
29165 2012-05-31  Marek Polacek  <polacek@redhat.com>
29166
29167         [BZ #14132]
29168         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29169         __endmntent_internal): Remove declaration.
29170         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29171         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29172         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29173
29174 2012-05-30  David S. Miller  <davem@davemloft.net>
29175
29176         * sysdeps/sparc/sparc32/soft-fp/q_util.c
29177         (___Q_simulate_exceptions): Use real FP ops rather than writing
29178         into the %fsr.
29179         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29180         Likewise.
29181
29182 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29183
29184         [BZ #14117]
29185         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29186         * sysdeps/x86/bits/xtitypes.h: This.
29187
29188         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29189         * sysdeps/x86/bits/wordsize.h: This.
29190
29191         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29192         * sysdeps/x86/bits/huge_vall.h: This.
29193
29194         * sysdeps/i386/bits/select.h: Removed.
29195         * sysdeps/x86_64/bits/select.h: Renamed to ...
29196         * sysdeps/x86/bits/select.h: This.
29197
29198         * sysdeps/i386/bits/setjmp.h: Removed.
29199         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29200         * sysdeps/x86/bits/setjmp.h: This.
29201
29202         * sysdeps/i386/bits/mathdef.h: Removed.
29203         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29204         * sysdeps/x86/bits/mathdef.h: This.
29205
29206 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
29207
29208         [BZ #14132]
29209         * include/sys/socket.h (__connect_internal)
29210         (__libc_sa_len_internal): Remove declaration.
29211         (__connect, __libc_sa_len): Declare hidden_proto.
29212         (SA_LEN): Remove use of INTUSE.
29213         * socket/connect.c: Add libc_hidden_def.
29214         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29215         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29216         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29217         alias.
29218         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29219         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29220         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29221         of adding _internal alias.
29222
29223 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29224
29225         [BZ #14117]
29226         * sysdeps/i386/bits/link.h: Removed.
29227         * sysdeps/i386/bits/linkmap.h: Likewise.
29228         * sysdeps/x86_64/bits/link.h: Renamed to ...
29229         * sysdeps/x86/bits/link.h: This.
29230         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29231         * sysdeps/x86/bits/linkmap.h: This.
29232
29233         * sysdeps/i386/bits/endian.h: Removed.
29234         * sysdeps/x86_64/bits/endian.h: Renamed to ...
29235         * sysdeps/x86/bits/endian.h: This.
29236
29237         * sysdeps/i386/bits/byteswap.h: Removed.
29238         * sysdeps/i386/bits/byteswap-16.h: Likewise.
29239         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29240         * sysdeps/x86/bits/byteswap.h: This.
29241         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29242         * sysdeps/x86/bits/byteswap-16.h: This.
29243         * sysdeps/i386/Implies: Add x86.
29244         * sysdeps/x86_64/Implies: Likewise.
29245
29246 2012-05-30  David S. Miller  <davem@davemloft.net>
29247
29248         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29249         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29250         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29251         (FP_TRAPPING_EXCEPTIONS): Define.
29252         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29253         (FP_TRAPPING_EXCEPTIONS): Define.
29254         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29255         subnormals only when inexact has been signalled or underflow
29256         exceptions are enabled.
29257         (_FP_PACK_CANONICAL): Likewise.
29258
29259 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29260
29261         [BZ #14183]
29262         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29263         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29264
29265 2012-05-30  Richard Henderson  <rth@twiddle.net>
29266
29267         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29268         with #ifndef NOT_IN_libc.
29269
29270         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
29271         marked to avoid plt entry.
29272
29273 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29274
29275         [BZ #14112]
29276         * Makeconfig (default-abi): New macro.
29277         (abi-includes): Likewise.
29278         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
29279         $(abi-$(default-abi)-lib-soname) for soname if defined.
29280         ($(common-objpfx)gnu/lib-names.stmp): Generate from
29281         abi-variants.
29282         * Makefile (installed-stubs): Likewise.
29283         * include/stubs-biarch.h: Removed.
29284         * scripts/lib-names.awk: Only handle one library at a time.
29285         * scripts/soversions.awk: Remove WORDSIZE support.
29286         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29287         entries.
29288         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29289         Removed.
29290         (syscall-list-default-condition): Likewise.
29291         (syscall-list-default-condition): Likewise.
29292         (syscall-list-includes): Likewise.
29293         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29294         syscall-list-* with abi-*.  Handle undefined abi-variants.
29295         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29296         * sysdeps/unix/sysv/linux/i386/Implies: New file.
29297         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29298         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29299         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29300         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29301         Removed.
29302         (syscall-list-32-options): Likewise.
29303         (syscall-list-32-condition): Likewise.
29304         (syscall-list-64-options): Likewise.
29305         (syscall-list-64-condition): Likewise.
29306         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29307         macro.
29308         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29309         Renamed to ...
29310         (abi-*): This.
29311         (abi-64-ld-soname): New macro.
29312         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29313         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29314         Renamed to ...
29315         (abi-*): This.
29316         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29317         * sysdeps/x86_64/x32/shlib-versions: Likewise.
29318
29319 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
29320
29321         * sysdeps/unix/sysv/linux/kernel-features.h
29322         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29323         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29324         include <kernel-features.h>.
29325         [!__NR_ftruncate64]: Remove conditional code.
29326         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29327         [__NR_ftruncate64]: Make code unconditional.
29328         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29329         * sysdeps/unix/sysv/linux/truncate64.c: Do not
29330         include <kernel-features.h>.
29331         [!__NR_ftruncate64]: Remove conditional code.
29332         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29333         [__NR_ftruncate64]: Make code unconditional.
29334         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29336         include <kernel-features.h>.
29337         [!__NR_ftruncate64]: Remove conditional code.
29338         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29339         [__NR_ftruncate64]: Make code unconditional.
29340         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29342         include <kernel-features.h>.
29343         [!__NR_ftruncate64]: Remove conditional code.
29344         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29345         [__NR_ftruncate64]: Make code unconditional.
29346         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29347
29348         * configure.in (libc_cv_fpie): Weaken to a compile test using
29349         LIBC_TRY_CC_OPTION.
29350         * configure: Regenerated.
29351
29352 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29353
29354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29358         Refreshed.
29359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29364         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29365         Refreshed.
29366
29367 2012-05-27  David S. Miller  <davem@davemloft.net>
29368
29369         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29370         (___Q_zero): New.
29371         (__Q_simulate_exceptions): Return void.  Change to simulate
29372         exceptions by writing into the %fsr.
29373         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29374         (__Qp_handle_exceptions): Likewise.
29375         (numbers): Delete.
29376         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29377         __Qp_handle_exceptions.
29378         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29379         __Qp_handle_exceptions.
29380         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29381         as unused and give dummy FP_RND_NEAREST initializer.
29382         (FP_INHIBIT_RESULTS): Define.
29383         (___Q_simulate_exceptions): Update declaration.
29384         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29385         formatting.
29386         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29387         as unused and give dummy FP_RND_NEAREST initializer.
29388         (__Qp_handle_exceptions): Update declaration.
29389         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29390         formatting.
29391
29392 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
29393
29394         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29395         the temporary FPU control word.
29396         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29397         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29398         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29399         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29400         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29401         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29402         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29403         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29404         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29405         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29406         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29407
29408 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29409
29410         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29411         fields.
29412
29413 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
29414
29415         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29416         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29417         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29418         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29419         Likewise.
29420         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29421         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29422         Likewise.
29423
29424 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
29425
29426         * po/h.po: Update from translation team.
29427
29428 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
29429
29430         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29431
29432         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29433         handling of denormals.
29434         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29435         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29436         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29437         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29438         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29439         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29440         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29441         Likewise.
29442
29443 2012-05-26  Marek Polacek  <polacek@redhat.com>
29444
29445         [BZ #14152]
29446         * math/libm-test.inc (fma_test): Don't always expect underflow
29447         exception.
29448
29449 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29450
29451         [BZ #12416]
29452         * elf/tst-execstack.c: Include stackinfo.h.
29453         (do_test): Adjust test case to ensure that pthread_getattr_np
29454         behaviour remains the same after marking stack executable.
29455
29456 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
29457
29458         * sysdeps/unix/sysv/linux/kernel-features.h
29459         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29460         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29461         kernel-features.h.
29462         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29463         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29464         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29465         kernel-features.h.
29466         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29467         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29468
29469 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
29470
29471         * configure.in: Define the default includes to being none.
29472         * configure: Regenerated.
29473
29474 2012-05-25  Roland McGrath  <roland@hack.frob.com>
29475
29476         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29477         * sysdeps/x86_64/setjmp.S: Likewise.
29478         * sysdeps/i386/bsd-setjmp.S: Likewise.
29479         * sysdeps/i386/bsd-_setjmp.S: Likewise.
29480         * sysdeps/i386/setjmp.S: Likewise.
29481         * sysdeps/i386/__longjmp.S: Likewise.
29482         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29483         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29484
29485         * include/stap-probe.h: New file.
29486         * configure.in: Handle --enable-systemtap.
29487         * configure: Regenerated.
29488         * config.h.in (USE_STAP_PROBE): New #undef.
29489         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29490         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29491         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29492
29493 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
29494
29495         [BZ #13717]
29496         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29497         to 2.4.0 where earlier.
29498         * sysdeps/unix/sysv/linux/configure: Regenerated.
29499         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29500         <kernel-features.h>.
29501         [__ASSUME_32BITUIDS]: Make code unconditional.
29502         [!__ASSUME_32BITUIDS]: Remove conditional code.
29503         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29504         <kernel-features.h>.
29505         [__ASSUME_32BITUIDS]: Make code unconditional.
29506         [!__ASSUME_32BITUIDS]: Remove conditional code.
29507         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29508         [__ASSUME_32BITUIDS]: Make code unconditional.
29509         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29510         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29511         <kernel-features.h>.
29512         [__ASSUME_32BITUIDS]: Make code unconditional.
29513         [!__ASSUME_32BITUIDS]: Remove conditional code.
29514         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29515         <kernel-features.h>.
29516         [__ASSUME_32BITUIDS]: Make code unconditional.
29517         [!__ASSUME_32BITUIDS]: Remove conditional code.
29518         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29519         <kernel-features.h>.
29520         [__ASSUME_32BITUIDS]: Make code unconditional.
29521         [!__ASSUME_32BITUIDS]: Remove conditional code.
29522         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29523         <kernel-features.h>.
29524         [__ASSUME_32BITUIDS]: Make code unconditional.
29525         [!__ASSUME_32BITUIDS]: Remove conditional code.
29526         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29527         <kernel-features.h>.
29528         [__ASSUME_32BITUIDS]: Make code unconditional.
29529         [!__ASSUME_32BITUIDS]: Remove conditional code.
29530         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29531         <kernel-features.h>.
29532         [__ASSUME_32BITUIDS]: Make code unconditional.
29533         [!__ASSUME_32BITUIDS]: Remove conditional code.
29534         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29535         <kernel-features.h>.
29536         [__ASSUME_32BITUIDS]: Make code unconditional.
29537         [!__ASSUME_32BITUIDS]: Remove conditional code.
29538         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29539         <kernel-features.h>.
29540         [__ASSUME_32BITUIDS]: Make code unconditional.
29541         [!__ASSUME_32BITUIDS]: Remove conditional code.
29542         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29543         <kernel-features.h>.
29544         [__ASSUME_32BITUIDS]: Make code unconditional.
29545         [!__ASSUME_32BITUIDS]: Remove conditional code.
29546         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29547         <kernel-features.h>.
29548         [__ASSUME_32BITUIDS]: Make code unconditional.
29549         [!__ASSUME_32BITUIDS]: Remove conditional code.
29550         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29551         <kernel-features.h>.
29552         [__NR_setresgid] (__setresgid): Do not declare.
29553         [__ASSUME_32BITUIDS]: Make code unconditional.
29554         [!__ASSUME_32BITUIDS]: Remove conditional code.
29555         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29556         <kernel-features.h>.
29557         [__NR_setresuid] (__setresuid): Do not declare.
29558         [__ASSUME_32BITUIDS]: Make code unconditional.
29559         [!__ASSUME_32BITUIDS]: Remove conditional code.
29560         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29561         <kernel-features.h>.
29562         [__ASSUME_32BITUIDS]: Make code unconditional.
29563         [!__ASSUME_32BITUIDS]: Remove conditional code.
29564         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29565         <kernel-features.h>.
29566         [__ASSUME_32BITUIDS]: Make code unconditional.
29567         [!__ASSUME_32BITUIDS]: Remove conditional code.
29568         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29569         <kernel-features.h>.
29570         [__ASSUME_32BITUIDS]: Make code unconditional.
29571         [!__ASSUME_32BITUIDS]: Remove conditional code.
29572         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29573         <kernel-features.h>.
29574         [__ASSUME_32BITUIDS]: Make code unconditional.
29575         [!__ASSUME_32BITUIDS]: Remove conditional code.
29576         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29577         <kernel-features.h>.
29578         [__ASSUME_32BITUIDS]: Make code unconditional.
29579         [!__ASSUME_32BITUIDS]: Remove conditional code.
29580         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29581         <kernel-features.h>.
29582         [__ASSUME_32BITUIDS]: Make code unconditional.
29583         [!__ASSUME_32BITUIDS]: Remove conditional code.
29584         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29585         <kernel-features.h>.
29586         [__ASSUME_32BITUIDS]: Make code unconditional.
29587         [!__ASSUME_32BITUIDS]: Remove conditional code.
29588         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29589         <kernel-features.h>.
29590         [__ASSUME_32BITUIDS]: Make code unconditional.
29591         [!__ASSUME_32BITUIDS]: Remove conditional code.
29592         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29593         <kernel-features.h>.
29594         [__ASSUME_32BITUIDS]: Make code unconditional.
29595         [!__ASSUME_32BITUIDS]: Remove conditional code.
29596         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29597         <kernel-features.h>.
29598         [__ASSUME_32BITUIDS]: Make code unconditional.
29599         [!__ASSUME_32BITUIDS]: Remove conditional code.
29600         * sysdeps/unix/sysv/linux/kernel-features.h
29601         (__ASSUME_SETRESUID_SYSCALL): Remove.
29602         (__ASSUME_SETRESGID_SYSCALL): Likewise.
29603         (__ASSUME_32BITUIDS): Likewise.
29604         (__ASSUME_LDT_WORKS): Likewise.
29605         (__ASSUME_O_DIRECTORY): Likewise.
29606         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29607         architecture but not kernel version.
29608         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29609         (__ASSUME_MMAP2_SYSCALL): Likewise.
29610         (__ASSUME_STAT64_SYSCALL): Likewise.
29611         (__ASSUME_IPC64): Likewise.
29612         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29613         <kernel-features.h>.
29614         [__ASSUME_32BITUIDS]: Make code unconditional.
29615         [!__ASSUME_32BITUIDS]: Remove conditional code.
29616         * sysdeps/unix/sysv/linux/opendir.c: Do not include
29617         <kernel-features.h>.
29618         [__ASSUME_O_DIRECTORY]: Make code unconditional.
29619         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29620         132096]: Remove conditional code.
29621         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29622         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29623         <kernel-features.h>.
29624         [__ASSUME_32BITUIDS]: Make code unconditional.
29625         [!__ASSUME_32BITUIDS]: Remove conditional code.
29626         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29627         <kernel-features.h>.
29628         [__ASSUME_32BITUIDS]: Make code unconditional.
29629         [!__ASSUME_32BITUIDS]: Remove conditional code.
29630         * sysdeps/unix/sysv/linux/setegid.c: Do not include
29631         <kernel-features.h>.
29632         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29633         unconditional.
29634         (__setresgid): Do not declare.
29635         [__ASSUME_32BITUIDS]: Make code unconditional.
29636         [!__ASSUME_32BITUIDS]: Remove conditional code.
29637         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29638         <kernel-features.h>.
29639         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29640         unconditional.
29641         (__setresuid): Do not declare.
29642         [__ASSUME_32BITUIDS]: Make code unconditional.
29643         [!__ASSUME_32BITUIDS]: Remove conditional code.
29644         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29645         <kernel-features.h>.
29646         [__ASSUME_32BITUIDS]: Make code unconditional.
29647         [!__ASSUME_32BITUIDS]: Remove conditional code.
29648         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29649         <kernel-features.h>.
29650         [__ASSUME_32BITUIDS]: Make code unconditional.
29651         [!__ASSUME_32BITUIDS]: Remove conditional code.
29652
29653 2012-05-25  Richard Henderson  <rth@twiddle.net>
29654
29655         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29656         dl_hwcap to ifunc resolver.
29657         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29658         elf_ifunc_invoke.
29659         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29660         dl_hwcap to ifunc resolver.
29661         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29662
29663 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29664
29665         [BZ #14153]
29666         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29667         for |x| <= 2**-26, not 2**-57.
29668         * math/libm-test.inc (acos_test): Do not allow spurious underflow
29669         exception.
29670
29671 2012-05-24  Jeff Law  <law@redhat.com>
29672
29673         * stdio-common/Makefile (tests): Add bug25.
29674         * stdio-common/bug25.c: New test.
29675
29676 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
29677
29678         [BZ #13576]
29679         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29680         multiple of MALLOC_ALIGNMENT in size.
29681         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29682
29683 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29684
29685         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29686         Require >= 256.
29687         (FILENAME_MAX): Use macro-int-constant.
29688         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
29689         (_IOFBF): Use macro-int-constant.
29690         (_IOLBF): Likewise.
29691         (_IONBF): Likewise.
29692         (SEEK_CUR): Likewise.
29693         (SEEK_END): Likewise.
29694         (SEEK_SET): Likewise.
29695         (TMP_MAX): Likewise.
29696         (EOF): Use macro-int-constant.  Require < 0.
29697         (NULL): Use macro-constant.  Require == 0.
29698         (stdin): Require type to be FILE *.
29699         (stdout): Likewise.
29700         (stderr): Likewise.
29701         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29702         macro-int-constant.
29703         (EXIT_SUCCESS): Likewise.
29704         (NULL): Use macro-constant.  Require == 0.
29705         (RAND_MAX): Use macro-int-constant.
29706         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29707         [C99-based standards] (strtof): Require function.
29708         [C99-based standards] (strtold): Likewise.
29709         [C99-based standards] (strtoll): Likewise.
29710         [C99-based standards] (strtoull): Likewise.
29711         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29712         [ISO || ISO99 || ISO11] (limits.h): Likewise.
29713         [ISO || ISO99 || ISO11] (math.h): Likewise.
29714         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29715         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29716         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29717
29718 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
29719
29720         [BZ #14132]
29721         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29722         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29723         * intl/dgettext.c (DCGETTEXT): Likewise.
29724         * intl/gettext.c (DCGETTEXT): Likewise.
29725         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29726         * posix/regex_internal.h (gettext): Likewise.
29727         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29728         Remove declaration.
29729         * include/argz.h (__argz_count_internal)
29730         (__argz_stringify_internal): Remove declaration.
29731         (__argz_count, __argz_stringify): Declare hidden proto.
29732         * intl/dcgettext.c: Remove use of INTDEF.
29733         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29734         * string/argz-stringify.c: Likewise.
29735         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29736         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29737         Declare hidden proto.
29738         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29739         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29740         Declare hidden proto.
29741         * include/stdio.h (__asprintf_internal): Don't declare.
29742         (__asprintf): Don't define as macro.  Declare hidden proto.
29743         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29744         (__fsetlocking): Declare hidden proto.
29745         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29746         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29747         hidden proto.
29748         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29749         (_IO_setlinebuf): Remove use of INTUSE.
29750         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29751         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29752         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29753         Remove declaration.
29754         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29755         (_IO_do_flush): Remove use of INTUSE.
29756         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29757         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29758         (_IO_adjust_column, _IO_least_wmarker)
29759         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29760         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29761         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29762         (_IO_default_doallocate, _IO_wdefault_doallocate)
29763         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29764         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29765         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29766         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29767         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29768         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29769         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29770         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29771         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29772         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29773         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29774         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29775         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29776         proto.
29777         (_IO_flush_all_internal, _IO_adjust_column_internal)
29778         (_IO_default_uflow_internal, _IO_default_finish_internal)
29779         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29780         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29781         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29782         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29783         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29784         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29785         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29786         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29787         (_IO_file_close_internal, _IO_file_close_it_internal)
29788         (_IO_file_underflow_internal, _IO_file_overflow_internal)
29789         (_IO_file_init_internal, _IO_file_attach_internal)
29790         (_IO_file_fopen_internal, _IO_file_read_internal)
29791         (_IO_file_sync_internal, _IO_file_seek_internal)
29792         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29793         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29794         (_IO_str_underflow_internal, _IO_str_overflow_internal)
29795         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29796         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29797         (_IO_list_all_internal, _IO_link_in_internal)
29798         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29799         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29800         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29801         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29802         (_IO_do_write_internal, _IO_padn_internal)
29803         (_IO_getline_info_internal, _IO_getline_internal)
29804         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29805         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29806         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29807         (_IO_vfscanf_internal, _IO_vfprintf_internal)
29808         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29809         (_IO_init_internal, _IO_un_link_internal): Don't declare.
29810         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29811         with libc_hidden_ver, remove use of INTUSE.
29812         * libio/genops.c: Likewise.
29813         * libio/freopen.c: Likewise.
29814         * libio/freopen64.c: Likewise.
29815         * libio/iofclose.c: Likewise.
29816         * libio/iofdopen.c: Likewise.
29817         * libio/iofflush.c: Likewise.
29818         * libio/iofflush_u.c: Likewise.
29819         * libio/iofgets.c: Likewise.
29820         * libio/iofgets_u.c: Likewise.
29821         * libio/iofopen.c: Likewise.
29822         * libio/iofopncook.c: Likewise.
29823         * libio/iofread.c: Likewise.
29824         * libio/iofread_u.c: Likewise.
29825         * libio/ioftell.c: Likewise.
29826         * libio/iofwrite.c: Likewise.
29827         * libio/iogetline.c: Likewise.
29828         * libio/iogets.c: Likewise.
29829         * libio/iogetwline.c: Likewise.
29830         * libio/iopadn.c: Likewise.
29831         * libio/iopopen.c: Likewise.
29832         * libio/ioseekoff.c: Likewise.
29833         * libio/ioseekpos.c: Likewise.
29834         * libio/iosetbuffer.c: Likewise.
29835         * libio/iosetvbuf.c: Likewise.
29836         * libio/ioungetc.c: Likewise.
29837         * libio/ioungetwc.c: Likewise.
29838         * libio/iovdprintf.c: Likewise.
29839         * libio/iovsprintf.c: Likewise.
29840         * libio/iovsscanf.c: Likewise.
29841         * libio/memstream.c: Likewise.
29842         * libio/obprintf.c: Likewise.
29843         * libio/oldfileops.c: Likewise.
29844         * libio/oldiofclose.c: Likewise.
29845         * libio/oldiofdopen.c: Likewise.
29846         * libio/oldiofopen.c: Likewise.
29847         * libio/oldiopopen.c: Likewise.
29848         * libio/oldstdfiles.c: Likewise.
29849         * libio/putc.c: Likewise.
29850         * libio/setbuf.c: Likewise.
29851         * libio/setlinebuf.c: Likewise.
29852         * libio/stdfiles.c: Likewise.
29853         * libio/strops.c: Likewise.
29854         * libio/vasprintf.c: Likewise.
29855         * libio/vscanf.c: Likewise.
29856         * libio/vsnprintf.c: Likewise.
29857         * libio/vswprintf.c: Likewise.
29858         * libio/wfiledoalloc.c: Likewise.
29859         * libio/wfileops.c: Likewise.
29860         * libio/wgenops.c: Likewise.
29861         * libio/wmemstream.c: Likewise.
29862         * libio/wstrops.c: Likewise.
29863         * libio/__fpurge.c: Likewise.
29864         * libio/__fsetlocking.c: Likewise.
29865         * assert/assert.c: Likewise.
29866         * debug/fgets_chk.c: Likewise.
29867         * debug/fgets_u_chk.c: Likewise.
29868         * debug/fread_chk.c: Likewise.
29869         * debug/fread_u_chk.c: Likewise.
29870         * debug/gets_chk.c: Likewise.
29871         * debug/obprintf_chk.c: Likewise.
29872         * debug/vasprintf_chk.c: Likewise.
29873         * debug/vdprintf_chk.c: Likewise.
29874         * debug/vsnprintf_chk.c: Likewise.
29875         * debug/vsprintf_chk.c: Likewise.
29876         * malloc/mtrace.c: Likewise.
29877         * misc/error.c: Likewise.
29878         * misc/syslog.c: Likewise.
29879         * stdio-common/asprintf.c: Likewise.
29880         * stdio-common/fxprintf.c: Likewise.
29881         * stdio-common/getw.c: Likewise.
29882         * stdio-common/isoc99_fscanf.c: Likewise.
29883         * stdio-common/isoc99_scanf.c: Likewise.
29884         * stdio-common/isoc99_vfscanf.c: Likewise.
29885         * stdio-common/isoc99_vscanf.c: Likewise.
29886         * stdio-common/isoc99_vsscanf.c: Likewise.
29887         * stdio-common/printf-prs.c: Likewise.
29888         * stdio-common/printf_fp.c: Likewise.
29889         * stdio-common/printf_fphex.c: Likewise.
29890         * stdio-common/printf_size.c: Likewise.
29891         * stdio-common/putw.c: Likewise.
29892         * stdio-common/scanf.c: Likewise.
29893         * stdio-common/sprintf.c: Likewise.
29894         * stdio-common/tmpfile.c: Likewise.
29895         * stdio-common/vfprintf.c: Likewise.
29896         * stdio-common/vfscanf.c: Likewise.
29897         * stdlib/strfmon_l.c: Likewise.
29898         * sunrpc/openchild.c: Likewise.
29899         * sunrpc/xdr_stdio.c: Likewise.
29900         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29901         * sysdeps/mach/hurd/tmpfile.c: Likewise.
29902
29903 2012-05-24  Roland McGrath  <roland@hack.frob.com>
29904
29905         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29906
29907         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29908         in the third column, to generate for the shared library an IFUNC
29909         that uses _dl_vdso_vsym.
29910         * Makerules (COMPILE.c, compile-stdin.c): New variables.
29911         * Makeconfig (object-suffixes-noshared): New variable.
29912
29913         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29914         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29915         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29916         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29917
29918         [BZ #14132]
29919         * include/sys/time.h (__gettimeofday): Remove macro.
29920         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29921         * time/gettimeofday.c (__gettimeofday): Remove #undef.
29922         Remove INTDEF.
29923         (__gettimeofday): Add libc_hidden_def.
29924         (gettimeofday): Add libc_hidden_weak.
29925         * sysdeps/mach/gettimeofday.c: Likewise.
29926         * sysdeps/posix/gettimeofday.c: Likewise.
29927         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29928         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29929         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29930         (__gettimeofday_internal): Remove strong_alias.
29931         (__gettimeofday): Add libc_hidden_def.
29932         (gettimeofday): Add libc_hidden_weak.
29933         * sysdeps/unix/syscalls.list (gettimeofday):
29934         Remove __gettimeofday_internal alias.
29935
29936 2012-05-24  Daniel Jacobowitz  <drow@false.org>
29937             H.J. Lu  <hongjiu.lu@intel.com>
29938
29939         [BZ #12495]
29940         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29941         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29942         (largebin_index_32_big): New.
29943         (largebin_index): Use it for 16-byte alignment.
29944         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
29945         correction with front_misalign.
29946
29947 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
29948
29949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29950         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29951         Likewise.
29952         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29953         Likewise.
29954         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29955         Likewise.
29956         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29957         Likewise.
29958         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29959         Likewise.
29960         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29961         Likewise.
29962         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29963         Likewise.
29964         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29965         Likewise.
29966         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29967         Likewise.
29968         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29969         Likewise.
29970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29971         Likewise.
29972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29973         Likewise.
29974
29975         * scripts/data/c++-types-x32-linux-gnu.data: New file.
29976         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29977
29978 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29979
29980         [BZ #10846]
29981         [BZ #14036]
29982         * math/libm-test.inc (exp_test): Add test from bug 14036.
29983         (pow_test): Add test from bug 10846.
29984
29985         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29986         and other flags.
29987         (special_function): Do not include flags in test name.
29988         (parse_args): Likewise.
29989         * sysdeps/i386/fpu/libm-test-ulps: Update.
29990         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29991         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29992         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29994
29995         * math/gen-libm-test.pl (%beautify): Add entries for underflow
29996         exceptions.
29997         * math/libm-test.inc ("Philosophy"): Update comment about
29998         exception testing.
29999         (UNDERFLOW_EXCEPTION): New macro.
30000         (UNDERFLOW_EXCEPTION_OK): Likewise.
30001         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30002         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30003         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30004         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30005         (INVALID_EXCEPTION_OK): Update value.
30006         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30007         (OVERFLOW_EXCEPTION_OK): Likewise.
30008         (IGNORE_ZERO_INF_SIGN): Likewise.
30009         (test_exceptions): Handle underflow exceptions.
30010         (acos_test): Update for underflow exception expectations.
30011         (cexp_test): Likewise.
30012         (clog_test): Likewise.
30013         (clog10_test): Likewise.
30014         (csqrt_test): Likewise.
30015         (ctan_test): Likewise.
30016         (ctanh_test): Likewise.
30017         (exp_test): Likewise.
30018         (exp10_test): Likewise.
30019         (exp2_test): Likewise.
30020         (expm1_test): Likewise.
30021         (fma_test): Likewise.
30022         (j0_test): Likewise.
30023         (jn_test): Likewise.
30024         (nexttoward_test): Likewise.
30025         (pow_test): Likewise.
30026         (scalbn_test): Likewise.
30027         (scalbln_test): Likewise.
30028         (tan_test): Likewise.
30029         (y1_test): Likewise.
30030         * sysdeps/i386/fpu/libm-test-ulps: Update.
30031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30032
30033 2012-05-23  David S. Miller  <davem@davemloft.net>
30034
30035         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30036         (__libc_sigaction): Remove unused local variables.
30037
30038 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
30039
30040         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30041
30042 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
30043
30044         mktime: avoid signed integer overflow
30045         * time/mktime.c (__mktime_internal): Do not mishandle the case
30046         where diff == INT_MIN.
30047
30048         mktime: simplify computation of average
30049         * time/mktime.c (ranged_convert): Use new time_t_avg function
30050         instead of rolling our own (probably-slower) code.
30051
30052         mktime: do not assume signed right shift propagates sign bit
30053         * time/mktime.c (isdst_differ): New static function.
30054         (__mktime_internal): No need to normalize tm_isdst now.
30055         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30056         tm_isdst values.
30057
30058         mktime: merge another wrapv change from gnulib
30059         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30060         from some compilers.
30061
30062         mktime: remove incorrect attempt at unusual arithmetics
30063         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30064         The code didn't really work on such machines anyway.
30065         (TYPE_MINIMUM): Assume two's complement.
30066         (twos_complement_arithmetic): Verify that long_int and time_t
30067         are two's complement (or unsigned, in the latter case).
30068
30069         mktime: check signed shifts on long_int and time_t, too
30070         * time/mktime.c (SHR): Check that shifts work as desired
30071         on the types long_int and time_t too, as SHR is used on
30072         such types.
30073
30074         mktime: do not assume 'long' is wide enough
30075         * time/mktime.c (verify): Move decl up.
30076         (long_int): New type.
30077         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30078         to remove assumption in the code that 'long' is wide enough to
30079         store year values.  This assumption is not true on x32 and on
30080         some non-glibc platforms.
30081
30082         mktime: merge wrapv change from gnulib
30083         * time/mktime.c (WRAPV): New macro.
30084         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30085         (guess_time_tm, __mktime_internal): Do not assume that signed
30086         integer overflow wraps around; modern compilers generate code
30087         where this assumption is no longer valid.
30088
30089 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
30090
30091         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30092         Replace "jmp L(pseudo_end)" with "ret".
30093         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30094         Likewise.
30095
30096 2012-05-23  Andreas Jaeger  <aj@suse.de>
30097
30098         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30099         * sysdeps/unix/sysv/linux/poll.c: Remove file.
30100
30101 2012-05-23  Andreas Jaeger  <aj@suse.de>
30102             Maximilian Attems  <max@stro.at>
30103
30104         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30105         New macros.
30106
30107 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
30108
30109         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30110         code so that pseudo_end is just ret and the stack pointer is
30111         correct also for static library in error case.
30112
30113 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
30114
30115         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30116         move to syscalls.list.
30117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30121
30122         * manual/install.texi (Running make install): Do not mention Linux
30123         kernel version for which pt_chown is not needed.
30124         (Linux): Do not mention problems with nscd with 2.0 kernels.
30125         * INSTALL: Regenerated.
30126
30127 2012-05-23  Andreas Jaeger  <aj@suse.de>
30128
30129         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30130         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30131         macro.
30132         * sysdeps/unix/sysv/linux/s390/bits/mman.h
30133         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30134         * sysdeps/unix/sysv/linux/sh/bits/mman.h
30135         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30136         * sysdeps/unix/sysv/linux/i386/bits/mman.h
30137         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30138         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30139         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30140         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30141         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30142         * sysdeps/unix/sysv/linux/bits/in.h
30143         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30144
30145 2012-05-22  Roland McGrath  <roland@hack.frob.com>
30146
30147         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30148         (PREPARE_VERSION): Just use assert instead, it will be elided
30149         under [NDEBUG] anyway.
30150
30151 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30152
30153         * sysdeps/unix/sysv/linux/Makefile: Include
30154         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
30155         (sysdep_routines): Remove sysctl.
30156         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30157         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30158         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30159         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30160         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30161
30162 2012-05-22  Andreas Jaeger  <aj@suse.de>
30163
30164         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30165         that pseudo_end is just ret and the stack pointer is correct also
30166         for static library in error case.
30167
30168 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
30169
30170         [BZ #14122]
30171         * nss/nsswitch.c (defconfig_entries): New variable.
30172         (__nss_database_lookup): Don't leak defconfig entries.
30173         (nss_parse_service_list): Don't leak on error paths.
30174         (free_database_entries): New function.
30175         (free_defconfig): New function.
30176         (free_mem): Move common code to free_database_entries.
30177
30178 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30179
30180         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30181         Add arch_prctl.
30182         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30183
30184         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30185         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30186         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30187         New macro.
30188         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30189         (INTERNAL_SYSCALL_TYPES): Likewise.
30190         (LOAD_ARGS_TYPES_[1-6]): Likewise.
30191         (LOAD_REGS_TYPES_[1-6]): Likewise.
30192         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30193         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30194
30195 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30196
30197         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30198         copysignl for GLIBC_2_0.
30199         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30200         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30201         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30202         logbl for GLIBC_2_0.
30203         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30204         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30205
30206 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30207
30208         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30209         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30210
30211         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30212         Use "neg %eax".
30213
30214         * time/mktime.c: Update copyright years.
30215
30216 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
30217
30218         mktime: merge comment-quoting-style change from gnulib
30219         * time/mktime.c: Quote 'like this' in comments.
30220         The GNU coding standards suggest that we no longer quote `like this',
30221         as "`" and "'" are typically rendered asymmetrically nowadays.
30222         The typical gnulib style is to quote 'like this' when quoting
30223         code, and "like this" when quoting English.
30224
30225         * time/mktime.c (compile-command): Add "-I.".
30226
30227         mktime: merge mktime-internal.h change from gnulib
30228         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30229
30230         mktime: merge time_r change from gnulib
30231         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30232
30233         mktime: merge DEBUG change from gnulib
30234         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30235         case system <time.h> has a #define.
30236
30237         mktime: merge <sys/types.h> change from gnulib
30238         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30239         since <time.t> is now guaranteed to define time_t.
30240
30241         mktime: merge HAVE_CONFIG_H change from gnulib
30242         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30243
30244 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30245
30246         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30247         Use "neg %eax".
30248
30249         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30250         __rlim_t cast.
30251         (struct rusage): Use anonymous union to pad each field to
30252         __syscall_slong_t.
30253
30254 2012-05-21  David S. Miller  <davem@davemloft.net>
30255
30256         * Makefules (o-iterator): Remove .s cases.
30257         (compile-command.s): Delete.
30258         (COMPILE.s): Delete.
30259         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30260
30261 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
30262
30263         * configure.in (libc_cv_predef_stack_protector): Only consider
30264         "foobar" and "__stack_chk_fail" lines in libc_undefs.
30265         * configure: Regenerated.
30266
30267 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
30268
30269         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30270         New macro.  Use R*LP on int and pointer.
30271         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
30272         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30273         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
30274         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30275
30276         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30277         [__WORDSIZE_TIME64_COMPAT32] instead of
30278         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30279         (struct utmp): Likewise.
30280         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30281         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30282         Renamed to ...
30283         (__WORDSIZE_TIME64_COMPAT32): This.
30284         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30285         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30286         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30287         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30288         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30289         (__WORDSIZE_TIME64_COMPAT32): New macro.
30290
30291 2012-05-21  Andreas Jaeger  <aj@suse.de>
30292
30293         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30294         only if [SHARED]. Add prototype for __wcschr_ia32.
30295
30296 2012-05-21  Roland McGrath  <roland@hack.frob.com>
30297
30298         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30299         of %rbp unmolested in the jmp_buf while mangling the low bits.
30300         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30301         unmolested high bits of %rbp while demangling the low bits.
30302         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30303
30304 2012-05-21  Andreas Jaeger  <aj@suse.de>
30305
30306         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30307         * sunrpc/svc_simple.c: Use it for registerrpc.
30308         * sunrpc/xcrypt.c: Use it for passwd2des.
30309
30310         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30311
30312 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
30313
30314         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30315         Don't define if [__SYSCALL_WORDSIZE != 32].
30316         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30317         New macro.
30318
30319 2012-05-21  Bruno Haible  <bruno@clisp.org>
30320             Andreas Jaeger  <aj@suse.de>
30321
30322         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30323         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30324         inptr and inend for must_buffer_ch.
30325         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30326         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30327         * stdio-common/Makefile (tests): Remove bug15.
30328         (bug15-ENV): Remove macro.
30329         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30330         anymore.
30331
30332 2012-05-19  Andreas Jaeger  <aj@suse.de>
30333             Roland McGrath  <roland@hack.frob.com>
30334
30335         * manual/contrib.texi: Completely rewritten. It contains now an
30336         alphabetical list of contributors and their contributions.
30337
30338 2012-05-21  Richard Henderson  <rth@twiddle.net>
30339
30340         * misc/getauxval.c (__getauxval): Use unsigned long int.
30341         * misc/sys/auxv.h: Include <sys/cdefs.h>.
30342         (getauxval): Use unsigned long int.
30343
30344 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
30345
30346         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30347
30348 2012-05-21  Roland McGrath  <roland@hack.frob.com>
30349
30350         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30351         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30352         __alignof__ (long double).
30353
30354 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30355
30356         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30357
30358 2012-05-20  Richard Henderson  <rth@twiddle.net>
30359
30360         * misc/getauxval.c: New file.
30361         * misc/sys/auxv.h: New file.
30362         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30363         (routines): Add getauxval.
30364         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30365         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30366         * elf/dl-sysdep.c (_dl_auxv): Remove.
30367         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30368         * elf/dl-support.c (_dl_auxv): New variable.
30369         (_dl_aux_init): Initialize it.
30370         * manual/startup.texi (Auxiliary Vector): New node.
30371         * sysdeps/generic/bits/hwcap.h: New file.
30372         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30373         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
30374         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30375         * sysdeps/sparc/sysdep.h: ... here.  Include it.
30376         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30377         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
30378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30379         Update.
30380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30381         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30383         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30384         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30385         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30386         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30387         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30388
30389 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30390
30391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30392
30393 2012-05-19  David S. Miller  <davem@davemloft.net>
30394
30395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30396
30397 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
30398
30399         [BZ #14123]
30400         * math/s_ccosh.c: Include <float.h>
30401         (__ccosh): Avoid internal overflow calculating sinh and cosh
30402         values before multiplying by sin and cos values.
30403         * math/s_ccoshf.c: Likewise.
30404         * math/s_ccoshl.c: Likewise.
30405         * math/s_csin.c: Likewise.
30406         * math/s_csinf.c: Likewise.
30407         * math/s_csinl.c: Likewise.
30408         * math/s_csinh.c: Likewise.
30409         * math/s_csinhf.c: Likewise.
30410         * math/s_csinhl.c: Likewise.
30411         * math/libm-test.inc (ccos_test): Add more tests.
30412         (ccosh_test): Likewise.
30413         (csin_test): Likewise.
30414         (csinh_test): Likewise.
30415         * sysdeps/i386/fpu/libm-test-ulps: Update.
30416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30417
30418 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
30419
30420         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30421         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30422
30423         * sysdeps/x86_64/x32/_itoa.h: Add comment.
30424
30425 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
30426
30427         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30428         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30429         * sysdeps/powerpc/soft-fp/Versions: Likewise.
30430         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30431         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30432         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30433         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30434         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30435         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30436         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30437         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30438         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30439         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30440         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30441         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30442         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30443         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30444         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30445         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30446         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30447         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30448         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30449         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30450         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30451         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30452         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30453         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30454         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30455         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30456         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30457         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30458
30459 2012-05-18  Andreas Jaeger  <aj@suse.de>
30460
30461         * csu/.gitignore: Delete.
30462
30463 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
30464
30465         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30466         (timex): Use __syscall_slong_t.
30467
30468 2012-05-18  Andreas Jaeger  <aj@suse.de>
30469             Carlos O'Donell  <carlos_odonell@mentor.com>
30470
30471         * manual/install.texi (Configuring and compiling): Update
30472         description about files modified in the source directory.
30473         * INSTALL: Regenerated.
30474
30475 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
30476
30477         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30478         value.  Use "or" to set return value to -1.
30479         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30480         negate return value.
30481
30482 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30483
30484         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30485         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
30486         failure if the compiler has Graphite support disabled.
30487         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30488         Likewise.
30489         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30490         (CFLAGS-memmove.c): Likewise.
30491         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30492         Likewise.
30493
30494 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
30495
30496         * sysdeps/x86_64/x32/_itoa.h: New file.
30497
30498         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30499         getdents system call only if kernel and user dirents have the
30500         same d_ino and d_off.
30501
30502         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30503         LLONG_MAX != LONG_MAX.
30504         (_itoa_word): Use _ITOA_WORD_TYPE on value.
30505         (_fitoa_word): Likewise.
30506
30507         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30508         years.
30509         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30510         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30511         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30512
30513         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30514         include <bits/wordsize.h>.  Check __x86_64__ instead of
30515         __WORDSIZE.
30516         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30517         if __x86_64__ is defined.  Use anonymous union on fpstate.
30518
30519         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30520         anonymous union.
30521
30522 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
30523
30524         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30525         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30526         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30527         Refer to _rtld_local_ro instead of _rtld_global_ro.
30528         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30529         Likewise.
30530         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30531         Likewise.
30532         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30533         Likewise.
30534         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30535         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30536         of _rtld_global, and rtld_progname instead of _dl_argv[0].
30537
30538         * sysdeps/powerpc/powerpc32/dl-machine.c
30539         (__elf_machine_runtime_setup) [PROF]: Don't reference
30540         _dl_prof_resolve.
30541
30542 2012-05-18  Andreas Jaeger  <aj@suse.de>
30543
30544         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30545         function only available for GCCs before 3.4 since GCC 3.4
30546         introduced a builtin.
30547         (lrint): Likewise.
30548         (llrintf): Likewise.
30549         (llrint): Likewise.
30550         (fmaxf): Likewise.
30551         (fmax): Likewise.
30552         (fminf): Likewise.
30553         (fmin): Likewise.
30554         (rint): Likewise.
30555         (rintf): Likewise.
30556         (nearbyint): Likewise.
30557         (nearbyintf): Likewise.
30558         (ceil): Likewise.
30559         (ceilf): Likewise.
30560         (floor): Likewise.
30561         (floorf): Likewise.
30562
30563 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30564
30565         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30566         on both fields and cast pointer to __syscall_ulong_t.
30567
30568         * bits/types.h (__fsword_t): New type.
30569         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30570         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30571         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30572         (__FSWORD_T_TYPE): Likewise.
30573         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30574         (__FSWORD_T_TYPE): Likewise.
30575         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30576         (__FSWORD_T_TYPE): Likewise.
30577         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30578         (__FSWORD_T_TYPE): Likewise.
30579         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30580         __SWORD_TYPE with __fsword_t.
30581         (statfs64): Likewise.
30582
30583 2012-05-17  David S. Miller  <davem@davemloft.net>
30584
30585         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30586
30587 2012-05-17  Andreas Jaeger  <aj@suse.de>
30588
30589         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30590         warning.
30591
30592 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30593
30594         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30595
30596 2012-05-17  Andreas Jaeger  <aj@suse.de>
30597
30598         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30599         when it is used.
30600
30601 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
30602
30603         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30604
30605 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30606
30607         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30608         * sysdeps/x86_64/tst-mallocalign1.c: New file.
30609
30610 2012-05-17  Andreas Jaeger  <aj@suse.de>
30611             Carlos O'Donell  <carlos_odonell@mentor.com>
30612
30613         [BZ #14059]
30614         * sysdeps/x86_64/multiarch/init-arch.h
30615         (bit_YMM_Usable): Rename to...
30616         (bit_AVX_Usable): ... this.
30617         (bit_FMA4_Usable): New macro.
30618         (bit_XMM_state): New macro.
30619         (bit_YMM_state): New macro.
30620         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30621         [__ASSEMBLER__] (index_AVX_Usable): ... this.
30622         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30623         (CPUID_OSXSAVE): New macro.
30624         (CPUID_AVX): New macro.
30625         (CPUID_FMA4): New macro.
30626         (index_YMM_Usable): Rename to...
30627         (index_AVX_Usable): ... this.
30628         (HAS_AVX): Use HAS_ARCH_FEATURE.
30629         (HAS_FMA4): Likewise.
30630         (HAS_YMM_USABLE): Remove.
30631         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30632         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30633         are present.
30634         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30635         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30636         * sysdeps/x86_64/multiarch/Makefile: Likewise.
30637         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30638         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30639
30640 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
30641
30642         * math/libm-test.c: Support platforms without multiple rounding modes.
30643         * math/bug-nextafter.c: Support platforms without FP exceptions.
30644         * math/bug-nexttoward.c: Likewise.
30645         * math/test-fenv.c: Likewise.
30646         * math/test-misc.c: Likewise.
30647         * stdlib/bug-getcontext.c: Likewise.
30648
30649 2012-05-17  Andreas Jaeger  <aj@suse.de>
30650
30651         * manual/examples/search.c (critter_cmp): Change signature to
30652         avoid warnings.
30653         * manual/string.texi (Collation Functions): Likewise.
30654
30655 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30656
30657         * bits/types.h: Fold copyright years.
30658         * bits/typesizes.h: Likewise.
30659         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30660         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30661         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30662         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30663         * time/time.h: Likewise.
30664
30665 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
30666
30667         [BZ #208]
30668         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30669         in instead of returning them.  Return void.
30670         (__libc_mallinfo): Accumulate over all arenas.
30671         (__malloc_stats): Adjust for change in int_mallinfo interface.
30672
30673 2012-05-16  Roland McGrath  <roland@hack.frob.com>
30674
30675         [BZ #10375]
30676         * configure.in (NM): Add AC_CHECK_TOOL for it.
30677         (libc_extra_cflags): New substituted variable.
30678         Check for -fstack-protector being used implicitly.
30679         * configure: Regenerated.
30680         * config.make.in (config-extra-cflags): New variable,
30681         gets @libc_extra_cflags@.
30682         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30683
30684         [BZ #10375]
30685         * configure.in: Check for _FORTIFY_SOURCE being predefined.
30686         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30687         * configure: Regenerated.
30688         * config.make.in (CPPUNDEFS): New substituted variable.
30689         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30690         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30691         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30692
30693 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30694
30695         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30696         (mq_attr): Use __syscall_slong_t.
30697
30698 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30699
30700         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30701         Check __x86_64__ instead of __WORDSIZE.
30702         (_STAT_VER_LINUX): Likewise.
30703         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
30704         __syscall_ulong_t and __syscall_slong_t.
30705         (stat64): Likewise.
30706
30707 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30708
30709         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30710
30711 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30712
30713         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30714
30715 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30716
30717         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30718         __syscall_ulong_t.
30719
30720         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30721         include <bits/wordsize.h>.  Check __x86_64__ instead of
30722         __WORDSIZE.
30723         (greg_t): Use "__extension__ long long int" if __x86_64__ is
30724         defined.
30725         (mcontext_t): Replace "unsigned long" with "unsigned long long".
30726
30727         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30728         include <bits/wordsize.h>.  Check __x86_64__ instead of
30729         __WORDSIZE.
30730         (user_regs_struct): Use "__extension__ unsigned long long"
30731         instead of "unsigned long" if __x86_64__ is defined.
30732         (user): Likewise.  Pad after pointer field if __ILP32__ is
30733         defined.
30734
30735 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
30736
30737         * configure.in (makeinfo): Require version 4.5 or later.  Allow
30738         versions 5 to 9.
30739         * configure: Regenerated.
30740         * manual/install.texi (texinfo): Increase version requirement to
30741         4.5 or later.
30742         * INSTALL: Regenerated.
30743
30744         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30745
30746 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30747
30748         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30749
30750         * sysdeps/x86_64/x32/ffs.c: New file.
30751
30752         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30753         __syscall_ulong_t.
30754         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30755         defined.  Use __syscall_ulong_t.
30756         (shminfo): Use __syscall_ulong_t.
30757         (shm_info): Likewise.
30758
30759         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30760         __syscall_ulong_t.
30761
30762         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30763         <bits/wordsize.h>.
30764         (msgqnum_t): Use __syscall_ulong_t.
30765         (msglen_t): Likewise.
30766         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
30767         __syscall_ulong_t.
30768
30769         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30770         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30771
30772         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30773
30774         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30775         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30776
30777         * sysvipc/sys/msg.h (msgbuf): Replace long int with
30778         __syscall_slong_t.
30779
30780         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30781         include <bits/wordsize.h>.  Check __x86_64__ instead of
30782         __WORDSIZE.
30783
30784         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30785         "unsigned long long int" if __x86_64__ is defined.
30786         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30787
30788         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30789         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30790         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30791
30792         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30793         <stdint.h>.
30794         (GET_PC): Cast to uintptr_t first.
30795         (GET_FRAME): Likewise.
30796         (GET_STACK): Likewise.
30797
30798         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30799         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30800         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30801         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30802         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30803         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30804         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30805         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30806         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30807         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30808         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30809         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30810         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30811         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30812         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30813         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30814         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30815         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30816         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30817         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30818         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30819         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30820         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30821         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30822         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30823         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30824         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30825         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30826         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30827
30828 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
30829
30830         * Makerules (+depfiles): Also collect depfiles from .oS in
30831         $(extra-objs).
30832         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30833         .oS, $(libnldbl-routines)).
30834
30835         * Makerules (native-compile-mkdep-flags): Define.
30836         * sunrpc/Makefile (extra-objs): Add $(addprefix
30837         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30838         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30839         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
30840         calling $(make-target-directory).
30841
30842 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30843
30844         * bits/types.h (__snseconds_t): Removed.
30845         * time/time.h (struct timespec): Replace __snseconds_t with
30846         __syscall_slong_t.
30847         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30848         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30849         Likewise.
30850         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30851         (__SNSECONDS_T_TYPE): Likewise.
30852         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30853         (__SNSECONDS_T_TYPE): Likewise.
30854         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30855         (__SNSECONDS_T_TYPE): Likewise.
30856
30857 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30858
30859         * sysdeps/mach/hurd/bits/typesizes.h
30860         (__SYSCALL_SLONG_TYPE): New macro.
30861         (__SYSCALL_ULONG_TYPE): Likewise.
30862
30863 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30864
30865         * bits/types.h (__syscall_slong_t): New type.
30866         (__syscall_ulong_t): Likewise.
30867
30868         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30869         (__SYSCALL_ULONG_TYPE): Likewise.
30870         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30871         (__SYSCALL_SLONG_TYPE): Likewise.
30872         (__SYSCALL_ULONG_TYPE): Likewise.
30873         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30874         (__SYSCALL_SLONG_TYPE): Likewise.
30875         (__SYSCALL_ULONG_TYPE): Likewise.
30876         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30877         (__SYSCALL_SLONG_TYPE): Likewise.
30878         (__SYSCALL_ULONG_TYPE): Likewise.
30879
30880 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30881
30882         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30883         Add sigaltstack-offsets.sym.
30884         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30885         <sigaltstack-offsets.h>.
30886         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
30887         longjmp_msg pointer.
30888         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
30889         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30890         signal stack.
30891         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30892
30893 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
30894
30895         * elf/stackguard-macros.h: Remove file.
30896         * sysdeps/generic/stackguard-macros.h: New file.
30897         * sysdeps/i386/stackguard-macros.h: Likewise.
30898         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30899         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30900         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30901         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30902         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30903         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30904         * sysdeps/x86_64/stackguard-macros.h: Likewise.
30905         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30906         <elf/stackguard-macros.h>.
30907
30908         [BZ #14109]
30909         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30910         __aligned__ in attribute.
30911         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30912         (gregset_t): Likewise.
30913
30914 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30915
30916         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30917         * sysdeps/x86_64/64/Implies-after: Here.  New file.
30918         * sysdeps/x86_64/x32/Implies-after: New file.
30919
30920 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30921
30922         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30923         and access return value for _dl_profile_fixup.  Use R10_LP to
30924         load frame size.
30925
30926 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30927
30928         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30929
30930 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30931
30932         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30933         * sysdeps/x86_64/x32/sysdep.h: New file.
30934
30935 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30936
30937         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30938         * sysdeps/x86_64/setjmp.S: Likewise.
30939
30940 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30941
30942         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30943         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30944         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30945         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30946         remove unused global constant.
30947
30948 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
30949
30950         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30951         include of <not-cancel.h>.
30952
30953 2012-05-15  Roland McGrath  <roland@hack.frob.com>
30954
30955         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30956
30957 2012-05-15  Jeff Law  <law@redhat.com>
30958             Andreas Jaeger  <aj@suse.de>
30959
30960         [BZ #13594]
30961         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30962         out from...
30963         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30964         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30965         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30966         code changing __hst_map_handle.map.
30967
30968 2012-05-15  Roland McGrath  <roland@hack.frob.com>
30969
30970         * configure.in (sysnames): Look for Implies-before and Implies-after
30971         files.
30972         * configure: Regenerated.
30973
30974 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30975
30976         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30977         8-byte data alignment with LP_SIZE alignment.
30978
30979 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30980
30981         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30982         into R10_LP.
30983
30984 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30985
30986         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30987
30988 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30989
30990         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30991         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30992         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30993         Likewise.
30994         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30995
30996 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30997
30998         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30999         (stackinfo_sub_sp): Likewise.
31000
31001 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31002
31003         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31004         RAX_LP.
31005
31006 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31007
31008         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31009         into R*_LP.
31010
31011 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31012
31013         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31014         sizes into R*_LP.
31015
31016 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31017
31018         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31019
31020 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31021
31022         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31023         into R11_LP and load __x86_64_shared_cache_size_half into
31024         R8_LP.
31025
31026 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31027
31028         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31029         R8_LP.
31030
31031 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31032
31033         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31034         logb for POWER7.
31035         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31036         logbf for POWER7.
31037         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31038         logbl for POWER7.
31039         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31040         powerpc32/power7/fpu/s_logb.c via #include.
31041         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31042         powerpc32/power7/fpu/s_logbf.c via #include.
31043         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31044         powerpc32/power7/fpu/s_logbl.c via #include.
31045
31046 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
31047
31048         * README.libm: Remove file.
31049
31050 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31051
31052         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31053         count for x32.  Use R*_LP and omit operand-size suffix.
31054
31055 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31056
31057         * shlib-versions: Move x86_64-.*-linux.* entries to ...
31058         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
31059         * sysdeps/x86_64/x32/shlib-versions: New file.
31060
31061 2012-05-14  Roland McGrath  <roland@hack.frob.com>
31062
31063         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31064         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31065         Use _dl_fatal_printf instead.
31066
31067 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
31068
31069         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31070         set if not set by the user.  Do not allow for being unset.
31071         * sysdeps/unix/sysv/linux/configure: Regenerated.
31072
31073 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31074
31075         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31076         the `q' suffix from lea and replace .quad with ASM_ADDR.
31077
31078 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31079
31080         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31081         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
31082         instead of $17.
31083         (PTR_DEMANGLE): Likewise.
31084
31085 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31086
31087         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31088         (LP_OP): Likewise.
31089         (ASM_ADDR): Likewise.
31090         (RAX_LP): Likewise.
31091         (RBP_LP): Likewise.
31092         (RBX_LP): Likewise.
31093         (RCX_LP): Likewise.
31094         (RDI_LP): Likewise.
31095         (RSI_LP): Likewise.
31096         (RSP_LP): Likewise.
31097         (R8_LP): Likewise.
31098         (R9_LP): Likewise.
31099         (R10_LP): Likewise.
31100         (R10_LP): Likewise.
31101         (R11_LP): Likewise.
31102         (R12_LP): Likewise.
31103         (R13_LP): Likewise.
31104         (R14_LP): Likewise.
31105         (R15_LP): Likewise.
31106
31107 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31108
31109         * sysdeps/x86_64/x32/dl-machine.h: New file.
31110
31111 2012-05-14  Andreas Jaeger  <aj@suse.de>
31112
31113         * manual/Makefile (subdir): Remove export of subdir.
31114         (all): Remove target.
31115         (.PHONY): Remove all from list.
31116         (mkinstalldirs): Remove.
31117         (.PHONY): Remove installdirs from list.
31118         ($(inst_infodir)/libc.info): Use make-target-directory.
31119         (installdirs): Remove.
31120         (subdir_%): Remove.
31121         (glibc-targets): Remove.
31122         (lib): Remove.
31123         (stubs): Remove.
31124         ($(objpfx)stubs ../po/manual.pot): Remove.
31125         ($(objpfx)stamp%): Remove.
31126         (make-target-directory): Remove.
31127         (subdir_install): Remove.
31128         (routines): Remove.
31129         (aux): Remove.
31130         (sources): Remove.
31131         (objects): Remove.
31132         (headers): Remove.
31133
31134         [BZ #13750]
31135         * manual/.gitignore: Remove, it's not needed anymore.
31136         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31137         all files in it.
31138         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31139         directory.
31140         (texis): Renamed to $(objpfx)texis.
31141         (texis-path): New, contains path to generated files.
31142         (chapters.%): Use texis-path for complete path, add extra argument
31143         libc-texinfo.sh.
31144         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31145         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31146         (summary,texi, stamp-summary): Use complete path of
31147         files. Generate files in build dir.
31148         (dir-add.texi): Build in build dir.
31149         (libm-err.texi,stamp-libm-err): Likewise.
31150         (version.texi, stamp-version): Likewise.
31151         (.%c.texi): Likewise.
31152         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31153         (mostlyclean): Remove target.
31154         (realclean): Remove target.
31155         (generated): Add new variable with contents from mostlyclean and
31156         realclean, remove entries duplicated in common-mostlyclean, add
31157         stamp-libm-err and stamp-version.
31158         (generated-dirs): Add libc directory.
31159         ($(inst_infodir)/libc.info): Install files from build dir.
31160
31161         * manual/install.texi (Configuring and compiling): Adjust since
31162         the info files are not part of the tar ball anymore.
31163
31164 2012-05-14  Andreas Jaeger  <aj@suse.de>
31165
31166         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31167         variable.
31168
31169 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
31170
31171         [BZ #13717]
31172         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31173         to 2.2.0 where earlier.
31174         * sysdeps/unix/sysv/linux/configure: Regenerated.
31175         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31176         Remove conditional code.
31177         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31178         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31179         Remove conditional code.
31180         [!__NR_lchown]: Likewise.
31181         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31182         [__NR_lchown]: Likewise.
31183         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31184         comment referencing __ASSUME_LCHOWN_SYSCALL.
31185         * sysdeps/unix/sysv/linux/i386/sigaction.c
31186         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31187         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31188         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31189         Remove conditional code.
31190         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31191         (__protocol_available): Remove #if 0 code.
31192         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31193         conditional code.
31194         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31195         * sysdeps/unix/sysv/linux/kernel-features.h
31196         (__ASSUME_GETCWD_SYSCALL): Don't define.
31197         (__ASSUME_REALTIME_SIGNALS): Likewise.
31198         (__ASSUME_PREAD_SYSCALL): Likewise.
31199         (__ASSUME_PWRITE_SYSCALL): Likewise.
31200         (__ASSUME_POLL_SYSCALL): Likewise.
31201         (__ASSUME_LCHOWN_SYSCALL): Likewise.
31202         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31203         non-SPARC.
31204         (__ASSUME_SIOCGIFNAME): Don't define.
31205         (__ASSUME_MSG_NOSIGNAL): Likewise.
31206         (__ASSUME_SENDFILE): Define unconditionally.
31207         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31208         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31209         conditional code.
31210         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31211         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31212         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31213         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31214         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31215         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31216         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31218         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31219         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31221         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31222         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31224         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31225         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31227         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31228         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31230         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31231         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31233         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31234         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31236         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31237         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31239         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31240         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31241         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31242         Remove conditional code.
31243         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31244         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31245         Remove conditional code.
31246         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31247         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31248         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31249         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31250         Remove conditional code.
31251         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31252         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31253         Remove conditional code.
31254         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31255         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31256         Remove conditional code.
31257         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31258         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31259         Remove conditional code.
31260         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31261         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31262         Remove conditional code.
31263         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31264         * sysdeps/unix/sysv/linux/sh/pwrite64.c
31265         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31266         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31267         * sysdeps/unix/sysv/linux/sigaction.c
31268         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31269         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31270         * sysdeps/unix/sysv/linux/sigpending.c
31271         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31272         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31273         * sysdeps/unix/sysv/linux/sigprocmask.c
31274         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31275         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31276         * sysdeps/unix/sysv/linux/sigsuspend.c
31277         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31278         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31279         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31280         (__libc_missing_rt_sigs): Remove.
31281         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31282         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31283         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31284         Remove conditional code.
31285         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31286         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31287         return 1.
31288         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31289         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31290         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31291         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31292
31293 2012-05-14  Andreas Jaeger  <aj@suse.de>
31294
31295         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31296         it's not used in glibc.
31297         (__coshm1): Likewise.
31298         (__acosh1p): Likewise.
31299         (__sgn): Likewise.
31300
31301         * manual/string.texi (Copying and Concatenation): Add missing
31302         variable in concat example.
31303         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31304
31305 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31306
31307         [BZ #14103]
31308         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31309         __builtin_clzl with __builtin_clzll.
31310
31311 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31312
31313         [BZ #14104]
31314         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31315         libc_freeres_ptr.
31316
31317 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31318
31319         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31320         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31321         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31322         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31323
31324 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
31325
31326         * NEWS: Update ia64 info.
31327
31328 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
31329
31330         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31331         used as bcopy.
31332
31333 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
31334
31335         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31336         * sysdeps/unix/syscalls.list (dup3): Likewise.
31337         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31338         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31339
31340 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
31341
31342         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31343         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31344
31345 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
31346
31347         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31348         thread pointer.
31349         (TLS_IE): Use mov/add instead of movq/addq to load thread
31350         pointer.
31351         (TLS_GD_PREFIX): New.
31352         (TLS_GD): Use it.
31353
31354 2012-05-11  David S. Miller  <davem@davemloft.net>
31355
31356         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31357         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31358         (_FPU_SETCW): Likewise.
31359
31360 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31361
31362         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31363         is 32-byte aligned.
31364
31365 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
31366
31367         [BZ #11837]
31368         * iconvdata/gb18030.c: Update tables.
31369         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
31370         characters specially.
31371         (BODY for TO_LOOP): Add encoding of missing ranges.
31372
31373 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
31374
31375         [BZ #13673]
31376         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31377         * sysdeps/mach/hurd/dup3.c: Likewise.
31378         * sysdeps/mach/hurd/readlinkat.c: Likewise.
31379         * sysdeps/powerpc/memmove.c:: Likewise.
31380
31381 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31382
31383         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31384         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31385
31386 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31387
31388         * elf/elf.h (R_X86_64_RELATIVE64): New.
31389         (R_X86_64_NUM): Updated.
31390         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31391         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
31392         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31393         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31394         tst-quad1pie tst-quad2pie
31395         (modules-names): Add tst-quadmod1 tst-quadmod2.
31396         ($(objpfx)tst-quad1): New dependency.
31397         ($(objpfx)tst-quad2): Likewise.
31398         ($(objpfx)tst-quad1pie): Likewise.
31399         ($(objpfx)tst-quad2pie): Likewise.
31400         * sysdeps/x86_64/tst-quad1.c: New file.
31401         * sysdeps/x86_64/tst-quad1pie.c: New file.
31402         * sysdeps/x86_64/tst-quad2.c: Likewise.
31403         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31404         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31405         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31406         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31407         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31408
31409 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31410
31411         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31412         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31413         * streams/stropts.h (t_scalar_t): Define type.
31414
31415         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31416         (_PATH_PRESERVE): Set to "/var/lib".
31417         (_PATH_RWHODIR): Set to "/var/spool/rwho".
31418
31419         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31420         instead of int.
31421
31422         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31423         if __dir_mkfile succeeded.
31424
31425         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31426         checking for _hurd_dtablesize.  Unlock it right after having
31427         finished _hurd_dtable allocation.
31428
31429 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31430
31431         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31432         * sysdeps/mach/hurd/configure: Regenerated.
31433         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31434         special-casing to...
31435         * sysdeps/gnu/configure.in: ... this new file.
31436         * sysdeps/unix/sysv/linux/configure: Regenerated.
31437         * sysdeps/gnu/configure: New generated file.
31438
31439         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31440         for Linux: use nsec instead of usec, as well as:
31441         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31442         members of type struct timespec.
31443         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31444         New macros.
31445         (struct stat64): Likewise.
31446         (_STATBUF_ST_NSEC): New macro.
31447         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31448
31449         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31450         __strtoul_internal rather than strtoul.
31451
31452 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31453
31454         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31455         and reject them.
31456
31457 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31458
31459         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31460         which preserves existing values.
31461         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31462
31463 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31464
31465         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31466         TIMEOUT values.  Return EINVAL for NFDS values either negative or
31467         greater than FD_SETSIZE.
31468
31469 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31470
31471         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31472         allocated, call __vm_protect to finish enabling the existing space, and
31473         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31474         allocate the remainder.
31475
31476 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31477
31478         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31479         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
31480
31481 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31482
31483         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31484         sysdeps/mach/hurd/readlink.c.
31485
31486         * posix/tst-sysconf.c (posix_options): Only use
31487         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31488         _POSIX_SYNCHRONIZED_IO when they are defined
31489         * sysdeps/mach/hurd/bits/posix_opt.h:
31490         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31491         (_XOPEN_REALTIME): Undefine macro.
31492         (_XOPEN_REALTIME_THREADS): Undefine macro.
31493         (_XOPEN_SHM): Undefine macro.
31494         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31495         macro to -1.
31496         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31497         macro to -1.
31498         (_POSIX_ASYNC_IO): Undefine macro.
31499         (_POSIX_PRIORITIZED_IO): Undefine macro.
31500         (_POSIX_SPIN_LOCKS): Define macro to -1.
31501
31502         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31503         SA_NODEFER, SA_RESETHAND.
31504         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31505         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31506         F_DUPFD_CLOEXEC.
31507
31508 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31509
31510         * elf/Makefile (pldd-modules): Define unconditionally.
31511
31512 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31513
31514         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31515
31516 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31517
31518         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31519         Return ENOENT when name is empty.
31520         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31521
31522 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31523
31524         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31525
31526         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31527
31528 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31529
31530         Fix mlock in all cases except non-readable pages.
31531         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31532         instead of VM_PROT_ALL as parameter to __vm_wire function.
31533
31534         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31535         (__mkdir): When path is `/', just fail with EEXIST.
31536         * sysdeps/mach/hurd/mkdirat.c: Likewise.
31537
31538 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31539
31540         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31541         <sys/uio.h> (for writev).
31542         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31543         and <sys/param.h> (for MIN).
31544
31545 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31546
31547         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31548         REQUESTED_TIME.  Properly set the remaining time and return EINTR
31549         if interrupted.
31550
31551 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31552
31553         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31554         Depend on against $(link-rpcuserlibs).
31555
31556 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31557
31558         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31559         (__libc_stack_end): Do not use attribute_relro.
31560         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31561         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
31562         to libthread-provided value.
31563         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31564         attribute_relro.
31565
31566 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31567
31568         [BZ #3748]
31569         * bits/libc-lock.h (__libc_once_get): New macro.
31570         * sysdeps/mach/bits/libc-lock.h: Likewise.
31571         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31572         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31573         instead of using implementation details.
31574
31575         * libio/fileops.c: Unconditionally include <kernel-features.h>.
31576         * libio/freopen.c: Likewise.
31577         * libio/freopen64.c: Likewise.
31578         * misc/syslog.c: Likewise.
31579         * nscd/connections.c: Likewise.
31580         * nscd/netgroupcache.c: Likewise.
31581         * sysdeps/posix/getcwd.c: Likewise.
31582
31583 2012-05-10  Roland McGrath  <roland@hack.frob.com>
31584
31585         * math/w_ilogbf.c: Add #include <limits.h>.
31586
31587 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31588
31589         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
31590         path instead of returning without unlocking.
31591
31592         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31593         immediate-write ioctls.
31594         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31595
31596 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31597
31598         * sysdeps/mach/hurd/i386/init-first.c (init): Use
31599         __builtin_frame_address instead of making assumptions about the
31600         location of the return address relative to DATA.  Force early load of
31601         the return address.
31602         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31603         __builtin_frame_address.
31604
31605         dup3 for GNU Hurd.
31606         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31607         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
31608         implement dup3 and do some further code clean-ups.
31609         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31610         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31611
31612 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31613
31614         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31615
31616         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31617         HURD_CRITICAL_END around holding _hurd_dtable_lock.
31618         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31619         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31620         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31621         d->port.lock.
31622
31623         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31624         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
31625         when handler == SIG_ERR, not when handler != SIG_ERR.
31626
31627 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31628
31629         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31630         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31631         definitions.
31632
31633         accept4 for GNU Hurd.
31634         * include/sys/socket.h (__libc_accept4): New prototype.
31635         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
31636         to implement __libc_accept4.
31637         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31638         __libc_accept4.
31639         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31640
31641         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31642         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31643         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31644         signal-defines.sym.
31645
31646 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31647
31648         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31649
31650 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31651
31652         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31653         assertion on O_CLOEXEC flag.
31654         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31655         * hurd/intern-fd.c: Likewise.
31656         * hurd/port2fd.c: Likewise.
31657
31658 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31659
31660         [BZ #3906]
31661         * bits/in.h (IPV6_PKTINFO): Define new macro.
31662         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31663
31664 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31665
31666         [BZ #13954]
31667         [BZ #13955]
31668         [BZ #13956]
31669         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31670         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31671         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31672         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31673         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31674         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31675         * math/libm-test.inc (logb_test) : Additional logb tests.
31676
31677 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
31678             Andreas Jaeger  <aj@suse.de>
31679
31680         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31681         * configure: Regenerated.
31682         * config.h.in (LINK_OBSOLETE_RPC): New macro.
31683         * config.make.in (link-obsolete-rpc): New substituted variable.
31684         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31685         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31686         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31687         (shared-only-routines): Don't set it under [link-obsolete-rpc],
31688         so that libc.a contains the symbols.
31689         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31690         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31691         * sunrpc/auth_none.c: Likewise.
31692         * sunrpc/auth_unix.c: Likewise.
31693         * sunrpc/authdes_prot.c: Likewise.
31694         * sunrpc/authuxprot.c: Likewise.
31695         * sunrpc/clnt_gen.c: Likewise.
31696         * sunrpc/clnt_perr.c: Likewise.
31697         * sunrpc/clnt_raw.c: Likewise.
31698         * sunrpc/clnt_simp.c: Likewise.
31699         * sunrpc/clnt_tcp.c: Likewise.
31700         * sunrpc/clnt_udp.c: Likewise.
31701         * sunrpc/clnt_unix.c: Likewise.
31702         * sunrpc/des_crypt.c: Likewise.
31703         * sunrpc/des_soft.c: Likewise.
31704         * sunrpc/get_myaddr.c: Likewise.
31705         * sunrpc/key_call.c: Likewise.
31706         * sunrpc/key_prot.c: Likewise.
31707         * sunrpc/netname.c: Likewise.
31708         * sunrpc/pm_getmaps.c: Likewise.
31709         * sunrpc/pm_getport.c: Likewise.
31710         * sunrpc/pmap_clnt.c: Likewise.
31711         * sunrpc/pmap_prot.c: Likewise.
31712         * sunrpc/pmap_prot2.c: Likewise.
31713         * sunrpc/pmap_rmt.c: Likewise.
31714         * sunrpc/publickey.c: Likewise.
31715         * sunrpc/rpc_cmsg.c: Likewise.
31716         * sunrpc/rpc_common.c: Likewise.
31717         * sunrpc/rpc_dtable.c: Likewise.
31718         * sunrpc/rpc_prot.c: Likewise.
31719         * sunrpc/rpc_thread.c: Likewise.
31720         * sunrpc/rtime.c: Likewise.
31721         * sunrpc/svc.c: Likewise.
31722         * sunrpc/svc_auth.c: Likewise.
31723         * sunrpc/svc_raw.c: Likewise.
31724         * sunrpc/svc_run.c: Likewise.
31725         * sunrpc/svc_tcp.c: Likewise.
31726         * sunrpc/svc_udp.c: Likewise.
31727         * sunrpc/svc_unix.c: Likewise.
31728         * sunrpc/svcauth_des.c: Likewise.
31729         * sunrpc/xcrypt.c: Likewise.
31730         * sunrpc/xdr.c: Likewise.
31731         * sunrpc/xdr_array.c: Likewise.
31732         * sunrpc/xdr_float.c: Likewise.
31733         * sunrpc/xdr_intXX_t.c: Likewise.
31734         * sunrpc/xdr_mem.c: Likewise.
31735         * sunrpc/xdr_rec.c: Likewise.
31736         * sunrpc/xdr_ref.c: Likewise.
31737         * sunrpc/xdr_sizeof.c: Likewise.
31738         * sunrpc/xdr_stdio.c: Likewise.
31739
31740 2012-05-10  Roland McGrath  <roland@hack.frob.com>
31741
31742         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31743         change.  Update copyright years.
31744
31745 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
31746
31747         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31748
31749 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
31750             Joseph Myers  <joseph@codesourcery.com>
31751             Paul Pluzhnikov  <ppluzhnikov@google.com>
31752
31753         [BZ #14012]
31754         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31755         requiring rpcgen.
31756         [cross-compiling] (extra-libs): Likewise.
31757         [cross-compiling] (extra-libs-others): Likewise.
31758         [cross-compiling] (librpcsvc-routines): Likewise.
31759         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31760         [cross-compiling] (omit-deps): Likewise.
31761         (sunrpc-CPPFLAGS): New variable.
31762         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31763         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31764         (cross-rpcgen-objs): New variable.
31765         (extra-objs): Append $(cross-rpcgen-objs).
31766         ($(cross-rpcgen-objs)): New rule.
31767         ($(objpfx)cross-rpcgen): Likewise.
31768         (rpcgen-cmd): Define to use $(built-program-file).  Expand
31769         comment.
31770         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31771         ($(objpfx)x%.stmp): Likewise.
31772         * sunrpc/proto.h [IS_IN_build] (_): Define.
31773         [IS_IN_build] (_libc_intl_domainname): Likewise.
31774
31775 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31776
31777         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31778         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31779         and R_X86_64_TPOFF64.
31780
31781 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
31782
31783         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31784         sysdeps/unix/sysv/syscalls.list.
31785         (stime): Likewise.
31786         (utime): Likewise.
31787         * sysdeps/unix/sysv/syscalls.list: Remove file.
31788
31789 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
31790
31791         [BZ #3440]
31792         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31793         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31794         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31795         (__LC_IDENTIFICATION): Make these macros useful in #if
31796         expressions, as required by C99.
31797
31798 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
31799
31800         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31801         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
31802         after this.
31803
31804 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
31805
31806         * stdlib/longlong.h: Updated from GCC.
31807
31808 2012-05-09  Andreas Jaeger  <aj@suse.de>
31809
31810         * nscd/nscd.c (run_modes): Make named enum, reorder so that
31811         default is first entry.
31812         (run_mode): Set type.
31813         (main): Remove informal message about syslog.
31814         (options): Fix typo.
31815
31816         [BZ #14053]
31817         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31818         to asm.
31819         (lrint): Likewise.
31820         (llrintf): Likewise.
31821         (llrint): Likewise.
31822         (rint): Likewise.
31823         (rintf): Likewise.
31824         (nearbyint): Likewise.
31825         (nearbyintf): Likewise.
31826
31827 2012-05-09  Andreas Jaeger  <aj@suse.de>
31828             Pedro Alves  <palves@redhat.com>
31829
31830         * nscd/nscd.c (run_mode): Use enum.
31831         (main): Cleanup coding style issue.
31832
31833 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
31834             Andreas Jaeger  <aj@suse.de>
31835
31836         * nscd/nscd.c (go_background): Replaced with...
31837         (run_mode): ... this.
31838         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31839         (options): Add -F --foreground.
31840         (main): Implement it.
31841         (parse_opt): Parse it.
31842
31843 2012-05-09  Andreas Jaeger  <aj@suse.de>
31844
31845         [BZ #14083]
31846         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31847         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31848         -Wconversion warning.
31849         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31850         Likewise.
31851
31852 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
31853
31854         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
31855         == 0.
31856         (LC_ALL): Use macro-int-constant.
31857         (LC_COLLATE): Likewise.
31858         (LC_CTYPE): Likewise.
31859         (LC_MESSAGES): Likewise.
31860         (LC_MONETARY): Likewise.
31861         (LC_NUMERIC): Likewise.
31862         (LC_TIME): Likewise.
31863         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31864         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31865         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31866         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31867         Specify type.
31868         [C99-based standards] (float_t): Expect type.
31869         [C99-based standards] (double_t): Expect type.
31870         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
31871         type.
31872         [C99-based standards] (HUGE_VALL): Likewise.
31873         [C99-based standards] (INFINITY): Likewise.
31874         [C99-based standards] (NAN): Likewise.
31875         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31876         [C99-based standards] (FP_NAN): Likewise.
31877         [C99-based standards] (FP_NORMAL): Likewise.
31878         [C99-based standards] (FP_SUBNORMAL): Likewise.
31879         [C99-based standards] (FP_ZERO): Likewise.
31880         [C99-based standards] (FP_FAST_FMA): Use
31881         optional-macro-int-constant.  Specify type.  Require == 1.
31882         [C99-based standards] (FP_FAST_FMAF): Likewise.
31883         [C99-based standards] (FP_FAST_FMAL): Likewise.
31884         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31885         [C99-based standards] (FP_ILOGBNAN): Likewise.
31886         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31887         Specify type.
31888         [C99-based standards] (MATH_ERREXCEPT): Likewise.
31889         [C99-based standards] (math_errhandling): Specify type.
31890         [ISO99 || ISO11] (signgam): Do not allow.
31891         [non-C99-based standards] (copysignf): Do not allow.
31892         [non-C99-based standards] (exp2f): Likewise.
31893         [non-C99-based standards] (log2f): Likewise.
31894         [non-C99-based standards] (modff): Allow.
31895         [non-C99-based standards] (erff): Do not allow.
31896         [non-C99-based standards] (erfcf): Likewise.
31897         [non-C99-based standards] (gammaf): Likewise.
31898         [non-C99-based standards] (hypotf): Likewise.
31899         [non-C99-based standards] (j0f): Likewise.
31900         [non-C99-based standards] (j1f): Likewise.
31901         [non-C99-based standards] (jnf): Likewise.
31902         [non-C99-based standards] (lgammaf): Likewise.
31903         [non-C99-based standards] (tgammaf): Likewise.
31904         [non-C99-based standards] (y0f): Likewise.
31905         [non-C99-based standards] (y1f): Likewise.
31906         [non-C99-based standards] (ynf): Likewise.
31907         [non-C99-based standards] (isnanf): Likewise.
31908         [non-C99-based standards] (acoshf): Likewise.
31909         [non-C99-based standards] (asinhf): Likewise.
31910         [non-C99-based standards] (atanhf): Likewise.
31911         [non-C99-based standards] (cbrtf): Likewise.
31912         [non-C99-based standards] (expm1f): Likewise.
31913         [non-C99-based standards] (ilogbf): Likewise.
31914         [non-C99-based standards] (log1pf): Likewise.
31915         [non-C99-based standards] (logbf): Likewise.
31916         [non-C99-based standards] (nextafterf): Likewise.
31917         [non-C99-based standards] (remainderf): Likewise.
31918         [non-C99-based standards] (rintf): Likewise.
31919         [non-C99-based standards] (scalbf): Likewise.
31920         [non-C99-based standards] (copysignl): Likewise.
31921         [non-C99-based standards] (exp2l): Likewise.
31922         [non-C99-based standards] (log2l): Likewise.
31923         [non-C99-based standards] (modfl): Allow.
31924         [non-C99-based standards] (erfl): Do not allow.
31925         [non-C99-based standards] (erfcl): Likewise.
31926         [non-C99-based standards] (gammal): Likewise.
31927         [non-C99-based standards] (hypotl): Likewise.
31928         [non-C99-based standards] (j0l): Likewise.
31929         [non-C99-based standards] (j1l): Likewise.
31930         [non-C99-based standards] (jnl): Likewise.
31931         [non-C99-based standards] (lgammal): Likewise.
31932         [non-C99-based standards] (tgammal): Likewise.
31933         [non-C99-based standards] (y0l): Likewise.
31934         [non-C99-based standards] (y1l): Likewise.
31935         [non-C99-based standards] (ynl): Likewise.
31936         [non-C99-based standards] (isnanl): Likewise.
31937         [non-C99-based standards] (acoshl): Likewise.
31938         [non-C99-based standards] (asinhl): Likewise.
31939         [non-C99-based standards] (atanhl): Likewise.
31940         [non-C99-based standards] (cbrtl): Likewise.
31941         [non-C99-based standards] (expm1l): Likewise.
31942         [non-C99-based standards] (ilogbl): Likewise.
31943         [non-C99-based standards] (log1pl): Likewise.
31944         [non-C99-based standards] (logbl): Likewise.
31945         [non-C99-based standards] (nextafterl): Likewise.
31946         [non-C99-based standards] (remainderl): Likewise.
31947         [non-C99-based standards] (rintl): Likewise.
31948         [non-C99-based standards] (scalbl): Likewise.
31949         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31950         [non-C99-based standards] (FP_*): Do not allow.
31951         [C99-based standards] (FP_*): Change to
31952         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31953         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31954         allow.
31955         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31956         (SIG_ERR): Likewise.
31957         [X/Open-based standards] (SIG_HOLD): Likewise.
31958         (SIG_IGN): Likewise.
31959         (SIGABRT): Use macro-int-constant.  Specify type.  Require
31960         positive value.
31961         (SIGFPE): Likewise.
31962         (SIGILL): Likewise.
31963         (SIGINT): Likewise.
31964         (SIGSEGV): Likewise.
31965         (SIGTER): Likewise.
31966         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31967         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31968         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31969         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31970         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31971         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31972         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31973         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31974         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31975         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31976         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31977         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31978         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31979         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31980         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31981         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31982         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31983         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31984         [X/Open-based standards] (SIGTRAP): Likewise.
31985         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31986         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31987         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31988         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31989         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31990         allow.
31991
31992 2012-05-08  Ian Wienand  <ianw@vmware.com>
31993
31994         [BZ #14080]
31995         * time/tzset.c (__tzset_parse_tz): Update default rules for
31996         daylight time changes in the Energy Policy Act of 2005.
31997
31998 2012-05-09  Andreas Jaeger  <aj@suse.de>
31999
32000         [BZ #13983]
32001         * elf/ldconfig.c (parse_conf): Change string to make clear that
32002         ldconfig only issued a warning if ld.so.conf does not exist.
32003
32004 2012-05-08  David S. Miller  <davem@davemloft.net>
32005
32006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32007         movxtod instead of popping the value on the stack.
32008
32009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32010
32011 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
32012
32013         * config.h.in: Add HAVE_ARM_PCS_VFP.
32014
32015 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
32016
32017         [BZ #13979]
32018         * include/features.h: Warn if user requests __FORTIFY_SOURCE
32019         checking but the checks are disabled for any reason.
32020
32021 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
32022
32023         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32024         and ELF64_R_TYPE with ELFW(R_TYPE).
32025
32026 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
32027
32028         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32029         (ulimit): Likewise.
32030
32031         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32032         (settimeofday): Likewise.
32033
32034 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
32035
32036         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
32037         a struct th_u2 inside the union, and move tu_block/tu_code into
32038         a new th_u3 union of tu_block/tu_code inside of that.  Move
32039         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
32040         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
32041         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32042         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32043         (th_stuff): Change to th_u1.tu_stuff.
32044         (th_data): Define.
32045         (th_msg): Change to th_u1.th_u2.tu_data.
32046
32047 2012-05-07  David S. Miller  <davem@davemloft.net>
32048
32049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32050
32051         [BZ #14074]
32052         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32053         (SETUP_PIC_REG): Use it.
32054         (SETUP_PIC_REG_LEAF): Use it.
32055
32056 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
32057
32058         [BZ #13885]
32059         [BZ #13923]
32060         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32061         USE_AS_EXPM1L.
32062         (EXPL_FINITE): Likewise.
32063         (FLDLOG): Likewise.
32064         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32065         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32066         e_expl.S.
32067         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32068         USE_AS_EXPM1L.
32069         (EXPL_FINITE): Likewise.
32070         (FLDLOG): Likewise.
32071         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32072         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32073         e_expl.S.
32074         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
32075         test of -max_value argument for long double.
32076         * sysdeps/i386/fpu/libm-test-ulps: Update.
32077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32078
32079 2012-05-06  David S. Miller  <davem@davemloft.net>
32080
32081         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32082         quad soft-float symbols whose references which are compiler
32083         generated.
32084         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32085
32086 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
32087
32088         [BZ #13884]
32089         [BZ #13914]
32090         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32091         USE_AS_EXP10L.
32092         (EXPL_FINITE): Likewise.
32093         (FLDLOG): Likewise.
32094         (c0): Likewise.
32095         (c1): Likewise.
32096         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
32097         Adjust comments for base varying.
32098         (__expl_finite): Change alias to EXPL_FINITE.
32099         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32100         e_expl.S.
32101         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32102         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32103         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32104         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32105         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32106         USE_AS_EXP10L.
32107         (EXPL_FINITE): Likewise.
32108         (FLDLOG): Likewise.
32109         (c0): Likewise.
32110         (c1): Likewise.
32111         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
32112         Adjust comments for base varying.
32113         (__expl_finite): Change alias to EXPL_FINITE.
32114         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
32115         tests for bugs.
32116         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32117
32118         [BZ #14064]
32119         * math/libm-test.inc (check_float_internal): Correct ulp
32120         calculation for subnormal expected results.
32121
32122 2012-05-06  Andreas Jaeger  <aj@suse.de>
32123
32124         * Makeconfig (+math-flags): New, set to -frounding-math.
32125         (+cflags): Add +math-flags so that all of glibc gets compiled with
32126         it.
32127
32128         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32129
32130 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
32131
32132         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32133         Disable one test.
32134
32135         [BZ #13787]
32136         [BZ #13922]
32137         [BZ #14036]
32138         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32139         (__ieee754_expl): Allow for and saturate large arguments.
32140         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32141         (u_threshold): Likewise.
32142         (__exp): Call __ieee754_exp before checking for overflow and
32143         underflow.
32144         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32145         (u_threshold): Likewise.
32146         (__expf): Call __ieee754_expf before checking for overflow and
32147         underflow.
32148         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32149         (u_threshold): Likewise.
32150         (__expl): Call __ieee754_expl before checking for overflow and
32151         underflow.
32152         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32153         (__ieee754_expl): Allow for and saturate large arguments.
32154         * math/libm-test.inc (exp_test): Add another test.  Do not allow
32155         missing overflow exception on overflow.
32156         (expm1_test): Do not allow missing overflow exception on overflow.
32157
32158         * sysdeps/i386/fpu/e_expl.c: Move to ...
32159         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
32160         rather than using inline asm.
32161         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32162         * sysdeps/x86_64/fpu/e_expl.S: Copy from
32163         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32164
32165         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32166         (nice): Likewise.
32167         (poll): Likewise.
32168         (signal): Likewise.
32169         (time): Likewise.
32170         (times): Likewise.
32171
32172 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
32173
32174         * sysdeps/unix/syscalls.list (adjtime): Add entry from
32175         sysdeps/unix/common/syscalls.list.
32176         (fchmod): Likewise.
32177         (fchown): Likewise.
32178         (ftruncate): Likewise.
32179         (getrusage): Likewise.
32180         (gettimeofday): Likewise.
32181         (setpgid): Likewise.
32182         (setregid): Likewise.
32183         (setreuid): Likewise.
32184         (sigaction): Likewise.
32185         (truncate): Likewise.
32186         (vhangup): Likewise.
32187         * sysdeps/unix/common/syscalls.list: Remove file.
32188         * sysdeps/unix/bsd/Implies: Don't include unix/common.
32189         * sysdeps/unix/sysv/linux/Implies: Likewise.
32190
32191 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
32192
32193         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32195         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32196         Moved to ...
32197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32198         Here.
32199         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32200         to ...
32201         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32202         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32203         to ...
32204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32205         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32206         to ...
32207         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32208         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32209         to ...
32210         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32211         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32212         to ...
32213         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32214         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32215         to ...
32216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32217         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32218         to ...
32219         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32220         Here.
32221         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32222         to ...
32223         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32224         Here.
32225         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32226         to ...
32227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32228         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32229         Moved to ...
32230         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32231         Here.
32232         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32233         to ...
32234         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32235
32236 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
32237
32238         * sysdeps/unix/common/bits/dirent.h: Remove file.
32239         * sysdeps/unix/common/bits/fcntl.h: Likewise.
32240
32241         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32242         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32243         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32244         * sysdeps/unix/bsd/isatty.c: Likewise.
32245         * sysdeps/unix/bsd/tcdrain.c: Likewise.
32246         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32247         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32248
32249 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32250
32251         [BZ #13563]
32252         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32253         long double comparison inaccuracies.
32254         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32256
32257 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
32258
32259         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32260         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32261
32262 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
32263
32264         [BZ #14049]
32265         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32266         nonzero digits before rounding a hex value.
32267         * stdlib/tst-strtod.c (tests): Add another test.
32268
32269 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32270
32271         * sysdeps/s390/fpu/libm-test-ulps: Update.
32272
32273 2012-05-03  Andreas Jaeger  <aj@suse.de>
32274
32275         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32276         does not get optimized out.
32277         (malloc_opt_barrier): New.
32278
32279 2012-05-03  Andreas Jaeger  <aj@suse.de>
32280             Roland McGrath  <roland@hack.frob.com>
32281
32282         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
32283         intermediate file deletion.
32284         (generated): Add .symlist files.
32285
32286 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
32287
32288         [BZ #13775]
32289         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32290         Redirect under this condition.
32291         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32292         [__USE_GNU] (__dprintf_chk): Not under this condition.
32293         [__USE_GNU] (__vdprintf_chk): Likewise.
32294         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32295         under this condition.
32296         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32297         [__USE_XOPEN2K8] (dprintf): Define under this condition.
32298         [__USE_XOPEN2K8] (vdprintf): Likewise.
32299         [__USE_GNU] (__dprintf_chk): Not under this condition.
32300         [__USE_GNU] (__vdprintf_chk): Likewise.
32301         [__USE_GNU] (dprintf): Likewise.
32302         [__USE_GNU] (vdprintf): Likewise.
32303
32304 2012-05-03  Roland McGrath  <roland@hack.frob.com>
32305
32306         * elf/Makefile (common-generated): Set this instead of generated for
32307         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
32308         $(all-built-dso)-derived lists.
32309
32310 2012-05-03  Andreas Jaeger  <aj@suse.de>
32311
32312         * sysdeps/i386/fpu/libm-test-ulps: Update.
32313
32314         * FAQ: Removed.
32315         * FAQ.in: Likewise.
32316         * scripts/gen-FAQ.pl: Likewise.
32317         * manual/install.texi (Installation): Point to online location of
32318         FAQ.
32319         * Makefile (files-for-dist): Remove FAQ.
32320         (FAQ): Remove.
32321
32322 2012-05-02  Allan McRae  <allan@archlinux.org>
32323
32324         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32325         (LDFLAGS-reldepmod5.so): Likewise.
32326         (LDFLAGS-reldep6mod1.so): Likewise.
32327         (LDFLAGS-reldep6mod4.so): Likewise.
32328         (LDFLAGS-reldep8mod3.so): Likewise.
32329         (LDFLAGS-unload4mod1.so): Likewise.
32330         (LDFLAGS-unload4mod2.so): Likewise.
32331         (LDFLAGS-tst-initorder): Likewise.
32332         (LDFLAGS-tst-initordera2.so): Likewise.
32333         (LDFLAGS-tst-initordera3.so): Likewise.
32334         (LDFLAGS-tst-initordera4.so): Likewise.
32335         (LDFLAGS-tst-initorderb2.so): Likewise.
32336         (LDFLAGS-noload): Likewise.
32337         (LDFLAGS-next): Likewise.
32338         (LDFLAGS-order2mod1.so): Likewise.
32339         (LDFLAGS-order2mod2.so): Likewise.
32340         (LDFLAGS-tst-initorder2): Likewise.
32341         (LDFLAGS-tst-initorder2a.so): Likewise.
32342         (LDFLAGS-tst-initorder2b.so): Likewise.
32343         (LDFLAGS-tst-initorder2c.so): Likewise.
32344         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32345
32346 2012-05-02  David S. Miller  <davem@davemloft.net>
32347
32348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32349
32350 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
32351
32352         [BZ #14055]
32353         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32354
32355 2012-05-02  Andreas Jaeger  <aj@suse.de>
32356
32357         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32358         since we manipulate rounding mode.
32359         (CPPFLAGS-test-idouble.c): Likewise.
32360         (CPPFLAGS-test-ifloat.c): Likewise.
32361         (CFLAGS-test-ldouble.c): Likewise.
32362         (CFLAGS-test-double.c): Likewise.
32363         (CFLAGS-test-float.c): Likewise.
32364         (CFLAGS-test-misc.c): Likewise.
32365         (CFLAGS-test-test-fenv.c): Likewise.
32366
32367 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32368
32369         [BZ #2550]
32370         [BZ #2570]
32371         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32372         comparisons to determine direction to adjust input.
32373
32374 2012-05-01  Roland McGrath  <roland@hack.frob.com>
32375
32376         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32377         output to the target.
32378
32379         * scripts/localplt.awk: New file.
32380         * elf/Makefile ($(objpfx)check-localplt): Target removed.
32381         (check-localplt-CFLAGS): Variable removed.
32382         ($(all-built-dso:=.jmprel)): New static pattern rule.
32383         (generated): Add those targets.
32384         (localplt-built-dso): New variable.
32385         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32386
32387         * elf/check-localplt.c: File removed.
32388
32389         * scripts/check-execstack.awk: New file.
32390         * elf/Makefile ($(objpfx)check-execstack): Target removed.
32391         (check-execstack-CFLAGS): Variable removed.
32392         ($(objpfx)check-execstack.h): Target removed.
32393         ($(objpfx)execstack-default): New target.
32394         (generated): Add that instead of check-execstack.h.
32395         ($(all-built-dso:=.phdr)): New static pattern rule.
32396         (generated): Add those targets.
32397         * elf/check-execstack.c: File removed.
32398
32399         * scripts/check-textrel.awk: New file.
32400         * elf/Makefile ($(objpfx)check-textrel): Target removed.
32401         (check-textrel-CFLAGS): Variable removed.
32402         (all-built-dso): Use := to define.o
32403         ($(all-built-dso:=.dyn)): New static pattern rule.
32404         (generated): Add those targets.
32405         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32406         * config.make.in (READELF): New substituted variable.
32407         * elf/check-textrel.c: File removed.
32408
32409 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
32410
32411         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32412         allow.
32413         * conform/data/ctype.h-data [C99-based standards] (isblank):
32414         Expect function.
32415         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32416         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32417         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32418         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32419         Specify type.  Require positive value.
32420         (EILSEQ): Likewise.
32421         (ERANGE): Likewise.
32422         [ISO || POSIX] (EILSEQ): Do not expect.
32423         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32424         Specify type.  Require positive value.
32425         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32426         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32427         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32428         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32429         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32430         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32431         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32432         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32433         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32434         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32435         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32436         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32437         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32438         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32439         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32440         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32441         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32442         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32443         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32444         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32445         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32446         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32447         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32448         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32449         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32450         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32451         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32452         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32453         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32454         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32455         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32456         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32457         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32458         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32459         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32460         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32461         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32462         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32463         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32464         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32465         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32466         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32467         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32468         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32469         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32470         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32471         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32472         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32473         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32474         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32475         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32476         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32477         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32478         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32479         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32480         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32481         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32482         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32483         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32484         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32485         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32486         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32487         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32488         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32489         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32490         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32491         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32492         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32493         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32494         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32495         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32496         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32497         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32498         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32499         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32500         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32501         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32502         Require >= 2.
32503         (FLT_ROUNDS): Expect as macro, not constant.
32504         (FLT_MANT_DIG): Use macro-int-constant.
32505         (DBL_MANT_DIG): Likewise.
32506         (LDBL_MANT_DIG): Likewise.
32507         (FLT_DIG): Likewise.
32508         (DBL_DIG): Likewise.
32509         (LDBL_DIG): Likewise.
32510         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
32511         (DBL_MIN_EXP): Likewise.
32512         (LDBL_MIN_EXP): Likewise.
32513         (FLT_MAX_EXP): Use macro-int-constant.
32514         (DBL_MAX_EXP): Likewise.
32515         (LDBL_MAX_EXP): Likewise.
32516         (FLT_MAX_10_EXP): Likewise.
32517         (DBL_MAX_10_EXP): Likewise.
32518         (LDBL_MAX_10_EXP): Likewise.
32519         (FLT_MAX): Use macro-constant.
32520         (DBL_MAX): Likewise.
32521         (LDBL_MAX): Likewise.
32522         (FLT_EPSILON): Use macro-constant.  Give upper bound.
32523         (DBL_EPSILON): Likewise.
32524         (LDBL_EPSILON): Likewise.
32525         (FLT_MIN): Likewise.
32526         (DBL_MIN): Likewise.
32527         (LDBL_MIN): Likewise.
32528         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32529         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32530         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32531         [ISO11] (FLT_HAS_SUBNORM): Likewise.
32532         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32533         [ISO11] (DBL_DECIMAL_DIG): Likewise.
32534         [ISO11] (FLT_DECIMAL_DIG): Likewise.
32535         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32536         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32537         [ISO11] (FLT_TRUE_MIN): Likewise.
32538         [ISO11] (LDBL_TRUE_MIN): Likewise.
32539         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32540         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32541         (SCHAR_MIN): Use macro-int-constant.  Specify type.
32542         (SCHAR_MAX): Likewise.
32543         (UCHAR_MAX): Likewise.
32544         (CHAR_MIN): Likewise.
32545         (CHAR_MAX): Likewise.
32546         (MB_LEN_MAX): Use macro-int-constant.
32547         (SHRT_MIN): Use macro-int-constant.  Specify type.
32548         (SHRT_MAX): Likewise.
32549         (USHRT_MAX): Likewise.
32550         (INT_MAX): Likewise.
32551         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
32552         bound negative.
32553         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
32554         bound with "U".
32555         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
32556         bound with "L".
32557         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
32558         bound negative.  Suffix upper bound with "L".
32559         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
32560         bound with "UL".
32561         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32562         Specify type.
32563         [C99-based standards] (LLONG_MAX): Likewise.
32564         [C99-based standards] (ULLONG_MAX): Likewise.
32565         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
32566         == 0.
32567         [ISO11] (max_align_t): Require type.
32568         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32569
32570         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32571         from $CFLAGS, without defining away __attribute__ calls.
32572         (checknamespace): Use $CFLAGS_namespace.
32573
32574         * conform/conformtest.pl (@keywords): Only include C99 keywords
32575         for standards based on C99 or C11.
32576
32577         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32578         Disable tests.
32579         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32580         UNIX98]: Likewise.
32581
32582         * conform/conformtest.pl: Handle "macro-int-constant" and test for
32583         usability of symbols in #if.
32584
32585         * conform/conformtest.pl: If macro or constant types start
32586         "promoted:", expect the symbol to be of the following type
32587         promoted by the integer promotions.
32588
32589         * conform/conformtest.pl: Parse all "constant" and "macro" lines
32590         in one place.  Also handle "macro-constant".
32591
32592         * conform/conformtest.pl: Only accept expected macro values with
32593         "==".  Parse all "macro" lines in one place.
32594         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32595
32596         * conform/conformtest.pl: Handle braced types on "constant" lines
32597         instead of handling "typed-constant".
32598         * conform/data/signal.h-data: Use "constant" instead of
32599         "typed-constant".
32600
32601         * conform/conformtest.pl: Handle "optional-" at start of lines in
32602         one place rather than duplicating several cases.  Handle each
32603         format of "macro" line with initial "optional-".
32604
32605         * conform/conformtest.pl: Only accept expected constant or
32606         optional-constant values with "==".  Parse all "constant" lines in
32607         one place.  Parse all "optional-constant" lines in one place.
32608         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32609         * conform/data/fmtmsg.h-data: Likewise.
32610         * conform/data/netinet/in.h-data: Likewise.
32611         * conform/data/tar.h-data: Likewise.
32612         * conform/data/limits.h-data: Use "==" form on "constant" and
32613         "optional-constant" lines.
32614
32615         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32616         Use -std=c99 for XOPEN2K.
32617         (@knownproblems): Remove.
32618         (newtoken): Don't check %isknown.
32619
32620         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32621         Do not expect macro.
32622         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32623         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32624         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32625         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32626         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32627         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32628         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32629         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32630         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32631         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32632         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32633         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32634         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32635         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32636         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32637         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32638         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32639         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32640         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32641         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32642         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32643         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32644         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32645         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32646         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32647         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32648         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32649         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32650         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32651         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32652         [XPG3] (acosh): Likewise.
32653         [XPG3] (asinh): Likewise.
32654         [XPG3] (atanh): Likewise.
32655         [XPG3] (cbrt): Likewise.
32656         [XPG3] (expm1): Likewise.
32657         [XPG3] (ilogb): Likewise.
32658         [XPG3] (log1p): Likewise.
32659         [XPG3] (logb): Likewise.
32660         [XPG3] (nextafter): Likewise.
32661         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32662         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32663         [XPG3] (remainder): Likewise.
32664         [XPG3] (rint): Likewise.
32665         [XPG3 || XPG4 || UNIX98] (round): Likewise.
32666         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32667         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32668         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32669         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32670         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32671         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32672         [UNIX98 || XOPEN2K] (scalb): Expect.
32673         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32674         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32675         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32676         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32677         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32678         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32679         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32680         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32681         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32682         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32683         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32684         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32685         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32686         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32687         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32688         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32689         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32690         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32691         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32692         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32693         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32694         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32695         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32696         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32697         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32698         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32699         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32700         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32701         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32702         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32703         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32704         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32705         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32706         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32707         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32708         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32709         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32710         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32711         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32712         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32713         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32714         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32715         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32716         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32717         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32718         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32719         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32720         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32721         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32722         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32723         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32724         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32725         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32726         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32727         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32728         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32729         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32730         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32731         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32732         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32733         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32734         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32735         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32736         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32737         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32738         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32739         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32740         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32741         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32742         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32743         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32744         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32745         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32746         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32747         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32748         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32749         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32750         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32751         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32752         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32753         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32754         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32755         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32756         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32757         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32758         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32759         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32760         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32761         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32762         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32763         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32764         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32765         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32766         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32767         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32768         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32769         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32770         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32771         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32772         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32773         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32774         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32775         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32776         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32777         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32778         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32779         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32780         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32781         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32782         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32783         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32784         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32785         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32786         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32787         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32788         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32789         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32790         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32791         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32792         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32793         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32794         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32795         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32796         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32797         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32798         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32799         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32800         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32801         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32802         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32803         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32804         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32805         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32806         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32807         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32808         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32809         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32810
32811         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32812         _XOPEN_SOURCE_EXTENDED for XPG4.
32813
32814         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32815
32816         * Makeconfig (localtime): Remove variable.
32817         (inst_localtime-file): Likewise.
32818
32819 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32820
32821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32822         Update.
32823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32824         Update.
32825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32826         Update.
32827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32828         Update.
32829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32830         Update.
32831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32832         Update.
32833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32834         Update.
32835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32836         Update.
32837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32838         Update.
32839
32840 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
32841
32842         [BZ #2550]
32843         [BZ #2570]
32844         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32845         comparisons to determine direction to adjust input.
32846         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32847         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32848         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32849         Likewise.
32850         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32851         Likewise.
32852         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32853         Likewise.
32854         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32855         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32856         Likewise.
32857         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32858         Likewise.
32859         * math/libm-test.inc (nexttoward_test): Add more tests.
32860
32861 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32862
32863         [BZ #14040]
32864         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32865         in version GLIBC_2.1, not GLIBC_2.0.
32866         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32867         Likewise.
32868
32869 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
32870
32871         [BZ #13942]
32872         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32873         (1 - x) * (1 + x).
32874         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32875         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32876         * math/libm-test.inc (acos_test): Add more tests.
32877         (asin_test): Likewise.
32878         * sysdeps/i386/fpu/libm-test-ulps: Update.
32879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32880
32881         [BZ #14034]
32882         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32883         of square root.
32884         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32885         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32886         * math/libm-test.inc (acos_test_tonearest): New function.
32887         (acos_test_towardzero): Likewise.
32888         (acos_test_downward): Likewise.
32889         (acos_test_upward): Likewise.
32890         (asin_test_tonearest): Likewise.
32891         (asin_test_towardzero): Likewise.
32892         (asin_test_downward): Likewise.
32893         (asin_test_upward): Likewise.
32894         (main): Call the new functions.
32895         * sysdeps/i386/fpu/libm-test-ulps: Update.
32896         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32897
32898         [BZ #13884]
32899         [BZ #13924]
32900         * math/e_exp10.c: Include <float.h>.
32901         (__ieee754_exp10): Handle underflow here rather than multiplying
32902         large negative argument by M_LN10.
32903         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32904         of __ieee754_expf.
32905         * math/e_exp10l.c: Include <float.h>.
32906         (__ieee754_exp10l): Handle underflow here rather than multiplying
32907         large negative argument by M_LN10l.
32908         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
32909         spurious overflow exception on underflow.
32910
32911 2012-04-29  Marek Polacek  <polacek@redhat.com>
32912
32913         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32914         (__fortify_function): New macro.
32915         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32916         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32917         __extern_always_inline.
32918         * libio/bits/stdio2.h: Likewise.
32919         * libio/bits/stdio.h: Likewise.
32920         * string/string.h: Likewise.
32921         * string/bits/string3.h: Likewise.
32922         * include/stdio.h: Likewise.
32923         * stdlib/bits/stdlib.h: Likewise.
32924         * stdlib/stdlib.h: Likewise.
32925         * rt/bits/mqueue2.h: Likewise.
32926         * rt/mqueue.h: Likewise.
32927         * posix/bits/unistd.h: Likewise.
32928         * posix/unistd.h: Likewise.
32929         * io/bits/poll2.h: Likewise.
32930         * io/bits/fcntl2.h: Likewise.
32931         * io/fcntl.h: Likewise.
32932         * io/sys/poll.h: Likewise.
32933         * misc/bits/syslog.h: Likewise.
32934         * misc/bits/syslog-ldbl.h: Likewise.
32935         * misc/sys/syslog.h: Likewise.
32936         * socket/bits/socket2.h: Likewise.
32937         * socket/sys/socket.h: Likewise.
32938         * debug/tst-chk1.c: Likewise.
32939         * wcsmbs/bits/wchar2.h: Likewise.
32940         * wcsmbs/bits/wchar-ldbl.h: Likewise.
32941         * wcsmbs/wchar.h: Likewise.
32942
32943 2012-04-29  Andreas Jaeger  <aj@suse.de>
32944
32945         * Makerules (tests): Remove enable-check-abi protection.
32946         (check-abi-warn): Remove.
32947         (check-abi-%): Remove check-abi-warn usage.
32948
32949         * configure.in: Remove check-abi configure option.
32950         * configure: Regenerated.
32951         * config.make.in (enable-check-abi): Remove.
32952
32953 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
32954
32955         [BZ #14033]
32956         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32957         double functions to double *_finite functions.
32958
32959         [BZ #13941]
32960         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32961         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32962         LDBL_MIN_EXP.
32963         * stdio-common/Makefile (tests): Add tst-sprintf3.
32964         * stdio-common/tst-sprintf3.c: New file.
32965
32966         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32967         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32968
32969 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
32970
32971         * conform/conformtest.pl: Remove duplicate typed-constant
32972         handling.
32973
32974 2012-04-28  David S. Miller  <davem@davemloft.net>
32975
32976         * Makerules (%.abilist): Add vpath on sysdep_dirs.
32977         (check-abi-%): Remove AWK script prerequisite and explicit
32978         abilist directory.
32979         (check-abi): Rewrite to just diff the symlist with the abilist.
32980         (config-tls, config-abi-config): Delete, no longer used.
32981         (update-abi-%): Remove AWK script and explicit abilist directory.
32982         (update-abi): Rewrite to simply compare and conditionally copy the
32983         symlist and the sysdep abilist file.  Remove update-abi-config
32984         checks.
32985         * abilist/ld.abilist: Remove.
32986         * abilist/libBrokenLocale.abilist: Remove.
32987         * abilist/libanl.abilist: Remove.
32988         * abilist/libcrypt.abilist: Remove.
32989         * abilist/libdl.abilist: Remove.
32990         * abilist/librt.abilist: Remove.
32991         * abilist/libthread_db.abilist: Remove.
32992         * abilist/libutil.abilist: Remove.
32993         * scripts/extract-abilist.awk: Remove.
32994         * scripts/merge-abilist.awk: Remove.
32995         * sysdeps/generic/libcidn.abilist: New file.
32996         * sysdeps/generic/libnss_compat.abilist: New file.
32997         * sysdeps/generic/libnss_db.abilist: New file.
32998         * sysdeps/generic/libnss_dns.abilist: New file.
32999         * sysdeps/generic/libnss_files.abilist: New file.
33000         * sysdeps/generic/libnss_hesiod.abilist: New file.
33001         * sysdeps/generic/libnss_nis.abilist: New file.
33002         * sysdeps/generic/libnss_nisplus.abilist: New file.
33003         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33004         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33005         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33006         file.
33007         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33008         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33009         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33010         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33011         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33012         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33013         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33014         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33015         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33016         file.
33017         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33018         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33019         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33020         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33021         file.
33022         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33023         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33024         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33025         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33026         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33027         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33028         file.
33029         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33030         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33031         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33032         file.
33033         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33034         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33035         New file.
33036         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33037         New file.
33038         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33039         New file.
33040         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33041         New file.
33042         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33043         New file.
33044         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33045         New file.
33046         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33047         New file.
33048         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33049         New file.
33050         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33051         New file.
33052         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33053         New file.
33054         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33055         New file.
33056         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33057         New file.
33058         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33059         New file.
33060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33061         file.
33062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33063         New file.
33064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33065         New file.
33066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33067         file.
33068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33069         New file.
33070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33071         New file.
33072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33073         file.
33074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33075         New file.
33076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33077         New file.
33078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33079         New file.
33080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33081         New file.
33082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33083         New file.
33084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33085         New file.
33086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33088         file.
33089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33090         New file.
33091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33092         file.
33093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33094         file.
33095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33096         file.
33097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33098         file.
33099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33100         file.
33101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33102         New file.
33103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33104         file.
33105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33106         file.
33107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33108         New file.
33109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33110         file.
33111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33113         file.
33114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33115         New file.
33116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33117         file.
33118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33119         file.
33120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33121         file.
33122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33123         file.
33124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33125         file.
33126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33127         New file.
33128         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33129         file.
33130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33131         file.
33132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33133         New file.
33134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33135         file.
33136         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33137         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33138         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33139         file.
33140         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33141         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33142         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33143         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33144         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33145         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33146         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33147         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33148         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33149         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33151         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33152         file.
33153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33154         New file.
33155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33156         file.
33157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33158         file.
33159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33160         file.
33161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33162         file.
33163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33164         file.
33165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33166         New file.
33167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33168         New file.
33169         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33170         file.
33171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33172         New file.
33173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33174         file.
33175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33177         file.
33178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33179         New file.
33180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33181         file.
33182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33183         file.
33184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33185         file.
33186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33187         file.
33188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33189         file.
33190         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33191         New file.
33192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33193         New file.
33194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33195         file.
33196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33197         New file.
33198         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33199         file.
33200
33201 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
33202
33203         * conform/conformtest.pl: Fix typo in handling typed-constant from
33204         allow-header.
33205
33206 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
33207
33208         * README: Cut down references to pre-2.6 Linux kernels and
33209         Linuxthreads.  Update lists of configurations in libc and ports
33210         and sort alphabetically.  Say "or newer" with Linux kernel version
33211         requirements.
33212
33213         * config.h.in [IS_IN_build]: Allow compiling without optimization.
33214
33215 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33216
33217         [BZ #887]
33218         * math/libm-test.inc (logb_test_downward): New test to expose
33219         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33220         rounding mode.
33221
33222 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
33223
33224         [BZ #14027]
33225         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33226         to be done.
33227         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33228         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33229
33230 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
33231
33232         * sysdeps/unix/i386/brk.S: Remove file.
33233         * sysdeps/unix/i386/dl-brk.S: Likewise.
33234         * sysdeps/unix/i386/pipe.S: Likewise.
33235         * sysdeps/unix/i386/sigreturn.S: Likewise.
33236         * sysdeps/unix/i386/syscall.S: Likewise.
33237         * sysdeps/unix/i386/vfork.S: Likewise.
33238         * sysdeps/unix/i386/wait.S: Likewise.
33239
33240         * sysdeps/unix/common/tcsendbrk.c: Move to ...
33241         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33242
33243         * configure.in (arm*-none*): Do not allow without
33244         --enable-hacker-mode.
33245         (netbsd*): Remove case setting base_os.
33246         (386bsd*): Likewise.
33247         (freebsd*): Likewise.
33248         (bsdi*): Likewise.
33249         (osf*): Likewise.
33250         (sunos*): Likewise.
33251         (ultrix*): Likewise.
33252         (newsos*): Likewise.
33253         (dynix*): Likewise.
33254         (*bsd*): Likewise.
33255         (sysv*): Likewise.
33256         (isc*): Likewise.
33257         (esix*): Likewise.
33258         (sco*): Likewise.
33259         (minix*): Likewise.
33260         (irix4*): Likewise.
33261         (irix6*): Likewise.
33262         (solaris[2-9]*): Likewise.
33263         (none): Likewise.
33264         * configure: Regenerated.
33265
33266 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33267
33268         [BZ #11521]
33269         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33270         overflow or cancellation in calculating denominator.
33271         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33272         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33273         down expression to avoid unexpected rounding in newer GCCs.
33274         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33275
33276 2012-04-26  David S. Miller  <davem@davemloft.net>
33277
33278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33279         long-double compat symbols.
33280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33291         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33292         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33293
33294 2012-04-25  David S. Miller  <davem@davemloft.net>
33295
33296         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33297         HWCAP_* values only after the memory barriers have been defined.
33298         (atomic_full_barrier): Define.
33299         (atomic_read_barrier): Define.
33300         (atomic_write_barrier): Define.
33301
33302 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33303
33304         * shlib-versions: Add libgcc_s version information.
33305         * sysdeps/generic/libgcc_s.h: Remove.
33306         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33307         libgcc_s.h.
33308         * sysdeps/gnu/unwind-resume.c: Likewise.
33309         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33310
33311 2012-04-25  David S. Miller  <davem@davemloft.net>
33312
33313         * sysdeps/unix/sparc/brk.S: Delete.
33314         * sysdeps/unix/sparc/dl-brk.S: Delete.
33315         * sysdeps/unix/sparc/pipe.S: Delete.
33316         * sysdeps/unix/sparc/sysdep.S: Delete.
33317         * sysdeps/unix/sparc/sysdep.h: Delete.
33318         * sysdeps/unix/sparc/vfork.S: Delete.
33319         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33320         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33321         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33322         (ret_ERRVAL, r0, r1, MOVE): Define.
33323         (JUMPTARGET): Remove.
33324         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33325         sysdeps/unix/sparc/sysdep.h
33326         (ENTRY, END): Remove.
33327         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33328
33329 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
33330
33331         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33332         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33333         -DIS_IN_build.
33334
33335         * timezone/README: Update upstream location and email address for
33336         tzcode and tzdata.
33337         * timezone/zdump.c: Update from tzcode 2012b.
33338         * timezone/zic.c: Likewise.
33339
33340         * configure.in (libc_cv_as_needed): Remove test.
33341         * configure: Regenerated.
33342         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33343         conditional definition.
33344         [$(have-as-needed) != yes] (no-as-needed): Likewise.
33345         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33346         * config.make.in (have-as-needed): Remove variable.
33347
33348 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33349             Paul Pluzhnikov  <ppluzhnikov@google.com>
33350
33351         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33352         strings correctly.
33353
33354 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
33355
33356         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33357         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33358         * sysdeps/sh/strlen.S: Likewise.
33359
33360 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
33361
33362         * sysdeps/unix/fork.S: Remove file.
33363         * sysdeps/unix/i386/fork.S: Likewise.
33364         * sysdeps/unix/sparc/fork.S: Likewise.
33365
33366         * sysdeps/unix/system.c: Remove file.
33367         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33368
33369         * sysdeps/unix/getegid.S: Remove file.
33370         * sysdeps/unix/geteuid.S: Likewise.
33371
33372 2012-04-24  Roland McGrath  <roland@hack.frob.com>
33373
33374         * scripts/check-localplt.awk: New file.
33375         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33376         of diff.
33377         * scripts/data/localplt-generic.data: Add a comment.
33378
33379         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33380         NODE when __dir_mkfile failed.
33381         * sysdeps/mach/hurd/symlinkat.c: Likewise.
33382         Reported by Ludovic Courtès <ludo@gnu.org>.
33383
33384 2012-04-24  Andreas Jaeger  <aj@suse.de>
33385
33386         * Makerules (common-clean): Also remove gen-as-const-headers
33387         files.
33388
33389 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
33390
33391         * Makerules (native-compile): Do not change working directory for
33392         build.  Use $(OUTPUT_OPTION) in command.
33393         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33394
33395 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33396
33397         [BZ #13886]
33398         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33399         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33400         * math/libm-test.inc (floor_test): Add more tests.
33401         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33402
33403 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
33404
33405         * sysdeps/unix/getdents.c: Remove file.
33406         * sysdeps/unix/sysv/getdents.c: Likewise.
33407         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33408
33409         * sysdeps/unix/syscalls.list (madvise): Add syscall from
33410         sysdeps/unix/mman/syscalls.list.
33411         (mmap): Likewise.
33412         (mprotect): Likewise.
33413         (msync): Likewise.
33414         (munmap): Likewise.
33415         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33416         * sysdeps/unix/mman/syscalls.list: Remove.
33417         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33418
33419         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33420         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33421         * configure: Regenerated.
33422         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33423         $(libgcc_s_suffix).
33424         * config.make.in (libgcc_s_suffix): Remove variable.
33425
33426 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
33427
33428         * sysdeps/unix/sysv/gethostname.c: Move to ...
33429         * sysdeps/posix/gethostname.c: ... here.
33430
33431         * sysdeps/unix/execve.S: Remove file.
33432
33433         * sysdeps/unix/_exit.S: Remove file.
33434
33435 2012-04-23  Andreas Jaeger  <aj@suse.de>
33436
33437         [BZ #13739]
33438         * manual/Makefile: Remove make dist support, there's no
33439         need for a stand-alone documentation tar ball.
33440         (TEXI2DVI): Define always, it's not in Makeconfig.
33441         (dist): Removed.
33442         (tar-it): Removed.
33443         (edition): Removed.
33444         (glibc-doc-$(edition).tar): Removed
33445         (%.Z): Removed.
33446         (%.gz): Removed.
33447         (%.uu): Removed.
33448         (ETAGS): Remove, it's in Makeconfig.
33449         (move-if-change): Remove, it's in Makeconfig.
33450
33451 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
33452
33453         [BZ #13970]
33454         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33455         (strtod, strtof, strtold, strtol, strtoul, strtoq)
33456         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33457         (strtod_l, strtof_l, strtold_l): Remove __wur.
33458         It is not necessarily an error to ignore strtol's return value.
33459         One can reliably look at the stored endptr to decide whether
33460         the number had valid syntax.
33461
33462 2012-04-21  Andreas Jaeger  <aj@suse.de>
33463
33464         [BZ #13739]
33465         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33466
33467 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
33468
33469         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33470         * sysdeps/unix/sysv/Versions: Remove file.
33471
33472 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
33473
33474         [BZ #13927]
33475         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33476
33477 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
33478
33479         [BZ #7064]
33480         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33481         version from __vm86.
33482
33483 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
33484
33485         * sysdeps/unix/common/lxstat.c: Remove file.
33486         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33487
33488         * sysdeps/unix/sysv/Makefile: Remove file.
33489
33490         * sysdeps/unix/sysv/direct.h: Remove file.
33491
33492         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33493         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33494         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33495         * sysdeps/unix/sysv/bits/signum.h: Likewise.
33496         * sysdeps/unix/sysv/bits/stat.h: Likewise.
33497         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33498         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33499
33500         * sysdeps/unix/sysv/setrlimit.c: Remove file.
33501
33502         * sysdeps/unix/xmknod.c: Remove file.
33503         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33504
33505         * sysdeps/unix/sysv/settimeofday.c: Remove file.
33506
33507         * sysdeps/unix/sysv/i386/time.S: Remove file.
33508
33509         * sysdeps/unix/fxstat.c: Remove file.
33510         * sysdeps/unix/xstat.c: Likewise.
33511         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33512
33513         * sysdeps/unix/sysv/sigaction.c: Remove file.
33514
33515         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33516         (sysdep_headers): Remove variable.
33517         [termio.h not in sysdep_headers] (generated): Likewise.
33518         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33519         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33520         * sysdeps/unix/sysv/tcdrain.c: Likewise.
33521         * sysdeps/unix/sysv/tcflow.c: Likewise.
33522         * sysdeps/unix/sysv/tcflush.c: Likewise.
33523         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33524         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33525         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33526         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33527         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33528
33529         * sysdeps/unix/siglist.c: Remove file.
33530
33531         * sysdeps/unix/getppid.S: Remove file.
33532
33533         * sysdeps/unix/mkdir.c: Remove file.
33534         * sysdeps/unix/rmdir.c: Likewise.
33535
33536 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
33537
33538         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33539         ERR_MAX value.
33540         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33541         errlist-compat value.
33542
33543 2012-04-18  David S. Miller  <davem@davemloft.net>
33544
33545         * sysdeps/generic/memcopy.h (reg_char): Delete.
33546         * debug/strcat_chk.c: Use char, not reg_char.
33547         * debug/strcpy_chk.c: Likewise.
33548         * debug/strncat_chk.c: Likewise.
33549         * debug/strncpy_chk.c: Likewise.
33550         * string/memchr.c: Likewise.
33551         * string/memrchr.c: Likewise.
33552         * string/rawmemchr.c: Likewise.
33553         * string/strcat.c: Likewise.
33554         * string/strchr.c: Likewise.
33555         * string/strchrnul.c: Likewise.
33556         * string/strcmp.c: Likewise.
33557         * string/strcpy.c: Likewise.
33558         * string/strncat.c: Likewise.
33559         * string/strncmp.c: Likewise.
33560         * string/strncpy.c: Likewise.
33561
33562 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
33563
33564         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33565         __builtin_memcopy is called when src and dest ranges are known to not
33566         overlap.
33567
33568 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
33569
33570         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33571         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33572         fwd_align_merge macro call.
33573         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33574         bwd_align_merge macro call.
33575         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33576
33577 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
33578
33579         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33580         bwd_align_merge macros.
33581         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33582         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33583         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33584
33585 2012-04-18  David S. Miller  <davem@davemloft.net>
33586
33587         * sysdeps/sparc/sparc64/memcopy.h: Delete.
33588
33589 2012-04-18  Andreas Jaeger  <aj@suse.de>
33590
33591         [BZ# 6794]
33592         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33593         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33594         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33595
33596         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33597         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33598         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33599
33600         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33601         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33602         Adjust for changed ldbl-128 files.
33603
33604         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33605         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33606         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33607
33608 2012-04-17  David S. Miller  <davem@davemloft.net>
33609
33610         * sysdeps/sparc/sparc32/memcopy.h: Delete.
33611
33612 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
33613
33614         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33615         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33616         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33617         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33618         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33619         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33620
33621 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33622
33623         [BZ #6794]
33624         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33625         * math/libm-test.inc: Add ilogb errno and exception tests.
33626         * math/w_ilogb.c: New file: ilogb wrapper.
33627         * math/w_ilogbf.c: New file: ilogbf wrapper.
33628         * math/w_ilogbl.c: New file: ilogbl wrapper.
33629         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33630         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33631         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33632         exception being thrown with 0.0 as argument.
33633         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33634         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33635         exception being thrown with 0.0 as argument.
33636         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33637         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33638         exception being thrown with 0.0 as argument.
33639         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33640         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33641         exception being thrown with 0.0 as argument.
33642         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33643         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33644         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33645         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33646         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33647         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33648         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33649         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33650         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33651
33652 2012-04-17  Petr Baudis  <pasky@ucw.cz>
33653
33654         * include/sys/uio.h: Change __vector to __iovec to avoid clash
33655         with altivec.
33656
33657 2012-04-16  Marek Polacek  <polacek@redhat.com>
33658
33659         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33660
33661 2012-04-16  Marek Polacek  <polacek@redhat.com>
33662
33663         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33664         operands of fdivp instruction.
33665
33666 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
33667
33668         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33669         * elf/tst-auditmod3b.c: Likewise.
33670         * elf/tst-auditmod4b.c: Likewise.
33671         * elf/tst-auditmod5b.c: Likewise.
33672         * elf/tst-auditmod6b.c: Likewise.
33673         * elf/tst-auditmod6c.c: Likewise.
33674         * elf/tst-auditmod7b.c: Likewise.
33675         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33676         * sysdeps/x86_64/preconfigure.in: Likewise.
33677         * sysdeps/x86_64/preconfigure: Regenerated.
33678
33679 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
33680
33681         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33682         __ILP32__.
33683
33684 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
33685
33686         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33687         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33688
33689 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
33690
33691         [BZ #13973]
33692         * locale/iso-639.def: Fix gl language name. Spotted by
33693         Yaron Shahrabani.
33694
33695 2012-04-12  Roland McGrath  <roland@hack.frob.com>
33696
33697         [BZ #2074]
33698         * libio/libio.h (__io_write_fn): Update comment.
33699
33700 2012-04-12  Petr Baudis  <pasky@ucw.cz>
33701
33702         [BZ #2074]
33703         * stdio.texi (Hook Functions): The user provided writer function
33704         is not allowed to return -1.
33705
33706 2012-04-11  David S. Miller  <davem@davemloft.net>
33707
33708         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33709
33710 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
33711
33712         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33713         Add a leading slash to rtkaio.
33714
33715 2012-04-11  Jim Meyering  <meyering@redhat.com>
33716
33717         [BZ #11959]
33718         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33719         It is not necessarily an error to ignore fwrite's return
33720         value.  One can reliably use ferror to test for errors after
33721         the fact.
33722
33723 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
33724
33725         * bits/types.h (__snseconds_t): New type.
33726         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33727
33728         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33729         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33730         (__SNSECONDS_T_TYPE): Likewise.
33731         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33732         (__SNSECONDS_T_TYPE): Likewise.
33733         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33734         (__SNSECONDS_T_TYPE): Likewise.
33735
33736 2012-04-10  Andreas Jaeger  <aj@suse.de>
33737
33738         [BZ #2636]
33739         * manual/time.texi (Processor Time): Return type of times is
33740         elapsed real time since an arbitrary point in the past.
33741         (CPU Time): Move CLK_TCK from here...
33742         (Processor Time): ...to here.  Correct description.
33743         * manual/conf.texi (Constants for Sysconf): Correct description of
33744         _SC_CLK_TCK.
33745
33746 2012-04-10  David S. Miller  <davem@davemloft.net>
33747
33748         [BZ #13967]
33749         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33750         where the is a gap between DT_REL(A) and DT_JMPREL.
33751
33752 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
33753
33754         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33755         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33756         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33757
33758 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33759
33760         * elf/dl-support.c (_dl_inhibit_cache): New variable.
33761         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33762         (dl_main): Handle --inhibit-cache.
33763         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33764         _dl_inhibit_cache.
33765         * elf/dl-load.c (_dl_map_object): Use it.
33766         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33767
33768 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
33769
33770         [BZ #13872]
33771         * sysdeps/i386/fpu/e_powl.S (p78): New object.
33772         (__ieee754_powl): Saturate large exponents rather than testing for
33773         overflow of y*log2(x).
33774         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33775         * math/libm-test.inc (pow_test): Do not permit spurious overflow
33776         exceptions.
33777
33778         [BZ #11521]
33779         * math/s_ctan.c: Include <float.h>.
33780         (__ctan): Avoid internal overflow or cancellation in calculating
33781         denominator.
33782         * math/s_ctanf.c: Likewise.
33783         * math/s_ctanl.c: Likewise.
33784         * math/s_ctanh.c: Likewise.
33785         * math/s_ctanhf.c: Likewise.
33786         * math/s_ctanhl.c: Likewise.
33787         * math/libm-test.inc (ctan_test): Add more tests.
33788         (ctanh_test): Likewise.
33789         * sysdeps/i386/fpu/libm-test-ulps: Update.
33790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33791
33792 2012-04-09  Andreas Jaeger  <aj@suse.de>
33793
33794         [BZ #6894]
33795         * manual/filesys.texi (Directory Entries): Mention that d_namlen
33796         is an optional BSD extension.
33797
33798         [BZ #10254]
33799         * manual/stdio.texi (Opening Streams): Document additional fopen
33800         parameters.
33801
33802 2012-04-09  Roland McGrath  <roland@hack.frob.com>
33803
33804         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33805         %eax without telling the compiler.
33806
33807 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
33808
33809         [BZ # 13963]
33810         * manual/install.texi: Use sourceware.org.
33811
33812 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
33813
33814         [BZ #13873]
33815         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33816         (__ieee754_pow): Generate overflow and underflow using huge*huge
33817         and tiny*tiny rather than just returning constant infinity or zero
33818         for large exponents.
33819         * math/libm-test.inc (pow_test): Require overflow exceptions for
33820         applicable cases of large exponents.
33821
33822         [BZ #706]
33823         * sysdeps/i386/fpu/e_pow.S (p10): New object.
33824         (__ieee754_pow): Use iterative multiplication algorithm only for
33825         integer exponents with absolute value below 1024.  Check for odd
33826         integer exponents when using algorithm for real exponents.
33827         * math/libm-test.inc (pow_test): Add more tests.
33828         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33829
33830 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
33831
33832         [BZ #13705]
33833         * math/libm-test.inc (exp_test): Do not allow overflow exception
33834         on underflow test.
33835
33836 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
33837
33838         [BZ #13705]
33839         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33840         instead of __kernel_standard_f.
33841
33842 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
33843
33844         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33845         * sysdeps/x86_64/memset_chk.S: Likewise.
33846
33847 2012-04-08  Andreas Jaeger  <aj@suse.de>
33848
33849         [BZ #10153]
33850         * manual/startup.texi (Environment Access): Describe return value
33851         for putenv and setenv.
33852
33853         [BZ #6895]
33854         * manual/filesys.texi (Directory Entries): Add description for
33855         DT_LNK.
33856
33857         [BZ #6890]
33858         * manual/filesys.texi (Directory Entries): Clarify that it's file
33859         system not operating system in the description of DT_UNKNOWN.
33860
33861         [BZ #6578]
33862         * manual/syslog.texi (closelog): Fix reference, it's openlog.
33863
33864 2012-04-08  Stephen Compall  <s11@member.fsf.org>
33865
33866         [BZ #6649]
33867         * manual/llio.texi (Opening and Closing Files): Add cross
33868         reference to explain mode argument.
33869
33870 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
33871
33872         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33873         * sysdeps/x86_64/memset_chk.S: Likewise.
33874
33875 2012-04-07  David S. Miller  <davem@davemloft.net>
33876
33877         * elf/elf.h (R_SPARC_WDISP10): Define.
33878         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33879         R_SPARC_SIZE32.
33880         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33881         R_SPARC_SIZE64 and R_SPARC_H34.
33882
33883 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
33884
33885         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33886         conditions and remove no longer applicable assertion.
33887
33888 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
33889
33890         * bits/byteswap.h: Include <features.h>.
33891         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33892         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33893
33894 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
33895
33896         * bits/byteswap.h (__bswap_16): Removed.
33897         Include <bits/byteswap-16.h> to get __bswap_16.
33898         * sysdeps/i386/bits/byteswap.h: Likewise.
33899         * sysdeps/s390/bits/byteswap.h: Likewise.
33900         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33901         * bits/byteswap-16.h: New file.
33902         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33903         * sysdeps/s390/bits/byteswap-16.h: Likewise.
33904         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33905         * string/Makefile (headers): Add bits/byteswap-16.h.
33906
33907 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33908
33909         [BZ #13895]
33910         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33911         extra indirection.
33912         * nss/Makefile (tests-static, tests): Add tst-nss-static.
33913         * nss/tst-nss-static.c: New.
33914
33915 2012-04-06  Robert Millan  <rmh@gnu.org>
33916
33917         [BZ #6486]
33918         * manual/llio.texi (File Position Primitive): lseek
33919         refers to WHENCE when it really means OFFSET.
33920
33921 2012-04-06  Andreas Jaeger  <aj@suse.de>
33922
33923         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33924         strncmp declarations.
33925
33926         * abilist/libc.abilist: Add __poll and __ppoll.
33927
33928 2012-04-05  David S. Miller  <davem@davemloft.net>
33929
33930         * scripts/check-local-headers.sh: Accept a host triplet in the
33931         path matched by the exclude regexp.
33932
33933         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33934         definition.
33935         * sysdeps/powerpc/powerpc32/dl-machine.h
33936         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33937         * sysdeps/s390/s390-32/dl-machine.h
33938         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33939         * sysdeps/sparc/sparc32/dl-machine.h
33940         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33941         * sysdeps/sparc/sparc64/dl-machine.h
33942         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33943
33944         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33945         lazy binding.
33946         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33947         undefined symbol errors.
33948
33949         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33950         DT_NEEDED entries.
33951
33952 2012-04-05  Michael Matz  <matz@suse.de>
33953
33954         [BZ #13592]
33955         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33956
33957 2012-04-05  Andreas Jaeger  <aj@suse.de>
33958
33959         [BZ #13908]
33960         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33961         comment.
33962
33963 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33964
33965         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33966         which ROUND is no valid rounding mode.
33967
33968 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33969
33970         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33971         read again.
33972         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33973
33974 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33975
33976         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33977         an exception using FPU order intentionally.
33978
33979 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33980
33981         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33982         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33983         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33984         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33985
33986 2012-04-05  Simon Josefsson  <simon@josefsson.org>
33987
33988         [BZ #12340]
33989         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33990         EINVAL when BUFLEN is too smal.
33991
33992 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
33993
33994         [BZ #13553]
33995         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33996         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33997
33998 2012-04-03  Andreas Jaeger  <aj@suse.de>
33999
34000         [BZ #13938]
34001         * manual/setjmp.texi (System V contexts): Fix sentence.
34002
34003         [BZ #13926]
34004         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34005         New macro for this case.
34006         [!__GNUC__] (__bswap_64): New inline function for this case.
34007         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34008         * bits/byteswap.h: Likewise.
34009         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34010         ull, guard with __GLIBC_HAVE_LONG_LONG.
34011
34012         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34013         __GLIBC_HAVE_LONG_LONG.
34014
34015         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34016         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34017
34018 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34019
34020         [BZ #13691]
34021         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34022         inptr and inend, rather than using last_ch.
34023
34024 2012-04-02  David S. Miller  <davem@davemloft.net>
34025
34026         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34027         * stdio-common/printf-parse.h (read_int): Change return type to
34028         'int', return -1 on INT_MAX overflow.
34029         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34030         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
34031         overflows INT_MAX.  Check for overflow of in-format-string precision
34032         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
34033         SIZE_MAX not INT_MAX for integer overflow test.
34034         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34035         skip the construct in the format string but do not record anything.
34036         * stdio-common/bug22.c: Adjust to test both width/prevision
34037         INT_MAX overflow as well as total length INT_MAX overflow.  Check
34038         explicitly for proper errno values.
34039
34040 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
34041
34042         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34043         CHAR_MAX.
34044         * string/test-strcmp.c [! WIDE]: Likewise.
34045         * time/tst-mktime2.c: Likewise for INT_MAX.
34046         * string/test-string.h: #include <sys/param.h> for MIN.
34047
34048         * csu/init-first.c (__libc_init_first): Call __ctype_init.
34049         * sysdeps/i386/init-first.c (init): Likewise.
34050         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34051         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34052         * sysdeps/sh/init-first.c (init): Likewise.
34053
34054 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
34055
34056         * po/ru.po: Update from translation team.
34057         * po/vi.po: Likewise.
34058
34059 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34060
34061         * resolv/nss_dns/dns-host.c: Merge copyright years.
34062
34063 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34064
34065         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34066         Optimize memcpy with prefetch if
34067         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
34068         src, dst pointers have unequal 16 byte alignments.
34069
34070 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34071
34072         [BZ #13928]
34073         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34074         from a CNAME entry and return the minimum ttl for the query.
34075         (gaih_getanswer_slice): Likewise.
34076
34077 2012-03-30  Jeff Law  <law@redhat.com>
34078
34079         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34080         due to long keys.
34081         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34082         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34083
34084         * resolv/nss_dns/dns-host.c: Update copyright year.
34085
34086 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
34087
34088         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
34089         requests to save a system call.  Fix check that all bytes are sent.
34090
34091         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34092         comments for sendmmsg.
34093
34094 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34095
34096         [BZ #13691]
34097         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34098         with only 1 character between 0x0041 and 0x01b0.
34099         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34100         * wcsmbs/tst-mbsnrtowcs.c: New file.
34101
34102 2012-03-29  David S. Miller  <davem@davemloft.net>
34103
34104         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34105         small copies by hand.
34106
34107 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34108
34109         [BZ #13761]
34110         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34111         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34112         group memberships.
34113
34114 2012-03-28  David S. Miller  <davem@davemloft.net>
34115
34116         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34117         that branches into memcpy.
34118         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34119         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34120         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34121         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34122         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34123         bits.
34124         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34125         implementation too.
34126         * sysdeps/sparc/mempcpy.S: New file.
34127
34128         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34129         the IFUNC routine in the libc case.
34130         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34131
34132         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34133         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34134         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34135         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34136         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34137         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34138         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34139         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34140
34141         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34142         loop to 256 bytes instead of 64 bytes and fix test signedness.
34143
34144         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34145         * sysdeps/sparc/sparc32/Makefile: rather than here...
34146         * sysdeps/sparc/sparc64/Makefile: and here.
34147
34148 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
34149
34150         * malloc/mallocbug.c: Avoid warnings about unused variables.
34151
34152 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34153
34154         [BZ #13760]
34155         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34156         in the right place. Discard and retry query if response is
34157         larger than input buffer size.
34158
34159 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
34160
34161         [BZ #369]
34162         [BZ #2678]
34163         [BZ #3866]
34164         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34165         x for large integer exponent.
34166         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34167         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
34168         sign of result as needed afterwards.
34169         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34170         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34171         result for underflowing pow the same as for overflow.
34172         (__kernel_standard_l): Handle powl overflow and underflow here
34173         rather than calling __kernel_standard.
34174         * math/libm-test.inc (pow_test): Add more tests.
34175
34176         [BZ #3868]
34177         [BZ #13879]
34178         [BZ #13910]
34179         [BZ #13911]
34180         [BZ #13912]
34181         [BZ #13913]
34182         [BZ #13915]
34183         [BZ #13916]
34184         [BZ #13917]
34185         [BZ #13918]
34186         [BZ #13919]
34187         [BZ #13920]
34188         [BZ #13921]
34189         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34190         * sysdeps/ieee754/k_standard.c: Include <float.h>.
34191         (__kernel_standard_l): New function.
34192         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34193         __kernel_standard.
34194         * math/w_acosl.c (__acosl): Likewise.
34195         * math/w_asinl.c (__asinl): Likewise.
34196         * math/w_atan2l.c (__atan2l): Likewise.
34197         * math/w_atanhl.c (__atanhl): Likewise.
34198         * math/w_coshl.c (__coshl): Likewise.
34199         * math/w_exp10l.c (__exp10l): Likewise.
34200         * math/w_exp2l.c (__exp2l): Likewise.
34201         * math/w_fmodl.c (__fmodl): Likewise.
34202         * math/w_hypotl.c (__hypotl): Likewise.
34203         * math/w_j0l.c (__j0l, __y0l): Likewise.
34204         * math/w_j1l.c (__j1l, __y1l): Likewise.
34205         * math/w_jnl.c (__jnl, __ynl): Likewise.
34206         * math/w_lgammal.c (__lgammal): Likewise.
34207         * math/w_log10l.c (__log10l): Likewise.
34208         * math/w_log2l.c (__log2l): Likewise.
34209         * math/w_logl.c (__logl): Likewise.
34210         * math/w_powl.c (__powl): Likewise.
34211         * math/w_remainderl.c (__remainderl): Likewise.
34212         * math/w_scalbl.c (sysv_scalbl): Likewise.
34213         * math/w_sinhl.c (__sinhl): Likewise.
34214         * math/w_sqrtl.c (__sqrtl): Likewise.
34215         * math/w_tgammal.c (__tgammal): Likewise.
34216         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34217         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34218         * math/libm-test.inc (acos_test): Add more tests.
34219         (acosh_test): Likewise.
34220         (asin_test): Likewise.
34221         (atanh_test): Likewise.
34222         (exp_test): Likewise.
34223         (exp10_test): Likewise.
34224         (exp2_test): Likewise.
34225         (expm1_test): Likewise.
34226         (lgamma_test): Likewise.
34227         (log_test): Likewise.
34228         (log10_test): Likewise.
34229         (log1p_test): Likewise.
34230         (log2_test): Likewise.
34231         (pow_test): Do not allow some spurious overflow exceptions.
34232         (sqrt_test): Add more tests.
34233         (tgamma_test): Likewise.
34234         (y0_test): Likewise.
34235         (y1_test): Likewise.
34236         (yn_test): Likewise.
34237
34238 2012-03-27  Anton Blanchard  <anton@samba.org>
34239
34240         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34241         MAP_HUGETLB.
34242         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34243         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34244         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34245
34246 2012-03-27  David S. Miller  <davem@davemloft.net>
34247
34248         * conform/Makefile: Run run-conformtest.sh using $(BASH).
34249
34250         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34251         have-as-vis3 check.
34252
34253 2012-03-27  Andreas Jaeger  <aj@suse.de>
34254
34255         * sysdeps/x86_64/elf/configure.in: Moved to ...
34256         * sysdeps/x86_64/configure.in: ... here.
34257         * sysdeps/x86_64/elf/start.S: Moved to ...
34258         * sysdeps/x86_64/start.S: ... here.
34259         * sysdeps/x86_64/elf/configure: Delete.
34260
34261         * sysdeps/x86_64/configure.in: Merge contents from
34262         sysdeps/i386/configure.in (without i686 check).
34263
34264         * sysdeps/i386/elf/Versions: Merge into ...
34265         * sysdeps/i386/Versions: ... this.
34266         * sysdeps/i386/elf/Versions: Delete file.
34267         * sysdeps/i386/elf/start.S: Moved to ...
34268         * sysdeps/i386/start.S: ...here.
34269         * sysdeps/i386/elf/configure.in: Merge into...
34270         * sysdeps/i386/configure.in: ...here.
34271         * sysdeps/i386/elf/configure.in: Delete file.
34272         * sysdeps/i386/elf/configure: Delete file.
34273
34274         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34275         * debug/backtracesyms.c: ... here.
34276         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34277         * debug/backtracesymsfd.c: ... here.
34278         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34279         * sysdeps/generic/ifunc-sel.h: ... here.
34280
34281         * sysdeps/unix/i386/start.c: Delete file.
34282         * sysdeps/unix/sparc/start.c: Delete file.
34283         * sysdeps/unix/start.c: Delete file.
34284
34285         * sysdeps/sh/elf/configure.in: Moved to ...
34286         * sysdeps/sh/configure.in: ... here.
34287         * sysdeps/sh/elf/start.S: Moved to ...
34288         * sysdeps/sh/start.S: ... here.
34289         * sysdeps/sh/elf/configure: Delete file.
34290
34291         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34292         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34293         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34294         * sysdeps/powerpc/powerpc64/entry.h: ... here.
34295         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34296         * sysdeps/powerpc/powerpc64/start.S: here.
34297         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34298         * sysdeps/powerpc/powerpc64/Makefile: ... this.
34299         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34300         * sysdeps/powerpc/powerpc64/configure.in: ... this.
34301         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34302
34303         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34304         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34305         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34306         * sysdeps/powerpc/powerpc32/start.S: ... here.
34307         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34308         * sysdeps/powerpc/powerpc32/configure.in: ... this.
34309         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34310
34311         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34312         * sysdeps/powerpc/ifunc-sel.h: ... here.
34313         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34314         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34315
34316         * sysdeps/sparc/elf/configure.in: Moved to ...
34317         * sysdeps/sparc/configure.in: ... here.
34318         * sysdeps/sparc/elf/configure: Delete file.
34319         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34320         * sysdeps/sparc/sparc32/start.S: ... here.
34321         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34322         * sysdeps/sparc/sparc64/start.S: ... here.
34323         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34324         * sysdeps/sparc/sparc32/Makefile: ... this.
34325         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34326         * sysdeps/sparc/sparc64/Makefile: ... this.
34327
34328         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34329         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34330         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34331         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34332         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34333         * sysdeps/s390/s390-32/setjmp.S: ... here.
34334         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34335         * sysdeps/s390/s390-32/configure.in: ... here.
34336         * sysdeps/s390/s390-32/elf/configure: Delete file.
34337         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34338         * sysdeps/s390/s390-32/start.S: ... here.
34339
34340         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34341         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34342         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34343         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34344         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34345         * sysdeps/s390/s390-64/setjmp.S: ... here.
34346         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34347         * sysdeps/s390/s390-64/configure.in: ... here
34348         * sysdeps/s390/s390-64/elf/configure: Delete file.
34349         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34350         * sysdeps/s390/s390-64/start.S: ... here.
34351         * sysdeps/s390/s390-64/elf/configure: Delete.
34352
34353         * configure.in: Remove support for elf directories in sysdeps.
34354
34355         * configure: Regenerated.
34356         * sysdeps/i386/configure: Regenerated.
34357         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34358         * sysdeps/powerpc/powerpc64/configure: Regenerated.
34359         * sysdeps/s390/s390-32/configure: Regenerated.
34360         * sysdeps/s390/s390-64/configure: Regenerated.
34361         * sysdeps/sh/configure: Regenerated.
34362         * sysdeps/sparc/configure: Regenerated.
34363         * sysdeps/x86_64/configure: Regenerated.
34364
34365 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
34366
34367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34368
34369         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34370         denormal result into account.
34371
34372 2012-03-25  Roland McGrath  <roland@hack.frob.com>
34373
34374         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34375         Reported by Allan McRae <allan@archlinux.org>.
34376
34377 2012-03-23  Jeff Law  <law@redhat.com>
34378
34379         * nss/getnssent.c (__nss_getent): Fix typo.
34380
34381 2012-03-23  David S. Miller  <davem@davemloft.net>
34382
34383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34384
34385 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
34386
34387         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34388         to pad to uint64_t for each field.
34389         (dl_tls_index): Replace unsigned long with uint64_t.
34390
34391 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
34392         Paul Pluzhnikov  <ppluzhnikov@google.com>
34393
34394         [BZ #6528]
34395         * grp/Makefile (otherlibs): Don't set it.
34396         * inet/Makefile (otherlibs): Likewise.
34397         * login/Makefile (otherlibs): Likewise.
34398         * nscd/Makefile (otherlibs): Likewise.
34399         * posix/Makefile (otherlibs): Likewise.
34400         * pwd/Makefile (otherlibs): Likewise.
34401         * rt/Makefile (otherlibs): Likewise.
34402         * sunrpc/Makefile (otherlibs): Likewise.
34403         * nss/Makefile (otherlibs): Likewise.
34404         Add libnss_files to routines and static-only-routines.
34405         ($(objpfx)getent): Remove rule.
34406         * resolv/Makefile: Add libnss_dns and libresolv to routines and
34407         static-only-routines.
34408
34409 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
34410
34411         [BZ #13892]
34412         * math/s_cexp.c: Include <float.h>.
34413         (__cexp): Handle exp result overflowing not necessarily
34414         overflowing both real and imaginary parts of result.
34415         * math/s_cexpf.c: Likewise.
34416         * math/s_cexpl.c: Likewise.
34417         * math/libm-test.inc (cexp_test): Add more tests.
34418         * sysdeps/i386/fpu/libm-test-ulps: Update.
34419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34420
34421 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34422
34423         * include/link.h (ELFW): New macro.
34424         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34425         Replace ELF64_R_TYPE with ELFW(R_TYPE).
34426
34427 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34428
34429         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34430         with uint64_t.
34431
34432 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34433
34434         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34435         declaration.
34436         (struct La_x32_retval): Likewise.
34437
34438 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34439
34440         * sysdeps/x86_64/preconfigure.in: New file.
34441         * sysdeps/x86_64/preconfigure: New generated file.
34442
34443 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
34444
34445         [BZ #13824]
34446         * math/e_exp2l.c: Include <float.h>.
34447         (__ieee754_exp2l): Handle overflow and underflow cases
34448         separately.  Only pass fractional part of argument to
34449         __ieee754_expl.
34450         * math/libm-test.inc (exp2_test): Add more tests.
34451
34452         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34453         negating x to take absolute value.
34454         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34455         Likewise.
34456         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34457         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34458         Likewise.
34459         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34460         computing low part if x was negated.
34461         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34462
34463 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
34464
34465         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34466         la_x32_gnu_pltexit.
34467         (pltexit): Cast int_retval to ptrdiff_t.
34468         * elf/tst-auditmod3b.c: Likewise.
34469         * elf/tst-auditmod4b.c: Likewise.
34470         * elf/tst-auditmod5b.c: Likewise.
34471         * elf/tst-auditmod6b.c: Likewise.
34472         * elf/tst-auditmod6c.c: Likewise.
34473         * elf/tst-auditmod7b.c: Likewise.
34474
34475         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34476         and x32_gnu_pltexit.
34477
34478         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34479         __ELF_NATIVE_CLASS.
34480         (La_x32_regs): New macro.
34481         (La_x32_retval): Likewise.
34482         (la_x32_gnu_pltenter): New function prototype.
34483         (la_x32_gnu_pltexit): Likewise.
34484
34485 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
34486
34487         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34488         exponent.
34489
34490         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34491
34492         * configure.in (libc_cv_cc_nofma): Check for option to disable
34493         generation of FMA instructions.
34494         * configure: Regenerate.
34495         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34496         * sysdeps/ieee754/dbl-64/Makefile: New file.
34497         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34498         Remove brandred-fma4.
34499         (CFLAGS-brandred-fma4.c): Remove.
34500         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34501         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34502         define.
34503         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34504         define.
34505
34506 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
34507
34508         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34509         LLONG_MAX != LONG_MAX.
34510         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34511         (_fitoa_word): Likewise.
34512         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34513         LLONG_MAX != LONG_MAX.
34514         * stdio-common/_itowa.h: Include <_itoa.h>.
34515         (_itowa_word): Use _ITOA_WORD_TYPE on value.
34516         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
34517         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
34518         only if not defined.
34519         (_ITOA_WORD_TYPE): Likewise.
34520         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34521         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34522
34523 2012-03-21  David S. Miller  <davem@davemloft.net>
34524
34525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34526
34527 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
34528
34529         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34530         of x86_64 when setting libc_cv_slibdir, libdir and
34531         libc_cv_localedir.
34532         * sysdeps/unix/sysv/linux/configure: Regenerated.
34533
34534 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
34535
34536         * manual/lang.texi (Old Varargs): Remove section.
34537         (How Variadic): Update menu.
34538         (va_start): Do not mention varargs.h.
34539
34540 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34541             Joseph Myers  <joseph@codesourcery.com>
34542
34543         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34544         link test.
34545         * configure: Regenerated.
34546
34547 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34548
34549         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34550         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34551         conformtest.pl
34552
34553 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
34554
34555         * NOTES: Remove.
34556         * Makefile (files-for-dist): Remove NOTES.
34557         (NOTES): Remove rule.
34558         * README: Don't refer to NOTES.
34559         * manual/creature.texi: Don't include macros.texi.
34560         * manual/intro.texi (creature.texi): Remove comment referring to
34561         NOTES.
34562
34563         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34564         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34565         * configure: Regenerated.
34566         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34567         LIBC_TRY_CC_OPTION.
34568         (libc_cv_as_i686): Likewise.
34569         (libc_cv_cc_avx): Likewise.
34570         (libc_cv_cc_sse2avx): Likewise.
34571         (libc_cv_cc_fma4): Likewise.
34572         (libc_cv_cc_novzeroupper): Likewise.
34573         * sysdeps/i386/configure: Regenerated.
34574
34575         [BZ #13883]
34576         * sysdeps/i386/fpu/s_cexp.S: Remove.
34577         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34578         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34579         * math/libm-test.inc (cexp_test): Add more tests.
34580         * sysdeps/i386/fpu/libm-test-ulps: Update.
34581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34582
34583 2012-03-21  Allan McRae  <allan@archlinux.org>
34584
34585         * timezone/Makefile: Do not install iso3166.tab and zone.tab
34586
34587 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
34588
34589         [BZ #13871]
34590         * math/w_exp2.c: Do not include <float.h>.
34591         (o_threshold, u_threshold): Remove.
34592         (__exp2): Calculate result before checking finiteness and calling
34593         __kernel_standard.
34594         * math/w_exp2f.c: Likewise.
34595         * math/w_exp2l.c: Likewise.
34596         * math/libm-test.inc (exp2_test): Require overflow exception for
34597         1e6 input.
34598
34599         [BZ #3866]
34600         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34601         range of signed 64-bit integers before using fistpll.  Remove
34602         checks for whether integers fit in mantissa bits.
34603         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34604         the range of signed 32-bit integers before using fistpl.  Remove
34605         checks for whether integers fit in mantissa bits.
34606         * sysdeps/i386/fpu/e_powl.S (p64): New object.
34607         (__ieee754_powl): Test for y outside the range of signed 64-bit
34608         integers before using fistpll.  Reduce 64-bit values to 63-bit
34609         ones as needed.
34610         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34611         divide-by-zero is raised for zero to large negative powers.
34612         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34613         (__ieee754_powl): Test for y outside the range of signed 64-bit
34614         integers before using fistpll.  Reduce 64-bit values to 63-bit
34615         ones as needed.
34616         * math/libm-test.inc (pow_test): Add more tests.
34617
34618 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34619
34620         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34621         <stdio-common/_itoa.h>.
34622         * debug/segfault.c: Likewise.
34623         * elf/dl-cache.c: Likewise.
34624         * elf/dl-minimal.c: Likewise.
34625         * elf/dl-misc.c: Likewise.
34626         * elf/dl-sysdep.c: Likewise.
34627         * elf/dl-version.c: Likewise.
34628         * elf/rtld.c: Likewise.
34629         * hurd/hurdsock.c: Likewise.
34630         * hurd/lookup-retry.c: Likewise.
34631         * malloc/malloc.c: Likewise.
34632         * malloc/mtrace.c: Likewise.
34633         * nscd/nscd_getgr_r.c: Likewise.
34634         * nscd/nscd_getpw_r.c: Likewise.
34635         * nscd/nscd_getserv_r.c: Likewise.
34636         * posix/getopt_init.c: Likewise.
34637         * posix/wordexp.c: Likewise.
34638         * stdio-common/_itoa.c: Likewise.
34639         * stdio-common/printf_fphex.c: Likewise.
34640         * stdio-common/vfprintf.c: Likewise.
34641         * string/_strerror.c: Likewise.
34642         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34643         * sysdeps/i386/i686/hp-timing.h: Likewise.
34644         * sysdeps/mach/_strerror.c: Likewise.
34645         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34646         * sysdeps/mach/hurd/sethostid.c: Likewise.
34647         * sysdeps/mach/hurd/xmknodat.c: Likewise.
34648         * sysdeps/mach/xpg-strerror.c: Likewise.
34649         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34650         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34651         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34652         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34653         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34654         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34655         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34656         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34657         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34658         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34659         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34660         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34661         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34662         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34663         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34664         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34665         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34666         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34667         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34668         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34669         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34670
34671         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34672
34673         * stdio-common/_itoa.h: Moved to ...
34674         * sysdeps/generic/_itoa.h: Here.
34675
34676         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34677
34678         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34679         instead of "_itoa.h" and "_itowa.h".
34680         * stdio-common/vfprintf.: Likewise.
34681
34682 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34683
34684         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34685         <bits/wordsize.h>.
34686         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34687         (__signbit): Likwise.
34688         (llrintf): Likwise.
34689         (llrint): Likwise.
34690
34691 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34692
34693         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34694         __WORDSIZE != 64.
34695
34696 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
34697
34698         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34699         OVERFLOW_EXCEPTION_OK.
34700         * math/libm-test.inc ("Philosophy"): Update comment about
34701         exception testing.
34702         (OVERFLOW_EXCEPTION): Define.
34703         (OVERFLOW_EXCEPTION_OK): Likewise.
34704         (INVALID_EXCEPTION_OK): Renumber.
34705         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34706         (IGNORE_ZERO_INF_SIGN): Likewise.
34707         (test_exceptions): Handle FE_OVERFLOW.
34708         (exp10_test): Expect overflow exceptions.
34709         (exp2_test): Likewise.
34710         (expm1_test): Likewise.
34711         (nextafter_test): Likewise.
34712         (pow_test): Likewise.
34713         (scalbn_test): Likewise.
34714         (scalbln_test): Likewise.
34715
34716 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34717
34718         * sysdeps/x86_64/bits/atomic.h
34719         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34720         64bit integer.
34721         (atomic_exchange_acq): Likewise.
34722         (__arch_exchange_and_add_body): Likewise.
34723         (__arch_add_body): Likewise.
34724         (atomic_add_negative): Likewise.
34725         (atomic_add_zero): Likewise.
34726
34727 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34728
34729         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34730         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34731
34732 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34733
34734         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34735         Check __x86_64__ instead of __WORDSIZE.
34736
34737 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34738
34739         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34740
34741 2012-03-19  David S. Miller  <davem@davemloft.net>
34742
34743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34744
34745         * sysdeps/sparc/fpu/fenv_private.h: New file.
34746         * sysdeps/sparc/fpu/math_private.h: Use it.
34747         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34748         Remove.
34749         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34750         (libc_feholdexcept_setroundl): Remove.
34751         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34752         Remove.
34753         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34754         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34755
34756 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34757
34758         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34759         int64_t instead of long int.
34760         (INSERT_WORDS64): Likwise.
34761
34762 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34763
34764         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34765         _Unwind_GetCFA return to _Unwind_Ptr first.
34766
34767 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
34768
34769         [BZ #13629]
34770         * math/s_clog.c: Include <float.h>.
34771         (__clog): Scale large or subnormal inputs.
34772         * math/s_clogf.c: Likewise.
34773         * math/s_clogl.c: Likewise.
34774         * math/s_clog10.c: Include <float.h>.
34775         (M_LOG10_2): Define.
34776         (__clog10): Scale large or subnormal inputs.
34777         * math/s_clog10f.c: Likewise.
34778         * math/s_clog10l.c: Likewise.
34779         * math/libm-test.inc (clog_test): Add more tests.
34780         (clog10_test): Likewise.
34781         * sysdeps/i386/fpu/libm-test-ulps: Update.
34782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34783
34784         [BZ #11451]
34785         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34786         x and y.
34787         * math/libm-test.inc (atan2_test): Add another test.
34788
34789         * Makerules (common-objdir-compile): Remove.
34790         * sysdeps/unix/Makefile (config-generated): Do not add
34791         $(unix-generated) to variable.
34792         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34793         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34794         Remove rule.
34795         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34796         Likewise.
34797         [generic bits/local_lim.h] (before-compile): Do not append to
34798         variable.
34799         [generic bits/local_lim.h] (common-generated): Likewise.
34800         [generic sys/param.h] (before-compile): Do not append to variable.
34801         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34802         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34803         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34804         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34805         include.
34806         [generic sys/param.h] (sys/param.h-includes): Remove variable.
34807         [generic sys/param.h] (sys/param.h-includes): Remove rule.
34808         [generic sys/param.h] ($(addprefix
34809         $(common-objpfx),$(sys/param.h-includes))): Likewise.
34810         [generic sys/param.h] (common-generated): Do not append to
34811         variable.
34812         [generic sys/param.h] (sysdep_headers): Likewise.
34813         [generic bits/errno.h] (before-compile): Do not append to
34814         variable.
34815         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34816         rule.
34817         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34818         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34819         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34820         [generic bits/errno.h] (common-generated): Do not append to
34821         variable.
34822         [generic bits/ioctls.h] (before-compile): Do not append to
34823         variable.
34824         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34825         rule.
34826         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34827         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34828         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34829         rule.
34830         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34831         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34832         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34833         [generic bits/ioctls.h] (common-generated): Do not append to
34834         variable.
34835         [generic sys/syscall.h] (syscall.h): Remove variable.
34836         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34837         rule.
34838         [generic sys/syscall.h] (before-compile): Do not append to
34839         variable.
34840         [generic sys/syscall.h] (common-generated): Likewise.
34841         * sysdeps/unix/errnos-tmpl.c: Remove file.
34842         * sysdeps/unix/errnos.awk: Likewise.
34843         * sysdeps/unix/ioctls-tmpl.c: Likewise.
34844         * sysdeps/unix/ioctls.awk: Likewise.
34845         * sysdeps/unix/mk-local_lim.c: Likewise.
34846         * sysdeps/unix/snarf-ioctls: Likewise.
34847
34848 2012-03-19  Richard Henderson  <rth@twiddle.net>
34849
34850         * sysdeps/i386/fpu/fenv_private.h: New file.
34851         * sysdeps/i386/fpu/math_private.h: Use it.
34852         (math_opt_barrier, math_force_eval): Remove.
34853         (libc_feholdexcept_setround_53bit): Remove.
34854         (libc_feupdateenv_53bit): Remove.
34855         * sysdeps/x86_64/fpu/math_private.h: Likewise.
34856         (math_opt_barrier, math_force_eval): Remove.
34857         (libc_feholdexcept): Remove.
34858         (libc_feholdexcept_setround): Remove.
34859         (libc_fetestexcept, libc_fesetenv): Remove.
34860         (libc_feupdateenv_test): Remove.
34861         (libc_feupdateenv, libc_feholdsetround): Remove.
34862         (libc_feresetround): Remove.
34863
34864         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34865         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34866
34867         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34868         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34869         (libc_feupdateenv_testl): New.
34870         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34871         (libc_feupdateenv_testf): New.
34872         (libc_feupdateenv): Use libc_feupdateenv_test.
34873         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34874         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34875
34876         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34877         (libc_feholdsetroundf, libc_feholdsetroundl): New.
34878         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34879         (libc_feresetround_noex): New.
34880         (libc_feresetround_noexf): New.
34881         (libc_feresetround_noexl): New.
34882         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34883         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34884         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34885         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34886         SET_RESTORE_ROUND.
34887         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34888         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34889         (__cos): Likewise.
34890         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34891         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34892         SET_RESTORE_ROUND_NOEX.
34893         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34894         SET_RESTORE_ROUND_NOEXF.
34895         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34896         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34897         (libc_feholdsetroundf): New.
34898         (libc_feresetround, libc_feresetroundf): New.
34899
34900         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34901         (libc_feholdexcept_setround_53bit): Convert from macro to function.
34902         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
34903
34904         * sysdeps/generic/math_private.h: Include <fenv.h>.
34905         (default_libc_feholdexcept): New.
34906         (default_libc_feholdexcept_setround): New.
34907         (default_libc_fesetenv, default_libc_feupdateenv): New.
34908         (libc_feholdexcept): Only define if undefined.
34909         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34910         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34911         (libc_feholdexcept_setroundl): Likewise.
34912         (libc_feholdexcept_setround_53bit): Likewise.
34913         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34914         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34915         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34916         (libc_feupdateenv_53bit): Likewise.
34917         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34918         (libc_feholdexcept): Convert from macro to inline function.
34919         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34920         (libc_fesetenv, libc_feupdateenv): Likewise.
34921
34922         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34923         not previously defined.
34924         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34925         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34926         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34927         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34928         * sysdeps/ieee754/flt-32/math_private.h: New file.
34929         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34930         math_private.h below SET_FLOAT_WORD.
34931         (__isnan, __isinf_ns, __finite): Remove.
34932         (__isnanf, __isinf_nsf, __finitef): Remove.
34933
34934 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
34935
34936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34937
34938 2012-03-17  David S. Miller  <davem@davemloft.net>
34939
34940         [BZ #6471]
34941         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34942         for 2.16.
34943
34944 2012-03-16  David S. Miller  <davem@davemloft.net>
34945
34946         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34947         warnings.
34948
34949         [BZ #6471]
34950         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34951         properly.
34952         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34953         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34954         sysdep_routines when subdir is sysvipc.
34955         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34956         __getshmlba helper.
34957
34958         * sysdeps/sparc/fpu/libm-test/ulps: Update.
34959
34960 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34961
34962         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34963         [__LP64__].
34964
34965 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34966
34967         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34968         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34969         (__lround): Renamed to ...
34970         (__llround): This.  Replace long int with long long int.
34971         Define lround functions as aliases of llround functions.
34972         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34973
34974 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34975
34976         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34977         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
34978         adresses to uintptr_t.  Replace "long int" and "unsigned long
34979         int" with "greg_t" on va_arg.
34980
34981 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34982
34983         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34984         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34985
34986         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34987         Move e_machine check before EI_CLASS check.  Handle x32
34988         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34989         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34990         SKIP_EM_IA_64 and include
34991         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34992
34993         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34994         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34995         (add_system_dir): New macro.
34996
34997         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34998         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34999
35000 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
35001
35002         [BZ #2551]
35003         [BZ #2552]
35004         [BZ #2553]
35005         [BZ #2554]
35006         [BZ #2562]
35007         [BZ #2563]
35008         [BZ #2565]
35009         [BZ #2566]
35010         [BZ #2576]
35011         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35012         (y0): Likewise.
35013         * math/w_j0f.c (j0f): Likewise.
35014         (y0f): Likewise.
35015         * math/w_j0l.c (__j0l): Likewise.
35016         (__y0l): Likewise.
35017         * math/w_j1.c (j1): Likewise.
35018         (y1): Likewise.
35019         * math/w_j1f.c (j1f): Likewise.
35020         (y1f): Likewise.
35021         * math/w_j1l.c (__j1l): Likewise.
35022         (__y1l): Likewise.
35023         * math/w_jn.c (jn): Likewise.
35024         (yn): Likewise.
35025         * math/w_jnf.c (jnf): Likewise.
35026         (ynf): Likewise.
35027         * math/w_jnl.c (__jnl): Likewise.
35028         (__ynl): Likewise.
35029         * math/libm-test.inc (j0_test): Add more tests.
35030         (j1_test): Likewise.
35031         (jn_test): Likewise.  Add trailing semicolon to existing test.
35032         (y0_test): Likewise.
35033         (y1_test): Likewise.
35034         * sysdeps/i386/fpu/libm-test-ulps: Update.
35035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35036
35037         [BZ #13851]
35038         [BZ #13854]
35039         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35040         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35041         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35042         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35043         (__tanl): Set errno for infinite argument.
35044         * sysdeps/i386/fpu/mptan.c: Remove.
35045         * sysdeps/i386/fpu/s_tan.S: Likewise.
35046         * sysdeps/i386/fpu/s_tanl.S: Likewise.
35047         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35048         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35049         * math/libm-test.inc (tan_test): Add more tests and enable more
35050         tests for double and long double.
35051         * sysdeps/i386/fpu/libm-test-ulps: Update.
35052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35053
35054 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
35055
35056         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35057         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35058
35059 2012-03-16  Roland McGrath  <roland@hack.frob.com>
35060
35061         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35062         * configure.in: Use it for both main tree and add-ons.
35063         * configure: Regenerated.
35064
35065 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35066
35067         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35068
35069 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
35070
35071         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35072         in comment.
35073
35074         [BZ #13851]
35075         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35076         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35077         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35078         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35079         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35080         infinite argument.
35081         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35082         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35083         != 0 for prec == 2.
35084         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35085         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35086         * sysdeps/i386/fpu/s_cosl.S: Likewise.
35087         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35088         * sysdeps/i386/fpu/s_sinl.S: Likewise.
35089         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35090         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35091         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35092         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35093         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35094         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35095         * math/libm-test.inc (cos_test): Add more tests and enable more
35096         tests for long double.
35097         (sin_test): Likewise.
35098         (sincos_test): Likewise.
35099         * sysdeps/i386/fpu/libm-test-ulps: Update.
35100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35101
35102 2012-03-16  David S. Miller  <davem@davemloft.net>
35103
35104         * sysdeps/sparc/fpu/math_private.h: New file.
35105
35106 2012-03-15  David S. Miller  <davem@davemloft.net>
35107
35108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35109         file.
35110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
35111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35112         file.
35113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35114         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35115         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35116         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35117         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35118         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35119         sysdep routines.
35120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35121
35122         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35123         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35124
35125         * sysdeps/sparc/sparc-ifunc.h: New file.
35126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35127         sparc-ifunc.h
35128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35130         Likewise.
35131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35132         Likewise.
35133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35137         Likewise.
35138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
35142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35143         Likewise.
35144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35145         Likewise.
35146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35150         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35151         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35152         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35153         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35154         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35155         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35156         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35157         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35158         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35159         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35160         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35161         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35162         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35163         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35164         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35165         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35166         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35167         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35168         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35169         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35170
35171 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
35172
35173         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35174         scaling.
35175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35176
35177 2012-03-15  Andreas Jaeger  <aj@suse.de>
35178
35179         [BZ #13852]
35180         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35181         ieee754/flt-32 implementation for sin, cos and sincos.
35182         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35183         * sysdeps/i386/fpu/s_cosf.S: Likewise.
35184         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35185         * sysdeps/i386/fpu/s_sinf.S: Likewise.
35186         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35187         ieee754/flt-32 implementation for tan.
35188
35189         * math/libm-test.inc (cos_test): Enable some large input tests for
35190         float as well
35191         (sin_test): Likewise.
35192         (sincos_test): Likewise.
35193         (tan_test): Add tests for large input.
35194
35195         * sysdeps/i386/fpu/libm-test-ulps: Update.
35196
35197 2012-03-15  Andreas Jaeger  <aj@suse.de>
35198
35199         [BZ #13658]
35200         * math/libm-test.inc (cos_test): Add more test cases.
35201         (sin_test): Likewise.
35202         (sincos_test): Likewise.
35203
35204 2012-03-15  Andreas Jaeger  <aj@suse.de>
35205
35206         [BZ #13837]
35207         * math/libm-test.inc (cos_test): Add a test case for large input
35208         value.
35209         (sin_test): Likewise.
35210         (sincos_test): Likewise.
35211
35212 2012-03-15  Andreas Jaeger  <aj@suse.de>
35213             Joseph Myers  <joseph@codesourcery.com>
35214
35215         [BZ #13658]
35216         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
35217         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35218         * sysdeps/i386/fpu/branred.c: Likewise.
35219         * sysdeps/i386/fpu/dosincos.c: Likewise.
35220         * sysdeps/i386/fpu/mpa.c: Likewise.
35221         * sysdeps/i386/fpu/s_cos.S: Likewise.
35222         * sysdeps/i386/fpu/s_sin.S: Likewise.
35223         * sysdeps/i386/fpu/s_sincos.S: Likewise.
35224         * sysdeps/i386/fpu/sincos32.c: Likewise.
35225
35226         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35227         Define.
35228         (libc_feupdateenv_53bit): Define.
35229         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35230         Define.
35231         (libc_feupdateenv_53bit): Define.
35232
35233         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35234         53 bit (without extend i386 double precision).
35235
35236         * math/libm-test.inc (sincos_test): Add tests for large input.
35237         (sin): Likewise.
35238         (cos): Likewise.
35239
35240         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35241
35242 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
35243
35244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35245
35246 2012-03-15  David S. Miller  <davem@davemloft.net>
35247
35248         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35249         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35250         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35251         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35253         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35256         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35257         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35258         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35259         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35260         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35261         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35262         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
35263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35264         file.
35265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
35266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35267         file.
35268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
35269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35270         file.
35271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
35272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35273         file.
35274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35275         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35276         fmin/fmax sysdep routines.
35277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35278
35279 2012-03-14  David S. Miller  <davem@davemloft.net>
35280
35281         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35282         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35283         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35284         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35285         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35286         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35287         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35288         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35289         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35290         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35291         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35292         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35293         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35294         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35295         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35296         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35297         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35298         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35299         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35300         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35301         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35302         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35303         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35304         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35305         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35306         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35307         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35308         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
35309         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35310         routines.
35311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35312         file.
35313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
35314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35315         file.
35316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
35317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35318         file.
35319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
35320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35321         file.
35322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
35323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35324         file.
35325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
35326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35327         file.
35328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35329         file.
35330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35331         file.
35332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35333         file.
35334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35335         New file.
35336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35337         file.
35338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35339         file.
35340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
35341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35342         file.
35343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
35344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35345         file.
35346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
35347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35348         file.
35349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
35350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35351         VIS3 routines.
35352
35353         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35354         New file.
35355
35356         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35357
35358         * sysdeps/sparc/configure.in: New file.
35359         * sysdeps/sparc/configure: Generate.
35360         * configure.in (libc_cv_sparc_as_vis3): Substitute.
35361         * configure: Regenerate.
35362         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35363         * config.make.in (have-as-vis3): New.
35364         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35365         available use -Av9d instead of -Av9a.
35366         * sysdeps/sparc/sparc64/Makefile: Likewise.
35367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
35368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35369         New file.
35370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35371         file.
35372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35373         New file.
35374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35375         file.
35376         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35377         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35378         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35379         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35380         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35381
35382         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35383         fzeros/fnegs to load 0x80000000 into a float register instead of
35384         using the stack.
35385         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35386
35387 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
35388
35389         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35390         bits/syscall.h.
35391         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35392         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35393         ($(inst_includedir)/bits/syscall.h): Remove rule.
35394         ($(objpfx)bits/syscall.d): Include instead of
35395         $(objpfx)syscall-list.d.
35396         (generated): Change syscall-list.h and syscall-list.d to
35397         bits/syscall.h and bits/syscall.d.
35398
35399 2012-03-14  Roland McGrath  <roland@hack.frob.com>
35400
35401         [BZ #13846]
35402         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35403
35404 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
35405
35406         [BZ #13841]
35407         * math/s_csqrt.c: Include <float.h>.
35408         (__csqrt): Scale large or subnormal inputs.
35409         * math/s_csqrtf.c: Likewise.
35410         * math/s_csqrtl.c: Likewise.
35411         * math/libm-test.inc (csqrt_test): Add more tests.
35412         * sysdeps/i386/fpu/libm-test-ulps: Update.
35413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35414
35415         [BZ #13840]
35416         * math/libm-test.inc (hypot_test): Add more tests.
35417
35418 2012-03-13  David S. Miller  <davem@davemloft.net>
35419
35420         [BZ #13840]
35421         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35422         double-precision for the calculation instead of scaling.
35423
35424 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
35425
35426         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35427         manipulate bits before adding and subtracting TWO52[sx].
35428         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35429         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35430         Likewise.
35431         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35432
35433 2012-03-13  David S. Miller  <davem@davemloft.net>
35434
35435         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35436         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35437         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35438         rtld-global-offsets.h
35439         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35440
35441         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35442         large parameters.
35443
35444         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35445
35446         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35447         'err' in the ifdef scope in which it is actually used.
35448
35449         * nss/nss_db/db-init.c: Include string.h
35450
35451 2012-03-12  David S. Miller  <davem@davemloft.net>
35452
35453         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35454         masking out of the most significant byte of random value used.
35455         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35456         Fix coding style in previous change.
35457
35458         * sysdeps/unix/sysv/linux/kernel-features.h
35459         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35460         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35461         expression.
35462         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35463         later.
35464
35465 2012-03-11  David S. Miller  <davem@davemloft.net>
35466
35467         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35468         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35469         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35470         for 'resultvar' otherwise things get truncated on 64-bit.
35471
35472         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35473         Fix masking out of the most significant byte of random value used.
35474
35475         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35476
35477 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
35478
35479         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35480
35481 2012-03-09  David S. Miller  <davem@davemloft.net>
35482
35483         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35484         variables with appropriate CPP guards.
35485         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35486         from the frame pointer, not the stack pointer.  Correct layout
35487         comments.  Fix test on resulting framesize and the management of
35488         the outregs buffer for pltexit.  Preserve floating point return
35489         values across _dl_call_pltexit call.
35490         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35491         framesize and the management of the outregs buffer for pltexit.
35492         Preserve floating point return values across _dl_call_pltexit
35493         call.
35494         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35495         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35496         (la_sparc64_gnu_pltexit): New functions.
35497         (print_exit): Fix format string for return register value.
35498
35499 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
35500
35501         * sunrpc/Makefile (others): Add rpcgen.
35502         ($(objpfx)rpcgen): Remove special build rule and dependency on
35503         libc.
35504         * sunrpc/rpcgen.c: New file.
35505
35506 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
35507
35508         [BZ #13673]
35509         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35510         * stdio-common/bug-vfprintf-nargs.c: Likewise.
35511         * sysdeps/i386/crti.S: Likewise.
35512         * sysdeps/i386/crtn.S: Likewise.
35513         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35514         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35515         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35516         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35517         * sysdeps/sh/crti.S: Likewise.
35518         * sysdeps/sh/crtn.S: Likewise.
35519         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35520
35521         [BZ #13673]
35522         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35523         with URL.
35524         * locale/programs/locfile-kw.gperf: Likewise.
35525         * locale/programs/charmap-kw.h: Regenerated.
35526         * locale/programs/locfile-kw.h: Likewise.
35527
35528         [BZ #13673]
35529         * intl/plural.y: Replace FSF snail mail address with URL.
35530         * intl/plural.c: Regenerated.
35531
35532 2012-03-09  Richard Henderson  <rth@twiddle.net>
35533
35534         * include/math_private.h: Remove file.
35535         * math/math_private.h: Move file ...
35536         * sysdeps/generic/math_private.h: ... here.
35537
35538         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35539         * sysdeps/powerpc/fpu/math_private.h: Likewise.
35540         * sysdeps/x86_64/fpu/math_private.h: Likewise.
35541
35542         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
35543         and <math_private.h>.
35544         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35545         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35546         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35547         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35548         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35549         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35550         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35551         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35552         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35553         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35554         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35555         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35556         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35557         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35558         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35559         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35560         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35561         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35562         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35563         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35564         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35565         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35566         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35567         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35568         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35569         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35570         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35571         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35572         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35573         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35574         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35575         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35576         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35577         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35578         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35579         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35580         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35581         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35582         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35583         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35584         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35585         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35586         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35587         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35588         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35589         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35590         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35591         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35592         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35593         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35594         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35595         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35596         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35597         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35598         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35599         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35600         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35601         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35602         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35603         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35604         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35605         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35606         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35607         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35608         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35609         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35610         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35611         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35612         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35613         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35614         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35615         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35616         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35617         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35618         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35619         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35620         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35621         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35622         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35623         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35624         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35625         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35626         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35627         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35628         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35629         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35630         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35631         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35632         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35633         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35634         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35635         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35636         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35637         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35638         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35639         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35640         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35641         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35642         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35643         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35644         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35645         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35646         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35647         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35648         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35649         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35650         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35651         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35652         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35653         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35654         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35655         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35656         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35657         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35658         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35659         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35660         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35661         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35662         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35663         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35664         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35665         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35666         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35667         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35668         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35669         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35670         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35671         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35672         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35673         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35674         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35675         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35676         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35677         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35678         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35679         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35680         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35681         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35682         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35683         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35684         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35685         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35686         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35687         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35688         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35689         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35690         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35691         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35692         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35693         * sysdeps/ieee754/k_standard.c: Likewise.
35694         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35695         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35696         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35697         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35698         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35699         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35700         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35701         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35702         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35703         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35704         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35705         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35706         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35707         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35708         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35709         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35710         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35711         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35712         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35713         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35714         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35715         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35716         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35717         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35718         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35719         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35720         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35721         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35722         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35723         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35724         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35725         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35726         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35727         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35728         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35729         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35730         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35731         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35732         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35733         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35734         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35735         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35736         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35737         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35738         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35739         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35740         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35741         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35742         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35743         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35744         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35745         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35746         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35747         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35748         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35749         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35750         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35751         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35752         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35753         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35754         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35755         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35756         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35757         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35758         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35759         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35760         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35761         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35762         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35763         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35764         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35765         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35766         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35767         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35768         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35769         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35770         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35771         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35772         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35773         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35774         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35775         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35776         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35777         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35778         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35779         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35780         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35781         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35782         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35783         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35784         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35785         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35786         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35787         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35788         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35789         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35790         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35791         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35792         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35793         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35794         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35795         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35796         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35797         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35798         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35799         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35800         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35801         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35802         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35803         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35804         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35805         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35806         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35807         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35808         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35809         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35810         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35811         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35812         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35813         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35814         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35815         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35816         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35817         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35818         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35819         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35820         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35821         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35822         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35823         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35824         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35825         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35826         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35827         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35828         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35829         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35830         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35831         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35832         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35833         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35834         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35835         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35836         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35837         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35838         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35839         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35840         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35841         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35842         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35843         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35844         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35845         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35846         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35847         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35848         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35849         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35850         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35851         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35852         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35853         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35854         * sysdeps/ieee754/s_lib_version.c: Likewise.
35855         * sysdeps/ieee754/s_matherr.c: Likewise.
35856         * sysdeps/ieee754/s_signgam.c: Likewise.
35857         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35858         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35859         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35860         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35861         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35862         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35863         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35864         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35865         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35866         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35867         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35868         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35869         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35870         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35871         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35872         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35873         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35874         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35875         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35876         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35877         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35878
35879 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
35880
35881         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35882         * sunrpc/rpc_main.c: Likewise.
35883         * sunrpc/rpc_svcout.c: Likewise.
35884
35885 2012-03-09  David S. Miller  <davem@davemloft.net>
35886
35887         * include/math_private.h: New file.
35888
35889 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
35890
35891         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35892         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35893         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35894         from <bits/socket_type.h>.
35895         (enum __socket_type): Don't define here.
35896         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35897         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35898         bits/socket_type.h.
35899
35900         [BZ #13566]
35901         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35902         checking __USE_GNU.
35903
35904         * Makerules ($(inst_includedir)/%.h): New rule.
35905         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35906         (install-others): Remove variable setting.
35907         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35908
35909 2012-03-08  Richard Henderson  <rth@twiddle.net>
35910
35911         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35912         from macro to inline function; merge with the
35913         !__LIBC_INTERNAL_MATH_INLINES version.
35914         (__ieee754_sqrtf): Likewise.
35915
35916         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35917         to inline function.
35918         (__rintf, __floor, __floorf): Likewise.
35919
35920         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35921         macro to inline function.
35922         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35923
35924         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35925         not <math/math_private.h>.
35926
35927 2012-03-08  David S. Miller  <davem@davemloft.net>
35928
35929         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35930         copyright year.
35931         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35932
35933 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
35934
35935         * resolv/gai_misc.c (handle_requests): Fix struct timespec
35936         normalization.
35937         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35938         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35939
35940 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
35941
35942         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
35943         be defined individually, they must be defined as a block.  Define
35944         S for printing a string instead of hidint the different by using a
35945         macro for adding the 'l'.
35946         * stdio-common/tst-fphex-wide.c: Adjust.
35947
35948 2012-03-07  Marek Polacek  <polacek@redhat.com>
35949
35950         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35951
35952 2012-03-08  Marek Polacek  <polacek@redhat.com>
35953
35954         [BZ #13806]
35955         * stdio-common/Makefile (tests): Add tst-fphex-wide.
35956         * stdio-common/tst-fphex.c: Define a few macros to make the
35957         test reusable.  Use them.
35958         * stdio-common/tst-fphex-wide.c: New file.
35959
35960 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
35961
35962         [BZ #6911]
35963         * manual/macros.texi (gnusystems): New macro.
35964         (nongnusystems): Likewise.
35965         (gnulinuxhurdsystems): Likewise.
35966         (gnuhurdsystems): Likewise..
35967         (gnulinuxsystems): Likewise.
35968         * manual/charset.texi: Use new macros or @theglibc{} to refer to
35969         variants of the GNU system, not "GNU system".
35970         * manual/conf.texi: Likewise.
35971         * manual/errno.texi: Likewise.  Update example of errno macro
35972         expansion.
35973         * manual/filesys.texi: Likewise.
35974         (getumask): Document as specific to GNU/Hurd.
35975         * manual/install.texi: Likewise.  Reword some references to
35976         GNU/Linux.
35977         * manual/intro.texi: Likewise.
35978         * manual/io.texi: Likewise.
35979         (File Name Portability): Detail which constraints are inapplicable
35980         to all GNU systems and which are only inapplicable to GNU/Hurd.
35981         * manual/job.texi: Likewise.
35982         * manual/llio.texi: Likewise.
35983         (O_NOCTTY): Document as present on GNU/Linux.
35984         * manual/maint.texi: Likewise.
35985         * manual/memory.texi: Likewise.
35986         * manual/pattern.texi: Likewise.
35987         * manual/pipe.texi: Likewise.
35988         * manual/process.texi: Likewise.
35989         * manual/resource.texi: Likewise.
35990         (RUSAGE_CHILDREN): Remove statement about specifying a particular
35991         child on GNU/Hurd.
35992         * manual/setjmp.texi: Likewise.
35993         * manual/signal.texi: Likewise.
35994         * manual/startup.texi: Likewise.
35995         * manual/stdio.texi: Likewise.
35996         * manual/terminal.texi: Likewise.
35997         (ONLCR): Document as POSIX.
35998         (OXTABS): Document availability on GNU/Linux as XTABS.
35999         (ONOEOT): Document availability separately from other bits.
36000         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36001         * manual/time.texi: Likewise.
36002         * manual/users.texi: Likewise.
36003         * INSTALL: Regenerated.
36004         * sysdeps/gnu/errlist.c: Regenerated.
36005
36006         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36007         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36008         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
36009         puts.
36010         * configure: Regenerated.
36011
36012 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
36013
36014         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36015         default includes instead of AC_HEADER_CHECK.
36016         * sysdeps/i386/configure: Regenerated.
36017
36018         [BZ #10716]
36019         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36020         * math/s_cacoshf.c (__cacoshf): Likewise.
36021         * math/s_cacoshl.c (__cacoshl): Likewise.
36022         * math/s_casinh.c (__casinh): Set signs of result from argument.
36023         * math/s_casinhf.c (__casinhf): Likewise.
36024         * math/s_casinhl.c (__casinhl): Likewise.
36025         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36026         (casinh_test): Add more tests.
36027         * sysdeps/i386/fpu/libm-test-ulps: Update.
36028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36029
36030 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
36031
36032         * po/zh_TW.po: Update from translation team.
36033
36034         * login/Makefile (distribute): Remove variable.
36035         * catgets/Makefile: Likewise.
36036         * mach/Makefile: Likewise.
36037         * malloc/Makefile: Likewise.
36038         * misc/Makefile: Likewise.
36039         * iconv/Makefile: Likewise.
36040         * nscd/Makefile: Likewise.
36041         * hurd/Makefile: Likewise.
36042         * manual/Makefile: Likewise.
36043         * locale/Makefile: Likewise.
36044         * intl/Makefile: Likewise.
36045         * conform/Makefile: Likewise.
36046         * nss/Makefile: Likewise.
36047         * time/Makefile: Likewise.
36048         * soft-fp/Makefile: Likewise.
36049         * dirent/Makefile: Likewise.
36050         * gmon/Makefile: Likewise.
36051         * po/Makefile: Likewise.
36052         * rt/Makefile: Likewise.
36053         * socket/Makefile: Likewise.
36054         * math/Makefile: Likewise.
36055         * signal/Makefile: Likewise.
36056         * debug/Makefile: Likewise.
36057         * elf/Makefile: Likewise.
36058         * timezone/Makefile: Likewise.
36059         * stdlib/Makefile: Likewise.
36060         * iconvdata/Makefile: Likewise.
36061         * sunrpc/Makefile: Likewise.
36062         * io/Makefile: Likewise.
36063         * argp/Makefile: Likewise.
36064         * inet/Makefile: Likewise.
36065         * hesiod/Makefile: Likewise.
36066         * grp/Makefile: Likewise.
36067         * csu/Makefile: Likewise.
36068         * wctype/Makefile: Likewise.
36069         * crypt/Makefile: Likewise.
36070         * libio/Makefile: Likewise.
36071         * string/Makefile: Likewise.
36072         * nis/Makefile: Likewise.
36073         * resolv/Makefile: Likewise.
36074         * stdio-common/Makefile: Likewise.
36075         * wcsmbs/Makefile: Likewise.
36076         * dlfcn/Makefile: Likewise.
36077         * posix/Makefile: Likewise.
36078
36079         [BZ #6959]
36080         * timezone/Makefile: Don't install timezone files, just the programs
36081         and scripts.
36082
36083 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
36084
36085         * nss/databases.def: Add missing gshadow entry.
36086
36087         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
36088
36089 2012-03-06  Marek Polacek  <polacek@redhat.com>
36090
36091         [BZ #13726]
36092         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36093         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36094         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36095         * stdio-common/tst-long-dbl-fphex.c: New file.
36096
36097 2012-03-06  David S. Miller  <davem@davemloft.net>
36098
36099         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36100         (set_obp_int): New function.
36101         (get_obp_int): New function.
36102         (__get_clockfreq_via_dev_openprom): Likewise.
36103         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36104         Avoid unused variable warnings on 'val' and use builtin_expect.
36105         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36106         __builtin_expect.
36107         (INLINE_CLONE_SYSCALL): Likewise.
36108
36109 2012-03-05  David S. Miller  <davem@davemloft.net>
36110
36111         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36112
36113 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
36114
36115         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36116
36117         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36118         only for |x| >= 40.
36119         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36120
36121 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
36122
36123         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36124         Replace gettimeofday with __vdso_gettimeofday.
36125
36126         * sysdeps/unix/sysv/linux/x86_64/init-first.c
36127         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36128         __vdso_clock_gettime and __vdso_getcpu.
36129
36130         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36131         time with __vdso_time.
36132
36133 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
36134
36135         * manual/lang.texi (size_t): Note types to which size_t may be
36136         equivalent with the GNU C Library, but do not describe when
36137         differences between them are significant.
36138
36139 2012-03-05  Andreas Jaeger  <aj@suse.de>
36140
36141         * sysdeps/i386/fpu/libm-test-ulps: Update.
36142
36143 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
36144
36145         [BZ #3976]
36146         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36147         (__ieee754_pow): Save and restore rounding mode and use
36148         round-to-nearest for main computations.
36149         * math/libm-test.inc (pow_test_tonearest): New function.
36150         (pow_test_towardzero): Likewise.
36151         (pow_test_downward): Likewise.
36152         (pow_test_upward): Likewise.
36153         (main): Call the new functions.
36154         * sysdeps/i386/fpu/libm-test-ulps: Update.
36155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36156
36157         [BZ #3976]
36158         * math/libm-test.inc (cosh_test_tonearest): New function.
36159         (cosh_test_towardzero): Likewise.
36160         (cosh_test_downward): Likewise.
36161         (cosh_test_upward): Likewise.
36162         (sinh_test_tonearest): Likewise.
36163         (sinh_test_towardzero): Likewise.
36164         (sinh_test_downward): Likewise.
36165         (sinh_test_upward): Likewise.
36166         (main): Call the new functions.
36167         * sysdeps/i386/fpu/libm-test-ulps: Update.
36168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36169
36170 2012-03-05  Tom de Vries  <tom@codesourcery.com>
36171
36172         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36173         default stack guard is set in last bytes.
36174         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36175
36176 2012-03-05  Kees Cook  <keescook@chromium.org>
36177
36178         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
36179
36180         [BZ #13656]
36181         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36182         possibly allocate from heap instead of stack.
36183         * stdio-common/bug-vfprintf-nargs.c: New file.
36184         * stdio-common/Makefile (tests): Add nargs overflow test.
36185
36186 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
36187
36188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36189
36190 2012-03-03  Marek Polacek  <polacek@redhat.com>
36191
36192         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36193         * math/math_private.h: Likewise.
36194         * stdlib/tst-strtod.c: Likewise.
36195         * sysdeps/i386/i486/bits/atomic.h: Likewise.
36196         * sysdeps/x86_64/bits/atomic.h: Likewise.
36197
36198 2012-03-02  David S. Miller  <davem@davemloft.net>
36199
36200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36203         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36204         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36205         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36206         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36207         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36208
36209 2012-03-02  Roland McGrath  <roland@hack.frob.com>
36210
36211         [BZ #13792]
36212         * manual/examples/README: New file, says the example source files
36213         can be used under GPL>=2.
36214         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36215         line containing just "*/".
36216         * manual/examples/add.c: Add copyright header (GPL>=2).
36217         * manual/examples/argp-ex1.c: Likewise.
36218         * manual/examples/argp-ex2.c: Likewise.
36219         * manual/examples/argp-ex3.c: Likewise.
36220         * manual/examples/argp-ex4.c: Likewise.
36221         * manual/examples/atexit.c: Likewise.
36222         * manual/examples/db.c: Likewise.
36223         * manual/examples/dir.c: Likewise.
36224         * manual/examples/dir2.c: Likewise.
36225         * manual/examples/execinfo.c: Likewise.
36226         * manual/examples/filecli.c: Likewise.
36227         * manual/examples/filesrv.c: Likewise.
36228         * manual/examples/fmtmsgexpl.c: Likewise.
36229         * manual/examples/genpass.c: Likewise.
36230         * manual/examples/inetcli.c: Likewise.
36231         * manual/examples/inetsrv.c: Likewise.
36232         * manual/examples/isockad.c: Likewise.
36233         * manual/examples/longopt.c: Likewise.
36234         * manual/examples/memopen.c: Likewise.
36235         * manual/examples/memstrm.c: Likewise.
36236         * manual/examples/mkfsock.c: Likewise.
36237         * manual/examples/mkisock.c: Likewise.
36238         * manual/examples/mygetpass.c: Likewise.
36239         * manual/examples/pipe.c: Likewise.
36240         * manual/examples/popen.c: Likewise.
36241         * manual/examples/rprintf.c: Likewise.
36242         * manual/examples/search.c: Likewise.
36243         * manual/examples/select.c: Likewise.
36244         * manual/examples/setjmp.c: Likewise.
36245         * manual/examples/sigh1.c: Likewise.
36246         * manual/examples/sigusr.c: Likewise.
36247         * manual/examples/stpcpy.c: Likewise.
36248         * manual/examples/strdupa.c: Likewise.
36249         * manual/examples/strftim.c: Likewise.
36250         * manual/examples/strncat.c: Likewise.
36251         * manual/examples/subopt.c: Likewise.
36252         * manual/examples/swapcontext.c: Likewise.
36253         * manual/examples/termios.c: Likewise.
36254         * manual/examples/testopt.c: Likewise.
36255         * manual/examples/testpass.c: Likewise.
36256         * manual/examples/timeval_subtract.c: Likewise.
36257
36258         [BZ #13792]
36259         * manual/time.texi (Elapsed Time): Move timeval_subtract example
36260         function to ...
36261         * manual/timeval_subtract.c.texi: ... here, new file.
36262
36263 2012-03-02  David S. Miller  <davem@davemloft.net>
36264
36265         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36266
36267 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
36268
36269         [BZ #3976]
36270         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36271         (__sin): Save and restore rounding mode and use round-to-nearest
36272         for all computations.
36273         (__cos): Save and restore rounding mode and use round-to-nearest
36274         for all computations.
36275         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36276         <fenv.h>.
36277         (tan): Save and restore rounding mode and use round-to-nearest for
36278         all computations.
36279         * math/libm-test.inc (cos_test_tonearest): New function.
36280         (cos_test_towardzero): Likewise.
36281         (cos_test_downward): Likewise.
36282         (cos_test_upward): Likewise.
36283         (sin_test_tonearest): Likewise.
36284         (sin_test_towardzero): Likewise.
36285         (sin_test_downward): Likewise.
36286         (sin_test_upward): Likewise.
36287         (tan_test_tonearest): Likewise.
36288         (tan_test_towardzero): Likewise.
36289         (tan_test_downward): Likewise.
36290         (tan_test_upward): Likewise.
36291         (main): Call the new functions.
36292         * sysdeps/i386/fpu/libm-test-ulps: Update.
36293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36294
36295         [BZ #10135]
36296         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36297         small n, then large n, before computing and testing k+n.
36298         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36299         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36300         Likewise.
36301         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36302         Likewise.
36303         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36304         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36305         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36306         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36307         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36308         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36309         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36310         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36311         * math/libm-test.inc (scalbn_test): Add more tests.
36312         (scalbln_test): Likewise.
36313
36314         * manual/filesys.texi (mode_t): Describe constraints on size and
36315         signedness, not exact equivalence to a particular type.
36316         (ino_t): Likewise.
36317         (ino64_t): Likewise.
36318         (dev_t): Likewise.
36319         (nlink_t): Likewise.
36320         (blkcnt_t): Likewise.
36321         (blkcnt64_t): Likewise.
36322         * manual/llio.texi (off_t): Likewise.
36323
36324         [BZ #3976]
36325         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36326         (__ieee754_exp): Save and restore rounding mode and use
36327         round-to-nearest for all computations.
36328         * math/libm-test.inc (exp_test_tonearest): New function.
36329         (exp_test_towardzero): Likewise.
36330         (exp_test_downward): Likewise.
36331         (exp_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.
36335
36336 2012-03-01  Chris Demetriou  <cgd@google.com>
36337
36338         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36339         have predictable order.
36340
36341 2012-03-01  David S. Miller  <davem@davemloft.net>
36342
36343         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36344
36345         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36346         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36347         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36348         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36349
36350         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36351         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36352         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36353         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36354         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36355         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36356         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36357         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36358         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36359
36360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36361
36362         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36363         * sysdeps/sparc/fpu/libm-test-ulps: to here.
36364         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36365
36366         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36367         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36368         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36369         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36370         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36371         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36372         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36373         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36374         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36375         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36376         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36377         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36378         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36379         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36380         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36381         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36382         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36383         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36384         * sysdeps/sparc/elf/configure: Regenerated.
36385
36386 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
36387
36388         * configure.in (AS, LD): Require binutils 2.20 or later.
36389         * configure: Regenerated.
36390         * manual/install.texi (Tools for Compilation): Give binutils 2.20
36391         as required minimum version.
36392         * INSTALL: Regenerated.
36393
36394         [BZ #2541]
36395         [BZ #4108]
36396         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36397         before squaring exponent.
36398         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36399         bottom long double and 27 bits of top long double before squaring
36400         exponent.
36401         * math/libm-test.inc (erfc_test): Add more tests.
36402         * sysdeps/i386/fpu/libm-test-ulps: Update.
36403         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36405
36406 2012-03-01  Kai Tietz  <ktietz@redhat.com>
36407
36408         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36409         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36410         containing bit-fields.
36411         * soft-fp/extended.h (_FP_UNION_E): Likewise.
36412         * soft-fp/single.h (_FP_UNION_S): Likewise.
36413         * soft-fp/double.h (_FP_UNION_D): Likewise.
36414
36415 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
36416
36417         [BZ #13786]
36418         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36419         not include ../strcmp.S.
36420         [USE_AS_STRNCASECMP_L]: Likewise.
36421         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36422         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36423         * sysdeps/i386/i686/multiarch/strncase_l-c.c
36424         (__strncasecmp_l_ia32): Define as alias to
36425         __strncasecmp_l_nonascii.
36426
36427         [BZ #5794]
36428         * math/libm-test.inc (expm1_test): Add test for bug 5794.
36429         * sysdeps/i386/fpu/libm-test-ulps: Update.
36430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36431
36432         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36434
36435 2012-02-29  Jeff Law  <law@redhat.com>
36436
36437         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36438         out of bounds read.
36439
36440 2012-02-29  Marek Polacek  <polacek@redhat.com>
36441
36442         [BZ #13706]
36443         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36444         * elf/Makefile: Add rules to run tst-unused-dep.out.
36445
36446 2012-02-28  David S. Miller  <davem@davemloft.net>
36447
36448         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36449         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36450         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36451         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36452         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36453         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36454
36455 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
36456
36457         * math/libm-test.inc (llround_test): Move one test from
36458         lround_test.  Use TEST_f_L in moved test.
36459         (lround_test): Move misplaced test to llround_test.  Add testcase
36460         from bug 2561.
36461
36462 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
36463
36464         * sysdeps/x86_64/fpu/e_expf.S: New file.
36465         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36466
36467 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
36468
36469         [BZ #13637]
36470         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36471         of remain_len that may cause incomplete multi-byte character and
36472         false match.
36473         * posix/bug-regex33.c: New file.
36474         * posix/Makefile (tests): Add bug-regex33.
36475
36476 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
36477
36478         * manual/macros.texi: New file.
36479         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36480         * manual/libc.texinfo: Include macros.texi.
36481         * manual/creatute.texi: Likewise.
36482         * manual/install.texi: Likewise.
36483         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36484         @glibcadj{} in references to the GNU C Library.
36485         * manual/charset.texi: Likewise.
36486         * manual/conf.texi: Likewise.
36487         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
36488         when not using those macros.
36489         * manual/creature.texi: Likewise.
36490         * manual/crypt.texi: Likewise.
36491         * manual/errno.texi: Likewise.
36492         * manual/filesys.texi: Likewise.
36493         * manual/header.texi: Likewise.
36494         * manual/install.texi: Likewise.
36495         * manual/intro.texi: Likewise.
36496         * manual/io.texi: Likewise.
36497         * manual/job.texi: Likewise.
36498         * manual/lang.texi: Likewise.
36499         * manual/libc.texiinfo: Likewise.
36500         * manual/llio.texi: Likewise.
36501         * manual/locale.texi: Likewise.
36502         * manual/maint.texi: Likewise.
36503         * manual/math.texi: Likewise.
36504         * manual/memory.texi: Likewise.
36505         * manual/message.texi: Likewise.
36506         * manual/nss.texi: Likewise.
36507         * manual/pattern.texi: Likewise.
36508         * manual/process.texi: Likewise.
36509         * manual/resource.texi: Likewise.
36510         * manual/search.texi: Likewise.
36511         * manual/setjmp.texi: Likewise.
36512         * manual/signal.texi: Likewise.
36513         * manual/socket.texi: Likewise.
36514         * manual/startup.texi: Likewise.
36515         * manual/stdio.texi: Likewise.
36516         * manual/string.texi: Likewise.
36517         * manual/sysinfo.texi: Likewise.
36518         * manual/syslog.texi: Likewise.
36519         * manual/terminal.texi: Likewise.
36520         * manual/time.texi: Likewise.
36521         * manual/users.texi: Likewise.
36522         * INSTALL: Regenerated.
36523         * NOTES: Regenerated.
36524         * sysdeps/gnu/errlist.c: Regenerated.
36525
36526 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
36527
36528         * include/dirent.h: Include <dirstream.h> before
36529         <dirent/dirent.h>.
36530
36531 2012-02-28  David S. Miller  <davem@davemloft.net>
36532
36533         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36534         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36535         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36536         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36537
36538 2012-02-27  David S. Miller  <davem@davemloft.net>
36539
36540         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36541         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36542         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36543         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36544
36545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36546         frame pointer instead of stack pointer relative arg slot.
36547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36548         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36549         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36550
36551 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
36552
36553         [BZ #3992]
36554         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36555
36556 2012-02-27  David S. Miller  <davem@davemloft.net>
36557
36558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36560         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36561         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36562         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36563         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36564         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36565         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36566
36567 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
36568
36569         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36570         later.  Allow versions 5-9.
36571         * configure: Regenerated.
36572         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36573         required minimum version and 4.6 as recommended version.  Do not
36574         mention bugs in GCC 2.7 and 2.8.
36575         * INSTALL: Regenerated.
36576
36577 2012-02-27  David S. Miller  <davem@davemloft.net>
36578
36579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36583         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36584         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36585         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36586         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36587
36588         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36589         manipulate bits before adding and subtracting TWO112[sx].
36590         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36591
36592 2012-02-27  Roland McGrath  <roland@hack.frob.com>
36593
36594         [BZ #13775]
36595         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36596         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36597         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36598         being in POSIX, because they are in 1003.1-2008.
36599
36600         * rt/tst-aio.c: Include <fcntl.h>.
36601         * rt/tst-aio7.c: Likewise.
36602         * rt/tst-aio64.c: Likewise.
36603
36604         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36605
36606 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
36607
36608         * manual/install.texi (--with-headers): Describe headers as
36609         interface headers, not private headers.
36610         (Specific advice for GNU/Linux systems): Describe use of headers
36611         from "make headers_install", not private headers from older
36612         kernels.
36613         * INSTALL: Regenerated.
36614         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36615         Change to 2.6.19.
36616         * sysdeps/unix/sysv/linux/configure: Regenerated.
36617
36618         * manual/llio.texi (fclean): Remove documentation.
36619
36620         * manual/Makefile (libc-texi-generated): New variable.  Include
36621         version.texi.
36622         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36623         $(libc-texi-generated), not duplicated list of files.
36624         (version.texi, stamp-version): New rules.
36625         (realclean): Remove $(libc-texi-generated), not individual files
36626         from that list.  Do not remove dir-add.texinfo.
36627         * manual/libc.texinfo: Comment out uses of edition numbers and
36628         references to printed manual.  Remove last-updated dates.
36629         (EDITION): Comment out.
36630         (ISBN): Likewise.
36631         (VERSION, UPDATED): Remove.
36632         (version.texi): Include.
36633
36634 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
36635
36636         * sysdeps/posix/spawni.c: Include <signal.h>.
36637         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36638         * sysdeps/pthread/aio_fsync.c: Likewise.
36639
36640 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
36641
36642         * conform/Makefile (tests): Run only when not cross-compiling and
36643         when fast-check is not defined.
36644
36645         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36646         * conform/data/limits.h-data: Fixes for POSIX2008.
36647         * conform/run-conformtest.sh: Run all tests.
36648         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36649         headers.
36650         * include/bits/dlfcn.h: Likewise.
36651         * include/langinfo.h: Likewise.
36652         * include/monetary.h: Likewise.
36653         * include/sys/poll.h: Likewise.
36654
36655         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36656         for __USE_GNU.
36657         * posix/spawn.h: Define __need_sigset_t.
36658         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36659         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36660         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
36661         to get sigevent_t only.
36662         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36663         only for __USE_GNU.
36664         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36665         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36666         process_vm_writev only for __USE_GNU.
36667         * termios/termios.h: Declare tcgetsid also for POSIX2008.
36668
36669         * conform/Makefile: For now ignore errors from run-conformtest.
36670         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
36671         POSIX to avoid namespace pollution.  Don't prepend headers.
36672         * conform/data/aio.h-data: Fixes for POSIX testing.
36673         * conform/data/fcntl.h-data: Likewise.
36674         * conform/data/glob.h-data: Likewise.
36675         * conform/data/grp.h-data: Likewise.
36676         * conform/data/pthread.h-data: Likewise.
36677         * conform/data/pwd.h-data: Likewise.
36678         * conform/data/signal.h-data: Likewise.
36679         * conform/data/spawn.h-data: Likewise.
36680         * conform/data/stdio.h-data: Likewise.
36681         * conform/data/stdlib.h-data: Likewise.
36682         * conform/data/stropts.h-data: Likewise.
36683         * conform/data/sys/mman.h-data: Likewise.
36684         * conform/data/sys/stat.h-data: Likewise.
36685         * conform/data/sys/types.h-data: Likewise.
36686         * conform/data/sys/wait.h-data: Likewise.
36687         * conform/data/time.h-data: Likewise.
36688         * conform/data/unistd.h-data: Likewise.
36689         * conform/data/utime.h-data: Likewise.
36690
36691         * io/sys/stat.h: fchmod was always in POSIX.
36692         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36693         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36694         * rt/aio.h: Define __need_timespec before including <time.h>.
36695         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36696         struct.  Add forward declaration of pthread_attr_t and use it in
36697         sigevent.
36698         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36699         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36700         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36701         always remove CLK_TCK definition.
36702
36703 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
36704
36705         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36706
36707 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
36708
36709         * conform/run-conformtest.sh: New file.
36710         * conform/Makefile: Run run-conformtest for tests.
36711         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
36712         support.
36713
36714         * conform/data/uchar.h-data: New file.
36715         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36716         * conform/data/arpa/inet.h-data: Likewise.
36717         * conform/data/assert.h-data: Likewise.
36718         * conform/data/complex.h-data: Likewise.
36719         * conform/data/cpio.h-data: Likewise.
36720         * conform/data/ctype.h-data: Likewise.
36721         * conform/data/dirent.h-data: Likewise.
36722         * conform/data/dlfcn.h-data: Likewise.
36723         * conform/data/errno.h-data: Likewise.
36724         * conform/data/fcntl.h-data: Likewise.
36725         * conform/data/float.h-data: Likewise.
36726         * conform/data/fmtmsg.h-data: Likewise.
36727         * conform/data/fnmatch.h-data: Likewise.
36728         * conform/data/ftw.h-data: Likewise.
36729         * conform/data/glob.h-data: Likewise.
36730         * conform/data/grp.h-data: Likewise.
36731         * conform/data/iconv.h-data: Likewise.
36732         * conform/data/inttypes.h-data: Likewise.
36733         * conform/data/langinfo.h-data: Likewise.
36734         * conform/data/libgen.h-data: Likewise.
36735         * conform/data/limits.h-data: Likewise.
36736         * conform/data/locale.h-data: Likewise.
36737         * conform/data/math.h-data: Likewise.
36738         * conform/data/monetary.h-data: Likewise.
36739         * conform/data/mqueue.h-data: Likewise.
36740         * conform/data/ndbm.h-data: Likewise.
36741         * conform/data/net/if.h-data: Likewise.
36742         * conform/data/netdb.h-data: Likewise.
36743         * conform/data/netinet/in.h-data: Likewise.
36744         * conform/data/nl_types.h-data: Likewise.
36745         * conform/data/poll.h-data: Likewise.
36746         * conform/data/pthread.h-data: Likewise.
36747         * conform/data/pwd.h-data: Likewise.
36748         * conform/data/regex.h-data: Likewise.
36749         * conform/data/sched.h-data: Likewise.
36750         * conform/data/search.h-data: Likewise.
36751         * conform/data/semaphore.h-data: Likewise.
36752         * conform/data/setjmp.h-data: Likewise.
36753         * conform/data/signal.h-data: Likewise.
36754         * conform/data/spawn.h-data: Likewise.
36755         * conform/data/stdarg.h-data: Likewise.
36756         * conform/data/stdio.h-data: Likewise.
36757         * conform/data/stdlib.h-data: Likewise.
36758         * conform/data/string.h-data: Likewise.
36759         * conform/data/strings.h-data: Likewise.
36760         * conform/data/stropts.h-data: Likewise.
36761         * conform/data/sys/ipc.h-data: Likewise.
36762         * conform/data/sys/mman.h-data: Likewise.
36763         * conform/data/sys/msg.h-data: Likewise.
36764         * conform/data/sys/resource.h-data: Likewise.
36765         * conform/data/sys/select.h-data: Likewise.
36766         * conform/data/sys/sem.h-data: Likewise.
36767         * conform/data/sys/shm.h-data: Likewise.
36768         * conform/data/sys/socket.h-data: Likewise.
36769         * conform/data/sys/stat.h-data: Likewise.
36770         * conform/data/sys/statvfs.h-data: Likewise.
36771         * conform/data/sys/time.h-data: Likewise.
36772         * conform/data/sys/timeb.h-data: Likewise.
36773         * conform/data/sys/times.h-data: Likewise.
36774         * conform/data/sys/types.h-data: Likewise.
36775         * conform/data/sys/uio.h-data: Likewise.
36776         * conform/data/sys/un.h-data: Likewise.
36777         * conform/data/sys/utsname.h-data: Likewise.
36778         * conform/data/sys/wait.h-data: Likewise.
36779         * conform/data/syslog.h-data: Likewise.
36780         * conform/data/tar.h-data: Likewise.
36781         * conform/data/termios.h-data: Likewise.
36782         * conform/data/utime.h-data: Likewise.
36783         * conform/data/utmpx.h-data: Likewise.
36784         * conform/data/varargs.h-data: Likewise.
36785         * conform/data/wchar.h-data: Likewise.
36786         * conform/data/wctype.h-data: Likewise.
36787         * conform/data/wordexp.h-data: Likewise.
36788
36789         * include/stropts.h: New file.
36790         * include/uchar.h: New file.
36791         * include/aio.h: Changes to allow conformtest.pl to use the headers.
36792         * include/assert.h: Likewise.
36793         * include/ctype.h: Likewise.
36794         * include/dirent.h: Likewise.
36795         * include/dlfcn.h: Likewise.
36796         * include/fcntl.h: Likewise.
36797         * include/fnmatch.h: Likewise.
36798         * include/glob.h: Likewise.
36799         * include/grp.h: Likewise.
36800         * include/libio.h: Likewise.
36801         * include/locale.h: Likewise.
36802         * include/math.h: Likewise.
36803         * include/net/if.h: Likewise.
36804         * include/netdb.h: Likewise.
36805         * include/netinet/in.h: Likewise.
36806         * include/pthread.h: Likewise.
36807         * include/pwd.h: Likewise.
36808         * include/regex.h: Likewise.
36809         * include/sched.h: Likewise.
36810         * include/search.h: Likewise.
36811         * include/setjmp.h: Likewise.
36812         * include/signal.h: Likewise.
36813         * include/stdio.h: Likewise.
36814         * include/stdlib.h: Likewise.
36815         * include/string.h: Likewise.
36816         * include/sys/cdefs.h: Likewise.
36817         * include/sys/mman.h: Likewise.
36818         * include/sys/msg.h: Likewise.
36819         * include/sys/resource.h: Likewise.
36820         * include/sys/select.h: Likewise.
36821         * include/sys/socket.h: Likewise.
36822         * include/sys/stat.h: Likewise.
36823         * include/sys/statvfs.h: Likewise.
36824         * include/sys/time.h: Likewise.
36825         * include/sys/times.h: Likewise.
36826         * include/sys/uio.h: Likewise.
36827         * include/sys/utsname.h: Likewise.
36828         * include/sys/wait.h: Likewise.
36829         * include/termios.h: Likewise.
36830         * include/time.h: Likewise.
36831         * include/ulimit.h: Likewise.
36832         * include/unistd.h: Likewise.
36833         * include/utime.h: Likewise.
36834         * include/wchar.h: Likewise.
36835         * include/wctype.h: Likewise.
36836         * include/wordexp.h: Likewise.
36837
36838         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36839
36840         * time/time.h: TIME_UTC must be a macro.
36841         Make timespec_get available for ISO C11 only as well.
36842
36843 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
36844
36845         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36846         Reported by Peng Haitao <penght@cn.fujitsu.com>.
36847
36848 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36849
36850         * configure.in: Use -o not -a in test for unsupported multi-arch.
36851
36852 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36853
36854         * manual/texinfo.tex: Update to version 2012-01-19.16.
36855
36856 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36857
36858         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36859
36860 2012-02-24  Roland McGrath  <roland@hack.frob.com>
36861
36862         [BZ #13738]
36863         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36864         * manual/fdl-1.3.texi: New file.
36865         * manual/fdl-1.1.texi: File removed.
36866
36867         [BZ #13738]
36868         * manual/libc.texinfo (FDL_VERSION): New @set.
36869         Use it for mention of FDL in cover text.
36870         (Documentation License): Use it in @include file name.
36871
36872 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36873             Roland McGrath  <roland@hack.frob.com>
36874
36875         [BZ #5461]
36876         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36877         (not LONG_LONG_MAX and LONG_LONG_MIN.
36878         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36879         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
36880         name.
36881         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36882
36883 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36884
36885         [BZ #2547]
36886         [BZ #11365]
36887         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36888         manipulate bits before adding and subtracting TWO23[sx].
36889         * math/libm-test.inc (nearbyint_test): Add more tests.
36890
36891 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36892
36893         [BZ #2548]
36894         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36895         bits before adding and subtracting TWO23[sx].
36896         * math/libm-test.inc (rint_test): Add more tests.
36897         (rint_test_tonearest): Likewise.
36898         (rint_test_towardzero): Likewise.
36899         (rint_test_downward): Likewise.
36900         (rint_test_upward: Likewise.
36901
36902 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36903
36904         [BZ #10110]
36905         * include/stdc-predef.h: New file.  Extracted from features.h.
36906         * include/features.h: Include stdc-predef.h.
36907         * Makefile (headers): Add stdc-predef.h.
36908         * CONFORMANCE (Compiler limitations): Update.
36909
36910 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36911
36912         * manual/libc.texinfo (VERSION, UPDATED): Revert.
36913
36914 2012-02-21  David S. Miller  <davem@davemloft.net>
36915
36916         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36917         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36918
36919 2012-02-20  David S. Miller  <davem@davemloft.net>
36920
36921         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36922         using a normal save/restore sequence, rather than allocating a
36923         dummy stack frame just to store a frame pointer and restore.
36924         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36925
36926 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36927
36928         * manual/install.texi: Fix stray word in line-wrapped comment.
36929
36930 2012-02-20  David S. Miller  <davem@davemloft.net>
36931
36932         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36933         both binutils and gcc support GOTDATA.
36934
36935         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36936         "rd %pc" in the PIC register setup sequences.
36937
36938         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36939         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36940         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36941         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36942         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36943         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36944         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36945         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36946         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36947         (SYSCALL_ERROR_HANDLER): Likewise.
36948         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36949         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36950         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36951         (SYSCALL_ERROR_HANDLER): Likewise.
36952
36953         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36954         (HAVE_GCC_GOTDATA): New.
36955         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36956         relocation support in both binutils and gcc.
36957         * sysdeps/sparc/elf/configure: Regenerate.
36958
36959         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36960         * sysdeps/sparc/sparc32/elf/configure: Delete.
36961         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36962         * sysdeps/sparc/sparc64/elf/configure: Delete.
36963         * sysdeps/sparc/elf/configure.in: New file.
36964         * sysdeps/sparc/elf/configure: Generate.
36965
36966         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36967         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36968         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36969         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36970         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36971
36972 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36973
36974         * manual/install.texi: Do not mention specific glibc version
36975         numbers.
36976         * manual/libc.texinfo (VERSION, UPDATED): Update.
36977         (@copying): Use @copyright{} and range of years.
36978
36979 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36980
36981         [BZ #13695]
36982         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36983         [crti.S not in sysdirs] (generated): Do not append.
36984         [crti.S not in sysdirs] (omit-deps): Likewise.
36985         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36986         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36987         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36988         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36989         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36990         Likewise.
36991         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36992         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36993         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36994         * csu/defs.awk: Remove file.
36995         * sysdeps/generic/initfini.c: Likewise.
36996         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36997         variable.
36998         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36999         Likewise.
37000
37001 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
37002
37003         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37004         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37005         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37006         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37007         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37008         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37009         <bits/epoll.h>.
37010         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37011         (__EPOLL_PACKED): Define to empty if not defined by
37012         <bits/epoll.h>.
37013         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37014         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37015         bits/epoll.h.
37016
37017 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
37018
37019         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37020         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37021         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37022         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37023         <bits/timerfd.h>.
37024         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37025         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37026         bits/timerfd.h.
37027
37028 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
37029
37030         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37031         in C locale.
37032         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37033         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37034         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37036
37037 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
37038
37039         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37040         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37041
37042 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
37043
37044         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37045         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37046         defined.
37047         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37048         Likewise.
37049         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37050         entry for 2.16.
37051
37052 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
37053
37054         * math/w_acos.c: Use non-signaling floating-point comparisons.
37055         * math/w_acosf.c: Likewise.
37056         * math/w_acosh.c: Likewise.
37057         * math/w_acoshf.c: Likewise.
37058         * math/w_acoshl.c: Likewise.
37059         * math/w_acosl.c: Likewise.
37060         * math/w_asin.c: Likewise.
37061         * math/w_asinf.c: Likewise.
37062         * math/w_asinl.c: Likewise.
37063         * math/w_atanh.c: Likewise.
37064         * math/w_atanhf.c: Likewise.
37065         * math/w_atanhl.c: Likewise.
37066         * math/w_exp2.c: Likewise.
37067         * math/w_exp2f.c: Likewise.
37068         * math/w_exp2l.c: Likewise.
37069         * math/w_j0.c: Likewise.
37070         * math/w_j0f.c: Likewise.
37071         * math/w_j0l.c: Likewise.
37072         * math/w_j1.c: Likewise.
37073         * math/w_j1f.c: Likewise.
37074         * math/w_j1l.c: Likewise.
37075         * math/w_jn.c: Likewise.
37076         * math/w_jnf.c: Likewise.
37077         * math/w_log.c: Likewise.
37078         * math/w_log10.c: Likewise.
37079         * math/w_log10f.c: Likewise.
37080         * math/w_log10l.c: Likewise.
37081         * math/w_log2.c: Likewise.
37082         * math/w_log2f.c: Likewise.
37083         * math/w_log2l.c: Likewise.
37084         * math/w_logf.c: Likewise.
37085         * math/w_logl.c: Likewise.
37086         * math/w_sqrt.c: Likewise.
37087         * math/w_sqrtf.c: Likewise.
37088         * math/w_sqrtl.c: Likewise.
37089         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37090         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37091         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37092         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37093         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37094
37095 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
37096
37097         [BZ #9739]
37098         * manual/string.texi (strnlen): Use correct parameter name in
37099         equivalent expression.
37100
37101 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
37102
37103         [BZ #11174]
37104         * manual/users.texi (seteuid): Consistently use neweuid for
37105         argument name.
37106
37107 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
37108
37109         [BZ #13704]
37110         * manual/nss.texi (Services in the NSS configuration): Correct
37111         list of services in example configuration file.
37112
37113 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
37114
37115         [BZ #11322]
37116         * manual/arith.texi: Remove statements about negative zero
37117         behaving identically to zero.
37118
37119 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
37120
37121         [BZ #5993]
37122         * manual/install.texi: Do not document upgrading from libc5.
37123
37124 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
37125
37126         [BZ #4596]
37127         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37128
37129 2012-02-18  David S. Miller  <davem@davemloft.net>
37130
37131         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37132         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37133         %o7 across the call.
37134         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37135         instead.
37136         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37137         SETUP_PIC_REG_LEAF.
37138         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37139         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37140         * sysdeps/sparc/crtn.S: Likewise.
37141
37142 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
37143
37144         * aout/Makefile: Remove.
37145
37146 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
37147
37148         [BZ #13058]
37149         * manual/examples/argp-ex1.c (main): Format definition in GNU
37150         style.
37151         * manual/examples/argp-ex2.c (main): Likewise.
37152         * manual/examples/argp-ex3.c (main): Likewise.
37153         * manual/examples/argp-ex4.c (main): Likewise.
37154         * manual/examples/longopt.c (main): Use new-style prototype
37155         definition.
37156         * manual/examples/strncat.c (main): Specify return type and use
37157         (void) for arguments.
37158         * manual/examples/subopt.c (main): Use char **argv argument.
37159
37160 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37161
37162         [BZ #5077]
37163         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37164         rounding modes.
37165
37166 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
37167
37168         [BZ #6907]
37169         * manual/string.texi (strchr): Change when strchrnul is
37170         recommended.
37171
37172 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
37173
37174         [BZ #174]
37175         * manual/locale.texi (setlocale): Document LOCPATH.
37176
37177 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37178
37179         [BZ #10210]
37180         * manual/process.texi (execle): Move @dots{} before last argument.
37181
37182 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
37183
37184         [BZ #12047]
37185         * manual/charset.texi (Generic Charset Conversion): Fix typo
37186         (LC_TYPE -> LC_CTYPE).
37187
37188 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
37189
37190         [BZ #5805]
37191         * manual/arith.texi (scalbn): Use @var{} on parameter names.
37192         (scalbnf): Likewise.
37193         (scalbnl): Likewise.
37194         (scalbln): Likewise.
37195         (scalblnf): Likewise.
37196         (scalblnl): Likewise.
37197         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37198         (vwarnx): Likewise.
37199         (verr): Likewise.
37200         (verrx): Likewise.
37201         * manual/filesys.texi (telldir): Use braces around return type.
37202         * manual/llio.texi (mmap): Add space after comma.
37203         (mmap64): Likewise.
37204         * manual/math.texi (jn): Use @var{} on parameter names.
37205         (jnf): Likewise.
37206         (jnl): Likewise.
37207         (yn): Likewise.
37208         (ynf): Likewise.
37209         (ynl): Likewise.
37210         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37211         line.
37212         * manual/resource.texi (ulimit): Use @dots{} instead of literal
37213         "...".
37214         (sched_get_priority_min): Remove semicolon on @deftypefun line.
37215         (sched_get_priority_max): Likewise.
37216         * manual/signal.texi (sigvec): Add space after comma.
37217         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37218         names.
37219         (if_indextoname): Likewise.
37220         (if_freenameindex): Likewise.
37221         (sendto): Use ',' instead of '.' in prototype.
37222         * manual/startup.texi (syscall): Use @dots{} instead of literal
37223         "...".
37224         * manual/stdio.texi (__fpending): Separate initial words of
37225         paragraph from @deftypefun line.
37226         * manual/syslog.texi (syslog): Use @dots{} instead of literal
37227         "...".
37228         (vsyslog): Use @var{} on parameter names.
37229         * manual/terminal.texi (stty): Use @var{} on parameter names.
37230         * manual/users.texi (getutmp): Use @var{} on parameter names.
37231         (getutmpx): Likewise.
37232
37233 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37234
37235         [BZ #6884]
37236         * manual/stdio.texi (fopen): Fix typos in description of
37237         ",ccs=STRING".
37238
37239 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
37240
37241         [BZ #4026]
37242         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37243         get clock_id definition.
37244
37245 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
37246
37247         [BZ #4822]
37248         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37249         (madvise): Cast every argument to void on its own.
37250
37251 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37252
37253         [BZ #9902]
37254         * manual/startup.texi (Exit Status): Fix typo.
37255
37256 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37257
37258         [BZ #10140]
37259         * manual/examples/argp-ex1.c: Include <stdlib.h>.
37260         * manual/examples/argp-ex2.c: Likewise.
37261         * manual/examples/argp-ex3.c: Likewise.
37262
37263 2012-02-16  Richard Henderson  <rth@redhat.com>
37264
37265         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37266         * sysdeps/s390/s390-32/initfini.c: Remove.
37267         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37268         * sysdeps/s390/s390-64/initfini.c: Remove.
37269
37270 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37271
37272         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37273         compiler output for sysdeps/generic/initfini.c.
37274         * sysdeps/sh/elf/initfini.c: Remove file.
37275
37276 2012-02-16  David S. Miller  <davem@davemloft.net>
37277
37278         [BZ #11494]
37279         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37280
37281         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37282         * sysdeps/sparc/crti.S: New file.
37283         * sysdeps/sparc/crtn.S: New file.
37284         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37285         * sysdeps/sparc/sparc64/Makefile: Likewise.
37286
37287 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
37288
37289         [BZ #3335]
37290         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37291
37292 2012-02-15  Roland McGrath  <roland@hack.frob.com>
37293
37294         [BZ #4822]
37295         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37296
37297         * mach/devstream.c (cookie_io_functions_t): Macro removed.
37298         (write, read, close): Likewise.
37299         Patch by Aurelien Jarno <aurelien@aurel32.net>.
37300
37301 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
37302
37303         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37304         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37305         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37306         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37307         <bits/signalfd.h>.
37308         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37309         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37310         bits/signalfd.h.
37311
37312 2012-02-14  Marek Polacek  <polacek@redhat.com>
37313
37314         * sysdeps/x86_64/crti.S: New file.
37315         * sysdeps/x86_64/crtn.S: New file.
37316         * sysdeps/x86_64/elf/initfini.c: Remove file.
37317
37318 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
37319
37320         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37321         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37322         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37323         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37324         <bits/inotify.h>.
37325         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37326         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37327         bits/inotify.h.
37328
37329 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
37330
37331         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37332         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37333         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37334         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37335         <bits/eventfd.h>.
37336         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37337         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37338         bits/eventfd.h.
37339
37340 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
37341
37342         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37343         __feraiseexcept instead of feraiseexcept.
37344
37345         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37346         nanosleep invocations.
37347         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37348         strings, and add error checking for a nanosleep invocations.
37349
37350 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
37351
37352         Replace FSF snail mail address with URLs, as per GNU coding standards.
37353         Most of the snail mail addresses were wrong anyway, and omitting
37354         them makes the source code easier to maintain.  Almost all of the
37355         changes are to license notices and to locale LC_IDENTIFICATION
37356         addresses, except for this one:
37357         * manual/libc.texinfo: In "Published by", give the FSF's URL,
37358         not its snail mail address.
37359
37360 2012-02-09  Richard Henderson  <rth@twiddle.net>
37361
37362         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37363         of kernel-features.h.
37364
37365         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37366
37367 2012-02-08  Marek Polacek  <polacek@redhat.com>
37368
37369         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37370         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37371         * sysdeps/gnu/_G_config.h: Likewise.
37372         * sysdeps/generic/_G_config.h: Likewise.
37373
37374 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
37375
37376         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37377         tests.
37378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37379
37380         * sysdeps/powerpc/powerpc32/crti.S: New file.
37381         * sysdeps/powerpc/powerpc32/crtn.S: New file.
37382         * sysdeps/powerpc/powerpc64/crti.S: New file.
37383         * sysdeps/powerpc/powerpc64/crtn.S: New file.
37384
37385         * Makeconfig (have-initfini): Don't set.
37386         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37387         * configure.in (nopic_initfini): Don't substitute.
37388         * config.h.in (HAVE_INITFINI): Don't #undef.
37389         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37390         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37391
37392 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
37393
37394         Support crti.S and crtn.S provided directly by architectures.
37395         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37396         [crti.S in sysdirs] (omit-deps): Likewise.
37397         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37398         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37399         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37400         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37401         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37402         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37403         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37404         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37405         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37406         compiler output for sysdeps/generic/initfini.c.
37407         * sysdeps/i386/elf/Makefile: Remove file.
37408         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37409
37410 2012-02-07  Marek Polacek  <polacek@redhat.com>
37411
37412         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37413         * sysdeps/gnu/_G_config.h: Likewise.
37414         * sysdeps/mach/hurd/_G_config.h: Likewise.
37415
37416 2012-02-07  Marek Polacek  <polacek@redhat.com>
37417
37418         * math/Makefile (tests): Add tst-CMPLX2.
37419         * math/tst-CMPLX2.c: New file.
37420
37421 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
37422
37423         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37424
37425         * math/libm-test.inc (jn_test): Add missing L suffix.
37426
37427 2012-02-06  Marek Polacek  <polacek@redhat.com>
37428
37429         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37430         * sysdeps/i386/fpu/e_powf.S: Likewise.
37431         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37432         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37433         * sysdeps/i386/fpu/e_acosh.S: Likewise.
37434         * sysdeps/i386/fpu/e_pow.S: Likewise.
37435         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37436         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37437         * sysdeps/i386/fpu/s_expm1.S: Likewise.
37438         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37439         * sysdeps/i386/fpu/e_log2.S: Likewise.
37440         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37441         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37442         * sysdeps/i386/fpu/e_powl.S: Likewise.
37443         * sysdeps/i386/fpu/s_log1p.S: Likewise.
37444         * sysdeps/i386/fpu/e_log10f.S: Likewise.
37445         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37446         * sysdeps/i386/fpu/e_logl.S: Likewise.
37447         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37448         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37449         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37450         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37451         * sysdeps/i386/fpu/e_log2f.S: Likewise.
37452         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37453         * sysdeps/i386/fpu/e_log.S: Likewise.
37454         * sysdeps/i386/fpu/s_cexp.S: Likewise.
37455         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37456         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37457         * sysdeps/i386/fpu/e_logf.S: Likewise.
37458         * sysdeps/i386/fpu/e_log10l.S: Likewise.
37459         * sysdeps/i386/fpu/e_atanh.S: Likewise.
37460         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37461         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37462         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37463         * sysdeps/i386/fpu/e_log10.S: Likewise.
37464         * sysdeps/i386/fpu/s_frexp.S: Likewise.
37465         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37466         * sysdeps/i386/fpu/s_asinh.S: Likewise.
37467         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37468         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37469         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37470         * sysdeps/i386/asm-syntax.h: Likewise.
37471         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37472         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37473         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37474         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37475         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37476         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37477         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37478         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37479         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37480         * sysdeps/powerpc/sysdep.h: Likewise.
37481         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37482         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37483
37484 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
37485
37486         [BZ #411]
37487         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37488
37489 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
37490
37491         * sysdeps/i386/sysdep.h: Include <features.h>.
37492         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37493         version.
37494
37495 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
37496
37497         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37498         Define.
37499         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37500         LOAD_PIC_REG_STR.
37501
37502 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
37503
37504         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37505         (SETUP_PIC_REG): Use GET_PC_THUNK.
37506         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37507         macro.
37508
37509 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
37510
37511         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37512         for non-PIC compilation.
37513         (SETUP_PIC_REG): Add .p2align directive.
37514         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37515         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37516         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37517         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37518         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37519         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37520         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37521         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37522         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37523         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37524         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37525         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37526         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37527         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37528         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37529         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37530         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37531         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37532         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37533         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37534         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37535         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37536         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37537         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37538         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37539         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37540         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37541         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37542         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37543         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37544         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37545         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37546         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37547         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37548         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37549         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37550         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37551         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37552         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37553         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37554         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37555
37556 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
37557
37558         * math/tst-CMPLX.c: Include <stdio.h>.
37559
37560 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
37561
37562         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37563         float.
37564         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37565         * sysdeps/sparc/bits/mathdef.h: Likewise.
37566
37567 2012-01-31  Marek Polacek  <polacek@redhat.com>
37568
37569         * libio/libio.h: Don't define _PARAMS.
37570         * locale/programs/config.h: Don't define PARAMS.
37571         * stdlib/strtol_l.c: Likewise.
37572         (__strtol_l): Remove PARAMS from the prototype.
37573
37574 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
37575
37576         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
37577         names.  Just use the correct names.  Remove unnecessary wrapper
37578         functions.
37579         * malloc/arena.c: Likewise.
37580         * malloc/hooks.c: Likewise.
37581
37582         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37583         ARENA_TEST says not to.  Simplify test for creation of a new arena.
37584         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37585
37586 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
37587
37588         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37589         into tail calls.
37590         (update_get_addr): New function.
37591         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37592         GET_ADDR_MODULE parameter.
37593
37594 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
37595
37596         * crypt/cert.c: Remove __STDC__ conditionals.
37597         * crypt/crypt-entry.c: Likewise.
37598         * crypt/crypt_util.c: Likewise.
37599         * libio/filedoalloc.c: Likewise.
37600         * libio/fileops.c: Likewise.
37601         * libio/genops.c: Likewise.
37602         * libio/iofclose.c: Likewise.
37603         * libio/iofdopen.c: Likewise.
37604         * libio/iofopen.c: Likewise.
37605         * libio/iofopen64.c: Likewise.
37606         * libio/iogetdelim.c: Likewise.
37607         * libio/iopopen.c: Likewise.
37608         * libio/obprintf.c: Likewise.
37609         * libio/oldfileops.c: Likewise.
37610         * libio/oldiofclose.c: Likewise.
37611         * libio/oldiofdopen.c: Likewise.
37612         * libio/oldiofopen.c: Likewise.
37613         * libio/oldiopopen.c: Likewise.
37614         * libio/wfiledoalloc.c: Likewise.
37615         * libio/wgenops.c: Likewise.
37616         * locale/programs/xmalloc.c: Likewise.
37617         * misc/syslog.c: Likewise.
37618         * stdio-common/xbug.c: Likewise.
37619         * string/memchr.c: Likewise.
37620         * string/memcmp.c: Likewise.
37621         * string/memrchr.c: Likewise.
37622         * string/rawmemchr.c: Likewise.
37623         * sysdeps/posix/getcwd.c: Likewise.
37624         * time/strftime_l.c: Likewise.
37625
37626 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
37627
37628         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37629         * config.make.in (config-cflags-sse2avx): Define.
37630         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37631         Fix typo.
37632
37633 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
37634
37635         * scripts/config.guess: Update from upstream config git repository.
37636         * scripts/config.sub: Likewise.
37637
37638 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
37639
37640         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37641         (EM_NUM): Update.
37642         (R_TILEPRO_*, R_TILEGX_*): New macros.
37643
37644         * scripts/firstversions.awk: Fix bug in version range handling.
37645
37646         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37647
37648         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37649
37650         * include/sys/epoll.h: New file.
37651         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37652         libc_hidden_def.
37653
37654 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
37655
37656         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37657         Avoid unnecessary __WORDSIZE == 64 test.
37658         (fmaxf): Use VEX format if possible.
37659         (fmax): Likewise.
37660         (fminf): Likewise.
37661         (fmin): Likewise.
37662
37663         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37664         * math/math_private.h: Remove libc_fegetround* and
37665         libc_fesetround*.
37666         * sysdeps/i386/configure.in: Check for -msse2avx.
37667         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37668         also if SSE2AVX is defined.
37669         Remove libc_fegetround* and libc_fesetround*.
37670         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37671         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
37672         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37673         of HAS_YMM_USABLE.
37674         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37675         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37676         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37677         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37678         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37679
37680         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37681
37682 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37683
37684         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37685         size is not set.
37686         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37687
37688 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
37689
37690         [BZ #13618]
37691         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37692         relocation.
37693         * Makeconfig (libm): Define.
37694         * elf/Makefile: Add rules to build and run tst-relsort1.
37695         * elf/tst-relsort1.c: New file.
37696         * elf/tst-relsort1mod1.c: New file.
37697         * elf/tst-relsort1mod2.c: New file.
37698
37699 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
37700
37701         * math/s_ldexp.c: Remove __STDC__ conditionals.
37702         * math/s_ldexpf.c: Likewise.
37703         * math/s_ldexpl.c: Likewise.
37704         * math/s_nextafter.c: Likewise.
37705         * math/s_nexttowardf.c: Likewise.
37706         * math/s_significand.c: Likewise.
37707         * math/s_significandf.c: Likewise.
37708         * math/s_significandl.c: Likewise.
37709         * math/w_jnl.c: Likewise.
37710         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37711         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37712         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37713         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37714         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37715         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37716         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37717         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37718         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37719         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37720         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37721         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37722         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37723         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37724         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37725         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37726         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37727         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37728         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37729         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37730         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37731         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37732         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37733         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37734         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37735         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37736         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37737         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37738         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37739         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37740         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37741         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37742         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37743         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37744         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37745         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37746         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37747         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37748         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37749         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37750         * sysdeps/ieee754/k_standard.c: Likewise.
37751         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37752         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37753         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37754         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37755         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37756         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37757         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37758         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37759         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37760         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37761         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37762         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37763         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37764         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37765         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37766         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37767         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37768         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37769         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37770         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37771         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37772         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37773         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37774         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37775         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37776         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37777         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37778         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37779         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37780         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37781         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37782         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37783         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37784         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37785         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37786         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37787         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37788         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37789         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37790         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37791         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37792         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37793         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37794         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37795         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37796         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37797         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37798         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37799         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37800         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37801         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37802         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37803         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37804         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37805         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37806         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37807         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37808         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37809         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37810         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37811         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37812         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37813         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37814         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37815         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37816         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37817         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37818         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37819         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37820         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37821         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37822         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37823         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37824         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37825         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37826         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37827         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37828         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37829         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37830         * sysdeps/ieee754/s_matherr.c: Likewise.
37831         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37832         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37833         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37834         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37835
37836 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
37837
37838         * crypt/md5.h: Remove __STDC__ conditionals.
37839         * libio/libioP.h: Likewise.
37840         * locale/programs/config.h: Likewise.
37841         * sysdeps/generic/sysdep.h: Likewise.
37842         * sysdeps/i386/asm-syntax.h: Likewise.
37843         * sysdeps/s390/asm-syntax.h: Likewise.
37844         * sysdeps/unix/sysdep.h: Likewise.
37845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37847
37848 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
37849
37850         * libio/libio.h: Remove __STDC__ conditionals.
37851         * malloc/obstack.h: Likewise.
37852         * math/complex.h: Likewise.
37853         * math/math.h: Likewise.
37854         * sysdeps/generic/_G_config.h: Likewise.
37855         * sysdeps/gnu/_G_config.h: Likewise.
37856         * sysdeps/mach/hurd/_G_config.h: Likewise.
37857         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37858         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37859         * sysdeps/sparc/bits/mathdef.h: Likewise.
37860
37861 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
37862
37863         [BZ #13583]
37864         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37865         Clean up HAS_* macros.
37866         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37867         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37868         possible.
37869         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37870         HAS_AVX.
37871         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37872         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37873         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37874         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37875         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37876
37877 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
37878
37879         * elf/tst-unique3.cc (gets): Remove declaration.
37880         * elf/tst-unique3lib.cc (gets): Likewise.
37881         * elf/tst-unique3lib2.cc (gets): Likewise.
37882         * elf/tst-unique4.cc (gets): Likewise.
37883
37884 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
37885
37886         * include/stdio.h: Add C++ protection.  Add gets declarations and
37887         definitions.
37888         * debug/tst-chk1.c: Don't declare gets here.
37889         * stdio-common/tst-gets.c: Likewise.
37890
37891 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
37892
37893         * posix/glob: Remove directory.
37894
37895 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
37896
37897         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37898
37899 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
37900
37901         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37902         of the non-standard EPFNOSUPPORT.
37903
37904 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37905
37906         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37907         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37908         ANYWHERE set to 1 only on KERN_NO_SPACE error.
37909
37910 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
37911
37912         * wcsmbs/uchar.h: Test __STDC_VERSION__.
37913
37914 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
37915
37916         * nscd/aicache.c (addhstaiX): Do not cache negative results of
37917         transient errors.
37918         * nscd/grpcache.c (cache_addgr): Likewise.
37919         * nscd/hstcache.c (cache_addhst): Likewise.
37920         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37921         * nscd/pwdcache.c (cache_addpw): Likewise.
37922         * nscd/servicescache.c (cache_addserv): Likewise.
37923
37924 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
37925
37926         * malloc/malloc.c: Various cleanups.
37927         * malloc/hooks.c: Likewise.
37928
37929         * stdlib/Makefile (tests): Add bug-fmtmsg1.
37930         * stdlib/bug-fmtmsg1.c: New file.
37931
37932         * stdlib/fmtmsg.c (init): Add missing unlock.
37933         Patch by Peng Haitao <penght@cn.fujitsu.com>.
37934
37935 2012-01-12  Marek Polacek  <polacek@redhat.com>
37936
37937         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37938         and _GNU_SOURCE.
37939
37940 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
37941
37942         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37943         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37944         macro to ensure uniqueness of label name.
37945         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37946         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37947
37948 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
37949
37950         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37951
37952         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37953         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37954         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37955         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37956
37957 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
37958
37959         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37960
37961         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37962         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37963         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37964
37965         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37966
37967         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37968         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37969         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37970         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37971
37972         * math/bits/math-finite.h: Add ldexp support.
37973
37974 2012-01-10  Marek Polacek  <polacek@redhat.com>
37975
37976         * locale/programs/localedef.h (show_archive_content): Add noreturn
37977         attribute.
37978
37979 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
37980
37981         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37982
37983 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37984
37985         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37986
37987         * io/Makefile (headers): Add bits/poll2.h.
37988
37989 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
37990
37991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37992         typo #include statement.
37993
37994 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37995
37996         * include/sys/cdefs.h: Define __attribute_alloc_size.
37997         * catgets/gencat.c: Add alloc_size attribute and apply consistently
37998         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37999         * elf/pldd.c: Likewise.
38000         * iconv/iconv_charmap.c: Likewise.
38001         * iconv/iconvconfig.c: Likewise.
38002         * iconv/strtab.c: Likewise.
38003         * locale/programs/locale.c: Likewise.
38004         * locale/programs/localedef.h: Likewise.
38005         * locale/programs/simple-hash.c: Likewise.
38006         * nscd/nscd.h: Likewise.
38007         * nss/makedb.c: Likewise.
38008         * sysdeps/generic/ldconfig.h: Likewise.
38009         * locale/programs/localedef.c: Remove xmalloc prototype.
38010         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38011
38012 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
38013
38014         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38015         appropriate.
38016
38017 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
38018
38019         * math/Makefile (tests): Add tst-CMPLX.
38020         * math/tst-CMPLX.c: New file.
38021
38022         * math/complex.h (CMPLXL): Fix typo.
38023
38024         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38025         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38026         GLIBC_2.16.
38027         * debug/tst-chk1.c: Add poll and ppoll tests.
38028         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38029         * include/sys/poll.h: Add hidden proto for ppoll.
38030         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38031         * sysdeps/mach/hurd/ppoll.c: Likewise.
38032         * io/ppoll.c: Likewise.
38033         * debug/poll_chk.c: New file.
38034         * debug/ppoll_chk.c: New file.
38035         * include/bits/poll2.h: New file.
38036         * io/bits/poll2.h: New file.
38037
38038         [BZ #1350]
38039         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38040
38041         * configure.in: static is always set to yes.  Remove.
38042         * config.make.in: Don't set build-static.
38043         * Makeconfig: Remove use of build-static.
38044         * dlfcn/Makefile: Likewise.
38045         * elf/Makefile: Likewise.
38046         * math/Makefile: Likewise.
38047         * misc/Makefile: Likewise.
38048         * nptl/Makefile: Likewise.
38049         * sysdeps/mach/hurd/Makefile: Likewise.
38050
38051         * configure.in: PWD_P is not used anymore.
38052         * config.make.in: Remove PWD_P entry.
38053
38054         * configure.in: Remove last remnants of RANLIB.
38055         No need to check for signed size_t anymore.
38056         Don't set libc_commonpagesize and libc_relro_required here for Alpha
38057         and IA-64.
38058         Remove __builtin_expect test because we require at least gcc 3.4.
38059         * aclocal.m4: Likewise.
38060
38061         * wcsmbs/mbrtoc16.c: Implement using towc function.
38062         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38063         * wcsmbs/wcsmbsload.c: Likewise.
38064         * iconv/gconv_simple.c: Likewise.
38065         * iconv/gconv_int.h: Likewise.
38066         * iconv/gconv_builtin.h: Likewise.
38067         * iconv/iconv_prog.c: Remove CHAR16 handling.
38068
38069         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38070
38071         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38072
38073         * configure.in: Remove --with-elf and --enable-bounded options.
38074         Dont set base_machine for ia64.  More non-ELF conditions removed.
38075         Remove testing and setting of leading underscore information.
38076         * config.make.in (build-bounded): Set to no.
38077         * config.h.in: Remove NO_UNDERSCORES entry.
38078         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
38079         them.
38080         * csu/start.c: Remove !NO_UNDERSCORE code.
38081         * locale/localeinfo.h: Likewise.
38082         * sysdeps/generic/machine-gmon.h: Likewise.
38083         * sysdeps/generic/sysdep.h: Likewise.
38084         * sysdeps/i386/sysdep.h: Likewise.
38085         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38086         * sysdeps/mach/sysdep.h: Likewise.
38087         * sysdeps/s390/s390-32/sysdep.h: Likewise.
38088         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38089         * sysdeps/sh/sysdep.h: Likewise.
38090         * sysdeps/sparc/sparc32/alloca.S: Likewise.
38091         * sysdeps/unix/i386/sysdep.S: Likewise.
38092         * sysdeps/unix/sparc/start.c: Likewise.
38093         * sysdeps/unix/sparc/sysdep.S: Likewise.
38094         * sysdeps/unix/sparc/sysdep.h: Likewise.
38095         * sysdeps/unix/start.c: Likewise.
38096         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38097         * sysdeps/x86_64/sysdep.h: Likewise.
38098
38099 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
38100
38101         [BZ #13553]
38102         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38103         for non-gcc.
38104         * argp/argp-fmtstream.h: Use const instead __const.
38105         * argp/argp.h: Likewise.
38106         * assert/assert.h: Likewise.
38107         * bits/fenv.h: Likewise.
38108         * bits/sched.h: Likewise.
38109         * bits/sigset.h: Likewise.
38110         * bits/sigthread.h: Likewise.
38111         * catgets/nl_types.h: Likewise.
38112         * conform/data/pthread.h-data: Likewise.
38113         * crypt/crypt-private.h: Likewise.
38114         * crypt/crypt.h: Likewise.
38115         * crypt/crypt_util.c: Likewise.
38116         * ctype/ctype.h: Likewise.
38117         * debug/execinfo.h: Likewise.
38118         * debug/mbsnrtowcs_chk.c: Likewise.
38119         * debug/mbsrtowcs_chk.c: Likewise.
38120         * debug/wcsnrtombs_chk.c: Likewise.
38121         * debug/wcsrtombs_chk.c: Likewise.
38122         * debug/wcstombs_chk.c: Likewise.
38123         * dirent/dirent.h: Likewise.
38124         * dlfcn/dlfcn.h: Likewise.
38125         * elf/neededtest4.c: Likewise.
38126         * grp/grp.h: Likewise.
38127         * gshadow/gshadow.h: Likewise.
38128         * iconv/gconv.h: Likewise.
38129         * iconv/gconv_int.h: Likewise.
38130         * iconv/gconv_simple.c: Likewise.
38131         * iconv/iconv.h: Likewise.
38132         * iconv/loop.c: Likewise.
38133         * iconv/skeleton.c: Likewise.
38134         * include/aio.h: Likewise.
38135         * include/aliases.h: Likewise.
38136         * include/argz.h: Likewise.
38137         * include/arpa/inet.h: Likewise.
38138         * include/assert.h: Likewise.
38139         * include/dirent.h: Likewise.
38140         * include/dlfcn.h: Likewise.
38141         * include/execinfo.h: Likewise.
38142         * include/fcntl.h: Likewise.
38143         * include/fenv.h: Likewise.
38144         * include/glob.h: Likewise.
38145         * include/grp.h: Likewise.
38146         * include/libintl.h: Likewise.
38147         * include/mntent.h: Likewise.
38148         * include/netdb.h: Likewise.
38149         * include/pwd.h: Likewise.
38150         * include/rpc/netdb.h: Likewise.
38151         * include/sched.h: Likewise.
38152         * include/search.h: Likewise.
38153         * include/shadow.h: Likewise.
38154         * include/signal.h: Likewise.
38155         * include/stdio.h: Likewise.
38156         * include/stdlib.h: Likewise.
38157         * include/string.h: Likewise.
38158         * include/sys/socket.h: Likewise.
38159         * include/sys/stat.h: Likewise.
38160         * include/sys/statfs.h: Likewise.
38161         * include/sys/statvfs.h: Likewise.
38162         * include/sys/syslog.h: Likewise.
38163         * include/sys/time.h: Likewise.
38164         * include/sys/uio.h: Likewise.
38165         * include/time.h: Likewise.
38166         * include/unistd.h: Likewise.
38167         * include/utmp.h: Likewise.
38168         * include/wchar.h: Likewise.
38169         * include/wctype.h: Likewise.
38170         * inet/aliases.h: Likewise.
38171         * inet/arpa/inet.h: Likewise.
38172         * inet/netinet/ether.h: Likewise.
38173         * inet/netinet/in.h: Likewise.
38174         * intl/libintl.h: Likewise.
38175         * io/bits/fcntl2.h: Likewise.
38176         * io/fcntl.h: Likewise.
38177         * io/ftw.h: Likewise.
38178         * io/sys/poll.h: Likewise.
38179         * io/sys/stat.h: Likewise.
38180         * io/sys/statfs.h: Likewise.
38181         * io/sys/statvfs.h: Likewise.
38182         * io/utime.h: Likewise.
38183         * libio/bits/stdio.h: Likewise.
38184         * libio/bits/stdio2.h: Likewise.
38185         * libio/libio.h: Likewise.
38186         * libio/libioP.h: Likewise.
38187         * libio/stdio.h: Likewise.
38188         * locale/lc-ctype.c: Likewise.
38189         * locale/locale.h: Likewise.
38190         * login/utmp.h: Likewise.
38191         * malloc/arena.c: Likewise.
38192         * malloc/malloc.c: Likewise.
38193         * malloc/malloc.h: Likewise.
38194         * malloc/mcheck.c: Likewise.
38195         * malloc/mtrace.c: Likewise.
38196         * math/bits/mathcalls.h: Likewise.
38197         * math/fenv.h: Likewise.
38198         * math/math_private.h: Likewise.
38199         * misc/bits/error.h: Likewise.
38200         * misc/bits/syslog.h: Likewise.
38201         * misc/err.h: Likewise.
38202         * misc/error.h: Likewise.
38203         * misc/fstab.h: Likewise.
38204         * misc/mntent.h: Likewise.
38205         * misc/regexp.h: Likewise.
38206         * misc/search.h: Likewise.
38207         * misc/sgtty.h: Likewise.
38208         * misc/sys/mman.h: Likewise.
38209         * misc/sys/syslog.h: Likewise.
38210         * misc/sys/uio.h: Likewise.
38211         * misc/sys/xattr.h: Likewise.
38212         * misc/ttyent.h: Likewise.
38213         * nis/rpcsvc/ypclnt.h: Likewise.
38214         * nss/nss.h: Likewise.
38215         * posix/bits/unistd.h: Likewise.
38216         * posix/fnmatch.h: Likewise.
38217         * posix/glob.h: Likewise.
38218         * posix/sched.h: Likewise.
38219         * posix/spawn.h: Likewise.
38220         * posix/sys/wait.h: Likewise.
38221         * posix/unistd.h: Likewise.
38222         * posix/wordexp.h: Likewise.
38223         * pwd/pwd.h: Likewise.
38224         * resolv/netdb.h: Likewise.
38225         * resource/sys/resource.h: Likewise.
38226         * rt/aio.h: Likewise.
38227         * rt/bits/mqueue2.h: Likewise.
38228         * rt/mqueue.h: Likewise.
38229         * shadow/shadow.h: Likewise.
38230         * signal/signal.h: Likewise.
38231         * socket/send.c: Likewise.
38232         * socket/sendto.c: Likewise.
38233         * socket/sys/socket.h: Likewise.
38234         * stdio-common/printf.h: Likewise.
38235         * stdlib/bits/stdlib.h: Likewise.
38236         * stdlib/fmtmsg.h: Likewise.
38237         * stdlib/monetary.h: Likewise.
38238         * stdlib/stdlib.h: Likewise.
38239         * stdlib/ucontext.h: Likewise.
38240         * streams/stropts.h: Likewise.
38241         * string/argz.h: Likewise.
38242         * string/bits/string2.h: Likewise.
38243         * string/string.h: Likewise.
38244         * string/strings.h: Likewise.
38245         * sunrpc/rpc/auth.h: Likewise.
38246         * sunrpc/rpc/auth_des.h: Likewise.
38247         * sunrpc/rpc/clnt.h: Likewise.
38248         * sunrpc/rpc/netdb.h: Likewise.
38249         * sunrpc/rpc/pmap_clnt.h: Likewise.
38250         * sunrpc/rpc/xdr.h: Likewise.
38251         * sysdeps/generic/inttypes.h: Likewise.
38252         * sysdeps/generic/net/if.h: Likewise.
38253         * sysdeps/generic/sys/swap.h: Likewise.
38254         * sysdeps/gnu/net/if.h: Likewise.
38255         * sysdeps/gnu/utmpx.h: Likewise.
38256         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38257         * sysdeps/i386/i486/bits/string.h: Likewise.
38258         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38259         * sysdeps/s390/bits/string.h: Likewise.
38260         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38261         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38262         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38263         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38264         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38265         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38266         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38267         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38268         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38269         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38270         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38271         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38272         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38273         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38274         * sysdeps/unix/sysv/linux/readv.c: Likewise.
38275         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38276         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38277         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38278         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38279         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38280         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38281         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38282         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38283         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38284         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38285         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38286         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38287         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38288         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38289         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38290         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38291         * sysvipc/sys/ipc.h: Likewise.
38292         * sysvipc/sys/msg.h: Likewise.
38293         * sysvipc/sys/sem.h: Likewise.
38294         * sysvipc/sys/shm.h: Likewise.
38295         * termios/termios.h: Likewise.
38296         * time/sys/time.h: Likewise.
38297         * time/time.h: Likewise.
38298         * wcsmbs/bits/wchar2.h: Likewise.
38299         * wcsmbs/uchar.h: Likewise.
38300         * wcsmbs/wchar.h: Likewise.
38301         * wctype/wctype.h: Likewise.
38302
38303         [BZ #13551]
38304         * Makeconfig: Remove all but ELF support including AIX support.
38305         * Makerules: Likewise.
38306         * config.h.in: Likewise.
38307         * config.make.in: Likewise.
38308         * configure: Likewise.
38309         * configure.in: Likewise.
38310         * csu/Makefile: Likewise.
38311         * csu/version.c: Likewise.
38312         * debug/Makefile: Likewise.
38313         * dlfcn/Makefile: Likewise.
38314         * elf/Makefile: Likewise.
38315         * extra-lib.mk: Likewise.
38316         * iconv/Makefile: Likewise.
38317         * include/libc-symbols.h: Likewise.
38318         * include/shlib-compat.h: Likewise.
38319         * resolv/Makefile: Likewise.
38320         * resolv/res_libc.c: Likewise.
38321         * rt/Makefile: Likewise.
38322         * sysdeps/i386/asm-syntax.h: Likewise.
38323         * sysdeps/i386/sysdep.h: Likewise.
38324         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38325         * sysdeps/mach/sysdep.h: Likewise.
38326         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38327         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38328         * sysdeps/s390/asm-syntax.h: Likewise.
38329         * sysdeps/s390/s390-32/sysdep.h: Likewise.
38330         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38331         * sysdeps/sh/sysdep.h: Likewise.
38332         * sysdeps/unix/sparc/sysdep.h: Likewise.
38333         * sysdeps/wordsize-32/divdi3.c: Likewise.
38334         * sysdeps/x86_64/sysdep.h: Likewise.
38335
38336         * argp/Versions: Remove _argp_unlock_xxx.
38337
38338         [BZ #13559]
38339         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
38340         * abilist/libBrokenLocale.abilist: Likewise.
38341         * abilist/libanl.abilist: Likewise.
38342         * abilist/libc.abilist: Likewise.
38343         * abilist/libcrypt.abilist: Likewise.
38344         * abilist/libdl.abilist: Likewise.
38345         * abilist/libm.abilist: Likewise.
38346         * abilist/libnsl.abilist: Likewise.
38347         * abilist/libpthread.abilist: Likewise.
38348         * abilist/libresolv.abilist: Likewise.
38349         * abilist/librt.abilist: Likewise.
38350         * abilist/libthread_db.abilist: Likewise.
38351         * abilist/libutil.abilist: Likewise.
38352         * abilist/libnss_db.abilist: New file.
38353
38354         * scripts/abilist.awk: Add support for indirect functions.
38355
38356         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38357
38358         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38359
38360         * shlib-versions: Remove entries for ports architectures.
38361
38362         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
38363         files in ports.
38364         * elf/stackguard-macros.h: Remove support for IA-64.
38365         * elf/tst-auditmod1.c: Likewise.
38366         * sysdeps/generic/ldsodefs.h: Likewise.
38367
38368         * sysdeps/unix/sysv/linux/configure.in: Ports should define
38369         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38370         configure files.
38371
38372         [BZ #13552]
38373         * configure.in: Remove --enable-omitfp support.
38374         * FAQ.in: Adjust.
38375         * config.make.in: Likewise.
38376         * Makeconfig: Likewise.
38377         * manual/install.texi: Likewise.
38378
38379         In case anyone cares, the IA-64 architecture could move to ports.
38380         * sysdeps/ia64/*: Removed.
38381         * sysdeps/unix/sysv/linux/ia64/*: Removed.
38382         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
38383
38384         [BZ #13555]
38385         * configure.in: Remove entries for unsupported architectures.
38386
38387         [BZ #13533]
38388         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38389         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
38390         routines.
38391         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38392         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38393         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
38394         fall back to using wcrtomb.
38395         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38396         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
38397         renaming.
38398         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38399         * wcsmbs/tst-c16c32-1.c: New file.
38400
38401         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38402         local variable.
38403
38404         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38405
38406         * elf/tst-unique3.cc: Add explicit declaration of gets.
38407         * elf/tst-unique3lib.cc: Likewise.
38408         * elf/tst-unique3lib2.cc: Likewise.
38409         * elf/tst-unique4.cc: Likewise.
38410
38411         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38412
38413 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
38414
38415         [BZ #13566]
38416         * assert/assert.h (static_assert): Don't define for C++.
38417         * libio/stdio.h (gets): Do declare for C++ <= C++11.
38418         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38419
38420 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
38421
38422         * iconv/loop.c (single loop): Fix assertion in storing of
38423         remaining bytes.
38424
38425         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38426
38427 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
38428
38429         * posix/getconf.c: Update copyright year.
38430         * nss/getent.c: Likewise.
38431         * nss/makedb.c: Likewise.
38432         * iconv/iconvconfig.c: Likewise.
38433         * iconv/iconv_prog.c: Likewise.
38434         * elf/ldconfig.c: Likewise.
38435         * elf/pldd.c: Likewise.
38436         * elf/sotruss.ksh: Likewise.
38437         * catgets/gencat.c: Likewise.
38438         * csu/version.c: Likewise.
38439         * elf/ldd.bash.in: Likewise.
38440         * elf/sprof.c (print_version): Likewise.
38441         * locale/programs/locale.c: Likewise.
38442         * locale/programs/localedef.c: Likewise.
38443         * login/programs/pt_chown.c: Likewise.
38444         * nscd/nscd.c (print_version): Likewise.
38445         * debug/xtrace.sh: Likewise.
38446         * malloc/memusage.sh: Likewise.
38447         * malloc/mtrace.pl: Likewise.
38448         * debug/catchsegv.sh: Likewise.
38449
38450 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
38451
38452         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38453         pure attribute.
38454
38455 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
38456
38457         [BZ #13533]
38458         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38459         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38460         transformations.
38461         * iconv/gconv_int.h: Likewise.
38462         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38463         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38464         from libc for GLIBC_2.16.
38465         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38466         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38467         * wcsmbs/uchar.h: Really define mbstate_t.
38468         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38469         * wcsmbs/c16rtomb.c: New file.
38470         * wcsmbs/mbrtoc16.c: New file.
38471         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38472         for C/POSIX locale.
38473         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38474         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38475
38476         * wcsmbs/wchar.h: Add missing __restrict.
38477
38478 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
38479
38480         [BZ #13532]
38481         * time/Makefile (routines): Add timespec_get.
38482         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38483         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
38484         timespec for ISO C11.
38485         * time/timespec_get.c: New file.
38486         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38487         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38488
38489         [BZ #13531]
38490         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38491         * stdlib/stdlib.h: Declare aligned_alloc.
38492         * Versions.def: Add GLIBC_2.16 for libc.
38493         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38494
38495         [BZ 13527]
38496         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38497         ISO C11.
38498
38499         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
38500         code.
38501
38502         [BZ #13528]
38503         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38504
38505         [BZ #13529]
38506         * assert/assert.h (static_assert): Define.
38507
38508         * version.h: Update for 2.16 development version.
38509
38510         [BZ #13526]
38511         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38512         _ISOC11_SOURCE.
38513
38514         * version.h (RELEASE): Bump for 2.15 release.
38515         * include/features.h (__GLIBC_MINOR__): Bump to 15.
38516
38517         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38518         Patch by Marek Polacek <mpolacek@redhat.com>.
38519
38520         * bits/byteswap.h: Protect long long constants with __extension__.
38521         * sysdeps/i386/bits/byteswap.h: Likewise.
38522         * sysdeps/ia64/bits/byteswap.h: Likewise.
38523         * sysdeps/s390/bits/byteswap.h: Likewise.
38524         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38525
38526 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38527
38528         [BZ #13540]
38529         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38530         destination buffer.
38531         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38532
38533 2011-12-23  Marek Polacek  <polacek@redhat.com>
38534
38535         * elf/dl-addr.c (determine_info): Add inline keyword.
38536         * elf/tst-auditmod4b.c (check_avx): Likewise.
38537         * elf/tst-auditmod6b.c (check_avx): Likewise.
38538         * elf/tst-auditmod6c.c (check_avx): Likewise.
38539         * elf/tst-auditmod7b.c (check_avx): Likewise.
38540
38541 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
38542
38543         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38544         !__SSE_MATH__.
38545
38546 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38547
38548         [BZ #13540]
38549         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38550         processing for last bytes.
38551
38552 2011-08-06  Bruno Haible  <bruno@clisp.org>
38553
38554         [BZ #13061]
38555         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38556         U+0385, not to U+1FEE.
38557
38558         [BZ #13062]
38559         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38560         entry for U+00A5 U+0301.
38561
38562 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
38563
38564         [BZ #13166]
38565         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38566         buffer for the output is too small.
38567
38568         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38569         optimization.
38570
38571         [BZ #13185]
38572         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38573         SSE flags if possible.
38574
38575 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38576
38577         [BZ #13540]
38578         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38579         processing for last bytes.
38580
38581 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
38582
38583         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38584         (syscall-list-default-options, syscall-list-default-condition)
38585         (syscall-list-includes): Define.
38586         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38587         list of ABIs and options and #if conditions for each ABI.  Do not
38588         handle common syscalls between ABIs specially.
38589         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38590         Remove.
38591         (syscall-list-variants, syscall-list-32bit-options)
38592         (syscall-list-32bit-condition, syscall-list-64bit-options)
38593         (syscall-list-64bit-condition): Define.
38594         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38595         (syscall-list-variants, syscall-list-32bit-options)
38596         (syscall-list-32bit-condition, syscall-list-64bit-options)
38597         (syscall-list-64bit-condition): Define.
38598         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38599         Remove.
38600         (syscall-list-variants, syscall-list-32bit-options)
38601         (syscall-list-32bit-condition, syscall-list-64bit-options)
38602         (syscall-list-64bit-condition): Define.
38603         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38604         Remove.
38605         (syscall-list-variants, syscall-list-32bit-options)
38606         (syscall-list-32bit-condition, syscall-list-64bit-options)
38607         (syscall-list-64bit-condition): Define.
38608
38609 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
38610
38611         * locale/iso-639.def: Add brx entry.
38612
38613         [BZ #13328]
38614         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38615         Proposed by Mariusz_Cukr <marcukr@op.pl>.
38616
38617         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38618         __feraiseexcept_renamed.
38619
38620 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
38621
38622         [BZ #13538]
38623         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38624         EPOLLET with unsigned values.
38625         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38626         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38627
38628         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38629         to large cancellation.
38630         * math/s_cacoshf.c: Likewise.
38631         * math/s_cacoshl.c: Likewise.
38632
38633 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
38634
38635         [BZ #13305]
38636         [BZ #12786]
38637         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38638         * math/s_cacoshf.c: Likewise.
38639         * math/s_cacoshl.c: Likewise.
38640
38641 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
38642
38643         [BZ #13439]
38644         * iconv/gconv.h: Define __GCONV_SWAP.
38645         * iconvdata/unicode.c: The swap bit must be stored in __flags.
38646         * iconvdata/utf-16.c: Likewise.
38647         * iconvdata/utf-32.c: Likewise.
38648
38649 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
38650
38651         [BZ #13524]
38652         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38653         numerator after shifting it by one limb.
38654
38655 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
38656
38657         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38658         under [__USE_EXTERN_INLINES].
38659
38660 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
38661
38662         [BZ #13446]
38663         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38664
38665 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38666
38667         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38668         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38669         optimized code.
38670         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38671         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38672         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38673         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38674         for strncasecmp/strncasecmp_l compilation.
38675         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38676         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38677
38678 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
38679
38680         [BZ #13484]
38681         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38682         of __asm__.
38683
38684 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
38685
38686         [BZ #13506]
38687         * time/tzfile.c (__tzfile_read): Check values from file header.
38688
38689 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
38690
38691         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38692         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38693         * powerpc/powerpc32/dl-start.S: Likewise.
38694         * powerpc/powerpc32/elf/start.S: Likewise.
38695         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38696         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38697         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38698         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38699         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38700         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38701         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38702         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38703         * powerpc/powerpc32/fpu/s_round.S: Likewise.
38704         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38705         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38706         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38707         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38708         * powerpc/powerpc32/memset.S: Likewise.
38709         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38710         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38711         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38712         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38713         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38714         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38715         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38716         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38717         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38718         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38719         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38720         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38721         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38722
38723 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38724
38725         * math/libm-test.inc: Added more nearbyint tests.
38726         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38727         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38728         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38729         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38730
38731 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
38732
38733         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38734         FD_CLOEXEC.
38735
38736 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38737
38738         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38739         Add wcscpy-ssse3 wcscpy-c.
38740         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38741         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38742         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38743         * sysdeps/x86_64/wcschr.S: New file.
38744         * sysdeps/x86_64/wcsrchr.S: New file.
38745         * string/test-strcmp.c: Remove checking of wcscmp function for
38746         wrong alignments.
38747         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38748         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38749         wcsrchr-sse2 wcsrchr-c.
38750         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38751         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38752         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38753         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38754         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38755         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38756         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38757         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38758         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38759         * wcsmbc/wcschr.c (WCSCHR): New macro.
38760
38761 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38762
38763         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38764         * wcsmbs/test-wcsrchr.c: New file.
38765         * string/test-strrchr.c: Add wcsrchr support.
38766         (WIDE): New macro.
38767         * wcsmbs/test-wcscpy.c: New file.
38768         * string/test-strcpy.c: Add wcscpy support.
38769         (WIDE): New macro.
38770
38771 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
38772
38773         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38774         the inner loop.
38775
38776 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
38777
38778         [BZ #13472]
38779         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38780
38781 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
38782
38783         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38784         Minor optimizations.
38785
38786         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38787         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38788         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38789
38790 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
38791
38792         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38793         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38794         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38795         for gcc to avoid warnings.
38796         * inet/Makefile (tests): Add tst-checks.
38797         * inet/tst-checks.c: New file.
38798
38799         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38800         warning.
38801
38802         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38803         __wmemcmp_sse2.
38804
38805         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38806         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38807
38808         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38809
38810 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
38811
38812         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38813         problem.
38814
38815         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38816
38817 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
38818
38819         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38820         conditional on GCC version.
38821         (__arch_compare_and_exchange_val_8_acq)
38822         (__arch_compare_and_exchange_val_16_acq)
38823         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38824         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38825         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38826
38827 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
38828
38829         * sysdeps/sh/backtrace.c: New file.
38830
38831 2011-12-02  Andreas Schwab  <schwab@redhat.com>
38832
38833         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
38834         parenthesis.
38835
38836 2011-12-01  Andreas Schwab  <schwab@redhat.com>
38837
38838         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38839         falling back to utime.
38840
38841 2011-11-30  Andreas Schwab  <schwab@redhat.com>
38842
38843         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38844         expectations for float.
38845
38846 2011-11-29  Andreas Schwab  <schwab@redhat.com>
38847
38848         * locale/weight.h (findidx): Add parameter len.
38849         * locale/weightwc.h (findidx): Likewise.
38850         * posix/fnmatch_loop.c (FCT): Adjust caller.
38851         * posix/regcomp.c (build_equiv_class): Likewise.
38852         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38853         * posix/regexec.c (check_node_accept_bytes): Likewise.
38854         * string/strcoll_l.c (STRCOLL): Likewise.
38855         * string/strxfrm_l.c (STRXFRM): Likewise.
38856
38857 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
38858
38859         * Makefile.in: Remove CVSOPT handling.
38860         * configure.in: Remove use of AC_REVISION.
38861         * iconvdata/Makefile (distribute): No need to filter out CVS.
38862         * scripts/list-sources.sh: Remove CVS, subversion and monotone
38863         handling.
38864
38865 2011-11-16  Andreas Schwab  <schwab@redhat.com>
38866
38867         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38868         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38869         [USE_AS_STRNCASECMP_L]: Likewise.
38870         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38871         NO_TLS_DIRECT_SEG_REFS.
38872         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38873         Fix argument offsets for non-PIC.
38874         [USE_AS_STRNCASECMP_L]: Likewise.
38875         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38876         NO_TLS_DIRECT_SEG_REFS.
38877
38878 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
38879
38880         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38881         O_CLOEXEC.
38882         * locale/loadlocale.c (_nl_load_locale): Likewise.
38883
38884 2011-11-15  Andreas Schwab  <schwab@redhat.com>
38885
38886         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38887         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38888         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38889         (SYSCALL_GETTIME): Set errno on error.
38890
38891         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38892         count references to noai6ai_cached.
38893
38894 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
38895
38896         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38897
38898         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38899         FD_CLOEXEC for /proc/self/maps.
38900
38901         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38902         FD_CLOEXEC for /proc/meminfo.
38903
38904         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38905         gai.conf.
38906
38907         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
38908         FD_CLOEXEC for given file.
38909
38910         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38911
38912         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38913         FD_CLOEXEC for /etc/hosts.
38914         (_gethtent): Likewise.
38915
38916         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38917
38918         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38919         cancellation and set FD_CLOEXEC for /etc/netgroup.
38920
38921         * nss/nss_files/files-key.c (search): Don't allow cancellation when
38922         reading /etc/publickey.
38923
38924         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38925         allow cancellation when reading /etc/group.
38926
38927         * nss/nss_files/files-alias.c (internal_setent): Don't allow
38928         cancellation.
38929         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
38930
38931         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38932         when using data file.
38933
38934         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38935
38936         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38937         (write_nis_obj): Use "c" and "e" in fopen.
38938
38939         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38940
38941         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38942
38943         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38944
38945         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38946
38947         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38948         locale.alias.
38949
38950         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38951
38952         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38953
38954         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38955
38956         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38957         file parsing and set FD_CLOEXEC.
38958
38959 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
38960
38961         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38962
38963 2011-11-14  Andreas Schwab  <schwab@redhat.com>
38964
38965         * malloc/arena.c (arena_get2): Don't call reused_arena when
38966         _int_new_arena failed.
38967
38968 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
38969
38970         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38971         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38972         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38973         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38974         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38975         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38976         to compile strcasecmp and strncasecmp.
38977         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38978         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38979
38980         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38981
38982 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
38983
38984         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38985         locale-defines.sym to gen-as-const-headers.
38986         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38987         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38988         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38989         to compile strcasecmp and strncasecmp.
38990         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38991         strcasecmp_l and strncasecmp_l.
38992         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38993         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38994         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38995         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38996         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38997         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38998         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38999         * sysdeps/i386/i686/multiarch/strncase.S: New file.
39000         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39001         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39002         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39003
39004 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
39005
39006         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39007         result of SYSDEP_GETTIME_CPU to retval.
39008         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39009         parameter list to macro.  Remove trailing semicolon.  Adjust users.
39010
39011         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39012         variable.
39013
39014         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39015         mantissa words.
39016         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39017
39018         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39019         from unused variable.
39020
39021         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39022         DWARF definitions.
39023         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39024         for assembling.
39025
39026         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39027         over namespaces.
39028
39029         * sunrpc/rpc_prot.c (rejected): Fix case value.
39030
39031         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39032         unsigned long long int to avoid warnings in shift.
39033
39034         * posix/regex_internal.c (re_string_reconstruct): Actually use result
39035         of use of trans.
39036         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39037         variable tmp.
39038
39039         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39040         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39041         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39042
39043         * nis/nis_table.c (nis_list): Use variable of correct type for
39044         result of __follow_path call.
39045
39046 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39047
39048         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39049         of math functions ceil, trunc, floor, round, and sqrt, when
39050         avaliable on the platform.
39051         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39052         name clash.
39053         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39054         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39055         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39056
39057 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
39058
39059         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39060         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39061
39062 2011-11-11  Roland McGrath  <roland@hack.frob.com>
39063
39064         * include/unistd.h: Fix __readlink return type.
39065         Reported by Chris Metcalf <cmetcalf@tilera.com>.
39066
39067 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
39068
39069         * stdlib/ucontext.h: Undo last change for makecontext.
39070
39071 2011-11-11  Andreas Schwab  <schwab@redhat.com>
39072
39073         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39074
39075         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39076         * setjmp/setjmp.h: Mark functions as non-leaf.
39077         * setjmp/bits/setjmp2.h: Likewise.
39078         * stdlib/ucontext.h: Likewise.
39079
39080 2011-11-10  Andreas Schwab  <schwab@redhat.com>
39081
39082         * malloc/arena.c (_int_new_arena): Don't increment narenas.
39083         (reused_arena): Don't check arena limit.
39084         (arena_get2): Atomically check arena limit.
39085
39086 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
39087
39088         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39089         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39090
39091         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39092         instructions.
39093
39094 2011-11-07  Andreas Schwab  <schwab@redhat.com>
39095
39096         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39097         handler when locking.
39098
39099         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39100         Fix size of allocated buffer.
39101
39102 2011-11-04  Andreas Schwab  <schwab@redhat.com>
39103
39104         [BZ #10103]
39105         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39106         declarations for long double functions.
39107         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39108
39109         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39110
39111 2011-11-03  Andreas Schwab  <schwab@redhat.com>
39112
39113         * nscd/nscd.c (main): Don't start AVC thread until credentials are
39114         installed.
39115
39116         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39117         is disabled.
39118
39119 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39120
39121         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39122
39123 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39124
39125         * include/alloca.h (stackinfo_alloca_round): Define.
39126         (extend_alloca): Use it.
39127         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39128         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39129         here.
39130
39131         * scripts/check-local-headers.sh: Ignore libaudit.h.
39132
39133         * nscd/Makefile (extra-objs): Make recursively expanded.
39134
39135 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
39136
39137         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39138         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39139
39140         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39141         * posix/tst-rfc3484-2.c: Likewise.
39142         * posix/tst-rfc3484-3.c: Likewise.
39143
39144         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39145         process_vm_writev.
39146         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39147         process_vm_writev.
39148         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39149         process_vm_writev from libc using GLIBC_2.15 version.
39150
39151         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39152
39153 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
39154
39155         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39156         stack usage.
39157
39158 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
39159
39160         [BZ #13367]
39161         * nss/getent.c (initgroups_keys): Show error message in case no group
39162         names are given.
39163
39164         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39165         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39166         __bump_nl_timestamp.
39167         * nscd/connections (nscd_init): When host database is served open
39168         netlink socket and request notification about configuration changes.
39169         (main_loop_poll): Track netlink file descriptor and bump timestamp
39170         in case data becomes available.
39171         (main_loop_epoll): Likewise.
39172         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39173         (database_pers_head): Add extra_data fileds.
39174         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39175         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39176         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39177         Adjust caller.
39178         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39179         in6ai data, call __free_in6ai.
39180         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39181         Add -DHAVE_NETLINK.
39182         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
39183         interface information.  Reuse previous data if netlink timestamp
39184         is not changed.
39185         (__bump_nl_timestamp): New function.
39186         (__free_in6ai): New function.
39187
39188 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
39189
39190         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39191         close_not_cancel_no_status here.
39192         (__check_pf): Reorganize code a bit to not call close twice if OOM.
39193
39194 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
39195
39196         [BZ #13276]
39197         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39198         return value.
39199
39200         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
39201         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39202         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39203
39204 2011-07-03  Andreas Jaeger  <aj@suse.de>
39205
39206         [BZ #10709]
39207         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39208         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39209         * math/libm-test.inc (sin_test): Add test case.
39210
39211 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
39212
39213         [BZ #13337]
39214         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39215         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39216
39217         * elf/chroot_canon.c (chroot_canon): Cleanups.
39218
39219         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39220
39221         [BZ #13335]
39222         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39223         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39224
39225         * string/test-strchr.c: Make usable for strchrnul testing.
39226         * string/test-strchrnul.c: New file.
39227         * string/Makefile (strop-tests): Add strchrnul.
39228
39229         * po/it.po: Update from translation team.
39230         * po/es.po: Likewise.
39231
39232 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
39233
39234         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39235         the three constants needed as parameters.  Drop the others.
39236         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39237         __m128i_strloadu_tolower.
39238         Create and initialize variable zero and use it in all the places
39239         where _mm_setzero_si128 was used.
39240
39241         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39242         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39243         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39244         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39245         anymore.
39246         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39247         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39248         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39249         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39250         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39251         __mpranred, __mptan.
39252         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39253         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39254         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39255         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39256         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39257         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39258         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39259         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39260         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39261
39262 2011-10-28  Andreas Schwab  <schwab@redhat.com>
39263
39264         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39265         redefine if SHARED.
39266         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39267
39268         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39269         wide char related routines to wcsmbs subdir.
39270
39271 2011-10-27  Andreas Schwab  <schwab@redhat.com>
39272
39273         [BZ #13344]
39274         * misc/sys/cdefs.h (__THROWNL): Define.
39275         * posix/unistd.h: Use __THREADNL instead of __THREAD
39276         for memory synchronization functions.
39277
39278 2011-10-26  Roland McGrath  <roland@hack.frob.com>
39279
39280         [BZ #13349]
39281         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39282         doesn't exist.
39283         * manual/stdio.texi (Obstack Streams): Node removed.
39284
39285 2011-10-26  Andreas Schwab  <schwab@redhat.com>
39286
39287         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39288         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39289         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39290
39291         * math/math_private.h (math_force_eval): Allow non-addressable
39292         arguments.
39293         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39294
39295 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
39296
39297         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39298         file is not needed.
39299
39300         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39301         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39302         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39303         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39304         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39305         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39306         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39307         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39308         Add AVX variants.
39309         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39310         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39311         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39312         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39313         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39314         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39315         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39316         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39317         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39318         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39319         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39320         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39321         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39322         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39323         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39324         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39325         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39326         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39327         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39328
39329         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39330         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
39331
39332         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39333         place.  Use VEX encoding when compiling for AVX.
39334
39335 2011-10-25  Andreas Schwab  <schwab@redhat.com>
39336
39337         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39338         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39339
39340         * string/test-strchr.c (do_test): Don't generate NUL bytes.
39341
39342 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
39343
39344         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
39345         useless if() expression.
39346         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39347         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39348         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39349         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39350         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39351         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39352         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39353         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39354         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39355         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39356         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39357         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39358         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39359         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39360         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39361         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39362         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39363         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39364         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39365
39366         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39367
39368 2011-10-25  Andreas Schwab  <schwab@redhat.com>
39369
39370         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39371         condition.
39372         * elf/dl-fini.c (_dl_sort_fini): Likewise.
39373
39374 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
39375
39376         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39377         .text section.  Avoid duplicate constants.
39378         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39379         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39380         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39381         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39382         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39383         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39384         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39385         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39386         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39387         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39388         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39389         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39390         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39391         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39392         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39393         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39394         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39395         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39396         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39397         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39398         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39399         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39400         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39401         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39402         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39403         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39404         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39405         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39406         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39407         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39408         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39409         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39410         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39411         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39412         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39413         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39414         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39415         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39416         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39417         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39418         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39419         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39420         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39421         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39422         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39423
39424 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
39425
39426         * sysdeps/x86_64/dla.h: Move to ...
39427         * sysdeps/x86_64/fpu/dla.h: ...here.
39428         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39429         situations.  Use __builtin_fma only for gcc 4.6 and up.
39430
39431         * config.make.in: Add have-mfma4 entry.
39432         * configure.in: Substitute libc_cv_cc_fma4.
39433         * math/Makefile (dbl-only-routines): Add sincostab.
39434         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39435         Use __sincostab not sincos.
39436         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39437         name is a macro.
39438         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39439         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39440         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39441         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
39442         using __copysign.
39443         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
39444         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
39445         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39446         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39447         and __inv.
39448         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39449         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39450         __copysign.
39451         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
39452         define aliases when function name is a macro.
39453         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39454         sysdeps/ieee754/dbl-64/sincos.tbl.
39455         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39456         fma4-enabled routines.
39457         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39458         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39459         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39460         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39461         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39462         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39463         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39464         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39465         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39466         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39467         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39468         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39469         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39470         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39471         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39472         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39473         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39474         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39475         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39476         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39477         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39478         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39479         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39480         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39481         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39482         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39483         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39484         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39485         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39486         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39487
39488         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39489         rename.
39490         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39491         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39492         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39493         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39494         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39495         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39496         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39497         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39498
39499 2011-10-24  Andreas Schwab  <schwab@redhat.com>
39500
39501         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39502
39503 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
39504
39505         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39506
39507         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39508         prediction.
39509         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39510
39511         * string/strnlen.c: Don't define STRNLEN, reverse logic.
39512         Remove unused variable magic_bits.
39513         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39514
39515         * string/strnlen.c: Define and use STRNLEN macro.
39516         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39517         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39518         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39519         * wcsmbs/wcslen.c: Define and use WCSLEN.
39520         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39521         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39522         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39523         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39524         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39525         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39526         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39527
39528 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39529
39530         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39531         strnlen-sse2-no-bsf.
39532         Rename strlen-no-bsf to strlen-sse2-no-bsf.
39533         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39534         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39535         Add strnlen support.
39536         (USE_AS_STRNLEN): New macro.
39537         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39538         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39539         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39540         * sysdeps/x86_64/wcslen.S: New file.
39541
39542 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
39543
39544         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39545         XMM-moves are used for copying on small sizes.
39546
39547 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39548
39549         * wcsmbs/Makefile (strop-tests): Add wcschr.
39550         * wcsmbs/test-wcschr.c: New file.
39551         * string/test-strchr.c: Update.
39552         Add wcschr support.
39553         (WIDE): New macro.
39554
39555 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39556
39557         * wcsmbs/Makefile (strop-tests): Add wcslen.
39558         * wcsmbs/test-wcslen.c: New file.
39559         * string/test-strlen.c: Update.
39560         Add wcslen support.
39561         (WIDE): New macro.
39562
39563 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
39564
39565         * po/it.po: Update from translation team.
39566
39567 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39568
39569         * sysdeps/x86_64/wcscmp.S: Update.
39570         Fix wrong comparison semantics.
39571         wcscmp shall use signed comparison not unsigned.
39572         Don't use substraction to avoid overflow bug.
39573         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39574         * wcsmbc/wcscmp.c: Likewise.
39575         * string/test-strcmp.c: Likewise.
39576         Add new tests to check cases with negative values.
39577
39578 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
39579
39580         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39581         * sysdeps/x86_64/dla.h: ...here.  New file.
39582         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39583         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39584         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39585         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39586         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39587         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39588         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39589         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39590         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39591
39592 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
39593
39594         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39595         __ynl_finite aliases.
39596
39597 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
39598
39599         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39600
39601         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39602         define DLA_FMA.
39603         [DLA_FMA] (EMULV): Use DLA_FMA.
39604         [DLA_FMA] (MUL12): Use EMULV.
39605         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39606         that are not needed.
39607         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39608         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39609         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39610         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39611         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39612         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39613         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39614
39615 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
39616
39617         * math/s_nan.c: Undef __nan.
39618         * math/s_nanf.c: Undef __nanf.
39619         * math/s_nanl.c: Undef __nanl.
39620         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39621         "math_private.h".
39622
39623 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
39624
39625         * math/s_catan.c: Add branch predictions.
39626         * math/s_catanf.c: Likewise.
39627         * math/s_catanh.c: Likewise.
39628         * math/s_catanhf.c: Likewise.
39629         * math/s_catanhl.c: Likewise.
39630         * math/s_catanl.c: Likewise.
39631         * math/s_cexp.c: Likewise.
39632         * math/s_cexpf.c: Likewise.
39633         * math/s_cexpl.c: Likewise.
39634         * math/s_clog.c: Likewise.
39635         * math/s_clog10.c: Likewise.
39636         * math/s_clog10f.c: Likewise.
39637         * math/s_clog10l.c: Likewise.
39638         * math/s_clogf.c: Likewise.
39639         * math/s_clogl.c: Likewise.
39640         * math/s_csqrt.c: Likewise.
39641         * math/s_csqrtf.c: Likewise.
39642         * math/s_csqrtl.c: Likewise.
39643         * math/s_ctanf.c: Likewise.
39644         * math/s_ctanh.c: Likewise.
39645         * math/s_ctanhf.c: Likewise.
39646         * math/s_ctanhl.c: Likewise.
39647         * math/s_ctanl.c: Likewise.
39648
39649         * math/math_private.h: Define __nan, __nanf, __nanl.
39650         * math/s_cacosh.c: Include <math_private.h>.
39651         * math/s_cacoshl.c: Likewise.
39652         * math/s_casinh.c: Likewise.
39653         * math/s_casinhf.c: Likewise.
39654         * math/s_casinhl.c: Likewise.
39655         * math/s_ccos.c: Rely entire on ccosh.
39656         * math/s_ccosf.c: Rely entire on ccoshf.
39657         * math/s_ccosl.c: Rely entirely on ccoshl.
39658         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
39659         Remove tests for FE_INVALID.
39660         * math/s_ccoshf.c: Likewise.
39661         * math/s_ccoshl.c: Likewise.
39662         * math/s_csin.c: Likewise.
39663         * math/s_csinf.c: Likewise.
39664         * math/s_csinh.c Likewise.
39665         * math/s_csinhf.c: Likewise.
39666         * math/s_csinhl.c: Likewise.
39667         * math/s_csinl.c: Likewise.
39668         * math/s_ctan.c: Likewise.
39669         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39670         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39671         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39672
39673 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
39674
39675         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39676         compilation problems.
39677
39678         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39679         __builtin_expect.
39680
39681 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
39682
39683         * sysdeps/i386/configure.in: Test for -mfma4 option.
39684         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39685         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39686         COMMON_CPUID_INDEX_80000001.
39687         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39688         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39689         use it if FMA3 is not supported.
39690         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39691
39692         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39693         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39694
39695 2011-10-20  Andreas Schwab  <schwab@redhat.com>
39696
39697         [BZ #12892]
39698         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39699         it would create a cycle with a link time dependency.
39700
39701 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
39702
39703         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39704         instruction.
39705         * string/Makefile (strop-tests): Add rawmemchr.
39706         * string/test-rawmemchr.c: New file.
39707
39708         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39709         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
39710         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
39711         when compiling str{,n}casecmp and when AVX is available.  Hook up
39712         new optimized code in initializers.
39713
39714 2011-10-19  Andreas Schwab  <schwab@redhat.com>
39715
39716         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39717         __feraiseexcept instead of feraiseexcept.
39718
39719 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
39720
39721         * math/math_private.h: Define defaults for libc_fetestexcept and
39722         libc_feupdateenv.
39723         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39724         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39725         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39726         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39727         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39728         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39729         libc_fetestexcept and libc_feupdateenv.
39730
39731         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39732         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39733         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39734         * sysdeps/x86_64/fpu/math_private.h: Define special version of
39735         libc_feholdexcept_setround.
39736
39737         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39738         Add s_nearbyint-c and s_nearbyintf-c.
39739         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39740         nearbyintf inlines.
39741         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39742         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39743         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39744         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39745
39746         * math/math_private.h: Define defaults for libc_fegetround,
39747         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39748         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39749         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39750         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39751         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39752         standard functions.
39753         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39754         Remove comments and hacks for old compiler versions.
39755         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39756         libc_fegetround, libc_fesetround, libc_feholdexcept, and
39757         libc_feholdexceptl.
39758
39759 2011-10-18  Andreas Schwab  <schwab@redhat.com>
39760
39761         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39762         (__feraiseexcept_renamed): Add __NTH.
39763         (feraiseexcept): Add __NTH.  Rename local variables to fix
39764         namespace violations.
39765
39766 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
39767
39768         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39769
39770         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39771
39772         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39773         recently added interfaces.
39774         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39775
39776         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39777         about macro parameter expansion.
39778
39779         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39780         __NO_MATH_INLINES is defined.  Cleanups.
39781
39782         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39783         and __floorf is target has SSE4.1.
39784         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39785         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39786         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39787         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39788
39789         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39790         name.
39791         (floorf): Likewise.
39792
39793         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39794
39795 2011-10-17  Andreas Schwab  <schwab@redhat.com>
39796
39797         * misc/sys/cdefs.h: Fix last change.
39798
39799         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39800         database lookup.
39801
39802 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
39803
39804         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39805
39806         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39807         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39808         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39809         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39810         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39811         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39812         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39813         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39814         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39815         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39816         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39817         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39818         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39819         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39820         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39821         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39822         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39823         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39824         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39825         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39826         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39827         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39828
39829         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39830         ceil, ceilf, floor, floorf.
39831
39832         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39833         Perform IRELATIVE relocations last.
39834
39835         * elf/do-rel.h: Add another parameter nrelative, replacing the
39836         local variable with the same name.  Change name of the function
39837         to end in Rel or Rela (uppercase).
39838         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39839         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
39840         elf_dynamic_do_##reloc function.
39841
39842 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
39843
39844         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39845         is sufficient, at least on modern CPUs.
39846
39847         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39848
39849         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39850         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39851
39852         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39853         __expl_finite.
39854         * math/bits/math-finite.h: Add entries for exp.
39855         * math/e_expl.c: Add __*_finite alias.
39856         * sysdeps/i386/fpu/e_exp.S: Likewise.
39857         * sysdeps/i386/fpu/e_expf.S: Likewise.
39858         * sysdeps/i386/fpu/e_expl.c: Likewise.
39859         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39860         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39861         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39862         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39863         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39864         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39865         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39866
39867         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39868         is sufficient, at least on modern CPUs.
39869
39870         * ctype/ctype-info.c (__ctype_init): Define.
39871         * include/ctype.h (__ctype_init): Declare.
39872         (__ctype_b_loc): The variable is always initialized.
39873         (__ctype_toupper_loc): Likewise.
39874         (__ctype_tolower_loc): Likewise.
39875         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39876         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39877
39878 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
39879
39880         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39881
39882         * configure.in: Also look in $cxxmachine/include for C++ system
39883         headers.
39884
39885 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39886
39887         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39888         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39889         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39890         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
39891         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39892         (USE_AS_WMEMCMP): New macro.
39893         Fixing indents.
39894         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39895         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39896         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39897         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39898         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39899         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39900         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39901         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39902         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39903         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39904         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39905         (USE_AS_WMEMCMP): New macro.
39906         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39907         * sysdeps/string/test-memcmp.c: Update.
39908         Fix simple_wmemcmp.
39909         Add new tests.
39910         * wcsmbs/wmemcmp.c: Update.
39911         (WMEMCMP): New macro.
39912         Fix overflow bug.
39913
39914 2011-10-12  Andreas Jaeger  <aj@suse.de>
39915
39916         [BZ #13268]
39917         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39918
39919 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
39920
39921         * libio/iofwide.c (do_length): Avoid warning.
39922
39923         * ctype/ctype.h (__isctype_f): Add missing __THROW.
39924
39925 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
39926
39927         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39928
39929         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39930         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39931         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39932         * sysdeps/i386/i686/fpu/e_log.S: New file.
39933         * sysdeps/i386/i686/fpu/e_logf.S: New file.
39934         * sysdeps/i386/i686/fpu/e_logl.S: New file.
39935
39936         * ctype/ctype.h: Add support for inlined isXXX functions when
39937         compiling C++ code.
39938
39939 2011-10-14  Andreas Schwab  <schwab@redhat.com>
39940
39941         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39942
39943         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39944
39945 2011-10-13  Roland McGrath  <roland@hack.frob.com>
39946
39947         [BZ #13291]
39948         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39949
39950 2011-10-13  Andreas Schwab  <schwab@redhat.com>
39951
39952         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39953         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39954         feraiseexcept.
39955
39956         * sysdeps/x86_64/memrchr.S: Check for zero size.
39957
39958         * string/stratcliff.c: Add memrchr tests.
39959
39960 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39961
39962         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39963         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39964         rawmemchr-sse2 rawmemchr-sse2-bsf.
39965         * sysdeps/i386/i686/multiarch/memchr.S: New file.
39966         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39967         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39968         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39969         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39970         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39971         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39972         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39973         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39974         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39975         * string/memrchr.c (MEMRCHR): New macro.
39976
39977 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
39978
39979         Add integration with gcc's -ffinite-math-only and optimize wrapper
39980         functions in libm.
39981         * Versions.def: Define GLIBC_2.15 version for libm.
39982         * math/Makefile (headers): Add bits/math-finite.h.
39983         * math/bits/math-finite.h: New file.
39984         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39985         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39986         * math/e_acoshl.c: Add __*_finite alias.
39987         * math/e_acosl.c: Likewise.
39988         * math/e_asinl.c: Likewise.
39989         * math/e_atan2l.c: Likewise.
39990         * math/e_atanhl.c: Likewise.
39991         * math/e_coshl.c: Likewise.
39992         * math/e_exp10.c: Likewise.
39993         * math/e_exp10f.c: Likewise.
39994         * math/e_exp10l.c: Likewise.
39995         * math/e_exp2l.c: Likewise.
39996         * math/e_fmodl.c: Likewise.
39997         * math/e_gammal_r.c: Likewise.
39998         * math/e_hypotl.c: Likewise.
39999         * math/e_j0l.c: Likewise.
40000         * math/e_j1l.c: Likewise.
40001         * math/e_jnl.c: Likewise.
40002         * math/e_lgammal_r.c: Likewise.
40003         * math/e_log10l.c: Likewise.
40004         * math/e_log2l.c: Likewise.
40005         * math/e_logl.c: Likewise.
40006         * math/e_powl.c: Likewise.
40007         * math/e_sinhl.c: Likewise.
40008         * math/e_sqrtl.c: Likewise.
40009         * math/e_scalb.c: Completely rewritten and optimized.
40010         * math/e_scalbf.c: Likewise.
40011         * math/e_scalbl.c: Likewise.
40012         * math/w_acos.c: Likewise.
40013         * math/w_acosf.c: Likewise.
40014         * math/w_acosl.c: Likewise.
40015         * math/w_acosh.c: Likewise.
40016         * math/w_acoshf.c: Likewise.
40017         * math/w_acoshl.c: Likewise.
40018         * math/w_asin.c: Likewise.
40019         * math/w_asinf.c: Likewise.
40020         * math/w_asinl.c: Likewise.
40021         * math/w_atan2.c: Likewise.
40022         * math/w_atan2f.c: Likewise.
40023         * math/w_atan2l.c: Likewise.
40024         * math/w_atanh.c: Likewise.
40025         * math/w_atanhf.c: Likewise.
40026         * math/w_atanhl.c: Likewise.
40027         * math/w_exp10.c: Likewise.
40028         * math/w_exp10f.c: Likewise.
40029         * math/w_exp10l.c: Likewise.
40030         * math/w_fmod.c: Likewise.
40031         * math/w_fmodf.c: Likewise.
40032         * math/w_fmodl.c: Likewise.
40033         * math/w_j0.c: Likewise.
40034         * math/w_j0f.c: Likewise.
40035         * math/w_j0l.c: Likewise.
40036         * math/w_j1.c: Likewise.
40037         * math/w_j1f.c: Likewise.
40038         * math/w_j1l.c: Likewise.
40039         * math/w_jn.c: Likewise.
40040         * math/w_jnf.c: Likewise.
40041         * math/w_log.c: Likewise.
40042         * math/w_logf.c: Likewise.
40043         * math/w_logl.c: Likewise.
40044         * math/w_log10.c: Likewise.
40045         * math/w_log10f.c: Likewise.
40046         * math/w_log10l.c: Likewise.
40047         * math/w_log2.c: Likewise.
40048         * math/w_log2f.c: Likewise.
40049         * math/w_log2l.c: Likewise.
40050         * math/w_pow.c: Likewise.
40051         * math/w_powf.c: Likewise.
40052         * math/w_powl.c: Likewise.
40053         * math/w_remainder.c: Likewise.
40054         * math/w_remainderf.c: Likewise.
40055         * math/w_remainderl.c: Likewise.
40056         * math/w_scalb.c: Likewise.
40057         * math/w_scalbf.c: Likewise.
40058         * math/w_scalbl.c: Likewise.
40059         * math/w_sqrt.c: Likewise.
40060         * math/w_sqrtf.c: Likewise.
40061         * math/w_sqrtl.c: Likewise.
40062         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40063         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
40064         used.
40065         * math/math_private.h: Declare __kernel_standard_f.
40066         * math/w_cosh.c: Remove cruft and optimize a bit.
40067         * math/w_coshf.c: Likewise.
40068         * math/w_coshl.c: Likewise.
40069         * math/w_exp2.c: Likewise.
40070         * math/w_exp2f.c: Likewise.
40071         * math/w_exp2l.c: Likewise.
40072         * math/w_hypot.c: Likewise.
40073         * math/w_hypotf.c: Likewise.
40074         * math/w_hypotl.c: Likewise.
40075         * math/w_lgamma.c: Likewise.
40076         * math/w_lgamma_r.c: Likewise.
40077         * math/w_lgammaf.c: Likewise.
40078         * math/w_lgammaf_r.c: Likewise.
40079         * math/w_lgammal.c: Likewise.
40080         * math/w_lgammal_r.c: Likewise.
40081         * math/w_sinh.c: Likewise.
40082         * math/w_sinhf.c: Likewise.
40083         * math/w_sinhl.c: Likewise.
40084         * math/w_tgamma.c: Likewise.
40085         * math/w_tgammaf.c: Likewise.
40086         * math/w_tgammal.c: Likewise.
40087         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40088         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40089         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40090         Minor optimizations.  Pretty printing.  Remove cruft.
40091         * sysdeps/i386/fpu/e_acosf.S: Likewise.
40092         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40093         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40094         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40095         * sysdeps/i386/fpu/e_acosl.c: Likewise.
40096         * sysdeps/i386/fpu/e_asin.S: Likewise.
40097         * sysdeps/i386/fpu/e_asinf.S: Likewise.
40098         * sysdeps/i386/fpu/e_atan2.S: Likewise.
40099         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40100         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40101         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40102         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40103         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40104         * sysdeps/i386/fpu/e_exp10.S: Likewise.
40105         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40106         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40107         * sysdeps/i386/fpu/e_exp2.S: Likewise.
40108         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40109         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40110         * sysdeps/i386/fpu/e_fmod.S: Likewise.
40111         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40112         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40113         * sysdeps/i386/fpu/e_hypot.S: Likewise.
40114         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40115         * sysdeps/i386/fpu/e_log.S: Likewise.
40116         * sysdeps/i386/fpu/e_log10.S: Likewise.
40117         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40118         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40119         * sysdeps/i386/fpu/e_log2.S: Likewise.
40120         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40121         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40122         * sysdeps/i386/fpu/e_logf.S: Likewise.
40123         * sysdeps/i386/fpu/e_logl.S: Likewise.
40124         * sysdeps/i386/fpu/e_pow.S: Likewise.
40125         * sysdeps/i386/fpu/e_powf.S: Likewise.
40126         * sysdeps/i386/fpu/e_powl.S: Likewise.
40127         * sysdeps/i386/fpu/e_remainder.S: Likewise.
40128         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40129         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40130         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40131         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40132         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40133         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40134         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40135         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40136         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40137         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40138         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40139         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40140         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40141         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40142         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40143         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40144         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40145         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40146         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40147         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40148         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40149         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40150         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40151         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40152         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40153         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40154         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40155         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40156         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40157         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40158         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40159         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40160         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40161         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40162         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40163         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40164         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40165         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40166         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40167         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40168         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40169         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40170         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40171         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40172         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40173         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40174         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40175         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40176         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40177         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40178         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40179         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40180         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40181         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40182         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40183         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40184         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40185         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40186         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40187         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40188         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40189         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40190         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40191         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40192         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40193         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40194         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40195         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40196         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40197         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40198         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40199         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40200         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40201         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40202         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40203         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40204         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40205         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40206         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40207         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40208         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40209         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40210         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40211         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40212         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40213         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40214         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40215         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40216         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40217         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40218         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40219         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40220         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40221         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40222         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40223         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40224         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40225         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40226         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40227         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40228         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40229         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40230         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40231         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40232         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40233         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40234         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40235         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40236         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40237         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40238         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40239         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40240         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40241         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40242         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40243         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40244         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40245         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40246         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
40247         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40248         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40249         (__isnanf): Likewise.
40250         (__isinf_ns): Likewise.
40251         (__isinf_nsf): Likewise.
40252         (__finite): Likewise.
40253         (__finitef): Likewise.
40254         (__ieee754_sqrt): Define as macro.
40255         (__ieee754_sqrtf): Define as macro.
40256         (__ieee754_sqrtl): Define as macro.
40257         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40258         inlined copy.
40259         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40260         __FINITE_MATH_ONLY__ consistent.
40261         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40262
40263 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
40264
40265         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40266         of rawmemchr.
40267
40268         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40269
40270 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
40271
40272         * po/ja.po: Update from translation team.
40273
40274 2011-10-08  Roland McGrath  <roland@hack.frob.com>
40275
40276         * locale/programs/locarchive.c (prepare_address_space): New function.
40277         (create_archive, enlarge_archive, open_archive): Use it.
40278
40279         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40280         inside [SHARED], where it is used.
40281
40282         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40283
40284         * nss/getent.c (netgroup_keys): Remove unused variable.
40285         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40286
40287 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
40288
40289         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40290         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40291         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40292         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40293         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40294         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40295         * math/Makefile (libm-calls): Add s_isinf_ns.
40296         * math/divtc3.c: Use __isinf_nsl instead of isinf.
40297         * math/multc3.c: Likewise.
40298         * math/s_casin.c: Likewise.
40299         * math/s_casinf.c: Likewise.
40300         * math/s_casinl.c: Likewise.
40301         * math/s_ccos.c: Likewise.
40302         * math/s_ccosf.c: Likewise.
40303         * math/s_ccosl.c: Likewise.
40304         * math/s_ctan.c: Likewise.
40305         * math/s_ctanf.c: Likewise.
40306         * math/s_ctanh.c: Likewise.
40307         * math/s_ctanhf.c: Likewise.
40308         * math/s_ctanhl.c: Likewise.
40309         * math/s_ctanl.c: Likewise.
40310         * math/w_fmod.c: Likewise.
40311         * math/w_fmodf.c: Likewise.
40312         * math/w_fmodl.c: Likewise.
40313         * math/w_remainder.c: Likewise.
40314         * math/w_remainderf.c: Likewise.
40315         * math/w_remainderl.c: Likewise.
40316         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40317         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40318         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40319         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40320         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40321         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40322         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40323         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40324
40325         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40326         of the number.
40327         * stdio-common/printf_fphex.c: Likewise.
40328         * stdio-common/printf_size.c: Likewise.
40329
40330         * math/e_exp10.c: Include math_private.h using <...> not "...".
40331         * math/e_exp10f.c: Likewise.
40332         * math/e_exp10l.c: Likewise.
40333         * math/e_exp2l.c: Likewise.
40334         * math/e_j0l.c: Likewise.
40335         * math/e_j1l.c: Likewise.
40336         * math/e_jnl.c: Likewise.
40337         * math/e_lgammal_r.c: Likewise.
40338         * math/e_rem_pio2l.c: Likewise.
40339         * math/e_scalb.c: Likewise.
40340         * math/e_scalbf.c: Likewise.
40341         * math/e_scalbl.c: Likewise.
40342         * math/k_cosl.c: Likewise.
40343         * math/k_sinl.c: Likewise.
40344         * math/k_tanl.c: Likewise.
40345         * math/s_cacoshf.c: Likewise.
40346         * math/s_catan.c: Likewise.
40347         * math/s_catanf.c: Likewise.
40348         * math/s_catanh.c: Likewise.
40349         * math/s_catanhf.c: Likewise.
40350         * math/s_catanhl.c: Likewise.
40351         * math/s_catanl.c: Likewise.
40352         * math/s_ccosh.c: Likewise.
40353         * math/s_ccoshf.c: Likewise.
40354         * math/s_ccoshl.c: Likewise.
40355         * math/s_cexp.c: Likewise.
40356         * math/s_cexpf.c: Likewise.
40357         * math/s_cexpl.c: Likewise.
40358         * math/s_clog.c: Likewise.
40359         * math/s_clog10.c: Likewise.
40360         * math/s_clog10f.c: Likewise.
40361         * math/s_clog10l.c: Likewise.
40362         * math/s_clogf.c: Likewise.
40363         * math/s_clogl.c: Likewise.
40364         * math/s_csin.c: Likewise.
40365         * math/s_csinf.c: Likewise.
40366         * math/s_csinh.c: Likewise.
40367         * math/s_csinhf.c: Likewise.
40368         * math/s_csinhl.c: Likewise.
40369         * math/s_csinl.c: Likewise.
40370         * math/s_csqrt.c: Likewise.
40371         * math/s_csqrtf.c: Likewise.
40372         * math/s_csqrtl.c: Likewise.
40373         * math/s_ctan.c: Likewise.
40374         * math/s_ctanf.c: Likewise.
40375         * math/s_ctanh.c: Likewise.
40376         * math/s_ctanhf.c: Likewise.
40377         * math/s_ctanhl.c: Likewise.
40378         * math/s_ctanl.c: Likewise.
40379         * math/s_ldexp.c: Likewise.
40380         * math/s_ldexpf.c: Likewise.
40381         * math/s_ldexpl.c: Likewise.
40382         * math/s_significand.c: Likewise.
40383         * math/s_significandf.c: Likewise.
40384         * math/s_significandl.c: Likewise.
40385         * math/w_acos.c: Likewise.
40386         * math/w_acosf.c: Likewise.
40387         * math/w_acosh.c: Likewise.
40388         * math/w_acoshf.c: Likewise.
40389         * math/w_acoshl.c: Likewise.
40390         * math/w_acosl.c: Likewise.
40391         * math/w_asin.c: Likewise.
40392         * math/w_asinf.c: Likewise.
40393         * math/w_asinl.c: Likewise.
40394         * math/w_atan2.c: Likewise.
40395         * math/w_atan2f.c: Likewise.
40396         * math/w_atan2l.c: Likewise.
40397         * math/w_atanh.c: Likewise.
40398         * math/w_atanhf.c: Likewise.
40399         * math/w_atanhl.c: Likewise.
40400         * math/w_cosh.c: Likewise.
40401         * math/w_coshf.c: Likewise.
40402         * math/w_coshl.c: Likewise.
40403         * math/w_dremf.c: Likewise.
40404         * math/w_exp10.c: Likewise.
40405         * math/w_exp10f.c: Likewise.
40406         * math/w_exp10l.c: Likewise.
40407         * math/w_exp2.c: Likewise.
40408         * math/w_exp2f.c: Likewise.
40409         * math/w_fmod.c: Likewise.
40410         * math/w_fmodf.c: Likewise.
40411         * math/w_fmodl.c: Likewise.
40412         * math/w_hypot.c: Likewise.
40413         * math/w_hypotf.c: Likewise.
40414         * math/w_hypotl.c: Likewise.
40415         * math/w_j0.c: Likewise.
40416         * math/w_j0f.c: Likewise.
40417         * math/w_j0l.c: Likewise.
40418         * math/w_j1.c: Likewise.
40419         * math/w_j1f.c: Likewise.
40420         * math/w_j1l.c: Likewise.
40421         * math/w_jn.c: Likewise.
40422         * math/w_jnf.c: Likewise.
40423         * math/w_jnl.c: Likewise.
40424         * math/w_lgamma.c: Likewise.
40425         * math/w_lgamma_r.c: Likewise.
40426         * math/w_lgammaf.c: Likewise.
40427         * math/w_lgammaf_r.c: Likewise.
40428         * math/w_lgammal.c: Likewise.
40429         * math/w_lgammal_r.c: Likewise.
40430         * math/w_log.c: Likewise.
40431         * math/w_log10.c: Likewise.
40432         * math/w_log10f.c: Likewise.
40433         * math/w_log10l.c: Likewise.
40434         * math/w_log2.c: Likewise.
40435         * math/w_log2f.c: Likewise.
40436         * math/w_log2l.c: Likewise.
40437         * math/w_logf.c: Likewise.
40438         * math/w_logl.c: Likewise.
40439         * math/w_pow.c: Likewise.
40440         * math/w_powf.c: Likewise.
40441         * math/w_powl.c: Likewise.
40442         * math/w_remainder.c: Likewise.
40443         * math/w_remainderf.c: Likewise.
40444         * math/w_remainderl.c: Likewise.
40445         * math/w_scalb.c: Likewise.
40446         * math/w_scalbf.c: Likewise.
40447         * math/w_scalbl.c: Likewise.
40448         * math/w_sinh.c: Likewise.
40449         * math/w_sinhf.c: Likewise.
40450         * math/w_sinhl.c: Likewise.
40451         * math/w_sqrt.c: Likewise.
40452         * math/w_sqrtf.c: Likewise.
40453         * math/w_sqrtl.c: Likewise.
40454         * math/w_tgamma.c: Likewise.
40455         * math/w_tgammaf.c: Likewise.
40456         * math/w_tgammal.c: Likewise.
40457
40458         * po/ja.po: Update from translation team.
40459
40460 2011-09-29  Andreas Jaeger  <aj@suse.de>
40461
40462         [BZ #13179]
40463         * sunrpc/netname.c (netname2host): Fix logic.
40464
40465         [BZ #6779]
40466         [BZ #6783]
40467         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40468         correctly.
40469         * math/w_remainder.c (__remainder): Likewise.
40470         * math/w_remainderf.c (__remainderf): Likewise.
40471         * math/libm-test.inc (remainder_test): Add test cases.
40472
40473 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40474
40475         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
40476         sdiv_qrnnd.
40477
40478 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
40479
40480         * string/test-memcmp.c: Avoid unncessary #defines.
40481         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40482
40483 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40484
40485         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40486         Use new sse2 version for core i3 - i7 as it's faster
40487         than sse42 version.
40488         (bit_Prefer_PMINUB_for_stringop): New.
40489         * sysdeps/x86_64/rawmemchr.S: Update.
40490         Replace with faster SSE2 version.
40491         * sysdeps/x86_64/memrchr.S: New file.
40492         * sysdeps/x86_64/memchr.S: Update.
40493         Replace with faster SSE2 version.
40494
40495 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
40496
40497         * elf/dl-load.c (lose): Add cast to avoid warning.
40498
40499 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
40500
40501         * po/ca.po: Update from translation team.
40502
40503         * inet/getnetgrent_r.c: Hook up nscd.
40504         * nscd/Makefile (routines): Add nscd_netgroup.
40505         (nscd-modules): Add netgroupcache.
40506         (CFLAGS-netgroupcache.c): Define.
40507         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40508         (cache_search): Add const to second parameter.
40509         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40510         INNETGR.
40511         (dbs): Add netgrdb entry.
40512         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40513         (verify_persistent_db): Handle netgrdb.
40514         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40515         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40516         GETFDNETGR.
40517         (netgroup_response_header): Define.
40518         (innetgroup_response_header): Define.
40519         (datahead): Add netgroup_response_header and innetgroup_response_header
40520         elements.
40521         * nscd/nscd.conf: Add entries for netgroup cache.
40522         * nscd/nscd.h (dbtype): Add netgrdb.
40523         (_PATH_NSCD_NETGROUP_DB): Define.
40524         (netgroup_iov_disabled): Declare.
40525         (xmalloc, xcalloc, xrealloc): Move declarations here.
40526         (cache_search): Adjust prototype.
40527         Add netgroup-related prototypes.
40528         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40529         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40530         (__nscd_innetgr): Declare.
40531         * nscd/selinux.c (perms): Use access_vector_t as element type and
40532         add netgroup-related initializers.
40533         * nscd/netgroupcache.c: New file.
40534         * nscd/nscd_netgroup.c: New file.
40535         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40536         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40537         For four parameters use innetgr.
40538         * nss/nss_files/files-init.c: Add definition and callback for netgr.
40539         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40540         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40541         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40542
40543         * nscd/connections.c (register_traced_file): Don't register file
40544         for disabled databases.
40545
40546 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
40547
40548         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40549
40550         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40551         from tree and freeing node.
40552
40553 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
40554
40555         * nss/nsswitch.c (__nss_database_lookup): Handle
40556         nss_parse_service_list out of memory case.
40557
40558 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
40559
40560         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40561         out of memory case.
40562
40563 2011-10-04  Andreas Schwab  <schwab@redhat.com>
40564
40565         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40566         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40567         pass it down.
40568         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40569         elf_machine_rela, elf_machine_lazy_rel.
40570         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40571         (ELF_DYNAMIC_DO_REL): Likewise.
40572         (ELF_DYNAMIC_DO_RELA): Likewise.
40573         (ELF_DYNAMIC_RELOCATE): Likewise.
40574         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40575         to ELF_DYNAMIC_DO_REL.
40576         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40577         (dl_main): In trace mode always set __RTLD_NOIFUNC.
40578         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40579         elf_machine_rela.
40580         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40581         skip_ifunc, don't call ifunc function if non-zero.
40582         (elf_machine_rela): Likewise.
40583         (elf_machine_lazy_rel): Likewise.
40584         (elf_machine_lazy_rela): Likewise.
40585         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40586         (elf_machine_lazy_rel): Likewise.
40587         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40588         Likewise.
40589         (elf_machine_lazy_rel): Likewise.
40590         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40591         Likewise.
40592         (elf_machine_lazy_rel): Likewise.
40593         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40594         (elf_machine_lazy_rel): Likewise.
40595         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40596         (elf_machine_lazy_rel): Likewise.
40597         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40598         (elf_machine_lazy_rel): Likewise.
40599         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40600         (elf_machine_lazy_rel): Likewise.
40601         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40602         (elf_machine_lazy_rel): Likewise.
40603         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40604         (elf_machine_lazy_rel): Likewise.
40605
40606 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
40607
40608         * nss/nss_files/files-init.c (_nss_files_init): Use static
40609         initialization for all the *_traced_file variables.
40610
40611 2011-09-28  Andreas Schwab  <schwab@redhat.com>
40612
40613         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40614
40615 2011-09-27  Roland McGrath  <roland@hack.frob.com>
40616
40617         [BZ #13226]
40618         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40619
40620 2011-09-27  Andreas Schwab  <schwab@redhat.com>
40621
40622         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40623         Reread the line before reparsing it.
40624
40625 2011-09-26  Andreas Schwab  <schwab@redhat.com>
40626
40627         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40628
40629 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
40630             Maxim Kuvyrkov  <maxim@codesourcery.com>
40631             Joseph Myers  <joseph@codesourcery.com>
40632
40633         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40634         if needed for __stack_chk_guard.
40635
40636 2011-09-19  Roland McGrath  <roland@hack.frob.com>
40637
40638         * sysdeps/posix/spawni.c (script_execute): Always define it.
40639         It will be optimized away if unused.
40640         (maybe_script_execute): New function.
40641         (__spawni): Call it.
40642
40643         * Makerules: Don't include tls.make.
40644         (config-tls): Always set to thread.
40645         * tls.make.c: File removed.
40646
40647 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
40648
40649         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40650         * config.make.in (CPPFLAGS-config): New substituted variable.
40651
40652 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
40653
40654         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40655
40656         [BZ #13192]
40657         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40658         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40659
40660 2011-09-15  Roland McGrath  <roland@hack.frob.com>
40661
40662         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40663         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40664         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40665         (CALL_FAIL): Likewise.
40666         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40667         (CALL_FAIL): Macro removed.
40668         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40669
40670 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
40671
40672         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40673         for __FINITE_MATH_ONLY__ == 1.
40674
40675 2011-09-15  Andreas Schwab  <schwab@redhat.com>
40676
40677         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40678         __ieee754_sqrt instead of sqrt.
40679         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40680         __ieee754_sqrtf instead of sqrtf.
40681         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40682         __floorf instead of floorf.
40683         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40684         __floorf, __truncf instead of floorf, truncf.
40685
40686 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
40687
40688         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40689
40690         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40691         __extern_always_inline.
40692         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40693         32-bit.
40694
40695 2011-09-14  Andreas Schwab  <schwab@redhat.com>
40696
40697         * elf/rtld.c (dl_main): Also relocate in dependency order when
40698         doing symbol dependency testing.
40699
40700 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
40701
40702         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40703         Always define `refsym'.
40704
40705 2011-09-13  Andreas Schwab  <schwab@redhat.com>
40706
40707         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40708         (__FD_ELT): Renamed from __FDELT.
40709         * misc/bits/select2.h (__FD_ELT): Likewise.
40710         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40711         __FD_MASK instead of __FDELT, __FDMASK.
40712         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40713         Likewise.
40714         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40715         Likewise.
40716
40717         * elf/Makefile (gen-ldd): Fix pattern.
40718
40719         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40720         (init_tls): Likewise.
40721
40722 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
40723
40724         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40725
40726 2011-09-12  Andreas Schwab  <schwab@redhat.com>
40727
40728         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40729         `struct cmsghdr *' instead of `void *'.
40730         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40731         Likewise.
40732
40733 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
40734
40735         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40736         if non-absolute.
40737         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40738         ldd_rewrite_script.
40739
40740 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
40741
40742         * configure.in: Remove --with-tls option.
40743         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40744         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40745         out in case it is missing.
40746         * sysdeps/ia64/elf/configure.in: Likewise.
40747         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40748         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40749         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40750         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40751         * sysdeps/sh/elf/configure.in: Likewise.
40752         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40753         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40754         * sysdeps/x86_64/elf/configure.in: Likewise.
40755         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40756         * sysdeps/mach/hurd/tls.h: Likewise.
40757
40758         [BZ #13067]
40759         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40760
40761         [BZ #13090]
40762         * configure.in: Fix use of AC_INIT.
40763
40764         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40765
40766 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
40767
40768         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40769         __set_errno.
40770         * malloc/hooks.c: Likewise.
40771
40772         [BZ #11929]
40773         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
40774         variables statically.
40775         (narenas): Initialize.
40776         (list_lock): Initialize.
40777         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
40778         initializtion of main_arena and list_lock.  Small cleanups.
40779         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40780         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
40781         Add initializers to main_arena and mp_.
40782         (malloc_state): Remove pagesize member.  Change all users to use
40783         GLRO(dl_pagesize).
40784
40785         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40786         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
40787         is always initialized.
40788
40789         * malloc/malloc.c: Removed unused configurations and dead code.
40790         * malloc/arena.c: Likewise.
40791         * malloc/hooks.c: Likewise.
40792         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40793
40794         * include/tls.h: Removed.  USE___THREAD must always be defined.
40795         * bits/libc-tsd.h: Don't handle !USE___THREAD.
40796         * elf/dl-libc.c: Likewise.
40797         * elf/dl-tsd.c: Likewise.
40798         * include/errno.h: Likewise.
40799         * include/netdb.h: Likewise.
40800         * include/resolv.h: Likewise.
40801         * inet/herrno-loc.c: Likewise.
40802         * inet/herrno.c: Likewise.
40803         * malloc/arena.c: Likewise.
40804         * malloc/hooks.c: Likewise.
40805         * malloc/malloc.c: Likewise.
40806         * resolv/res-state.c: Likewise.
40807         * resolv/res_libc.c: Likewise.
40808         * sysdeps/i386/dl-machine.h: Likewise.
40809         * sysdeps/ia64/dl-machine.h: Likewise.
40810         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40811         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40812         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40813         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40814         * sysdeps/sh/dl-machine.h: Likewise.
40815         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40816         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40817         * sysdeps/unix/i386/sysdep.S: Likewise.
40818         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40819         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40820         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40821         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40822         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40823         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40824         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40825         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40826         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40827         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40828         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40829         * sysdeps/x86_64/dl-machine.h: Likewise.
40830         * tls.make.c: Likewise.
40831
40832         * configure.in: Remove --with-__thread option.  Make tests for
40833         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40834         tls_model attribute fail if no support is available.  Remove
40835         USE_IN_LIBIO.
40836         * Makeconfig: Adjust for dropped configure option.  All features are
40837         now mandatory.
40838         * Makerules: Likewise.
40839         * Versions.def: Likewise.
40840         * argp/argp-fmtstream.c: Likewise.
40841         * argp/argp-fmtstream.h: Likewise.
40842         * argp/argp-help.c: Likewise.
40843         * assert/assert.c: Likewise.
40844         * config.h.in: Likewise.
40845         * config.make.in: Likewise.
40846         * configure: Likewise.
40847         * configure.in: Likewise.
40848         * csu/Versions: Likewise.
40849         * csu/init.c: Likewise.
40850         * elf/tst-audit2.c: Likewise.
40851         * elf/tst-tls10.c: Likewise.
40852         * elf/tst-tls10.h: Likewise.
40853         * elf/tst-tls11.c: Likewise.
40854         * elf/tst-tls12.c: Likewise.
40855         * elf/tst-tls14.c: Likewise.
40856         * elf/tst-tlsmod11.c: Likewise.
40857         * elf/tst-tlsmod12.c: Likewise.
40858         * elf/tst-tlsmod13.c: Likewise.
40859         * elf/tst-tlsmod13a.c: Likewise.
40860         * elf/tst-tlsmod14a.c: Likewise.
40861         * elf/tst-tlsmod15b.c: Likewise.
40862         * elf/tst-tlsmod16a.c: Likewise.
40863         * elf/tst-tlsmod16b.c: Likewise.
40864         * elf/tst-tlsmod7.c: Likewise.
40865         * elf/tst-tlsmod8.c: Likewise.
40866         * elf/tst-tlsmod9.c: Likewise.
40867         * gmon/gmon.c: Likewise.
40868         * grp/fgetgrent_r.c: Likewise.
40869         * grp/putgrent.c: Likewise.
40870         * hurd/fopenport.c: Likewise.
40871         * include/libc-symbols.h: Likewise.
40872         * include/tls.h: Likewise.
40873         * intl/gettextP.h: Likewise.
40874         * intl/loadinfo.h: Likewise.
40875         * locale/global-locale.c: Likewise.
40876         * locale/localeinfo.h: Likewise.
40877         * mach/devstream.c: Likewise.
40878         * malloc/arena.c: Likewise.
40879         * malloc/set-freeres.c: Likewise.
40880         * misc/err.c: Likewise.
40881         * misc/getttyent.c: Likewise.
40882         * misc/mntent_r.c: Likewise.
40883         * posix/getopt.c: Likewise.
40884         * posix/wordexp.c: Likewise.
40885         * pwd/fgetpwent_r.c: Likewise.
40886         * resolv/Versions: Likewise.
40887         * resolv/res_hconf.c: Likewise.
40888         * shadow/fgetspent_r.c: Likewise.
40889         * shadow/putspent.c: Likewise.
40890         * stdio-common/printf_fphex.c: Likewise.
40891         * stdio-common/tmpfile.c: Likewise.
40892         * stdlib/abort.c: Likewise.
40893         * stdlib/fmtmsg.c: Likewise.
40894         * sunrpc/auth_unix.c: Likewise.
40895         * sunrpc/clnt_perr.c: Likewise.
40896         * sunrpc/clnt_tcp.c: Likewise.
40897         * sunrpc/clnt_udp.c: Likewise.
40898         * sunrpc/clnt_unix.c: Likewise.
40899         * sunrpc/openchild.c: Likewise.
40900         * sunrpc/svc_simple.c: Likewise.
40901         * sunrpc/svc_tcp.c: Likewise.
40902         * sunrpc/svc_udp.c: Likewise.
40903         * sunrpc/svc_unix.c: Likewise.
40904         * sunrpc/xdr.c: Likewise.
40905         * sunrpc/xdr_array.c: Likewise.
40906         * sunrpc/xdr_rec.c: Likewise.
40907         * sunrpc/xdr_ref.c: Likewise.
40908         * sunrpc/xdr_stdio.c: Likewise.
40909
40910 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40911
40912         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40913
40914 2011-07-03  Andreas Jaeger  <aj@suse.de>
40915
40916         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40917         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40918         regenerate with gen-libm-tests.pl.
40919
40920 2010-05-12  Petr Baudis  <pasky@suse.cz>
40921
40922         [BZ #11589]
40923         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40924         around j0() zero points by switching to j1().
40925         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40926         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40927         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40928         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40929
40930 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40931
40932         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40933         instead of 0.
40934         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40935         instead of 0.
40936         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40937         Patch in part by Pavel Roskin <proski@gnu.org>.
40938
40939         [BZ #13138]
40940         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40941         realloc.
40942         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
40943         Free memory block if necessary.
40944
40945         [BZ #12847]
40946         * libio/genops.c (INTDEF): For string streams the _lock pointer can
40947         be NULL.  Don't lock in this case.
40948
40949 2011-09-09  Roland McGrath  <roland@hack.frob.com>
40950
40951         * elf/elf.h (ELFOSABI_GNU): New macro.
40952         (ELFOSABI_LINUX): Define to that.
40953
40954 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
40955
40956         * string/strncat.c (strncat): Undef the symbol in case it has been
40957         defined in bits/string.h.
40958
40959 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40960
40961         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40962
40963         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40964         link map.
40965
40966 2011-08-17  Andreas Jaeger  <aj@suse.de>
40967
40968         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40969
40970 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
40971             Ian Lance Taylor  <iant@google.com>
40972
40973         * math/libm-test.inc (lround_test): New testcase.
40974         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40975
40976 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
40977
40978         * Makefile: Remove support for automatic cvs check-ins.
40979         * Makerules: Likewise.
40980         * config.make.in: Likewise.
40981         * configure.in: Likewise.
40982         * intl/Makefile: Likewise.
40983         * locale/Makefile: Likewise.
40984         * po/Makefile: Likewise.
40985         * posix/Makefile: Likewise.
40986         * sysdeps/gnu/Makefile: Likewise.
40987         * sysdeps/mach/hurd/Makefile: Likewise.
40988         * sysdeps/sparc/sparc32/Makefile: Likewise.
40989
40990         [BZ #13118]
40991         * posix/Makefile (bug-regex32-ENV): Define.
40992         Patch by John Stanley <jpsinthemix@verizon.net>.
40993
40994         * misc/Makefile (headers): Add bits/select2.h.
40995         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40996         * misc/bits/select2.h: New file.
40997         * include/bits/select2.h: New file.
40998         * debug/Makefile (routines): Add fdelt_chk.
40999         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41000         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41001         FD_ISSET.
41002         * debug/fdelt_chk.c: New file.
41003
41004         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
41005         * wcsmbs/test-wmemcmp.c: Likewise.
41006         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
41007         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
41008
41009 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41010
41011         * string/Makefile (strop-tests): Add memcmp.
41012         * string/test-wmemcmp.c: New file.
41013         * string/test-memcmp.c: Add wmemcmp support.
41014
41015 2011-09-08  Roland McGrath  <roland@hack.frob.com>
41016
41017         [BZ #13153]
41018         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41019         2011-07-19 change.
41020
41021         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41022         garbage value in a __mach_port_mod_refs call in the cases of the
41023         task-self and thread-self ports.
41024
41025 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41026
41027         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41028
41029 2011-09-08  Andreas Schwab  <schwab@redhat.com>
41030
41031         * elf/dl-load.c (lose): Check for non-null L.
41032
41033 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
41034
41035         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41036
41037         * elf/dl-libc.c (dlerror_run): Pass back error code from
41038         dl_catch_error.
41039
41040         [BZ #13123]
41041         * elf/dl-load.c (lose): Free l_origin if it is valid.
41042
41043         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41044         names.
41045         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41046         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41047         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41048         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41049         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41050         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41051
41052 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41053
41054         * sysdeps/powerpc/fpu/e_hypot.c: New file.
41055         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41056         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41057         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41058         * sysdeps/powerpc/fpu/k_cosf.c: New file.
41059         * sysdeps/powerpc/fpu/k_sinf.c: New file.
41060         * sysdeps/powerpc/fpu/s_cosf.c: New file.
41061         * sysdeps/powerpc/fpu/s_sinf.c: New file.
41062         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41063         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41064
41065 2011-08-15  Alan Modra  <amodra@gmail.com>
41066
41067         [BZ #13092]
41068         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41069         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41070         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
41071         ppc_mcount to static-only-routines.
41072         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41073         __mcount_internal.
41074         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41075         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
41076
41077 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
41078
41079         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41080         for finite and infinity parameters.
41081
41082 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41083
41084         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41085         and add nop instructions for throughput optimization.
41086         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41087
41088 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
41089
41090         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41091         aligned copy for power7 with vector-scalar instructions.
41092         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41093
41094 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
41095
41096         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41097         AVX check.
41098
41099 2011-09-07  Andreas Schwab  <schwab@redhat.com>
41100
41101         [BZ #13144]
41102         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41103         last change.
41104
41105 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
41106
41107         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41108         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41109         syscall wrapper around clock_gettime in __vdso_clock_gettime.
41110         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41111         clock_gettime.
41112
41113 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
41114
41115         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41116         Forgot to demangle the pointer.
41117
41118         * sysdeps/i386/sysdep.h: Define atom_text_section.
41119         * sysdeps/x86_64/sysdep.h: Likewise.
41120         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41121         section with atom_text_section.
41122         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41123         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41124         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41125         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41126         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41127
41128         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41129         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41130         already be defined.  Change to take two parameters and don't assign
41131         result to variable.  Adjust all users.
41132         Define INTERNAL_GETTIME if not already defined.
41133         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41134         call.
41135         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41136         HAVE_CLOCK_GETTIME_VSYSCALL.
41137         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41138
41139         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41140         gettimeofday vsyscall, just use time.
41141
41142 2011-09-06  Andreas Schwab  <schwab@redhat.com>
41143
41144         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41145         <errno.h>.
41146
41147 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
41148
41149         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41150         syscall on x86-64.
41151         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41152         syscall.
41153         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41154         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41155         syscall if possible.
41156
41157 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
41158
41159         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41160         e_ident.  Don't pass to find_mapsXX.
41161         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41162
41163 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41164
41165         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41166         strchr-sse2-no-bsf strrchr-sse2-no-bsf
41167         * sysdeps/x86_64/multiarch/strchr.S: Update.
41168         Check bit_slow_BSF bit.
41169         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41170         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41171         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41172
41173 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
41174
41175         [BZ #13134]
41176         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41177         before glibc 2.15.
41178         (tryshell): Define.
41179         (__spawni): Change last parameter to be flag.  Test
41180         SPAWN_XFLAGS_USE_PATH flag to use path or not.
41181         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41182         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41183         * posix/spawni.c: Likewise.
41184         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41185         * posix/spawnp.c: Likewise.  Change normal version to use
41186         SPAWN_XFLAGS_USE_PATH.
41187         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41188         SPAWN_XFLAGS_TRY_SHELL.
41189
41190         [BZ #13150]
41191         * posix/glob.h: Remove gcc 1.x support.
41192
41193         [BZ #13068]
41194         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41195
41196 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41197
41198         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41199         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41200         strrchr-sse2-bsf
41201         * sysdeps/i386/i686/multiarch/strchr.S: New file.
41202         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41203         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41204         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41205         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41206         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41207
41208 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41209
41210         * sysdeps/x86_64/wcscmp.S: New file.
41211
41212         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41213         wcscmp-c wcscmp-sse2
41214         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41215         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41216         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41217         * wcsmbs/wcscmp.c: Allow renaming.
41218
41219 2011-09-05  David S. Miller  <davem@davemloft.net>
41220
41221         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41222         stack slot, rather than the struct return pointer slot.
41223         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41224         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41226         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41227
41228 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
41229
41230         * po/ja.po: Update from translation team.
41231
41232         [BZ #13144]
41233         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41234         kernel in 64-bit binaries.
41235
41236 2011-09-01  David S. Miller  <davem@davemloft.net>
41237
41238         * elf/elf.h (HWCAP_SPARC_*): Move to..
41239         * sysdeps/sparc/sysdep.h: this new file and add new values.
41240         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41241         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41242         _DL_HWCAP_COUNT to 24.
41243         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41244         entries.
41245         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41246         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41247         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41248         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41249         instead of magic constants.
41250         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41251
41252 2011-08-31  David S. Miller  <davem@davemloft.net>
41253
41254         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41255         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41256         Reimplement to do errno handling inline.
41257         (SYSCALL_ERROR_HANDLER): New macro.
41258         (__SYSCALL_STRING): Do not do errno handling in asm.
41259         (__CLONE_SYSCALL_STRING): Delete.
41260         (__INTERNAL_SYSCALL_STRING): Delete.
41261         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41262         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41263         (PSEUDO): Reimplement to do errno handling inline.
41264         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41265         (SYSCALL_ERROR_HANDLER): New macro.
41266         (__SYSCALL_STRING): Do not do errno handling in asm.
41267         (__CLONE_SYSCALL_STRING): Delete.
41268         (__INTERNAL_SYSCALL_STRING): Delete.
41269         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41270         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41271         i386.
41272         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41273         (inline_syscall*): Add 'err' argument.
41274         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41275         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41276         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41277         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41278
41279         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41280         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41281
41282 2011-08-30  Andreas Schwab  <schwab@redhat.com>
41283
41284         * elf/rtld.c (dl_main): Relocate objects in dependency order.
41285
41286 2011-08-29  Jiri Olsa <jolsa@redhat.com>
41287
41288         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41289         directive.
41290
41291 2011-08-24  David S. Miller  <davem@davemloft.net>
41292
41293         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41294
41295 2011-08-24  Andreas Schwab  <schwab@redhat.com>
41296
41297         * elf/Makefile: Add rules to build and run unload8 test.
41298         * elf/unload8.c: New file.
41299         * elf/unload8mod1.c: New file.
41300         * elf/unload8mod1x.c: New file.
41301         * elf/unload8mod2.c: New file.
41302         * elf/unload8mod3.c: New file.
41303
41304         * elf/dl-close.c (_dl_close_worker): Reset private search list if
41305         it wasn't used.
41306
41307 2011-08-23  David S. Miller  <davem@davemloft.net>
41308
41309         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41310         subtract stack bias.
41311         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41312         %sp not %fp in calculations.
41313         (_JMPBUF_UNWINDS_ADJ): Likewise.
41314
41315         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41316         (aio_suspend): Call it to force an exception region around the
41317         AIO_MISC_WAIT() invocation.
41318
41319 2011-08-23  Andreas Schwab  <schwab@redhat.com>
41320
41321         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41322         backslash.
41323
41324 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
41325
41326         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41327         protection macro.
41328         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41329         and <dl-machine.h>.
41330         (Elf64_FuncDesc): Remove.
41331
41332 2011-08-22  David S. Miller  <davem@davemloft.net>
41333
41334         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41335         sigaltstack check, add missing cfi directives.
41336         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41337         missing cfi directives, and sigaltstack handling.
41338
41339 2011-08-16  Andreas Schwab  <schwab@redhat.com>
41340
41341         [BZ #11724]
41342         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41343         object is seen twice.
41344         * elf/dl-fini.c (_dl_sort_fini): Likewise.
41345
41346         * elf/Makefile (distribute): Add tst-initorder2.c.
41347         (tests): Add tst-initorder2.
41348         (modules-names): Add tst-initorder2a tst-initorder2b
41349         tst-initorder2c tst-initorder2d.  Add rules to build them.
41350         ($(objpfx)tst-initorder2.out): New rule.
41351         * elf/tst-initorder2.c: New file.
41352         * elf/tst-initorder2.exp: New file.
41353
41354 2011-08-22  Andreas Schwab  <schwab@redhat.com>
41355
41356         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41357
41358         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41359         dependencies back to end of function.
41360
41361         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41362         $(elfobjdir)/ld.so.
41363
41364 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
41365
41366         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41367         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41368         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41369         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41370         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41371         of __vdso_gettimeofday.
41372         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41373         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
41374         attribute_hidden.
41375         (_libc_vdso_platform_setup): Remove initialization of
41376         __vdso_gettimeofday and __vdso_time.
41377
41378 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
41379
41380         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41381         and fgetc_unlocked.
41382         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41383         getc_unlocked.
41384
41385         * elf/dl-open.c (add_to_global): Report additions to the global scope
41386         for LD_DEBUG=scopes.
41387         (dl_open_worker): Also print scope of newly loaded dependencies.
41388         (_dl_show_scope): Indicate if there is no scope.
41389
41390         [BZ #13114]
41391         * stdio-common/Makefile (tests): Add bug24.
41392         * stdio-common/bug24.c: New file.
41393
41394 2011-08-19  Andreas Jaeger  <aj@suse.de>
41395
41396         [BZ #13114]
41397         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41398         non-existant file when using close-on-exec mode.
41399
41400 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
41401
41402         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41403         the very first instruction.
41404
41405         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41406         the CFI state in the end.
41407         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41408         inclusion of dl-trampoline.h.
41409         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41410
41411 2011-08-19  Andreas Schwab  <schwab@redhat.com>
41412
41413         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41414         expectations for long double.
41415
41416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41417         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41418
41419 2011-08-14  David S. Miller  <davem@davemloft.net>
41420
41421         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41422         artificual limit depends upon the system page size.
41423
41424 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
41425
41426         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41427         * resolv/Makefile: Define CFLAGS-libresolv.
41428
41429 2011-08-17  Andreas Schwab  <schwab@redhat.com>
41430
41431         * nss/makedb.c (compute_tables): Make variables used in nested
41432         function static.
41433
41434 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
41435
41436         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41437         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41438         if buffer was too small.
41439
41440         * elf/pldd.c (main): Attach to all threads in the process.
41441         Rewrite /proc handling to use *at functions.
41442
41443 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
41444
41445         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41446         specifies first scope to show.
41447         (dl_open_worker): Update callers.  Move printing scope of new
41448         object to before the relocation.
41449         * elf/rtld.c (dl_main): Update _dl_show_scope call.
41450         * sysdeps/generic/ldsodefs.h: Update declaration.
41451
41452         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41453         string for the scope number.
41454
41455 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
41456
41457         * nscd/servicescache.c (cache_addserv): Make sure written is always
41458         initialized.
41459
41460 2011-08-14  Roland McGrath  <roland@hack.frob.com>
41461
41462         * sysdeps/i386/i486/bits/atomic.h
41463         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41464         statement expression, so as to suppress "set but not used" warning.
41465         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41466
41467         * string/strncat.c (STRNCAT): Use prototype definition.
41468
41469         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41470         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41471         -Iprograms here.
41472         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41473         (localedef-modules): Add localedef.
41474         (locale-modules): Add locale.
41475
41476         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41477         * elf/rtld.c (dl_main): Invert order of assignment in last change,
41478         to avoid a warning.
41479
41480 2011-08-14  David S. Miller  <davem@davemloft.net>
41481
41482         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41483         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41484
41485 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
41486
41487         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
41488         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41489         * elf/rtld.c (dl_main): Set l_name of vDSO.
41490         Call _dl_show_scope when DL_DEBUG_SCOPES.
41491         (process_dl_debug): Recognize scopes flag and also set it for all.
41492         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41493         Declare _dl_show_scope.
41494
41495         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41496         (do_dlopen): Pass caller_dlopen to dl_open.
41497         (__libc_dlopen_mode): Initialize caller_dlopen.
41498
41499         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41500         of libc.  Make tolower call locale-independent.  Optimize a bit by
41501         using isdigit instead of isalnum.
41502         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41503
41504 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
41505
41506         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41507         was a dependency or dynamically loaded.
41508
41509 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
41510
41511         * intl/l10nflist.c: Allow architecture-specific pop function.
41512         * sysdeps/x86_64/l10nflist.c: New file.
41513
41514         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41515         classification.
41516
41517 2011-08-10  Andreas Schwab  <schwab@redhat.com>
41518
41519         * include/dirent.h: Add libc_hidden_proto for scandirat and
41520         scandirat64.  Don't declare __scandirat64.
41521         * dirent/scandirat.c: Add libc_hidden_def.
41522         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41523         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41524
41525 2011-08-10  David S. Miller  <davem@davemloft.net>
41526
41527         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41528         enum.
41529         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41530         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41531         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41532
41533 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
41534
41535         * Versions.def [libc]: Add GLIBC_2.15.
41536         * dirent/Makefile (routines): Add scandirat and scandirat64.
41537         * dirent/Versions [libc]: Export scandirat and scandirat64 for
41538         GLIBC_2.15.
41539         * dirent/dirent.h: Declare scandirat and scandirat64.
41540         * dirent/scandirat.c: New file.
41541         * dirent/scandirat64.c: New file.
41542         * sysdeps/wordsize-64/scandirat.c: New file.
41543         * sysdeps/wordsize-64/scandirat64.c: New file.
41544         * dirent/opendir.c: Define opendirat.
41545         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
41546         using scandirat.
41547         * dirent/scandir64.c: Adjust for scandir.c change.
41548         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
41549         __scandirat64, and __scandir_cancel_handler.
41550         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
41551         additional parameter and use openat instead of open (outside of ld.so).
41552         Add new __opendir as wrapper around __opendirat.
41553         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41554         here without requiring old scandirat implementation.
41555
41556 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
41557
41558         * dirent/scandir.c (cancel_handler): Renamed to
41559         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
41560         defined.  Adjust users.
41561         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41562         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41563
41564 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
41565
41566         * string/test-string.h (IMPL): Use __STRING to expand name and then
41567         stringify it.
41568
41569         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
41570         of cleanups.
41571
41572 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41573
41574         * string/Makefile: Update.
41575         (strop-tests): Append strncat.
41576         * string/test-wcscmp.c: New file.
41577         New comprehensive test for wcscmp.
41578         * string/test-strcmp.c: Update.
41579         (WIDE): New define.
41580
41581 2011-07-22  Andreas Schwab  <schwab@redhat.com>
41582
41583         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41584         line.
41585
41586 2011-07-26  Andreas Schwab  <schwab@redhat.com>
41587
41588         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41589         encoding to ACE if AI_IDN.
41590
41591 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
41592
41593         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41594         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41595
41596 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41597
41598         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41599         Fix overflow bug in strncat.
41600         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41601
41602         * string/test-strncat.c: Update.
41603         Add new tests for checking overflow bugs.
41604
41605 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41606
41607         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41608         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41609         * sysdeps/i386/i686/multiarch/strcat.S: New file.
41610         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41611         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41612         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41613         * sysdeps/i386/i686/multiarch/strncat.S: New file.
41614         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41615         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41616
41617         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41618         (USE_AS_STRCAT): Define.
41619         Add strcat and strncat support.
41620         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41621
41622 2011-07-25  Andreas Schwab  <schwab@redhat.com>
41623
41624         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41625         __n bigger than INT_MAX+1.
41626         (__strncmp_g): Likewise.
41627
41628 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
41629
41630         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41631         * libio/stido.h: Likewise.
41632
41633         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41634         (AF_NFC): Define.
41635         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41636         (AF_NFC): Define.
41637
41638         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41639         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41640         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41641         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41642         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41643
41644         [BZ #13021]
41645         * scripts/test-installation.pl: Don't expect libnss_test1 to be
41646         installed.
41647
41648         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41649         typo.
41650         (_dl_x86_64_save_sse): Likewise.
41651
41652 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
41653
41654         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41655         OSXSAVE.
41656         (_dl_x86_64_save_sse): Likewise.
41657
41658         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41659
41660         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41661
41662 2011-07-21  Andreas Schwab  <schwab@redhat.com>
41663
41664         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41665         change.
41666         (_dl_x86_64_save_sse): Use correct AVX check.
41667
41668 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41669
41670         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41671         bug in strncpy/strncat.
41672         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41673
41674 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
41675
41676         * string/tester.c (test_strcat): Add tests for different alignments
41677         of source and destination.
41678         (test_strncat): Likewise.
41679
41680 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
41681
41682         [BZ #12852]
41683         * posix/glob.c (glob): Check passed in values before using them in
41684         expressions to avoid some overflows.
41685         (glob_in_dir): Likewise.
41686
41687         [BZ #13007]
41688         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41689         check for AVX enablement so that we don't crash with old kernels and
41690         new hardware.
41691         * elf/tst-audit4.c: Add same checks here.
41692         * elf/tst-audit6.c: Likewise.
41693
41694         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41695
41696 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
41697
41698         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41699
41700 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
41701
41702         * po/cs.po: Update from translation team.
41703         * po/bg.po: Likewise.
41704
41705 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
41706
41707         * misc/sys/cdefs.h: Add support for const attribute.
41708         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41709         to gnu_dev_{major,minor,makedev} functions.
41710
41711 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
41712
41713         * intl/dcigettext.c (get_output_charset): Add missing bracket.
41714
41715 2011-07-20  Andreas Schwab  <schwab@redhat.com>
41716
41717         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41718         strlen results.
41719
41720 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41721
41722         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41723         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41724         register in order to avoid conflicts with the soft frame pointer
41725         being held in r11 when necessary.
41726         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41727         (INTERNAL_VSYSCALL_NCS): Likewise.
41728
41729 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
41730
41731         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41732         * elf/dl-fini.c (_dl_fini): Adjust caller.
41733         * elf/dl-close.c (_dl_close_worker): Likewise.
41734         * sysdeps/generic/ldsodefs.h: Adjust declaration.
41735
41736 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
41737
41738         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41739         "aux_cache->nlibs < 0".
41740
41741         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41742         in the reload-count case.
41743
41744 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41745
41746         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41747         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41748         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41749         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41750         * sysdeps/x86_64/multiarch/strcat.S: New file.
41751         * sysdeps/x86_64/multiarch/strncat.S: New file.
41752         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41753         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41754         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41755         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41756         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41757         (USE_AS_STRCAT): Define.
41758         Add strcat and strncat support.
41759         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41760         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41761         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41762         * string/strncat.c: Update.
41763         (USE_AS_STRNCAT): Define.
41764         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41765         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41766         and i7.
41767         * sysdeps/x86_64/multiarch/init-arch.h
41768         (bit_Prefer_PMINUB_for_stringop): New.
41769         (index_Prefer_PMINUB_for_stringop): Likewise.
41770         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41771         bit_Prefer_PMINUB_for_stringop.
41772
41773 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
41774
41775         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41776         buffer64.
41777         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41778         of casting of buffer.
41779         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41780         buffer32 and buffer64.
41781         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41782         writes instead of casting of buffer.
41783         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41784         buffer32.
41785         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41786         casting of buffer.
41787
41788 2011-07-19  Andreas Schwab  <schwab@redhat.com>
41789
41790         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41791
41792 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
41793
41794         * nscd/nscd.c (termination_handler): Don't do anything for a database
41795         if it has not yet been initialized.
41796
41797 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
41798
41799         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41800
41801 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
41802
41803         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41804
41805 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
41806
41807         * po/nl.po: Update from translation team.
41808         * po/sv.po: Likewise.
41809
41810 2011-07-16  Roland McGrath  <roland@hack.frob.com>
41811
41812         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41813         now disallowed by GCC.
41814
41815         * configure.in (use-default-link): Default to yes if a test -shared
41816         link meets our qualifications.
41817         * configure: Regenerated.
41818
41819         * config.make.in (output-format): New variable.
41820         * configure.in: Check for ld --print-output-format support.
41821         * configure: Regenerated.
41822         * Makerules ($(common-objpfx)format.lds)
41823         [$(output-format) != unknown]: Just use $(output-format),
41824         instead of the linker-script munging.
41825
41826 2011-07-14  Roland McGrath  <roland@hack.frob.com>
41827
41828         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41829         of $(common-objpfx)shlib.lds.
41830         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41831
41832         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41833         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41834
41835         * configure.in (-z relro check): Adjust test code to add a large
41836         writable data section after it.
41837         * configure: Regenerated.
41838
41839 2011-07-11  Roland McGrath  <roland@hack.frob.com>
41840
41841         * configure.in (-z relro check): Fix test code to make the variable
41842         truly const.
41843         * configure: Regenerated.
41844
41845 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
41846
41847         * nscd/nscd.h (struct traced_file): Define.
41848         (struct database_dyn): Remove inotify_descr, reset_res, and filename
41849         elements.  Add traced_files.
41850         (inotify_fd): Declare.
41851         (register_traced_file): Declare.
41852         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41853         (inotify_fd): Export.
41854         (resolv_conf_descr): Remove.
41855         (nscd_init): Move inotify descriptor creation to main.
41856         Don't register files for notification here.
41857         (register_traced_file): New function.
41858         (invalidate_cache): Don't use reset_res to determine whether to call
41859         res_init, go through the list of registered files.
41860         (main_loop_poll): The inotify descriptors are now stored in the
41861         structures for the traced files.
41862         (main_loop_epoll): Likewise
41863         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
41864         to __nss_disable_nscd.
41865         * nscd/cache.c (prune_cache): There is no single inotify descriptor
41866         for a database anymore.  Check the records for all the registered
41867         files instead.
41868         * nss/Makefile (libnss_files-routines): Add files-init.
41869         (libnss_db-routines): Add db-init.
41870         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41871         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41872         * nss/nss_db/db-init.c: New file.
41873         * nss/nss_files/files-init.c: New file.
41874         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
41875         __nss_lookup_function.
41876         (__nss_lookup_function): Call nss_load_library.
41877         (nss_load_all_libraries): New function.
41878         (__nss_disable_nscd): Take parameter with callback function for files
41879         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
41880         used for the cached services.
41881         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41882         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41883         options for features to all the files in nscd.
41884
41885         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41886
41887 2011-07-10  Roland McGrath  <roland@hack.frob.com>
41888
41889         * csu/elf-init.c (__libc_csu_init): Comment typo.
41890
41891 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
41892
41893         * po/pl.po: Update from translation team.
41894         * po/ja.po: Likewise.
41895         * po/ru.po: Likewise.
41896         * po/ko.po: Likewise.
41897         * po/fr.po: Likewise.
41898
41899 2011-07-09  Roland McGrath  <roland@hack.frob.com>
41900
41901         * configure.in (.ctors/.dtors header and trailer check):
41902         Use an empirical test on a built program.
41903         * configure: Regenerated.
41904
41905         * configure.in (-z relro check): Use an empirical test on a built DSO.
41906         Detect, but do not require, on ia64.
41907         * configure: Regenerated.
41908
41909         * configure.in (READELF): Find it with AC_CHECK_TOOL.
41910         Update tests that use readelf to use $READELF instead.
41911         * configure: Regenerated.
41912
41913 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
41914
41915         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41916         if the result is not used.
41917
41918 2011-07-05  Andreas Jaeger  <aj@suse.de>
41919
41920         [BZ#9696]
41921         * stdlib/tst-strtod.c: Add testcase.
41922
41923 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
41924
41925         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41926         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41927         The latter has a higher limit.  Take additional parameter to pass to
41928         the new function.
41929         (__pathconf): Pass file to __statfs_link_max.
41930         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41931         __statfs_link_max.
41932         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41933         __statfs_link_max.
41934
41935         [BZ #12868]
41936         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41937         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41938         Handle Lustre.
41939         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41940         (__statfs_filesize_max): Likewise.
41941         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41942
41943 2011-07-05  Andreas Jaeger  <aj@suse.de>
41944
41945         * resolv/res_comp.c (dn_skipname): Remove unused variable.
41946
41947 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
41948
41949         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41950         `status' variable.
41951         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41952         Likewise.
41953
41954 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
41955
41956         * Makefile (strop-tests): Add strncat.
41957         * string/test-strncat.c: New file.
41958
41959 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
41960
41961         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41962
41963 2011-06-21  Andreas Jaeger  <aj@suse.de>
41964
41965         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41966         Copy rule from iconvdata/Makefile.
41967
41968 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
41969
41970         [BZ #12922]
41971         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41972         but no long options are defined, just return 'W'.
41973
41974 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
41975
41976         [BZ #9696]
41977         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41978
41979 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
41980
41981         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41982         netgroups to read.
41983         (innetgr): Likewise.
41984
41985 2011-07-05  Roland McGrath  <roland@hack.frob.com>
41986
41987         * config.make.in (install_root): Default to $(DESTDIR).
41988
41989 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
41990
41991         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41992
41993 2011-07-02  Roland McGrath  <roland@hack.frob.com>
41994
41995         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41996
41997         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41998         containing directory rather than embedding absolute directory names.
41999
42000         * scripts/check-local-headers.sh: Rewritten using awk.
42001         Match by word, not by line.  Print error messages for matches.
42002         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42003
42004         * Makerules [shlib-lds-flags empty]:
42005         ($(common-objpfx)libc_pic.opts): New target.
42006         ($(common-objpfx)libc_pic.os.clean): New target.
42007         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42008
42009         * config.make.in (OBJCOPY): New variable.
42010         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42011         * configure: Regenerated.
42012
42013         * config.make.in (use-default-link): New variable.
42014         * configure.in (use_default_link): Grok --with-default-link to set it.
42015         * configure: Regenerated.
42016         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42017         (shlib-lds, shlib-lds-flags): Define to empty.
42018
42019         * Makerules (shlib-lds): New variable.
42020         (shlib-lds-flags): New variable.
42021         (build-shlib, build-moduile, build-module-asneeded): Use it.
42022         ($(common-objpfx)libc.so): Use $(shlib-lds).
42023         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42024         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42025
42026         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42027         DT_FLAGS/DT_FLAGS_1 with zero flags.
42028
42029         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42030         linker script munging.
42031
42032 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
42033
42034         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42035         as 128-bit value.
42036         * crypt/sha512.c (sha512_process_block): Perform total addition using
42037         128-bit if possible.
42038         (__sha512_finish_ctx): Likewise.
42039         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42040         as 64-bit value.
42041         * crypt/sha256.c (SWAP64): Define.
42042         (sha256_process_block): Perform total addition using 64-bit if
42043         possible.
42044         (__sha256_finish_ctx): Likewise.
42045
42046 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
42047
42048         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
42049         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42050         * nscd/hstcache.c (cache_addhst): Likewise.
42051         * nscd/grpcache.c (cache_addgr): Likewise.
42052         * nscd/aicache.c (addhstaiX): Likewise
42053         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42054
42055 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
42056
42057         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42058         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42059         * nscd/hstcache.c (cache_addhst): Likewise.
42060         * nscd/grpcache.c (cache_addgr): Likewise.
42061         * nscd/aicache.c (addhstaiX): Likewise
42062
42063 2011-07-01  Andreas Schwab  <schwab@redhat.com>
42064
42065         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42066         domain only when needed.
42067
42068 2011-06-30  Andreas Schwab  <schwab@redhat.com>
42069
42070         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42071         is always restored.
42072
42073 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
42074
42075         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42076         are re-adding the entry.
42077         * nscd/servicescache.c (cache_addserv): Likewise.
42078
42079 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
42080
42081         * sysdeps/generic/dl-irel.h: fix protection against multiple
42082         inclusions.
42083         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42084
42085 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
42086
42087         [BZ #12935]
42088         * malloc/memusage.sh: Fix quoting in message.
42089         * debug/xtrace.sh: Likewise.
42090
42091         * configure.in: Remove support for --experimental-malloc option, make
42092         it the default.
42093         * config.make.in: Likewise.
42094         * malloc/Makefile: Likewise.
42095
42096 2011-06-27  Andreas Schwab  <schwab@redhat.com>
42097
42098         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42099         two-byte characters.
42100
42101 2011-06-27  Roland McGrath  <roland@hack.frob.com>
42102
42103         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42104         AC_CACHE_CHECK invocation.
42105         * configure: Regenerated.
42106
42107         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42108
42109 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
42110
42111         [BZ #12350]
42112         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
42113         bit from old_res_options.
42114
42115         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42116
42117         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42118         value type for setfct.
42119
42120 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
42121
42122         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42123         __gettimeofday instead of gettimeofday.
42124
42125 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
42126
42127         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42128
42129 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
42130
42131         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42132
42133         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42134         info.
42135
42136 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
42137
42138         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42139         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42140         strcpy-sse2-unaligned strncpy-sse2-unaligned
42141         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42142         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42143         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42144         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42145         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42146         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42147         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42148         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42149         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42150         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42151         (STRCPY): Support SSE2 and SSSE3 versions.
42152
42153 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
42154
42155         [BZ #12874]
42156         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42157         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42158         kernels which artificially limit size of requests.
42159
42160 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
42161
42162         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42163         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42164         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42165         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42166         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42167         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42168         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42169         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42170         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42171         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42172         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42173         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42174         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42175         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42176         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42177         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42178         Enable unaligned load optimization for Intel Core i3, i5 and i7
42179         processors.
42180         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42181         Define.
42182         (index_Fast_Unaligned_Load): Define.
42183         (HAS_FAST_UNALIGNED_LOAD): Define.
42184
42185 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
42186
42187         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42188
42189 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
42190
42191         [BZ #12907]
42192         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42193         until it is clear that the information is realy needed.
42194         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42195
42196 2011-06-22  Andreas Schwab  <schwab@redhat.com>
42197
42198         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42199
42200 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
42201
42202         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42203         /sys/devices/system/cpu/online if it is usable.
42204
42205         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42206         reading the information from the /proc filesystem to once a second.
42207
42208 2011-06-21  Andreas Jaeger  <aj@suse.de>
42209
42210         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42211         NULL after inclusion of kernel headers.
42212
42213 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
42214
42215         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42216         calls to internal_setent.
42217
42218         [BZ #12885]
42219         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42220         addresses using gethostbyname4_r ignore IPv4 addresses.
42221
42222         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42223         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
42224
42225         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42226
42227 2011-06-20  David S. Miller  <davem@davemloft.net>
42228
42229         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42230         inclusions.
42231         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42232
42233         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42234         (elf_irel): Use it.
42235         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42236         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42237         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42238         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42239         * sysdeps/x86_64/dl-irel.h: Likewise.
42240
42241         * elf/dl-runtime.c: Use elf_ifunc_invoke.
42242         * elf/dl-sym.c: Likewise.
42243
42244 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
42245
42246         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
42247         need to dereference resplen2.
42248
42249 2011-06-14  Andreas Schwab  <schwab@redhat.com>
42250
42251         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42252
42253 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
42254
42255         * Makeconfig: Define vardbdir and inst_vardbdir.
42256         * nss/Makefile: Add rules to install db-Makefile.
42257
42258         * nss/nss_db/db-XXX.c: Cleanup.
42259
42260         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42261         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42262         GLIBC_PRIVATE.
42263         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42264         * nss/makedb.c: Implement -g option to specify that value strings
42265         are generated and should not be added to table iterated over for
42266         get*ent calls.
42267         * nss/nss_db/db-initgroups.c: New file.
42268
42269         * nss/getent.c: Add support for initgroups lookups through getgrouplist
42270         interface.
42271
42272         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42273         (internal_getgrouplist): Adjust to name change.
42274         Update use_initgroups_entry if this is not the first call.
42275         * nss/databases.def: Add initgroups entry.
42276
42277         * nss/makedb.c (compute_tables): Check result of multiple hash table
42278         sizes to minimize maximum chain length.
42279
42280 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
42281
42282         * Versions.def: Add entry for libnss_db.
42283         * shlib-versions: Likewise.
42284         * nss/Makefile: Add rules to build libnss_db.
42285         * nss/Versions: Add libnss_db information.  Organize libnss_files
42286         entries better.
42287         * nss/db-Makefile: Add gshadow support.  Change rules for the new
42288         makedb progra.  Some minor improvements to generate smaller files.
42289         * nss/nss_db/nss_db.h: Move NSS database header data structures to
42290         here from...
42291         * nss/makedb.c: ...here.
42292         Improve database format to be smaller and require less memory at
42293         runtime.
42294         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
42295         db anymore.
42296         * nss/nss_db/db-netgrp.c: Likewise.
42297         * nss/nss_db/db-open.c: Likewise.
42298         * nss/nss_files/flies-XXX.x: Adjust comments.
42299         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42300         * nss/nss_files/files-grp.c: Likewise.
42301         * nss/nss_files/files-hosts.c: Likewise.
42302         * nss/nss_files/files-network.c: Likewise.
42303         * nss/nss_files/files-proto.c: Likewise.
42304         * nss/nss_files/files-pwd.c: Likewise.
42305         * nss/nss_files/files-rpc.c: Likewise.
42306         * nss/nss_files/files-service.c: Likewise.
42307         * nss/nss_files/files-sgrp.c: Likewise.
42308         * nss/nss_files/files-spwd.c: Likewise.
42309         * nss/nss_db/db-alias.c: Removed.
42310         * nss/nss_db/dummy-db.h: Removed.
42311
42312 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
42313
42314         * nss/makedb.c: Rewritten to not use database library.
42315         * nss/Makefile: Update to build new makedb program.
42316
42317 2011-06-14  Andreas Jaeger  <aj@suse.de>
42318
42319         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42320         memset declaration.
42321
42322 2011-06-10  Andreas Schwab  <schwab@redhat.com>
42323
42324         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42325         tmpbuf.
42326
42327 2011-06-10  Roland McGrath  <roland@hack.frob.com>
42328
42329         * Makerules (shlib.lds): Fail if the linker script comes out empty.
42330         * elf/Makefile ($(objpfx)ld.so): Likewise.
42331
42332         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42333         Don't list ld.so twice in dependencies.
42334
42335         * posix/bug-regex31.c: Include <stdlib.h>.
42336
42337         * nscd/hstcache.c (cache_addhst): Remove unused variable.
42338
42339         * nis/nss_compat/compat-spwd.c
42340         (getspent_next_nss_netgr): Remove unused variable.
42341         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42342
42343         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42344         nonmembers" output to use the right array.
42345
42346         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42347
42348         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42349
42350         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42351         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42352         * catgets/gencat.c (read_input_file): Likewise.
42353         * locale/programs/locarchive.c (enlarge_archive): Likewise.
42354
42355         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42356         variable definition inside #if's controlling its use.
42357
42358         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42359
42360         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42361
42362         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42363
42364         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42365         unreachable code.
42366
42367         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42368
42369         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42370         * configure: Regenerated.
42371
42372         * Makerules: Revert last change.
42373         * elf/Makefile: Likewise.
42374
42375 2011-06-09  Roland McGrath  <roland@hack.frob.com>
42376
42377         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42378         * elf/Makefile ($(objpfx)librtld.os): Likewise.
42379         (reloc-link): Likewise.
42380
42381 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
42382
42383         * elf/Makefile: Add rules to build pldd.
42384         * elf/pldd.c: New file.
42385         * elf/pldd-xx.c: New file.
42386
42387 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
42388
42389         * version.h: Update for 2.15 development version.
42390
42391 2011-06-07  David S. Miller  <davem@davemloft.net>
42392
42393         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42394         ifuncs.
42395         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42396         elf_machine_lazy_rel): Likewise.
42397         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42398         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42399         elf_machine_lazy_rel): Likewise.
42400         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42401         dl_hwcap via passed in argument.
42402         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42403         Likewise.
42404
42405 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42406
42407         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
42408
42409 2011-06-06  Roland McGrath  <roland@hack.frob.com>
42410
42411         [BZ #12849]
42412         * manual/fdl-1.1.texi: New file, verbatim from:
42413         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42414         * manual/lgpl-2.1.texi: New file, verbatim from:
42415         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42416         * manual/Makefile (licenses): New variable, list those new file names.
42417         (texis): Use it.
42418         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42419
42420         * manual/fdl.texi: File removed.
42421         * manual/lesser.texi: File removed.
42422         * manual/libc.texinfo (Copying, Documentation License):
42423         Use new @include file names, put @appendix directive before @include.
42424
42425 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
42426
42427         [BZ #12841]
42428         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42429         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42430         (mq_open): Add __NTH.
42431
42432 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
42433
42434         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42435         Assume Intel Core i3/i5/i7 processor if AVX is available.
42436
42437 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
42438
42439         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42440         typo.
42441
42442 2011-05-31  Andreas Schwab  <schwab@redhat.com>
42443
42444         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42445         memory.  Use alloca_account.  Fix memory leak when retrying.
42446
42447 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
42448
42449         * version.h (RELEASE): Bump for 2.14 release.
42450         * include/features.h (__GLIBC_MINOR__): Bump to 14.
42451
42452         * config.make.in (RANLIB): Remove entry.
42453
42454 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
42455
42456         * po/Makefile (po-sed-cmd): Add ksh to extensions.
42457         (libc.pot): Work around missing support for .ksh extension in xgettext.
42458
42459         [BZ #12684]
42460         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42461         if both request failed.
42462         (send_dg): In case of server errors clear resplen or *resplen2.
42463
42464         [BZ #12454]
42465         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42466         when there are multiple maps.
42467         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42468         (_dl_fini): Remove test here.
42469
42470         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42471
42472 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
42473
42474         [BZ #12350]
42475         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42476         bit from old_res_options.
42477         (gaih_inet): Likewise.
42478
42479         [BZ #11099]
42480         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
42481         as signed.
42482
42483         * resolv/res_init.c (res_setoptions): Make the code more compact.
42484
42485         [BZ #11558]
42486         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42487         set RES_USEVC.
42488
42489         [BZ #11634]
42490         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42491
42492         * malloc/malloc.h: Mark malloc hook variables as deprecated.
42493
42494         [BZ #11781]
42495         * malloc/malloc.h: Declare malloc hook variables as volatile.
42496
42497         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42498         in last patch.
42499
42500         [BZ #11799]
42501         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
42502         raise in the comment.
42503         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42504         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42505         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
42506
42507 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
42508
42509         [BZ #12811]
42510         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42511         grow the buffers more if it already has to be sufficient.
42512         (build_wcs_upper_buffer): Likewise.
42513         * posix/regexec.c (check_matching): Likewise.
42514         (clean_state_log_if_needed): Likewise.
42515         (extend_buffers): Don't enlarge buffers beyond size of the input
42516         buffer.
42517         Patches mostly by Emil Wojak <emil@wojak.eu>.
42518         * posix/bug-regex32.c: New file.
42519         * posix/Makefile (tests): Add bug-regex32.
42520
42521         * locale/findlocale.c (_nl_find_locale): Return right away if
42522         _nl_explode_name failed.
42523         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42524
42525         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42526
42527         * debug/xtrace.sh: Unify messages.
42528         * malloc/memusage.sh: Likewise.
42529
42530         [BZ #12813]
42531         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42532         time symbol from vDSO.  Substitute with vsyscall if not available.
42533         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42534         __vdso_time.
42535
42536         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42537         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42538         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42539         Add sendmmsg and internal_sendmmsg.
42540         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42541         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42542         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42543
42544         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42545         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42546         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42547
42548 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
42549
42550         [BZ #12813]
42551         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42552         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
42553         available.
42554         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42555         __vdso_getcpu.
42556
42557         [BZ #12814]
42558         * iconvdata/Makefile (tests): Add bug-iconv9.
42559         * iconvdata/bug-iconv9.c: New file.
42560
42561 2011-05-27  Andreas Schwab  <schwab@redhat.com>
42562
42563         [BZ #12814]
42564         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42565
42566 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
42567
42568         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42569         (struct user_regs_struct): Change intcs field back to cs.
42570
42571 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
42572
42573         * po/ja.po: Update from translation team.
42574
42575 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
42576
42577         [BZ #12795]
42578         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42579         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42580
42581 2011-05-20  Andreas Schwab  <schwab@redhat.com>
42582
42583         * stdlib/longlong.h: Update from GCC.
42584
42585 2011-05-23  Andreas Schwab  <schwab@redhat.com>
42586
42587         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42588         parameter name.
42589         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42590         Add parameter name.
42591         (__sysconf): Pass it down.
42592
42593 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
42594
42595         [BZ #12671]
42596         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42597         some situations.
42598         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42599         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42600         add in in __libc_use_alloca calls.  Adjust callers.
42601         (glob): Use malloc in some situations.
42602
42603         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42604         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42605         pltexit.
42606
42607 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
42608
42609         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42610         and CLOCK_BOOTTIME_ALARM.
42611
42612         [BZ #12782]
42613         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42614         is returned.
42615
42616         * string/_strerror.c (__strerror_r): Print negative errors as signed
42617         numbers.
42618
42619         [BZ #12777]
42620         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42621         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42622         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42623
42624         * configure.in: Fix typo in redirection and correct removal of test
42625         files in two cases.
42626
42627         [BZ #12788]
42628         * locale/setlocale.c (new_composite_name): Fix test to check for
42629         identical name of all categories.
42630
42631         [BZ #12792]
42632         * libio/filedoalloc.c (local_isatty): New function.
42633         (_IO_file_doallocate): Use local_isatty.
42634         * stdio-common/perror.c (perror): In case a new stream is used
42635         forward the stream error.
42636         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42637         error flag.
42638
42639 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
42640
42641         [BZ #11869]
42642         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42643         alloca.
42644         * include/alloca.h (extend_alloca_account): Define.
42645
42646         [BZ #11857]
42647         * posix/regex.h: Fix comments with documentation of user-accessible
42648         fields after compilation and describe correct free'ing of pattern
42649         after re_compile_pattern.
42650         Patch by Reuben Thomas <rrt@sc3d.org>.
42651
42652 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
42653
42654         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42655         and -mno-altivec to prevent the compiler from using Altivec and/or
42656         VSX instructions when the corresponding registers are not available.
42657
42658 2011-05-19  Andreas Schwab  <schwab@redhat.com>
42659
42660         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42661
42662 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
42663
42664         * libio/freopen.c (freopen): Use __dup2, not dup2.
42665         * libio/freopen64.c (freopen64): Likewise.
42666
42667 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42668
42669         [BZ #12775]
42670         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42671         * math/Makefile (tests): Add test-powl.
42672         (CFLAGS-test-powl.c): Define.
42673         * math/test-powl.c: New file.
42674
42675 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42676
42677         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42678
42679 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
42680
42681         [BZ #11837]
42682         * iconvdata/gb18030.c: Update to GB18020-2005.
42683
42684 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
42685
42686         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42687         RE_SYNTAX_POSIX_AWK): Update to match recent development.
42688         Patch by Aharon Robbins <arnold@skeeve.com>.
42689
42690         [BZ #11892]
42691         * stdlib/putenv.c (putenv): Don't always create copy of the variable
42692         on the stack.
42693
42694         [BZ #11895]
42695         * misc/pselect.c (__pselect): Handle timeout value errors hidden
42696         through underflows.
42697
42698         [BZ #12766]
42699         * misc/error.c (error_at_line): Ensure file_name and old_file_name
42700         point to strings before performing equality test for error_one_per_line
42701         mode.
42702
42703         [BZ #11697]
42704         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42705
42706         [BZ #11820]
42707         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42708         (struct user_fpregs_struct): Avoid __uint*_t types.
42709
42710         [BZ #6420]
42711         * malloc/mtrace.c (tr_where): Add additional parameter to point to
42712         symbol info.  Use it instead of calling _dl_addr locally.
42713         (lock_and_info): New function.
42714         (tr_freehook): Call lock_and_info and pass symbol info as additional
42715         parameter to tr_where.
42716         (tr_mallochook): Likewise.
42717         (tr_reallochook): Likewise.
42718         (tr_memalignhook): Likewise.
42719
42720         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
42721         used and couldn't be at all thread-safe.
42722
42723 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
42724
42725         * libio/freopen.c (freopen): Don't close old file descriptor
42726         before the new one is opened.  Instead dup the new file descriptor
42727         to the old one after the new stream is created.
42728         * libio/freopen64.c (freopen64): Likewise.
42729         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42730         * libio/fileops.c (_IO_new_file_close_it): Handle new
42731         _IO_FLAGS2_NOCLOSE flag.
42732         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42733         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42734         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42735         _IO_FLAGS2_NOCLOSE flag.
42736         * include/unistd.h: Add hidden_proto for dup3.
42737         Define __have_dup3.
42738         * io/dup3.c: Define hidden symbol.
42739         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42740
42741         [BZ #7101]
42742         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42743         when an incomplete long option is used.
42744         * posix/tst-getopt_long1.c: New file.
42745         * posix/Makefile (tests): Add tst-getopt_long1.
42746
42747         [BZ #10138]
42748         * scripts/config.guess: Update from autoconf-2.68.
42749         * scripts/config.sub: Likewise.
42750
42751         [BZ #10157]
42752         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42753         tests into ...
42754         (has_cpuclock): ...this.  New function.
42755         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42756         macro here based on has_cpuclock code.
42757
42758         [BZ #10149]
42759         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42760         First byte (not low byte) is now always NUL.
42761         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42762
42763         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42764         Use non-cancelable interfaces.
42765
42766         [BZ #9809]
42767         * locale/iso-639.def: Add entry for Sorani.
42768
42769         [BZ #11901]
42770         * include/stdlib.h: Move include protection to the right place.
42771         Define abort_msg_s.  Declare __abort_msg with it.
42772         * stdlib/abort.c (__abort_msg): Adjust type.
42773         * assert/assert.c (__assert_fail_base): New function.  Majority
42774         of code from __assert_fail.  Allocate memory for __abort_msg with
42775         mmap.
42776         (__assert_fail): Now call __assert_fail_base.
42777         * assert/assert-perr.c: Remove bulk of implementation.  Use
42778         __assert_fail_base.
42779         * include/assert.hL Declare __assert_fail_base.
42780         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42781         mmap.
42782         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42783
42784 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
42785
42786         [BZ #11952]
42787         [BZ #12453]
42788         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42789         until all modules are registered in the DTV.
42790         * elf/Makefile: Add rules to build and run tst-tls19.
42791         * elf/tst-tls19.c: New file.
42792         * elf/tst-tls19mod1.c: New file.
42793         * elf/tst-tls19mod2.c: New file.
42794         * elf/tst-tls19mod3.c: New file.
42795         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42796
42797         [BZ #12083]
42798         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42799         correctly.
42800
42801         [BZ #12601]
42802         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42803         two-byte sequence errors.
42804         * iconvdata/Makefile (tests): Add bug-iconv8.
42805         * iconvdata/bug-iconv8.c: New file.
42806
42807         [BZ #12626]
42808         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42809         buf2 definition.
42810
42811         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42812
42813         [BZ #12432]
42814         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42815         (dummy_getcfa): New function.
42816         (init): Get _Unwind_GetCFA address, use dummy if not found.
42817         (backtrace_helper): In recursion check, also check whether CFA changes.
42818         (__backtrace): Completely initialize arg.
42819
42820         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42821         storing incomplete byte sequence in state object.  Avoid testing for
42822         guaranteed too small input if we know there is enough data available.
42823
42824 2011-05-11  Andreas Schwab  <schwab@redhat.com>
42825
42826         * Makeconfig (+link-pie): Indent.
42827         * Rules (binaries-pie): Define if $(have-fpie) and
42828         $(build-shared).
42829         (binaries-shared): Also filter out $(binaries-pie).
42830         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42831         * nscd/Makefile (others-pie): Add nscd.
42832         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42833         ($(objpfx)nscd): Remove command override.
42834         * login/Makefile (others-pie): Add pt_chown.
42835         ($(objpfx)pt_chown): Remove command override.
42836         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42837         remove command overrides.
42838
42839 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
42840
42841         * libio/tst_putwc.c: Fix error messages.
42842
42843         [BZ #12724]
42844         * libio/fileops.c (_IO_new_file_close_it): Always flush when
42845         currently writing and seek to current position when not.
42846         * libio/Makefile (tests): Add bug-fclose1.
42847         * libio/bug-fclose1.c: New file.
42848
42849 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
42850
42851         [BZ #12511]
42852         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42853         don't set DF_1_NODELETE here.
42854         (do_lookup_x): When entering new entry test for copy relocation
42855         and if necessary set DF_1_NODELETE flag.
42856         * elf/tst-unique4.cc: New file.
42857         * elf/tst-unique4.h: New file.
42858         * elf/tst-unique4lib.cc: New file.
42859         * elf/Makefile: Add rules to build and run tst-unique4.
42860         Patch by Piotr Bury <pbury@goahead.com>.
42861
42862 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
42863
42864         [BZ #12052]
42865         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42866
42867         [BZ #12625]
42868         * misc/mntent_r.c (addmntent): Flush the stream after the output
42869
42870         [BZ #12393]
42871         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42872         (is_trusted_path_normalize): Skip initial colon.  Append slash
42873         to empty buffer.  Duplicate is_trusted_path code but allow
42874         constructed patch to be prefix.
42875         (is_dst): Allow $ORIGIN followed by /.
42876         (_dl_dst_substitute): Correct clearing of check_for_trusted.
42877         Correct testing of result of is_trusted_path_normalize
42878         (decompose_rpath): Fix warning.
42879
42880 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
42881
42882         [BZ #11257]
42883         * grp/initgroups.c (internal_getgrouplist): When we found the service
42884         list through the initgroups entry in nsswitch.conf do not always
42885         continue on a successful lookup.  Don't always use the
42886         __nss_group_database value if it is set.
42887         * nss/nsswitch.conf (initgroups): Change action for successful db
42888         lookup to continue for compatibility.
42889
42890 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
42891
42892         [BZ #11532]
42893         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42894         and CP774 modules.
42895         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42896         and CP774 modules.
42897         * iconvdata/tst-tables.sh: Likewise.
42898         * iconvdata/cp770.c: New file.
42899         * iconvdata/cp771.c: New file.
42900         * iconvdata/cp772.c: New file.
42901         * iconvdata/cp773.c: New file.
42902         * iconvdata/cp774.c: New file.
42903         * iconvdata/testdata/CP770: New file.
42904         * iconvdata/testdata/CP770..UTF8: New file.
42905         * iconvdata/testdata/CP771: New file.
42906         * iconvdata/testdata/CP771..UTF8: New file.
42907         * iconvdata/testdata/CP772: New file.
42908         * iconvdata/testdata/CP772..UTF8: New file.
42909         * iconvdata/testdata/CP773: New file.
42910         * iconvdata/testdata/CP773..UTF8: New file.
42911         * iconvdata/testdata/CP774: New file.
42912         * iconvdata/testdata/CP774..UTF8: New file.
42913
42914         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42915         END CHARMAP line.
42916         * iconvdata/gen-8bit-gap.sh: Likewise.
42917         * iconvdata/gen-8bit.sh: Likewise.
42918
42919         * locale/iso-639.def: Add ary entry.
42920
42921         [BZ #11258]
42922         * locale/C-translit.h.in: Add U20A1 transliteration.
42923
42924         [BZ #12178]
42925         * locale/iso-639.def: Add wae entry.
42926         Patch by Kevin Bortis <bortis@translate-wae.ch>.
42927
42928         [BZ #12545]
42929         * locale/programs/localedef.c (construct_output_path): Use ssize_t
42930         for n.
42931
42932         [BZ #12711]
42933         * locale/C-translit.h.in: Add entry for U20B9.
42934         Patch by pravin.d.s@gmail.com.
42935
42936 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
42937
42938         [BZ #12713]
42939         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42940         ENAMETOOLONG use generic getcwd.
42941         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
42942         in rtld.  Use *stat64.
42943         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42944         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42945         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42946         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42947         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42948         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42949         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42950         __fstatat64 macros.
42951         * include/dirent.h: Add libc_hidden_proto for rewinddir.
42952         * dirent/rewinddir.c: Add libc_hidden_def.
42953         * sysdeps/mach/hurd/rewinddir.c: Likewise.
42954         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
42955
42956         * include/dirent.h (__alloc_dir): Add flags parameter.
42957         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42958         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42959         __alloc_dir.
42960         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
42961         from fdopendir if O_CLOEXEC is already set.
42962
42963 2011-03-15  Alan Modra  <amodra@gmail.com>
42964
42965         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42966         l_tls_firstbyte_offset non-zero.  Save padding offset in
42967         l_tls_firstbyte_offset for later use.
42968         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42969         freeing static tls block.
42970
42971 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
42972
42973         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42974         where #ifdef was intended.  The intent is to prevent ARG_MAX from
42975         being defined by the kernel headers.
42976
42977 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
42978
42979         [BZ #12734]
42980         * resolv/resolv.h: Define RES_NOTLDQUERY.
42981         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42982         no-tld-query and set RES_NOTLDQUERY.
42983         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42984         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42985         modern BIND to search name as TLD unless forbidden.
42986
42987 2011-05-07  Petr Baudis  <pasky@suse.cz>
42988             Ulrich Drepper  <drepper@gmail.com>
42989
42990         [BZ #12393]
42991         * elf/dl-load.c (fillin_rpath): Move trusted path check...
42992         (is_trusted_path): ...to here.
42993         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42994         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42995         using is_trusted_path_normalize() in setuid scripts.
42996
42997 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
42998
42999         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43000         __BEGIN/__END_DECLS.
43001
43002 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
43003
43004         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43005         NSS_STATUS_NOTFOUND if no record was found.
43006
43007 2011-05-05  Andreas Schwab  <schwab@redhat.com>
43008
43009         * sunrpc/Makefile (headers): Add rpc/netdb.h.
43010         (headers-not-in-tirpc): Remove rpc/netdb.h
43011         * resolv/netdb.h: Revert last change.
43012
43013 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43014
43015         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43016         circular dependency between libgcc.a and libc.a.
43017
43018 2011-05-05  Andreas Schwab  <schwab@redhat.com>
43019
43020         * resolv/netdb.h: Don't include <rpc/netdb.h>.
43021         * nis/Makefile: Don't install rpcsvc/*.
43022         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43023         instead of <rpc/types.h>.
43024         (MAXHOSTNAMELEN): Define.
43025
43026 2011-05-03  Andreas Schwab  <schwab@redhat.com>
43027
43028         * elf/ldconfig.c (add_dir): Don't crash on empty path.
43029
43030 2011-04-28  Maciej Babinski  <mbabinski@google.com>
43031
43032         [BZ #12714]
43033         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43034         gethostbyname4_r when IPv6 results are possible.
43035
43036 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
43037
43038         [BZ #12723]
43039         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43040         _PC_PIPE_BUF handling.
43041
43042 2011-04-30  Bruno Haible  <bruno@clisp.org>
43043
43044         [BZ #12717]
43045         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43046         * resolv/netdb.h (getnameinfo): Change type of flags parameter
43047         to 'int'.
43048         * inet/getnameinfo.c (getnameinfo): Likewise.
43049
43050 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
43051
43052         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43053         to groups setting in database lookup.
43054         * nss/nsswitch.conf: Add initgroups entry.
43055
43056 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
43057
43058         [BZ #12685]
43059         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43060         mode string.
43061         Patch by Eric Blake <eblake@redhat.com>.
43062
43063 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
43064
43065         * sunrpc/Makefile (need-export-routines): Add svc_run.
43066         (routines): Remove svc_run.
43067         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43068         * sunrpc/clnt_perr.c (clnt_perrno): Export.
43069         * sunrpc/svc_run.c (svc_run): Likewise.
43070         * sunrpc/svc_udp.c (svcudp_create): Likewise.
43071
43072 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
43073
43074         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43075         problem in reallocation in last patch.
43076
43077 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
43078
43079         * sunrpc/Makefile: Move inclusion of Rules.
43080
43081 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
43082
43083         * nss/nss_files/files-initgroups.c: New file.
43084         * nss/Makefile (libnss_files-routines): Add files-initgroups.
43085         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43086         _nss_files_initgroups_dyn.
43087
43088 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
43089
43090         * elf/elf.h (R_ARM_IRELATIVE): Define.
43091
43092 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
43093
43094         * po/ru.po: Update from translation team.
43095
43096 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
43097
43098         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43099         dependencies.
43100
43101 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
43102
43103         [BZ #12653]
43104         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43105         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43106         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43107         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43108         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43109
43110 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
43111
43112         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43113         differing bytes.
43114         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43115         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43116         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43117
43118 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
43119
43120         [BZ #12420]
43121         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43122         storing it.
43123         * stdlib/bug-getcontext.c: New file.
43124         * stdlib/Makefile: Add rules to build and run bug-getcontext.
43125
43126 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43127
43128         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43129         instructions into .machine "z9-109".
43130         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43131         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43132
43133 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43134
43135         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43136         between environment variables and auxiliary vector.
43137
43138 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
43139
43140         * Makefile: Add rules to build linkobj/libc.so.
43141         * include/libc-symbols.h: Define libc_hidden_nolink.
43142         * include/rpc/auth.h: Mark functions which are to be hidden.
43143         * include/rpc/auth_des.h: Likewise.
43144         * include/rpc/auth_unix.h: Likewise.
43145         * include/rpc/clnt.h: Likewise.
43146         * include/rpc/des_crypt.h: Likewise.
43147         * include/rpc/key_prot.h: Likewise.
43148         * include/rpc/pmap_clnt.h: Likewise.
43149         * include/rpc/pmap_prot.h: Likewise.
43150         * include/rpc/pmap_rmt.h: Likewise.
43151         * include/rpc/rpc_msg.h: Likewise.
43152         * include/rpc/svc.h: Likewise.
43153         * include/rpc/svc_auth.h: Likewise.
43154         * include/rpc/xdr.h: Likewise.
43155         * nis/Makefile: Link all DSOs against linkobj/libc.so.
43156         * nss/Makefile: Likewise.
43157         * sunrpc/Makefile: Don't install headers.  Build library with normal
43158         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
43159         * sunrpc/auth_des.c: Hide exported symbols by default, export some
43160         for the compat linking library.  Remove use of INTDEF/INTUSE.
43161         * sunrpc/auth_none.c: Likewise.
43162         * sunrpc/auth_unix.c: Likewise.
43163         * sunrpc/authdes_prot.c: Likewise.
43164         * sunrpc/authuxprot.c: Likewise.
43165         * sunrpc/clnt_gen.c: Likewise.
43166         * sunrpc/clnt_perr.c: Likewise.
43167         * sunrpc/clnt_raw.c: Likewise.
43168         * sunrpc/clnt_simp.c: Likewise.
43169         * sunrpc/clnt_tcp.c: Likewise.
43170         * sunrpc/clnt_udp.c: Likewise.
43171         * sunrpc/clnt_unix.c: Likewise.
43172         * sunrpc/des_crypt.c: Likewise.
43173         * sunrpc/des_soft.c: Likewise.
43174         * sunrpc/get_myaddr.c: Likewise.
43175         * sunrpc/key_call.c: Likewise.
43176         * sunrpc/key_prot.c: Likewise.
43177         * sunrpc/netname.c: Likewise.
43178         * sunrpc/pm_getmaps.c: Likewise.
43179         * sunrpc/pm_getport.c: Likewise.
43180         * sunrpc/pmap_clnt.c: Likewise.
43181         * sunrpc/pmap_prot.c: Likewise.
43182         * sunrpc/pmap_prot2.c: Likewise.
43183         * sunrpc/pmap_rmt.c: Likewise.
43184         * sunrpc/publickey.c: Likewise.
43185         * sunrpc/rpc_cmsg.c: Likewise.
43186         * sunrpc/rpc_common.c: Likewise.
43187         * sunrpc/rpc_dtable.c: Likewise.
43188         * sunrpc/rpc_prot.c: Likewise.
43189         * sunrpc/rpc_thread.c: Likewise.
43190         * sunrpc/rtime.c: Likewise.
43191         * sunrpc/svc.c: Likewise.
43192         * sunrpc/svc_auth.c: Likewise.
43193         * sunrpc/svc_authux.c: Likewise.
43194         * sunrpc/svc_raw.c: Likewise.
43195         * sunrpc/svc_run.c: Likewise.
43196         * sunrpc/svc_simple.c: Likewise.
43197         * sunrpc/svc_tcp.c: Likewise.
43198         * sunrpc/svc_udp.c: Likewise.
43199         * sunrpc/svc_unix.c: Likewise.
43200         * sunrpc/svcauth_des.c: Likewise.
43201         * sunrpc/xcrypt.c: Likewise.
43202         * sunrpc/xdr.c: Likewise.
43203         * sunrpc/xdr_array.c: Likewise.
43204         * sunrpc/xdr_float.c: Likewise.
43205         * sunrpc/xdr_intXX_t.c: Likewise.
43206         * sunrpc/xdr_mem.c: Likewise.
43207         * sunrpc/xdr_rec.c: Likewise.
43208         * sunrpc/xdr_ref.c: Likewise.
43209         * sunrpc/xdr_sizeof.c: Likewise.
43210         * sunrpc/xdr_stdio.c: Likewise.
43211
43212 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
43213
43214         [BZ #12650]
43215         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43216         * sysdeps/ia64/dl-tls.h: Likewise.
43217         * sysdeps/powerpc/dl-tls.h: Likewise.
43218         * sysdeps/s390/dl-tls.h: Likewise.
43219         * sysdeps/sh/dl-tls.h: Likewise.
43220         * sysdeps/sparc/dl-tls.h: Likewise.
43221         * sysdeps/x86_64/dl-tls.h: Likewise.
43222         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43223
43224 2011-03-14  Andreas Schwab  <schwab@redhat.com>
43225
43226         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43227         rpath element also skip the following colon.
43228         (expand_dynamic_string_token): Add is_path parameter and pass
43229         down to DL_DST_REQUIRED and _dl_dst_substitute.
43230         (decompose_rpath): Call expand_dynamic_string_token with
43231         non-zero is_path.  Ignore empty rpaths.
43232         (_dl_map_object_from_fd): Call expand_dynamic_string_token
43233         with zero is_path.
43234
43235 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
43236
43237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43238         Make cancelable.
43239
43240 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
43241
43242         [BZ #12655]
43243         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43244         Patch by Filipe David Manana <fdmanana@apache.org>.
43245
43246 2011-04-07  Andreas Schwab  <schwab@redhat.com>
43247
43248         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43249         Maintain aligned stack.
43250         (CHECK_RSP): Remove unused macro.
43251
43252 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
43253
43254         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43255         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43256
43257 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
43258
43259         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43260
43261         * include/features.h: Mention __USE_XOPEN2K8 in comment.
43262
43263 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
43264
43265         [BZ #12518]
43266         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43267         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43268         * sysdeps/x86_64/memmove.c: New file.
43269         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43270         (memcpy): Renamed to ...
43271         (__new_memcpy): This.
43272         (memcpy): Provide GLIBC_2_14 memcpy.
43273         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43274         (memcpy): Provide GLIBC_2_2_5 memcpy.
43275
43276 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
43277
43278         [BZ #12631]
43279         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43280
43281 2011-03-30  Andreas Schwab  <schwab@redhat.com>
43282
43283         * misc/syncfs.c: New file.
43284         * misc/Makefile (routines): Add syncfs.
43285         * posix/unistd.h: Declare syncfs.
43286         * sysdeps/unix/syscalls.list: Add syncfs.
43287
43288 2011-04-01  Andreas Schwab  <schwab@redhat.com>
43289
43290         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43291         open_by_handle_at.
43292         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43293         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43294         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43295         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43296         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43297         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43298         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43299
43300 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
43301
43302         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43303         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43304         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43305         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43306         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43307         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43308         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43309
43310         * io/Makefile: Compile fallocate.c, fallocate64.c, and
43311         sync_file_range.c with -fexceptions.
43312         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43313         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43314         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43315         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43316         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43317         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43318         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
43319         sync_file_range as cancellation point
43320         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
43321         now a wrapper around __call_sync_file_range with cancellation handling.
43322         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43323         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
43324         function name to __call_sync_file_range.
43325         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43326         Add call_sync_file_range.
43327
43328 2011-04-01  Andreas Schwab  <schwab@redhat.com>
43329
43330         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43331         bits/timex.h.
43332
43333 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
43334
43335         * iconv/iconv.h: Fix typo in comment.
43336         * io/fcntl.h: Likewise.
43337         * libio/stdio.h: Likewise.
43338         * posix/spawn.h: Likewise.
43339         * posix/unistd.h: Likewise.
43340         * stdlib/stdlib.h: Likewise.
43341         * time/time.h: Likewise.
43342         * wcsmbs/wchar.h: Likewise.
43343
43344         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43345         open_by_handle): Add.
43346         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43347         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
43348         Augment a few comments.
43349         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43350         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43351         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43352         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43353         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43354         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43355         open_by_handle.
43356
43357         * io/fcntl.h (AT_EMPTY_PATH): Define.
43358
43359 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
43360
43361         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43362         * sysdeps/unix/sysv/linux/bits/time.h: New file.
43363         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43364         to...
43365         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
43366         * Versions.def: Add GLIBC_2.14.
43367         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43368         Export.
43369
43370 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
43371
43372         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43373         round counter.
43374         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43375
43376 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43377
43378         [BZ #12597]
43379         * string/test-strncmp.c (do_page_test): New function.
43380         (check2): Likewise.
43381         (test_main): Call check2.
43382         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43383
43384 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
43385
43386         [BZ #12587]
43387         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43388         Handle cache information in CPU leaf 4.
43389         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43390
43391 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
43392
43393         [BZ #12583]
43394         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43395         character representation.
43396         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43397
43398 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
43399
43400         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43401         END(__isnan) to END(__isnanf) to match function entry point/label
43402         EALIGN(__isnanf,...).
43403
43404 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
43405
43406         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43407
43408 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
43409
43410         [BZ #12510]
43411         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43412         copy from the symbol referenced in the relocation to initialize the
43413         used variable.
43414         Patch by Piotr Bury <pbury@goahead.com>.
43415         * elf/Makefile: Add rules to build and tst-unique3.
43416         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43417         * elf/tst-unique3.cc: New file.
43418         * elf/tst-unique3.h: New file.
43419         * elf/tst-unique3lib.cc: New file.
43420         * elf/tst-unique3lib2.cc: New file.
43421
43422         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43423
43424 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
43425
43426         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43427         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
43428         to _start.
43429
43430 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
43431
43432         * elf/dl-load.c (_dl_map_object): If we are looking for the first
43433         to-be-loaded object along a path to loader is ld.so.
43434
43435 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
43436             Ulrich Drepper  <drepper@gmail.com>
43437
43438         * sysdeps/x86_64/memset.S: After aligning destination, code
43439         branches to different locations depending on the value of
43440         misalignment, when multiarch is enabled. Fix this.
43441
43442 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
43443
43444         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43445         Set _x86_64_preferred_memory_instruction for AMD processsors.
43446         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43447         Set bit_Prefer_SSE_for_memop for AMD processors.
43448
43449 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
43450
43451         * libio/fmemopen.c (fmemopen): Optimize a bit.
43452
43453 2011-03-03  Andreas Schwab  <schwab@redhat.com>
43454
43455         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43456
43457 2011-03-03  Roland McGrath  <roland@redhat.com>
43458
43459         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43460
43461 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
43462
43463         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
43464         __bzero_ultra1 instead of __memset_ultra1.
43465
43466 2011-02-23  Andreas Schwab  <schwab@redhat.com>
43467             Ulrich Drepper  <drepper@gmail.com>
43468
43469         [BZ #12509]
43470         * include/link.h (struct link_map): Add l_orig_initfini.
43471         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43472         returning unsuccessfully.
43473         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43474         close of a file loaded at startup, restore the original l_initfini
43475         list.
43476         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43477         list, store the pointer.
43478         * elf/Makefile ($(objpfx)noload-mem): New rule.
43479         (noload-ENV): Define.
43480         (tests): Add $(objpfx)noload-mem.
43481         * elf/noload.c: Include <memcheck.h>.
43482         (main): Call mtrace.  Close all opened handles.
43483
43484 2011-02-17  Andreas Schwab  <schwab@redhat.com>
43485
43486         [BZ #12454]
43487         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43488         dependencies are missing.
43489
43490 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43491
43492         Fix __if_freereq crash: Unlike the generic version which uses free,
43493         Hurd needs munmap.
43494         * sysdeps/mach/hurd/ifreq.h: New file.
43495
43496 2011-01-27  Petr Baudis  <pasky@suse.cz>
43497             Ulrich Drepper  <drepper@gmail.com>
43498
43499         [BZ 12445]#
43500         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43501         to extend_alloca().
43502         * stdio-common/bug23.c: New file.
43503         * stdio-common/Makefile (tests): Add bug23.
43504
43505 2010-09-28  Andreas Schwab  <schwab@redhat.com>
43506             Ulrich Drepper  <drepper@gmail.com>
43507
43508         [BZ #12489]
43509         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43510         before performing relro protection.  At old place add assertion
43511         to make sure nothing changed.
43512
43513 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
43514             Glauber de Oliveira Costa  <glommer@gmail.com>
43515
43516         * elf/elf.h: Add new ARM TLS relocs.
43517
43518 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
43519
43520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43521         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43522         cast from r3.
43523         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
43524         'tests' variable.
43525         * sysdeps/wordsize-64/tst-writev.c: New file.
43526
43527 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
43528
43529         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43530         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43531         insns in _dl_start to prevent a TOC reference before relocs are
43532         resolved.
43533
43534 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
43535
43536         [BZ #12469]
43537         * Makeconfig: Remove RANLIB definition.
43538         * Makerules: Don't use RANLIB.
43539         * aclocal.m4: Remove ranlib test.
43540         * configure.in: No need to check for ranlib.
43541         * elf/rtld-Rules: Don't use RANLIB.
43542
43543 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43544
43545         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43546         protection macro.
43547         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43548         inclusion protection macro.
43549
43550         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43551         SIGRTMIN and SIGRTMAX and print information in that case only when
43552         SIGRTMIN is defined.
43553
43554 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
43555
43556         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43557         arginfo fn returning -1.
43558
43559         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43560         and thousands string is zero terminated.
43561
43562 2011-02-03  Andreas Schwab  <schwab@redhat.com>
43563
43564         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43565         sysdeps/unix/sysv/linux/bits/socket.h.
43566
43567 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43568
43569         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43570         (__CPU_COUNT): Remove old macros.
43571         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43572         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43573         (__CPU_ALLOC, __CPU_FREE): Add macros.
43574         (__sched_cpualloc, __sched_cpufree): Add declarations.
43575
43576 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
43577
43578         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43579         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43580         * nscd/aicache.c (addhstaiX): Return timeout of added value.
43581         (readdhstai): Return value of addhstaiX call.
43582         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43583         (addgrbyX): Return value returned by cache_addgr.
43584         (readdgrbyname): Return value returned by addgrbyX.
43585         (readdgrbygid): Likewise.
43586         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43587         (addpwbyX): Return value returned by cache_addpw.
43588         (readdpwbyname): Return value returned by addhstbyX.
43589         (readdpwbyuid): Likewise.
43590         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43591         (addservbyX): Return value returned by cache_addserv.
43592         (readdservbyname): Return value returned by addservbyX:
43593         (readdservbyport): Likewise.
43594         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43595         (addhstbyX): Return value returned by cache_addhst.
43596         (readdhstbyname): Return value returned by addhstbyX.
43597         (readdhstbyaddr): Likewise.
43598         (readdhstbynamev6): Likewise.
43599         (readdhstbyaddrv6): Likewise.
43600         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43601         (readdinitgroups): Return value returned by addinitgroupsX.
43602         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43603         (prune_cache): Keep track of timeout value of re-added entries.
43604         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43605         * nscd/nscd.h: Adjust prototypes of readd* functions.
43606
43607 2011-02-04  Roland McGrath  <roland@redhat.com>
43608
43609         * nis/nis_server.c (nis_servstate): Use the right name for 0.
43610         (nis_stats): Likewise.
43611         * nis/nis_modify.c (nis_modify): Likewise.
43612         * nis/nis_remove.c (nis_remove): Likewise.
43613         * nis/nis_add.c (nis_add): Likewise.
43614
43615         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43616
43617         * posix/fnmatch_loop.c: Add some consts.
43618
43619         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43620
43621 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
43622
43623         [BZ #12460]
43624         * config.make.in (config-cflags-novzeroupper): Define.
43625         * configure.in: Substitute libc_cv_cc_novzeroupper.
43626         * elf/Makefile (AVX-CFLAGS): Define.
43627         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43628         (CFLAGS-tst-auditmod4a.c): Likewise.
43629         (CFLAGS-tst-auditmod4b.c): Likewise.
43630         (CFLAGS-tst-auditmod6b.c): Likewise.
43631         (CFLAGS-tst-auditmod6c.c): Likewise.
43632         (CFLAGS-tst-auditmod7b.c): Likewise.
43633         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43634
43635 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
43636
43637         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43638         function to the callback.
43639         Patch partly by Jiri Olsa <jolsa@redhat.com>.
43640
43641 2011-02-02  Andreas Schwab  <schwab@redhat.com>
43642
43643         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43644         of errno.
43645
43646 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
43647
43648         [BZ #11724]
43649         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43650         of constructors.
43651         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43652         of destructors.
43653         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43654
43655         [BZ #11724]
43656         * elf/Makefile: Add rules to build and run new test.
43657         * elf/tst-initorder.c: New file.
43658         * elf/tst-initorder.exp: New file.
43659         * elf/tst-initordera1.c: New file.
43660         * elf/tst-initordera2.c: New file.
43661         * elf/tst-initordera3.c: New file.
43662         * elf/tst-initordera4.c: New file.
43663         * elf/tst-initorderb1.c: New file.
43664         * elf/tst-initorderb2.c: New file.
43665         * elf/tst-order-a1.c: New file.
43666         * elf/tst-order-a2.c: New file.
43667         * elf/tst-order-a3.c: New file.
43668         * elf/tst-order-a4.c: New file.
43669         * elf/tst-order-b1.c: New file.
43670         * elf/tst-order-b2.c: New file.
43671         * elf/tst-order-main.c: New file.
43672         New test case by George Gensure <werkt0@gmail.com>.
43673
43674 2010-10-01  Andreas Schwab  <schwab@redhat.com>
43675
43676         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43677         decoding ACE if AI_CANONIDN.
43678
43679 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
43680
43681         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43682
43683 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
43684
43685         * version.h (RELEASE): Bump for 2.13 release.
43686         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43687
43688         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43689
43690         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43691         MADV_NOHUGEPAGE.
43692         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43693         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43694         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43695         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43696         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43697         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43698
43699         * posix/getconf.c: Update copyright year.
43700         * catgets/gencat.c: Likewise.
43701         * csu/version.c: Likewise.
43702         * debug/catchsegv.sh: Likewise.
43703         * debug/xtrace.sh: Likewise.
43704         * elf/ldconfig.c: Likewise.
43705         * elf/ldd.bash.in: Likewise.
43706         * elf/sprof.c (print_version): Likewise.
43707         * iconv/iconv_prog.c: Likewise.
43708         * iconv/iconvconfig.c: Likewise.
43709         * locale/programs/locale.c: Likewise.
43710         * locale/programs/localedef.c: Likewise.
43711         * malloc/memusage.sh: Likewise.
43712         * malloc/mtrace.pl: Likewise.
43713         * nscd/nscd.c (print_version): Likewise.
43714         * nss/getent.c: Likewise.
43715
43716         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43717         PF_CAIF, and PF_ALG.
43718         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43719
43720 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
43721
43722         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43723         (modules-names): Use them.
43724         (ifunc-test-modules, ifunc-pie-tests): Define.
43725         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43726         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43727         (test-extras): Likewise.
43728         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43729         $(compile-command.c).
43730         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43731         (all-built-dso): Define.
43732         (check-textrel.out, check-execstack.out): Depend on it.
43733
43734         * configure.in: Don't override --enable-multi-arch.
43735
43736 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
43737
43738         [BZ #6812]
43739         * nscd/hstcache.c (tryagain): Define.
43740         (cache_addhst): Return tryagain not notfound for temporary errors.
43741         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43742         failed.
43743
43744 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
43745
43746         [BZ #10563]
43747         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43748         to make the syscall.
43749         * sysdeps/unix/sysv/linux/setgroups.c: New file.
43750
43751         [BZ #12378]
43752         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43753         and fall back to matching as normal character if the string ends before
43754         the matching ']' is found.  This is what POSIX requires.
43755         * posix/testfnm.c: Adjust test result.
43756         * posix/globtest.sh: Adjust test result.  Add new test.
43757         * posix/tst-fnmatch.input: Likewise.
43758         * posix/tst-fnmatch2.c: Add new test.
43759
43760 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
43761
43762         * elf/Makefile (check-execstack): Revert last change.  Depend on
43763         check-execstack.h.
43764         (check-execstack.h): New target.
43765         (generated): Add check-execstack.h.
43766         * elf/check-execstack.c: Include "check-execstack.h".
43767         (main): Revert last change.
43768         (handle_file): Return zero if GNU_STACK is absent and
43769         DEFAULT_STACK_PERMS doesn't include PF_X.
43770
43771 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
43772
43773         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43774         in child fails because the descriptor is already closed.
43775         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43776         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43777         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43778
43779         [BZ #12397]
43780         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43781         syscall.
43782
43783         [BZ #10484]
43784         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43785         temporary buffer used to handle multi lookups locally.
43786         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43787
43788 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
43789
43790         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43791         loader is ld.so.
43792
43793 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
43794
43795         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43796         alignment for SSE2.
43797
43798 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
43799
43800         [BZ #12394]
43801         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43802         characters.  When rounding increased number of integer digits recompute
43803         number of groups.
43804         * stdio-common/tst-grouping.c: New file.
43805         * stdio-common/Makefile: Add rules to build and run tst-grouping.
43806
43807 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
43808
43809         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43810         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
43811
43812         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43813         void.
43814         * bits/select.h: Likewise.
43815
43816 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
43817
43818         * po/ja.po: Update from translation team.
43819
43820 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
43821
43822         [BZ #11155]
43823         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43824         implementation just like for lxstat, fxstatat, et al.
43825
43826 2010-12-27  Jim Meyering  <meyering@redhat.com>
43827
43828         [BZ #12348]
43829         * posix/regexec.c (build_trtable): Return failure indication upon
43830         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
43831
43832 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
43833
43834         [BZ #12201]
43835         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43836         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43837         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43838         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43839
43840         [BZ #12207]
43841         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43842
43843         [BZ #12204]
43844         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43845         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43846
43847 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
43848
43849         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43850         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43851         script has SORT_BY_INIT_PRIORITY.
43852         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43853         NO_CTORS_DTORS_SECTIONS is defined.
43854         * elf/soinit.c: Likewise.
43855         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43856         NO_CTORS_DTORS_SECTIONS is defined.
43857         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43858         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43859         * sysdeps/sh/init-first.c: Likewise.
43860         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43861
43862 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
43863
43864         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43865         always use the slow path.
43866
43867 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
43868
43869         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43870         similar rule which adds the sysdep directories to the header search in
43871         order to pick up the correct platform stackinfo.h.
43872         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43873         perform test if it is, otherwise return successfully without testing.
43874         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43875         DEFAULT_STACK_PERMS define in stackinfo.h.
43876         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43877         defined in stackinfo.h.
43878         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43879         DEFAULT_STACK_PERMS defined in stackinfo.h.
43880         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43881         * sysdeps/ia64/stackinfo.h: Likewise.
43882         * sysdeps/s390/stackinfo.h: Likewise.
43883         * sysdeps/sh/stackinfo.h: Likewise.
43884         * sysdeps/sparc/stackinfo.h: Likewise.
43885         * sysdeps/x86_64/stackinfo.h: Likewise.
43886         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43887         PF_X for powerpc64.  Retain PF_X for powerpc32.
43888
43889 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
43890
43891         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43892         accurately.
43893         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43894         GETDENTS_64BIT_ALIGNED.
43895
43896 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
43897
43898         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43899
43900 2010-12-10  Andreas Schwab  <schwab@redhat.com>
43901
43902         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43903         _GNU_SOURCE.
43904
43905         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43906         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43907         Remove __restrict.
43908         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43909         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43910
43911 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
43912
43913         [BZ #11655]
43914         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43915         are initialized.
43916
43917 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
43918
43919         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43920
43921 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
43922
43923         * po/it.po: Update from translation team.
43924
43925 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
43926
43927         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43928         unused codes.
43929
43930 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
43931
43932         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43933
43934 2010-11-24  Andreas Schwab  <schwab@redhat.com>
43935
43936         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43937         specially.
43938         (gaih_getanswer_slice): Likewise.
43939
43940 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
43941
43942         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43943
43944 2010-05-31  Petr Baudis  <pasky@suse.cz>
43945
43946         [BZ #11149]
43947         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43948         silently even in the chroot mode.
43949
43950 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
43951
43952         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43953         last patch a bit.  Pretty printing
43954
43955 2010-05-31  Petr Baudis <pasky@suse.cz>
43956
43957         [BZ #10085]
43958         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43959         initialization of skip_initgroups_dyn.
43960
43961 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
43962
43963         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43964         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43965
43966 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
43967
43968         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43969
43970 2010-11-11  Andreas Schwab  <schwab@redhat.com>
43971
43972         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43973         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43974         (tst-fnmatch-ENV): Set MALLOC_TRACE.
43975         ($(objpfx)tst-fnmatch-mem): New rule.
43976         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43977         * posix/tst-fnmatch.c (main): Call mtrace.
43978
43979 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
43980
43981         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43982         Support Intel processor model 6 and model 0x2c.
43983
43984 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
43985
43986         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43987           signed comparison.
43988
43989 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
43990
43991         [BZ #12205]
43992         * string/test-strncasecmp.c (check_result): New function.
43993         (do_one_test): Use it.
43994         (check1): New function.
43995         (test_main): Use it.
43996         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43997         Support strcasecmp and strncasecmp.
43998
43999 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
44000
44001         [BZ #12194]
44002         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44003         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44004
44005 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
44006
44007         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44008         IFUNC support.
44009         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44010         memset-x86-64.
44011         * sysdeps/x86_64/multiarch/bzero.S: New file.
44012         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44013         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44014         * sysdeps/x86_64/multiarch/memset.S: New file.
44015         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44016         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44017         Set bit_Prefer_SSE_for_memop for Intel processors.
44018         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44019         Define.
44020         (index_Prefer_SSE_for_memop): Define.
44021         (HAS_PREFER_SSE_FOR_MEMOP): Define.
44022
44023 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
44024
44025         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44026         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44027
44028 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
44029
44030         [BZ #12191]
44031         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44032         (__x86_64_raw_data_cache_size_half): Likewise.
44033         (__x86_64_raw_shared_cache_size): Likewise.
44034         (__x86_64_raw_shared_cache_size_half): Likewise.
44035
44036         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44037         (__x86_64_raw_data_cache_size_half): Likewise.
44038         (__x86_64_raw_shared_cache_size): Likewise.
44039         (__x86_64_raw_shared_cache_size_half): Likewise.
44040         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44041         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44042         and __x86_64_raw_shared_cache_size_half.  Round
44043         __x86_64_data_cache_size_half, __x86_64_data_cache_size
44044         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44045         to multiple of 256 bytes.
44046
44047 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
44048
44049         [BZ #12167]
44050         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44051         of inacessible symlinks.  Verify result of symlink before returning it.
44052         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44053         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44054
44055 2010-10-28  Erich Ritz  <erichritz@gmail.com>
44056
44057         * math/math.h (isinf): Fix typo in comment.
44058
44059 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
44060
44061         * po/da.po: Update from translation team.
44062
44063 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
44064
44065         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44066         is added to the list.
44067
44068 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44069             Ulrich Drepper  <drepper@gmail.com>
44070
44071         * elf/dl-object.c (_dl_new_object): Don't append the new object to
44072         the global list here.  Move code to...
44073         (_dl_add_to_namespace_list): ...here.  New function.
44074         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44075         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44076         * elf/dl-load.c (lose): Don't remove the element from the list.
44077         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44078         (_dl_map_object): Likewise.
44079
44080 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
44081
44082         [BZ #12159]
44083         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44084         into all bytes of SSE register.
44085         Patch by Richard Li <richardpku@gmail.com>.
44086
44087 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
44088
44089         [BZ #12140]
44090         * malloc/malloc.c (_int_free): Fill correct number of bytes when
44091         perturbing.
44092
44093 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
44094
44095         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44096         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44097         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44098         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44100         submachine.
44101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44102
44103 2010-10-22  Andreas Schwab  <schwab@redhat.com>
44104
44105         * include/dlfcn.h (__RTLD_SECURE): Define.
44106         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
44107         mode & __RTLD_SECURE instead.
44108         (open_path): Rename preloaded parameter to secure.
44109         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44110         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44111         * elf/dl-deps.c (openaux): Likewise.
44112         * elf/rtld.c (struct map_args): Remove is_preloaded.
44113         (map_doit): Don't use it.
44114         (dl_main): Likewise.
44115         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44116         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44117
44118 2010-09-09  Andreas Schwab  <schwab@redhat.com>
44119
44120         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44121         (sysd-rules-targets): Remove duplicates.
44122         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44123         rtld-%.$o dependency.
44124
44125 2010-10-18  Andreas Schwab  <schwab@redhat.com>
44126
44127         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44128         _dl_map_object do it.
44129
44130 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
44131
44132         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44133         fast fma builtins, define the macros in the C99 standard.
44134         (FP_FAST_FMAF): Likewise.
44135         (FP_FAST_FMAL): Likewise.
44136         * sysdeps/x86_64/bits/mathdef.h: Likewise.
44137
44138         * bits/mathdef.h: Update copyright year.
44139         * sysdeps/powerpc/bits/mathdef.h: Likewise.
44140
44141 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
44142
44143         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44144         builtins, define the macros in the C99 standard.
44145         (FP_FAST_FMAF): Likewise.
44146         (FP_FAST_FMAL): Likewise.
44147         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44148         multiply/add.
44149         (FP_FAST_FMAF): Likewise.
44150
44151 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
44152
44153         [BZ #3268]
44154         * math/libm-test.inc (fma_test): Some new testcases.
44155         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44156         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44157         y and infinite z.  Do multiplication by C already in long double.
44158         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44159         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44160         y and infinite z.  Do bitwise or of inexact bit into u.d.
44161         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44162         * sysdeps/i386/fpu/s_fmaf.S: Removed.
44163         * sysdeps/i386/fpu/s_fma.S: Removed.
44164         * sysdeps/i386/fpu/s_fmal.S: Removed.
44165
44166 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
44167
44168         [BZ #3268]
44169         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44170         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44171         computation is not scheduled after fetestexcept.  Fix value
44172         of minimum denormal long double.
44173
44174 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
44175
44176         [BZ #3268]
44177         * math/libm-test.inc (fma_test): Add some more tests.
44178         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44179         correctly.
44180
44181 2010-10-15  Andreas Schwab  <schwab@redhat.com>
44182
44183         * scripts/data/localplt-s390-linux-gnu.data: New file.
44184         * scripts/data/localplt-s390x-linux-gnu.data: New file.
44185
44186 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
44187
44188         [BZ #3268]
44189         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44190         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44191         instead of dbl-64.
44192         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44193         inlines.
44194         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44195         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44196         if one of x and y is very large and the other is subnormal.
44197         * sysdeps/s390/fpu/s_fmaf.c: New file.
44198         * sysdeps/s390/fpu/s_fma.c: New file.
44199         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44200         * sysdeps/powerpc/fpu/s_fma.S: New file.
44201         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44202         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44203         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44204
44205 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
44206
44207         [BZ #3268]
44208         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44209         fma tests.
44210         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44211         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44212         * sysdeps/i386/i686/multiarch/s_fma.c: Include
44213         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44214         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44215         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44216         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44217
44218 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
44219
44220         [BZ #12078]
44221         * posix/regcomp.c (parse_branch): One more memory leak plugged.
44222         * posix/bug-regex31.input: Add test case.
44223
44224 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
44225
44226         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44227         * posix/bug-regex31.input: New file.
44228
44229         [BZ #12078]
44230         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44231         (parse_sub_exp): Fix last change, use postorder.
44232
44233         * posix/bug-regex31.c: New file.
44234         * posix/Makefile: Add rules to build and run bug-regex31.
44235
44236         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44237
44238         [BZ #12078]
44239         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44240
44241         [BZ #12108]
44242         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44243         to have entries in sys_siglist.
44244
44245         [BZ #12093]
44246         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44247         be NULL.
44248
44249 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
44250
44251         [BZ #3268]
44252         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44253         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44254         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44255         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44256         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44257         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44258         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44259         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44260         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44261         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44262         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44263         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44264         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44265         * math/ftestexcept.c (fetestexcept): Likewise.
44266         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44267         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44268         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44269         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44270         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44271         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44272         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44273
44274 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
44275
44276         [BZ #12107]
44277         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44278         newline.
44279
44280 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
44281
44282         * string/bug-strstr1.c: New file.
44283         * string/Makefile: Add rules to build and run bug-strstr1.
44284
44285 2010-10-05  Eric Blake  <eblake@redhat.com>
44286
44287         [BZ #12092]
44288         * string/str-two-way.h (two_way_long_needle): Always clear memory
44289         when skipping input due to the shift table.
44290
44291 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
44292
44293         [BZ #12005]
44294         * malloc/mcheck.c: Handle large requests.
44295
44296         [BZ #12077]
44297         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44298         for strncmp and strncasecmp.
44299         * string/stratcliff.c: Add tests for strcmp and strncmp.
44300         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44301
44302 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44303
44304         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44305         __set_fpscr.
44306
44307 2010-09-30  Andreas Jaeger  <aj@suse.de>
44308
44309         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44310         (CGROUP_SUPER_MAGIC): Define.
44311         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44312         Handle btrfs and cgroup file systems.
44313         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44314         Likewise.
44315
44316 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
44317
44318         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44319         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44320
44321 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44322
44323         [BZ #12067]
44324         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44325         trying to locate the ELF header.
44326
44327 2010-09-27  Andreas Schwab  <schwab@redhat.com>
44328
44329         [BZ #11611]
44330         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44331         Mask out sign-bit copies when constructing f_fsid.
44332
44333 2010-09-24  Petr Baudis <pasky@suse.cz>
44334
44335         * debug/stack_chk_fail_local.c: Add missing licence exception.
44336         * debug/warning-nop.c: Likewise.
44337
44338 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
44339
44340         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44341         implementing getdents64 using getdents syscall, set d_type if
44342         __ASSUME_GETDENTS32_D_TYPE.
44343
44344 2010-09-16  Andreas Schwab  <schwab@redhat.com>
44345
44346         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44347         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44348
44349 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
44350
44351         [BZ #12037]
44352         * posix/unistd.h: Undo change of feature selection for ftruncate from
44353         2010-01-11.
44354
44355 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
44356
44357         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
44358         detection.
44359
44360 2010-09-20  Andreas Schwab  <schwab@redhat.com>
44361
44362         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44363         fanotify_mark.
44364         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44365
44366 2010-09-14  Andreas Schwab  <schwab@redhat.com>
44367
44368         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44369         variables after CHECK_SP call.
44370         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44371
44372 2010-09-13  Andreas Schwab  <schwab@redhat.com>
44373             Ulrich Drepper  <drepper@redhat.com>
44374
44375         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44376         re-relocationg ld.so.
44377         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44378         _dl_init_paths call.
44379         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
44380         here anymore.
44381
44382 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
44383
44384         * resolv/res_init.c (__res_vinit): Count the default server we added.
44385
44386 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
44387             Ulrich Drepper  <drepper@redhat.com>
44388
44389         [BZ #11968]
44390         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44391         (____longjmp_chk): Use %ebx for saving value across system call.
44392         Add unwind info.
44393
44394 2010-09-06  Andreas Schwab  <schwab@redhat.com>
44395
44396         * manual/Makefile: Don't mix pattern rules with normal rules.
44397
44398 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44399
44400         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44401         operation.
44402         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44403         * libio/iofopncook.c (_IO_cookie_init): Likewise.
44404         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44405         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44406         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44407         Likewise.
44408
44409 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
44410
44411         [BZ #11979]
44412         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44413         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44414
44415 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
44416
44417         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44418         * sysdeps/x86_64/addmul_1.S: Likewise.
44419         * sysdeps/x86_64/lshift.S: Likewise.
44420         * sysdeps/x86_64/mul_1.S: Likewise.
44421         * sysdeps/x86_64/rshift.S: Likewise.
44422         * sysdeps/x86_64/sub_n.S: Likewise.
44423         * sysdeps/x86_64/submul_1.S: Likewise.
44424
44425 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44426
44427         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44428         Define __sched_param instead of SCHED_* and sched_param when
44429         <bits/sched.h> is included with __need_schedparam defined.
44430         * bits/sched.h [__need_schedparam]
44431         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
44432         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44433         (__defined_schedparam): Define to 1.
44434         (__sched_param): New structure, identical to sched_param.
44435         (__need_schedparam): Undefine.
44436
44437 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
44438
44439         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44440         (epoll_create1): Declare.
44441
44442         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44443
44444 2010-08-31  Andreas Schwab  <schwab@redhat.com>
44445
44446         [BZ #7066]
44447         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44448         shifting retval into place.
44449
44450 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
44451
44452         * nis/rpcsvc/nis.h: Update copyright notice.
44453         * nis/rpcsvc/nis.x: Likewise.
44454         * nis/rpcsvc/nis_callback.h: Likewise.
44455         * nis/rpcsvc/nis_callback.x: Likewise.
44456         * nis/rpcsvc/nis_object.x: Likewise.
44457         * nis/rpcsvc/nis_tags.h: Likewise.
44458         * nis/rpcsvc/yp.h: Likewise.
44459         * nis/rpcsvc/yp.x: Likewise.
44460         * nis/rpcsvc/ypupd.h: Likewise.
44461         * nis/yp_xdr.c: Likewise.
44462         * nis/ypupdate_xdr.c: Likewise.
44463
44464         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
44465         mainly the body of pmap_getport.  Add parameters to specify timeouts.
44466         (pmap_getport): Use __libc_rpc_getport.
44467         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44468         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44469         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44470
44471 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
44472
44473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44474         fanotify_mark.
44475
44476 2010-08-27  Roland McGrath  <roland@redhat.com>
44477
44478         * sysdeps/i386/i686/multiarch/Makefile
44479         (CFLAGS-varshift.c): New variable.
44480
44481 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
44482
44483         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44484         * sysdeps/i386/i686/multiarch/varshift.c: New file.
44485
44486         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44487
44488         * sysdeps/x86_64/strlen.S: Minimal code improvement.
44489
44490 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
44491
44492         * sysdeps/x86_64/strlen.S: Unroll the loop.
44493         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44494         strlen-sse2 strlen-sse2-bsf.
44495         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44496         __strlen_no_bsf if bit_Slow_BSF is set.
44497         (__strlen_sse42): Removed.
44498         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44499         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44500
44501 2010-08-25  Roland McGrath  <roland@redhat.com>
44502
44503         * sysdeps/x86_64/multiarch/varshift.S: File removed.
44504         * sysdeps/x86_64/multiarch/varshift.c: New file.
44505         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44506         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44507         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44508         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44509
44510 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
44511
44512         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44513         strlen-sse2 strlen-sse2-bsf.
44514         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44515         __strlen_sse2_bsf if bit_Slow_BSF is unset.
44516         (__strlen_sse2): Removed.
44517         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44518         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44519         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44520         bit_Slow_BSF for Atom.
44521         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44522         (index_Slow_BSF): Define.
44523         (HAS_SLOW_BSF): Define.
44524
44525 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
44526
44527         [BZ #10851]
44528         * resolv/res_init.c (__res_vinit): When no server address at all
44529         is given default to loopback.
44530
44531 2010-08-24  Roland McGrath  <roland@redhat.com>
44532
44533         * configure.in: Remove config-name.h generation.
44534         * configure: Regenerated.
44535         * config-name.in: File removed.
44536         * scripts/config-uname.sh: New file.
44537         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44538         ($(objdir)config-name.h): New target.
44539
44540         * sunrpc/rpc_parse.h: Avoid nested comment.
44541
44542 2010-08-24  Richard Henderson  <rth@redhat.com>
44543             Ulrich Drepper  <drepper@redhat.com>
44544             H.J. Lu  <hongjiu.lu@intel.com>
44545
44546         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44547         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44548         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44549         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
44550         _mm_alignr_epi8 with _mm_loadu_si128.
44551         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44552         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44553         (__m128i_shift_right): Removed.
44554         * sysdeps/i386/i686/multiarch/varshift.h: New file.
44555         * sysdeps/i386/i686/multiarch/varshift.S: New file.
44556         * sysdeps/x86_64/multiarch/varshift.h: New file.
44557         * sysdeps/x86_64/multiarch/varshift.S: New file.
44558
44559 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
44560
44561         * configure.in: Move assembler checks to before sysdep dir checking.
44562
44563 2010-08-20  Petr Baudis  <pasky@suse.cz>
44564
44565         * LICENSES: Sync the sunrpc license.
44566
44567 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
44568
44569         * sunrpc/auth_des.c: Update copyright notice once again.
44570         * sunrpc/auth_none.c: Likewise.
44571         * sunrpc/auth_unix.c: Likewise.
44572         * sunrpc/authdes_prot.c: Likewise.
44573         * sunrpc/authuxprot.c: Likewise.
44574         * sunrpc/bindrsvprt.c: Likewise.
44575         * sunrpc/clnt_gen.c: Likewise.
44576         * sunrpc/clnt_perr.c: Likewise.
44577         * sunrpc/clnt_raw.c: Likewise.
44578         * sunrpc/clnt_simp.c: Likewise.
44579         * sunrpc/clnt_tcp.c: Likewise.
44580         * sunrpc/clnt_udp.c: Likewise.
44581         * sunrpc/clnt_unix.c: Likewise.
44582         * sunrpc/des_crypt.c: Likewise.
44583         * sunrpc/des_soft.c: Likewise.
44584         * sunrpc/get_myaddr.c: Likewise.
44585         * sunrpc/getrpcport.c: Likewise.
44586         * sunrpc/key_call.c: Likewise.
44587         * sunrpc/key_prot.c: Likewise.
44588         * sunrpc/openchild.c: Likewise.
44589         * sunrpc/pm_getmaps.c: Likewise.
44590         * sunrpc/pm_getport.c: Likewise.
44591         * sunrpc/pmap_clnt.c: Likewise.
44592         * sunrpc/pmap_prot.c: Likewise.
44593         * sunrpc/pmap_prot2.c: Likewise.
44594         * sunrpc/pmap_rmt.c: Likewise.
44595         * sunrpc/rpc/auth.h: Likewise.
44596         * sunrpc/rpc/auth_unix.h: Likewise.
44597         * sunrpc/rpc/clnt.h: Likewise.
44598         * sunrpc/rpc/des_crypt.h: Likewise.
44599         * sunrpc/rpc/key_prot.h: Likewise.
44600         * sunrpc/rpc/netdb.h: Likewise.
44601         * sunrpc/rpc/pmap_clnt.h: Likewise.
44602         * sunrpc/rpc/pmap_prot.h: Likewise.
44603         * sunrpc/rpc/pmap_rmt.h: Likewise.
44604         * sunrpc/rpc/rpc.h: Likewise.
44605         * sunrpc/rpc/rpc_des.h: Likewise.
44606         * sunrpc/rpc/rpc_msg.h: Likewise.
44607         * sunrpc/rpc/svc.h: Likewise.
44608         * sunrpc/rpc/svc_auth.h: Likewise.
44609         * sunrpc/rpc/types.h: Likewise.
44610         * sunrpc/rpc/xdr.h: Likewise.
44611         * sunrpc/rpc_clntout.c: Likewise.
44612         * sunrpc/rpc_cmsg.c: Likewise.
44613         * sunrpc/rpc_common.c: Likewise.
44614         * sunrpc/rpc_cout.c: Likewise.
44615         * sunrpc/rpc_dtable.c: Likewise.
44616         * sunrpc/rpc_hout.c: Likewise.
44617         * sunrpc/rpc_main.c: Likewise.
44618         * sunrpc/rpc_parse.c: Likewise.
44619         * sunrpc/rpc_parse.h: Likewise.
44620         * sunrpc/rpc_prot.c: Likewise.
44621         * sunrpc/rpc_sample.c: Likewise.
44622         * sunrpc/rpc_scan.c: Likewise.
44623         * sunrpc/rpc_scan.h: Likewise.
44624         * sunrpc/rpc_svcout.c: Likewise.
44625         * sunrpc/rpc_tblout.c: Likewise.
44626         * sunrpc/rpc_util.c: Likewise.
44627         * sunrpc/rpc_util.h: Likewise.
44628         * sunrpc/rpcinfo.c: Likewise.
44629         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44630         * sunrpc/rpcsvc/key_prot.x: Likewise.
44631         * sunrpc/rpcsvc/klm_prot.x: Likewise.
44632         * sunrpc/rpcsvc/mount.x: Likewise.
44633         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44634         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44635         * sunrpc/rpcsvc/rex.x: Likewise.
44636         * sunrpc/rpcsvc/rstat.x: Likewise.
44637         * sunrpc/rpcsvc/rusers.x: Likewise.
44638         * sunrpc/rpcsvc/sm_inter.x: Likewise.
44639         * sunrpc/rpcsvc/spray.x: Likewise.
44640         * sunrpc/rpcsvc/yppasswd.x: Likewise.
44641         * sunrpc/rtime.c: Likewise.
44642         * sunrpc/svc.c: Likewise.
44643         * sunrpc/svc_auth.c: Likewise.
44644         * sunrpc/svc_authux.c: Likewise.
44645         * sunrpc/svc_raw.c: Likewise.
44646         * sunrpc/svc_run.c: Likewise.
44647         * sunrpc/svc_simple.c: Likewise.
44648         * sunrpc/svc_tcp.c: Likewise.
44649         * sunrpc/svc_udp.c: Likewise.
44650         * sunrpc/svc_unix.c: Likewise.
44651         * sunrpc/svcauth_des.c: Likewise.
44652         * sunrpc/xcrypt.c: Likewise.
44653         * sunrpc/xdr.c: Likewise.
44654         * sunrpc/xdr_array.c: Likewise.
44655         * sunrpc/xdr_float.c: Likewise.
44656         * sunrpc/xdr_mem.c: Likewise.
44657         * sunrpc/xdr_rec.c: Likewise.
44658         * sunrpc/xdr_ref.c: Likewise.
44659         * sunrpc/xdr_sizeof.c: Likewise.
44660         * sunrpc/xdr_stdio.c: Likewise.
44661
44662         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44663         handling.
44664
44665 2010-08-19  Andreas Schwab  <schwab@redhat.com>
44666
44667         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44668
44669 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
44670
44671         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44672         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44673         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44674         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44675         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44676         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44677         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44678         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44679         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44680         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44681         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44682         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44683         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44684         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44685
44686 2010-07-26  Anton Blanchard  <anton@samba.org>
44687
44688         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44689         * malloc/arena.c (heap_trim): Likewise.
44690
44691 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
44692
44693         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44694         here.  Not...
44695         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44696         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44697
44698 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
44699
44700         * sysdeps/i386/elf/Makefile: New file.
44701
44702 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
44703
44704         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44705         from fanotify_init.
44706         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44707         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44708
44709 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
44710
44711         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44712         of strncasecmp_l.
44713         * sysdeps/multiarch/strcmp.S: Likewise.
44714
44715 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
44716
44717         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44718         strncase_l-nonascii.
44719         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44720         Add strncase_l-ssse3.
44721         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44722         * sysdeps/x86_64/strcmp.S: Likewise.
44723         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44724         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44725         * sysdeps/x86_64/strncase.S: New file.
44726         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44727         * sysdeps/x86_64/strncase_l.S: New file.
44728         * string/Makefile (strop-tests): Add strncasecmp.
44729         * string/test-strncasecmp.c: New file.
44730
44731         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44732         warning.
44733
44734         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44735         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44736
44737 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
44738
44739         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44740
44741 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
44742
44743         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44744         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44745         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44746
44747 2010-05-01  Alan Modra  <amodra@gmail.com>
44748
44749         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44750         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44751         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44752         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44753         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44754         tidying.  Don't tail-call __sigjmp_save for static lib.
44755         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44756         save location.
44757         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44758         (CALL_MCOUNT): Add eh info, and nop after bl.
44759         (TAIL_CALL_SYSCALL_ERROR): New macro.
44760         (PSEUDO_RET): Use it.
44761         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44762         Correct save location of integer regs and cr.
44763         (_dl_profile_resolve): Correct cr save location.  Delete nops
44764         after bl when SHARED.  Reduce cfi size a little by better
44765         placement of cfi directives.
44766         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44767         make a stack frame.  Instead use parm save area as a temp.
44768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44769         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
44770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44771         Don't make a stack frame for parent, use parm save area.
44772         Increase child stack frame to 112 bytes.  Don't save unused reg,
44773         and adjust reg usage.  Set up cfi on error recovery and
44774         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44776         (__makecontext): Add dummy nop after jump to exit.
44777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44778         Use correct parm save area and cr save, reduce stack frame.
44779         Correct cfi for possible PSEUDO_RET frame setup.
44780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44781         Branch to local label emitted by PSEUDO_RET rather than
44782         __syscall_error.
44783
44784 2010-08-12  Andreas Schwab  <schwab@redhat.com>
44785
44786         [BZ #11904]
44787         * locale/programs/locale.c (print_assignment): New function.
44788         (show_locale_vars): Use it.
44789
44790 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
44791
44792         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44793         field.
44794         (struct statfs64): Likewise.
44795         (_STATFS_F_FLAGS): Define.
44796         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44797         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44798         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44799         (ST_VALID): Define locally.
44800         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44801         __statvfs_getflags, use the provided value.
44802         * sysdeps/unix/sysv/linux/kernel-features.h: Define
44803         __ASSUME_STATFS_F_FLAGS.
44804
44805         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44806
44807         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44808         Add sys/fanotify.h.
44809         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44810         fanotify_mask for GLIBC_2.13.
44811         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44812         fanotify_init and fanotify_mark.
44813         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44814         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44815
44816         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44817         Add prlimit.
44818         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44819         prlimit64 for GLIBC_2.13.
44820         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44821         prlimit64.
44822         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44823         syscall.
44824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44825         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44826         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44827         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44828         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
44829         add prlimit alias.
44830         * sysdeps/unix/sysv/linux/prlimit.c: New file.
44831
44832         [BZ #11903]
44833         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44834         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44835
44836         * nss/Makefile: Add rules to build and run tst-nss-test1.
44837         * shlib-versions: Add entry for libnss_test1.
44838         * nss/nss_test1.c: New file.
44839         * nss/tst-nss-test1.c: New file.
44840
44841         * nss/nsswitch.c (__nss_database_custom): Define new variable.
44842         (__nss_configure_lookup): Set appropriate entry in
44843         __nss_configure_lookup to true.
44844         * nss/nsswitch.h: Define enum with indeces of databases in
44845         databases and __nss_database_custom arrays.  Declare
44846         __nss_database_custom.
44847         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44848         to avoid using nscd when custom rules are installed.
44849         * nss/getXXbyYY_r.c: Likewise.
44850         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44851
44852         * nss/nss_files/files-parse.c: Whitespace fixes.
44853
44854 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
44855
44856         [BZ #11883]
44857         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44858         * posix/fnmatch_loop.c: Likewise.
44859
44860 2010-07-17  Andi Kleen  <ak@linux.intel.com>
44861
44862         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44863         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44864         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44865         * Versions.def [GLIBC_2.13]: Add.
44866
44867 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
44868
44869         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44870         Also fail if tpwd after pwuid call is NULL.
44871
44872 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44873
44874         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44875         when converting to ms.
44876
44877 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44878
44879         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44880         EOPNOTSUPP errors with ENOTTY.
44881         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44882         EOPNOTSUPP errors with ENOTTY.
44883
44884 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
44885
44886         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44887         Add strcasecmp_l-ssse3.
44888         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44889         strcasecmp.
44890         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44891         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44892         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44893
44894 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
44895
44896         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44897
44898         * string/Makefile (strop-tests): Add strcasecmp.
44899         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44900         strcasecmp_l-nonascii.
44901         (gen-as-const-headers): Add locale-defines.sym.
44902         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44903         * sysdeps/x86_64/strcasecmp.S: New file.
44904         * sysdeps/x86_64/strcasecmp_l.S: New file.
44905         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44906         * sysdeps/x86_64/locale-defines.sym: New file.
44907         * string/test-strcasecmp.c: New file.
44908
44909         * string/test-strcasestr.c: Test both ends of the range of characters.
44910         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44911
44912 2010-07-29  Roland McGrath  <roland@redhat.com>
44913
44914         [BZ #11856]
44915         * manual/locale.texi (Yes-or-No Questions): Fix example code.
44916
44917 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
44918
44919         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44920         for ld.so.
44921
44922 2010-07-27  Andreas Schwab  <schwab@redhat.com>
44923
44924         * manual/memory.texi (Malloc Tunable Parameters): Document
44925         M_PERTURB.
44926
44927 2010-07-26  Roland McGrath  <roland@redhat.com>
44928
44929         [BZ #11840]
44930         * configure.in (-fgnu89-inline check): Set and substitute
44931         gnu89_inline, not libc_cv_gnu89_inline.
44932         * configure: Regenerated.
44933         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44934
44935 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
44936
44937         * string/test-strnlen.c: New file.
44938         * string/Makefile (strop-tests): Add strnlen.
44939         * string/tester.c (test_strnlen): Add a few more test cases.
44940         * string/tst-strlen.c: Better error reporting.
44941
44942         * sysdeps/x86_64/strnlen.S: New file.
44943
44944 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
44945
44946         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44947         lower-latency instructions.
44948
44949 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
44950
44951         * string/test-strcasestr.c: New file.
44952         * string/test-strstr.c: New file.
44953         * string/Makefile (strop-tests): Add strstr and strcasestr.
44954         * string/str-two-way.h: Don't undefine MAX.
44955         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44956
44957 2010-07-21  Andreas Schwab  <schwab@redhat.com>
44958
44959         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44960         strcasestr-nonascii.
44961         (CFLAGS-strcasestr-nonascii.c): Define.
44962         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44963         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44964         Remove unused attribute.
44965
44966 2010-07-20  Roland McGrath  <roland@redhat.com>
44967
44968         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44969         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
44970         ld.so.cache was broken.  With it, there is no way to disable dsocaps
44971         like LD_HWCAP_MASK can disable hwcaps.
44972
44973 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
44974
44975         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44976
44977 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
44978
44979         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44980         call in strcasestr.
44981         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44982         __strcasestr_sse42_nonascii.
44983         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44984         strcasestr-nonascii.c.
44985         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44986
44987 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
44988
44989         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44990         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44991         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44992         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44993
44994 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
44995
44996         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44997         fcntl.
44998
44999 2010-07-06  Andreas Schwab  <schwab@redhat.com>
45000
45001         [BZ #11577]
45002         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45003         dl_signal_cerror.
45004
45005 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
45006
45007         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45008         _PC_PIPE_BUF using F_GETPIPE_SZ.
45009
45010 2010-07-05  Roland McGrath  <roland@redhat.com>
45011
45012         * manual/arith.texi (Rounding Functions): Fix rint description
45013         implicit in round description.
45014
45015 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
45016
45017         * elf/Makefile: Fix linking for a few tests to make recent linker
45018         happy.
45019
45020 2010-06-30  Andreas Schwab  <schwab@redhat.com>
45021
45022         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45023         $(common-objpfx)libc_nonshared.a.
45024
45025 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
45026
45027         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45028         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45029         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45030         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45031         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45032         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45033         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45034         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45049         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45050         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45051         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45052         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45053         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45054         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45055         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45056         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45057         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45058         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45059         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45060         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45075
45076 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
45077
45078         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45079         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
45080         * string/memmove.c (memmove): Renamed to ...
45081         (MEMMOVE): ...this.  Default to memmove.
45082         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45083         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45084         (END_CHK): Define.
45085         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45086         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45087         mempcpy-ssse3-back memmove-ssse3-back.
45088         * sysdeps/x86_64/multiarch/bcopy.S: New file .
45089         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45090         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45091         * sysdeps/x86_64/multiarch/memcpy.S: New file.
45092         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45093         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45094         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45095         * sysdeps/x86_64/multiarch/memmove.c: New file.
45096         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45097         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45098         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45099         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45100         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45101         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45102         Define.
45103         (index_Fast_Copy_Backward): Define.
45104         (HAS_ARCH_FEATURE): Define.
45105         (HAS_FAST_REP_STRING): Define.
45106         (HAS_FAST_COPY_BACKWARD): Define.
45107
45108 2010-06-21  Andreas Schwab  <schwab@redhat.com>
45109
45110         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45111         Restore proper fallback handling.
45112
45113 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
45114
45115         [BZ #11701]
45116         * posix/group_member.c (__group_member): Correct checking loop.
45117
45118         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45119         OOM in getpwuid_r correctly.  Return error number when the caller
45120         should return, otherwise -1.
45121         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45122         call returning > 0 value.
45123         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45124
45125 2010-06-07  Andreas Schwab  <schwab@redhat.com>
45126
45127         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45128         libc_nonshared.a from targets in modules-names.
45129
45130 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
45131
45132         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45133         requires it.
45134
45135 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
45136
45137         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45138         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45139         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45140         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45141
45142 2010-06-02  Andreas Schwab  <schwab@redhat.com>
45143
45144         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45145
45146 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
45147
45148         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45149         and F_GETPIPE_SZ.
45150         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45151         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45152         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45153         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45154         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45155         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45156
45157 2010-06-14  Roland McGrath  <roland@redhat.com>
45158
45159         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45160
45161 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
45162
45163         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45164         __REDIRECT followed by __THROW.
45165         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45166         * posix/getopt.h (getopt): Likewise.
45167
45168 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
45169
45170         * hurd/lookup-at.c (__file_name_lookup_at): Accept
45171         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
45172         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45173         in AT_FLAGS.
45174         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45175         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45176
45177 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
45178
45179         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45180
45181 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
45182
45183         [BZ #11640]
45184         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45185         Properly check family and model.
45186
45187 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
45188
45189         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45190
45191 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
45192
45193         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45194
45195 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
45196
45197         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45198         symbol reference.
45199
45200 2010-05-19  Andreas Schwab  <schwab@redhat.com>
45201
45202         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45203         symbol reference.
45204
45205 2010-05-21  Andreas Schwab  <schwab@redhat.com>
45206
45207         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45208         and internal_recvmmsg.
45209         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45210         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45211         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45212         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45213
45214         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45215         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45216         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45217
45218 2010-05-20  Andreas Schwab  <schwab@redhat.com>
45219
45220         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45221
45222 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
45223
45224         POWER7 optimizations.
45225         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45226         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45227
45228 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
45229
45230         * version.h: Update for 2.13 development version.
45231
45232 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
45233
45234         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45235         exceptions.  Return 0.
45236
45237 2010-05-07  Roland McGrath  <roland@redhat.com>
45238
45239         * elf/ldconfig.c (main): Add a const.
45240
45241 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
45242
45243         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45244         (args_options): Add no-idn option.
45245         (ahosts_keys_int): Add idn_flags to ai_flags.
45246         (parse_option): Handle 'i' option to clear idn_flags.
45247
45248         * malloc/malloc.c (_int_free): Possible race in the most recently
45249         added check.  Only act on the data if no current modification
45250         happened.
45251
45252 See ChangeLog.17 for earlier changes.