2f8ca80eb2746bf1c5032acd77e242d5666b5f77
[platform/upstream/glibc.git] / ChangeLog
1 2014-05-31  David S. Miller  <davem@davemloft.net>
2
3         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4         to occur in round to nearest mode when |x| >= 2.0
5
6 2014-05-30  Richard Henderson  <rth@twiddle.net>
7
8         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9         (PSEUDO_RET_NOERRNO): Remove.
10         (ret): Don't redefine.
11         (ret_NOERRNO): Define in terms of ret.
12         (ret_ERRVAL): Likewise.
13
14         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
15         use of PSEUDO_RET; perform the error check directly.
16
17 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
18
19         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
20         with __int128_t.
21
22 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23
24         * malloc/malloc (malloc_info): Fix formatting.
25
26 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27             Roland McGrath  <roland@hack.frob.com>
28
29         * malloc/malloc (malloc_info): Also print mmapped statistics.
30
31 2014-05-30  Roland McGrath  <roland@hack.frob.com>
32
33         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
34         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
35
36 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
37
38         * malloc/malloc.c (malloc_info): Inline mi_arena.
39
40 2014-05-29  Richard Henderson  <rth@twiddle.net>
41
42         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
43         Remove comma before expanding ASM_ARGS_##nr.
44         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
45         Make _x0 a strict output; make _x8 a strict input; adjust expansion
46         of ASM_ARGS_##nr.
47         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
48         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
49         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
50         (ASM_ARGS_1): Add leading comma.
51
52         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
53         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
54         to __errno_location.
55         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
56         Remove the expected plt for __errno_location.
57
58         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
59         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
60         call to __read_tp.
61
62         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
63         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
64         it and break it down.
65         (DOCARGS_0, DOCARGS_1): Do nothing.
66         (DOCARGS_2): Update to store into the new stack frame.
67         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
68         (UNDOCARGS_1): Update to restore from the new stack frame.
69         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
70         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
71
72         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
73         (SINGLE_THREAD_P): New parameter for result regno.
74         (PSEUDO): Update to match; use cbz instead of beq.
75
76         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
77         Use ENTRY to define the _nocancel entry point.  Share the syscall
78         and syscall error check paths with the cancel path.
79         (PSEUDO_END): New.
80
81         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
82         whitespace; tabs before and after asm mnemonics.
83
84 2014-05-29  Eric Wong  <normalperson@yhbt.net>
85
86         [BZ #15132]
87         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88         Call fstat64 or stat64 internally, depending on arguments passed.
89         Replace stat buffer argument with file descriptor argument.
90         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
91         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
92         Pass fd to __internal_statvfs instead of calling fstat64.
93         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
94         Pass fd to __internal_statvfs64 instead of calling fstat64.
95         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
96         Pass -1 to __internal_statvfs instead of calling stat64.
97         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
98         Pass -1 to __internal_statvfs64 instead of calling stat64.
99
100 2014-05-28  Roland McGrath  <roland@hack.frob.com>
101
102         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
103         that was previously under [RESET_PID].
104         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
105
106         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
107         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
108
109 2014-05-27  Roland McGrath  <roland@hack.frob.com>
110
111         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
112
113         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
114         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
115
116 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
117
118         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
119
120 2014-05-27  Andreas Schwab  <schwab@suse.de>
121
122         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
123         TLS_INIT_TP macro.
124         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
125         * elf/rtld.c (init_tls, dl_main): Likewise.
126         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
127         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
128         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
129         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
130         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
131         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
132         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
133         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
134         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
135         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
136         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
137         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
138         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
139         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
140         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
141         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
142         * sysdeps/generic/tls.h: Update description.
143
144 2014-05-27  Will Newton  <will.newton@linaro.org>
145
146         [BZ #16990]
147         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
148         and restore r2 rather than just restoring.
149
150 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
151
152         [BZ #16724]
153         * libio/tst-ftell-append.c: New test case.
154         * libio/Makefile (tests): Add test case.
155         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
156         append mode.
157         * libio/wfileops.c (do_ftell_wide): Likewise.
158
159 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
160
161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
162
163         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
164         ...
165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
167         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
168         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
169         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
170         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
171         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
172         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
173         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
174         Moved ...
175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
176         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
177         Moved ...
178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
179         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
180         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
181         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
182         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
183         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
184         ...
185         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
186         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
187         Moved ...
188         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
189         here.
190         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
191         ...
192         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
193         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
194         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
195
196         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
197         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
198         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
199         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
200
201         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
202         merge into ...
203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
204         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
205         ...
206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
207         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
208         ...
209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
210         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
211         Moved ...
212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
213         here.
214         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
215         Moved ...
216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
217         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
218         Moved ...
219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
220
221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
222         conditional [RESET_PID].
223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
224         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
225         removed.
226         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
227         removed.
228
229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
230         <tcb-offsets.h>.
231         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
232         (__libc_vfork): New strong alias.
233         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
234         removed.
235         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
236         Removed.
237
238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
239         <tcb-offsets.h>.
240         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
241         (__libc_vfork): New strong alias.
242         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
243         removed.
244         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
245         removed.
246
247 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
248
249         * malloc/malloc.c (mi_arena): New function.
250         (malloc_info): Remove nested function mi_arena. Call non-nosted
251         function mi_arena.
252
253 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
254
255         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
256         by insrwi.
257         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
258         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
259         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
260         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
261         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
262         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
263         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
264
265 2014-05-26  Andreas Schwab  <schwab@suse.de>
266
267         [BZ #16984]
268         * locale/programs/repertoire.c (repertoire_read): Add slash
269         between I18NPATH element and file name.
270         * locale/programs/locfile.c (locfile_read): Likewise.
271
272 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
273
274         * nptl/pthread_mutexattr_settype.c
275         (__pthread_mutexattr_settype):
276         Disable lock elision for PTHREAD_MUTEX_NORMAL.
277
278 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
279
280         * nptl/tst-mutex5 (do_test):
281         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
282
283 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
284
285         * benchtests/README: Document 'init' directive.
286         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
287         BENCH_INIT.
288         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
289         (parse_file): Recognize 'init' directive.
290
291 2014-05-26  Kyle McMartin  <kyle@redhat.com>
292
293         [BZ #16796]
294         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
295         alignment of struct pthread.
296
297 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
298
299         [BZ #16878]
300         * nscd/netgroupcache.c (addgetnetgrentX): Look for
301         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
302         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
303         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
304
305 2014-05-25  Richard Henderson  <rth@twiddle.net>
306
307         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
308         (SINGLE_THREAD_P_PIC): Remove.
309         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
310         (SINGLE_THREAD_P_PIC): Remove.
311
312         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
313         branch to syscall error ...
314         (PSEUDO): ... here.
315         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
316         from __local_syscall_error to .Lsyscall_error.
317         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
318         (SYSCALL_ERROR): Update label name.
319
320         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
321         Do not use DOARGS/UNDOARGS.
322         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
323         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
324         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
325         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
326         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
327
328         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
329         block comment.
330
331         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
332         define if !NOT_IN_libc.
333         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
334         define with non-default symbol versions.
335
336 2014-05-23  Richard Henderson  <rth@twiddle.net>
337
338         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
339         (vfork, __vfork): Define via compat_symbol.
340
341         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
342         [!HAVE_IFUNC] (vfork_compat): Remove.
343         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
344
345 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
346
347         [BZ #16978]
348         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
349         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
350         variable.
351
352 2014-05-23  Richard Henderson  <rth@twiddle.net>
353
354         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
355         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
356         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
357         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
358
359         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
360         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
361         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
362         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
363         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
364         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
365         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
366         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
367         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
368         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
369         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
370         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
371         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
372         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
373         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
374         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
375         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
376         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
377         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
378         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
379         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
380         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
381         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
382         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
383         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
384         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
385         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
386         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
387         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
388         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
389         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
390         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
391         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
392         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
393         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
394         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
395         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
396         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
397         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
398         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
399         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
400         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
401         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
402         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
403         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
404         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
405         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
406         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
407         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
408         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
409         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
410         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
411         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
412         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
413         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
414         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
415
416         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
417         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
418         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
419         before exiting on error.
420         (__libc_vfork): New strong alias.
421         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
422         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
423
424         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
425         that was previously under [RESET_PID].
426         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
427
428         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
429
430 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
431
432         [BZ #16977]
433         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
434         value when x - 1 is zero.
435         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
436         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
437         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
438         0.0L for an argument of 1.0L.
439         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
440         Likewise.
441         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
442         value when x - 1 is zero.
443         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
444         * sysdeps/i386/fpu/libm-test-ulps: Update.
445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
446
447 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
448
449         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
450         alphasort and versionsort.
451
452 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
453
454         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
455         macro.
456         [copysignf]: Likewise.
457
458 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
459
460         * crypt/md5-crypt.c: Fix formatting.
461
462 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
463
464         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
465         (b64_from_24bit): New function.
466
467 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
468
469         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
470         libc_hidden_builtin_def to ifunc.
471         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
472         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
473
474 2014-05-21  Roland McGrath  <roland@hack.frob.com>
475
476         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
477         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
478
479 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
480
481         * nscd/Depend (linuxthreads): Remove.
482         (nptl): Add.
483         * resolv/Depend (linuxthreads): Remove.
484         * rt/Depend (linuxthreads): Remove.
485
486         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
487         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
488         $(common-objpfx)elf/.
489         (link-libc-before-gnulib): Likewise.
490         (elfobjdir): Remove variable.
491         * Makefile (install): Use $(elf-objpfx) instead of
492         $(common-objpfx)elf/.
493         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
494         $(elfobjdir)/.
495         (link-libc-deps): Likewise.
496         ($(common-objpfx)libc.so): Likewise.
497         ($(common-objpfx)linkobj/libc.so): Likewise.
498         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
499         instead of $(common-objpfx)elf/.
500         (symbolic-link-list): Likewise.
501         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
502         [$(cross-compiling) = no]: Likewise.
503         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
504         $(elfobjdir)/.
505         (static-gnulib-arch): Likewise.
506         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
507         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
508         $(common-objpfx)elf/.
509
510 2014-05-21  Richard Henderson  <rth@redhat.com>
511
512         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
513         (SINGLE_THREAD_P): Use the correct width load.  Fold
514         into the ldr offset.
515
516         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
517         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
518
519 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
520
521         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
522         (libgcc_s_resume): Use __attribute_used__.
523         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
524         Likewise.
525
526 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
527
528         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
529         optimization when used with float constants.
530
531         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
532
533 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
534
535         [BZ #16915]
536         * locale/nl_langinfo_l.c: Make direct reference to every
537         _nl_current_CATEGORY symbol.
538         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
539         (tests-static): Add tst-langinfo-static.
540         (tests-special): Add tst-langinfo-static.out.
541         ($(objpfx)tst-langinfo.out): Redirect output.
542         ($(objpfx)tst-langinfo-static.out): New.
543         * localedata/tst-langinfo.sh: Send output to stdout.
544         * localedata/tst-langinfo-static.c: New file.
545
546         [BZ #16965]
547         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
548         when the shift amount is modulo the limb size.
549
550 2014-05-20  Richard Henderson  <rth@redhat.com>
551
552         [BZ #16967]
553         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
554         Change type of sa_flags from unsigned int to int.
555
556         [BZ #16966]
557         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
558
559         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
560
561 2014-05-20  Will Newton  <will.newton@linaro.org>
562
563         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
564         Test the return value of the system call in the nocancel case.
565
566 2014-05-20  Will Newton  <will.newton@linaro.org>
567             Yvan Roux  <yvan.roux@linaro.org>
568
569         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
570         #include of asm/ptrace.h.
571         (PTRACE_GET_THREAD_AREA): Remove #undef.
572         (PTRACE_GETHBPREGS): Likewise.
573         (PTRACE_SETHBPREGS): Likewise.
574         (struct user_regs_struct): New structure.
575         (struct user_fpsimd_struct): New structure.
576         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
577         #include of asm/ptrace.h and second #include of sys/user.h.
578         (PTRACE_GET_THREAD_AREA): Remove #undef.
579         (PTRACE_GETHBPREGS): Likewise.
580         (PTRACE_SETHBPREGS): Likewise.
581         (ELF_NGREG): Use new struct user_regs_struct.
582         (elf_fpregset_t): Use new struct user_fpsimd_struct.
583
584 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
585
586         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
587         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
588
589 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
590
591         [BZ #16958]
592         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
593         membar to avoid block loads/stores to overlap previous stores.
594
595 2014-05-17  Richard Henderson  <rth@redhat.com>
596
597         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
598         Create the __##syscall_name##_nocancel entry point.
599         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
600         Remove; let the sysdep-cancel.h code create it.
601
602 2014-05-17  David S. Miller  <davem@davemloft.net>
603
604         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
605         Protect with __USE_GNU.
606         (TIOCSET_TEMPT): Likewise.
607         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
608         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
609         these are already provided in bits/ioctl-types.h
610
611 2014-05-16  Roland McGrath  <roland@hack.frob.com>
612
613         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
614         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
615
616         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
617         Use wait4 regardless of [__NR_waitpid].
618
619 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
620
621         PR libgcc/60166
622         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
623         (_FP_NANSIGN_Q): Set the quiet bit.
624
625 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
626
627         * benchtests/Makefile
628         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
629         not $(common-objpfx)math/libm.so.
630         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
631         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
632         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
633         $(common-objpfx)dlfcn/libdl.so.
634         ($(objpfx)tst-audit8): Depend on $(libm), not
635         $(common-objpfx)math/libm.so.
636         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
637         not $(common-objpfx)dlfcn/libdl.so.
638         * math/Makefile
639         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
640         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
641         [$(build-shared) = yes].
642         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
643         $(common-objpfx)nptl/libpthread.so.
644         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
645         $(common-objpfx)math/libm.so$(libm.so-version) or
646         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
647         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
648         $(common-objpfx)dlfcn/libdl.so.
649         * setjmp/Makefile (link-libm): Remove variable.
650         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
651         * stdio-common/Makefile (link-libm): Remove variable.
652         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
653         * stdlib/Makefile (link-libm): Remove variable.
654         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
655         ($(objpfx)tst-strtod-round): Likewise.
656         ($(objpfx)tst-tininess): Likewise.
657         ($(objpfx)tst-strtod-underflow): Likewise.
658         ($(objpfx)tst-strtod6): Likewise.
659         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
660         $(libdl), not $(common-objpfx)nptl/libpthread.so and
661         $(common-objpfx)dlfcn/libdl.so.
662
663 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
664
665         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
666         BSD terminal modes definitions.
667
668 2014-05-16  Roland McGrath  <roland@hack.frob.com>
669
670         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
671         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
672
673         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
674         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
675         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
676         Don't do #include_next.
677         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
678         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
679         Don't do #include_next.
680         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
681         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
682         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
683         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
684
685 2014-05-16  Allan McRae  <allan@archlinux.org>
686
687         * po/sv.po: Update Swedish translation from translation project.
688
689         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
690         in sed expression.
691
692 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
693
694         [BZ #16917]
695         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
696         errno if the TIOCGPTN ioctl fails with an error different than
697         EINVAL.
698         * login/tst-ptsname.c: New file.
699         * login/Makefile (tests): Add tst-ptsname.
700
701         [BZ #16943]
702         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
703         and prlimit64.
704
705 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
706
707         [BZ #16849]
708         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
709         herrno to return EAI_AGAIN.
710
711 2014-05-14  Roland McGrath  <roland@hack.frob.com>
712
713         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
714         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
715         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
716         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
717         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
718         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
719         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
720         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
721         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
722         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
723         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
724         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
725         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
726         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
727         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
728         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
729         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
730         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
731         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
732         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
733         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
734         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
735         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
736         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
737         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
738         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
739         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
740         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
741         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
742         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
743         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
744         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
745         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
746         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
747         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
748         Moved ...
749         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
750         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
751         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
752         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
753         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
754         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
755         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
756         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
757         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
758         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
759         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
760         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
761         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
762         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
763         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
764         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
765         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
766         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
767         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
768         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
769         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
770         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
771         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
772         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
773         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
774         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
775         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
776         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
777         Moved ...
778         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
779         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
780         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
781         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
782         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
783         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
784         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
785         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
786         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
787         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
788         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
789         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
790         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
792         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
794         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
795         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
796         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
797         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
798         Moved ...
799         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
800         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
801         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
802
803         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
804         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
805         (libpthread-sysdep_routines): Add elision-related stuff here instead.
806         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
807         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
808         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
809         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
810         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
811         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
812         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
813         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
814         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
815         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
816         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
817         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
818         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
819         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
820         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
821         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
822         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
823         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
824         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
825         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
826         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
827         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
828         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
829         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
830         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
831         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
832         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
833         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
834
835         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
836         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
837
838         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
839         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
840         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
841         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
842         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
843         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
844         Moved ...
845         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
846         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
847         Moved ...
848         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
849         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
850         Moved ...
851         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
852         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
853         Moved ...
854         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
855         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
856         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
857         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
858         Moved ...
859         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
860         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
861         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
862         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
863         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
864         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
865         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
866         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
867         Moved ...
868         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
869         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
870         Moved ...
871         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
872         ... here.
873         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
874         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
875         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
876         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
877         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
878         Moved ...
879         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
880         ... here.
881         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
882         Moved ...
883         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
884         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
885         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
886         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
887         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
888         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
889         Moved ...
890         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
891         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
892         Moved ...
893         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
894         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
895         Moved ...
896         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
897         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
898         Moved ...
899         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
900         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
901         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
902         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
903         Moved ...
904         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
905         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
906         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
907         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
908         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
909         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
910         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
911         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
912         Moved ...
913         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
914         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
915         Moved ...
916         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
917         ... here.
918         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
919         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
920         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
921         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
922         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
923         Moved ...
924         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
925         ... here.
926         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
927         Moved ...
928         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
929         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
930         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
931         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
932         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
933         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
934         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
935         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
936         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
937         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
938         Moved ...
939         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
940         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
941         Moved ...
942         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
943         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
944         Moved ...
945         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
946         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
947         Moved ...
948         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
949         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
950         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
951         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
952         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
953         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
954         Moved ...
955         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
956         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
957         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
958         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
959         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
960         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
961         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
962         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
963         Moved ...
964         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
965         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
966         Moved ...
967         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
968         ... here.
969         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
970         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
971         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
972         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
973         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
974         Moved ...
975         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
976         ... here.
977         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
978         Moved ...
979         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
980         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
981         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
982         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
983         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
984         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
985         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
986         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
987         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
988         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
989         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
990
991         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
992         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
993
994         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
995         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
996
997         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
998         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
999         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1000         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1001         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1002         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1003         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1004         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1005         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1006         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1007         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1008         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1009         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1010         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1011         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1012         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1013         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1014         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1015         Moved ...
1016         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1017         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1018         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1019         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1020         Moved ...
1021         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1022         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1023         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1024         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1025         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1026         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1027         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1028         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1029         Moved ...
1030         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1031         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1032         Moved ...
1033         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1034         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1035         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1036         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1037         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1038         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1039         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1040         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1041         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1042         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1043         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1044         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1045         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1046         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1047         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1048         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1049         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1050
1051         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1052         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1053         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1054         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1055         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1056
1057         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1058         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1059         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1060         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1061         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1062         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1063         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1064         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1065         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1066         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1067
1068         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1069         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1070
1071         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1072         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
1073         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1074         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1075         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1076         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1077         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1078         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1079         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1080         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1081         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1082         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1083         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1084         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1085         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1086         Update #include.
1087         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1088         Likewise.
1089         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1090         Likewise.
1091         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1092         Likewise.
1093         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1094         Likewise.
1095         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1096         Likewise.
1097         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1098         Likewise.
1099         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1100         Likewise.
1101         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1102         Likewise.
1103         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1104         Likewise.
1105         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1106         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1107         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1108         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1109         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
1110         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1111         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1112         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1113         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1114         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1115         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1116         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1117         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1118         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
1119         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
1120
1121         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1122         that was previously under [RESET_PID].
1123         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1124         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1125         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1126
1127         * sysdeps/i386/nptl/Implies: New file.
1128         * sysdeps/x86_64/nptl/Implies: New file.
1129         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1130         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1131         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1132         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1133
1134         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1135         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1136         (__libc_vfork): New strong alias.
1137         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1138         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1139
1140         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1141         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1142         (__libc_vfork): New strong alias.
1143         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1144         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1145
1146         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1147         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1148         (__libc_vfork): New strong alias.
1149         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1150         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1151         * nptl/pt-vfork.c: New file.
1152         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1153         (libpthread: GLIBC_2.20): New version set (empty).
1154
1155 2014-05-14  Will Newton  <will.newton@linaro.org>
1156
1157         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1158         rather than #if.
1159
1160 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
1161
1162         [BZ #16564]
1163         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1164         arguments with exponent 65 or above.
1165         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1166         arguments 0x1p113L or above.
1167         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1168         to arguments 0x1p107L or above.
1169         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1170         positive arguments with exponent 65 or above.
1171         * math/auto-libm-test-in: Add more tests of log1p.
1172         * math/auto-libm-test-out: Regenerated.
1173
1174         [BZ #16928]
1175         * math/s_cacos.c (__cacos): Ensure zero real part of result from
1176         non-finite arguments is +0.
1177         * math/s_cacosf.c (__cacosf): Likewise.
1178         * math/s_cacosl.c (__cacosl): Likewise.
1179         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1180         * sysdeps/i386/fpu/libm-test-ulps: Update.
1181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1182
1183         [BZ #16927]
1184         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1185         value.
1186         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1187         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1188         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1189         for explicit high bit of mantissa when testing for argument equal
1190         to 1.
1191         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1192         * sysdeps/i386/fpu/libm-test-ulps: Update.
1193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1194
1195         [BZ #16516]
1196         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1197         (__erf): Scale by 16 instead of 8 in potentially underflowing
1198         case.  Ensure exception if result actually underflows.
1199         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1200         (__erff): Scale by 16 instead of 8 in potentially underflowing
1201         case.  Ensure exception if result actually underflows.
1202         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1203         (efx8): Remove variable.
1204         (__erfl): Scale by 16 instead of 8 in potentially underflowing
1205         case.  Ensure exception if result actually underflows.
1206         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1207         (efx8): Remove variable.
1208         (__erfl): Scale by 16 instead of 8 in potentially underflowing
1209         case.  Ensure exception if result actually underflows.
1210         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1211         (efx8): Remove variable.
1212         (__erfl): Scale by 16 instead of 8 in potentially underflowing
1213         case.  Ensure exception if result actually underflows.
1214         * math/auto-libm-test-in: Add more tests of erf.
1215         * math/auto-libm-test-out: Regenerated.
1216
1217 2014-05-14  Andreas Schwab  <schwab@suse.de>
1218
1219         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1220         Remove code conditionalized on USE___THREAD.
1221
1222         * config.h.in (HAVE_PT_CHOWN): Define as 0.
1223         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1224         not definedness.
1225
1226 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
1227
1228         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1229         Define unconditionally.
1230         (__ASSUME_O_CLOEXEC): Likewise.
1231         (__ASSUME_SOCK_CLOEXEC): Likewise.
1232         (__ASSUME_IN_NONBLOCK): Likewise.
1233         (__ASSUME_PIPE2): Likewise.
1234         (__ASSUME_EVENTFD2): Likewise.
1235         (__ASSUME_SIGNALFD4): Likewise.
1236         (__ASSUME_DUP3): Likewise.
1237         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1238         (__ASSUME_DUP3): Do not define.
1239         (__ASSUME_EVENTFD2): Likewise.
1240         (__ASSUME_IN_NONBLOCK): Likewise.
1241         (__ASSUME_O_CLOEXEC): Likewise.
1242         (__ASSUME_PIPE2): Likewise.
1243         (__ASSUME_SIGNALFD4): Likewise.
1244         (__ASSUME_SOCK_CLOEXEC): Likewise.
1245         (__ASSUME_UTIMES): Undefine.
1246         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1247         (__ASSUME_UTIMES): Do not define.
1248         (__ASSUME_O_CLOEXEC): Likewise.
1249         (__ASSUME_SOCK_CLOEXEC): Likewise.
1250         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1251         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1252         0x020621].
1253         (__ASSUME_PIPE2): Likewise.
1254         (__ASSUME_EVENTFD2): Likewise.
1255         (__ASSUME_SIGNALFD4): Likewise.
1256         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1257         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1258         Do not define.
1259         (__ASSUME_EVENTFD2): Likewise.
1260         (__ASSUME_SIGNALFD4): Likewise.
1261         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1262         (__ASSUME_32BITUIDS): Likewise.
1263         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1264         (__ASSUME_IPC64): Likewise.
1265         (__ASSUME_ST_INO_64_BIT): Likewise.
1266         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1267         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1268         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1269         (__ASSUME_UTIMES): Do not define.
1270         (__ASSUME_PSELECT): Likewise.
1271         (__ASSUME_PPOLL): Likewise.
1272         (__ASSUME_O_CLOEXEC): Likewise.
1273         (__ASSUME_SOCK_CLOEXEC): Likewise.
1274         (__ASSUME_IN_NONBLOCK): Likewise.
1275         (__ASSUME_PIPE2): Likewise.
1276         (__ASSUME_EVENTFD2): Likewise.
1277         (__ASSUME_SIGNALFD4): Likewise.
1278         (__ASSUME_DUP3): Likewise.
1279         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1280         (__ASSUME_UTIMES): Likewise.
1281         (__ASSUME_O_CLOEXEC): Likewise.
1282         (__ASSUME_SOCK_CLOEXEC): Likewise.
1283         (__ASSUME_IN_NONBLOCK): Likewise.
1284         (__ASSUME_PIPE2): Likewise.
1285         (__ASSUME_EVENTFD2): Likewise.
1286         (__ASSUME_SIGNALFD4): Likewise.
1287         (__ASSUME_DUP3): Likewise.
1288         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1289         (__ASSUME_UTIMES): Likewise.
1290         (__ASSUME_O_CLOEXEC): Likewise.
1291         (__ASSUME_SOCK_CLOEXEC): Likewise.
1292         (__ASSUME_IN_NONBLOCK): Likewise.
1293         (__ASSUME_PIPE2): Likewise.
1294         (__ASSUME_EVENTFD2): Likewise.
1295         (__ASSUME_SIGNALFD4): Likewise.
1296         (__ASSUME_DUP3): Likewise.
1297         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1298         Likewise.
1299         (__ASSUME_UTIMES): Likewise.
1300         (__ASSUME_EVENTFD2): Likewise.
1301         (__ASSUME_SIGNALFD4): Likewise.
1302         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1303         (__ASSUME_O_CLOEXEC): Likewise.
1304         (__ASSUME_SOCK_CLOEXEC): Likewise.
1305         (__ASSUME_IN_NONBLOCK): Likewise.
1306         (__ASSUME_PIPE2): Likewise.
1307         (__ASSUME_EVENTFD2): Likewise.
1308         (__ASSUME_SIGNALFD4): Likewise.
1309         (__ASSUME_DUP3): Likewise.
1310         (__ASSUME_UTIMES): Undefine.
1311
1312         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1313         feclearexcept.  Remove symbol versioning code.
1314         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
1315         symbol versioning code.
1316         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
1317         symbol versioning code.
1318         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1319         feupdateenv.  Remove symbol versioning code.
1320         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1321         fegetexceptflag.  Remove symbol versioning code.
1322         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1323         fesetexceptflag.  Remove symbol versioning code.
1324         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1325         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
1326         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1327         (__posix_fadvise64_l32): Remove prototype.
1328         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1329         code.
1330
1331 2014-05-13  Roland McGrath  <roland@hack.frob.com>
1332
1333         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1334         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1335         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1336         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1337
1338 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
1339
1340         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1341         current working directory
1342
1343 2014-05-13  Roland McGrath  <roland@hack.frob.com>
1344
1345         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1346         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1347         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1348         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1349         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1350         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1351         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1352         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1353         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1354         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1355         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1356         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1357         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1358         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1359         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1360         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1361         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1362         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1363         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1364         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1365         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1366         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1367         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1368         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1369         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1370         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1371         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1372         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1373         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1374         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1375         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1376         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1377         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1378         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1379         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1380         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1381         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1382         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1383         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1384         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1385         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1386         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1387
1388         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1389         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1390
1391         * sysdeps/unix/sysv/linux/arm/Makefile
1392         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1393         Add rt-aeabi_unwind_cpp_pr1.
1394         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1395         Add nptl-aeabi_unwind_cpp_pr1.
1396         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1397         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1398         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1399         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1400         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1401         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1402
1403         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1404         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1405         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1406         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1407
1408         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1409         Deconditionalize the code that was previously under [RESET_PID].
1410         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1411
1412         * sysdeps/generic/exit-thread.h: New file.
1413         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1414         * include/unistd.h (__exit_thread): Remove declaration.
1415         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1416         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1417         * csu/libc-start.c: Include <exit-thread.h>.
1418         (LIBC_START_MAIN): Pass no argument to __exit_thread.
1419         * nptl/pthread_create.c: Include <exit-thread.h>.
1420         (start_thread): Call __exit_thread in place of __exit_thread_inline.
1421         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1422         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1423         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1424         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1425         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1426         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1427         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1428         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1429         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1430         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1431         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1432         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1433         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1434         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1435         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1436         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1437
1438 2014-05-13  Andreas Schwab  <schwab@suse.de>
1439
1440         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1441
1442 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
1443
1444         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1445         (__ASSUME_UTIMES): Do not condition on kernel version.
1446         (__ASSUME_PSELECT): Define unconditionally.
1447         (__ASSUME_PPOLL): Likewise.
1448         (__ASSUME_ATFCTS): Likewise.
1449         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1450         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1451         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1452         (__ASSUME_UTIMENSAT): Define unconditionally.
1453         (__ASSUME_PRIVATE_FUTEX): Likewise.
1454         (__ASSUME_FALLOCATE): Likewise.
1455         (__ASSUME_O_CLOEXEC): Likewise.
1456         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1457         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1458         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1459         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1460         (__ASSUME_IN_NONBLOCK): Likewise.
1461         (__ASSUME_PIPE2): Likewise.
1462         (__ASSUME_EVENTFD2): Likewise.
1463         (__ASSUME_SIGNALFD4): Likewise.
1464         (__ASSUME_DUP3): Likewise.
1465         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1466         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1467         (__ASSUME_AT_RANDOM): Likewise.
1468         (__ASSUME_PREADV): Likewise.
1469         (__ASSUME_PWRITEV): Likewise.
1470         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1471         (__ASSUME_F_GETOWN_EX): Define unconditionally.
1472         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1473         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1474         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1475         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1476         (__ASSUME_O_CLOEXEC): Define unconditionally.
1477         (__ASSUME_PSELECT): Do not undefine conditionally.
1478         (__ASSUME_PPOLL): Likewise.
1479         (__ASSUME_ATFCTS): Likewise.
1480         (__ASSUME_SET_ROBUST_LIST): Likewise.
1481         (__ASSUME_UTIMENSAT): Likewise.
1482         (__ASSUME_FDATASYNC): Define unconditionally.
1483         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1484         (__ASSUME_SIGFRAME_V2): Likewise.
1485         )__ASSUME_EVENTFD2): Likewise.
1486         (__ASSUME_SIGNALFD4): Likewise.
1487         (__ASSUME_PSELECT): Do not undefine conditionally.
1488         (__ASSUME_PPOLL): Likewise.
1489         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1490         (__ASSUME_PSELECT): Define unconditionally.
1491         (__ASSUME_PPOLL): Likewise.
1492         (__ASSUME_O_CLOEXEC): Likewise.
1493         (__ASSUME_SOCK_CLOEXEC): Likewise.
1494         (__ASSUME_IN_NONBLOCK): Likewise.
1495         (__ASSUME_PIPE2): Likewise.
1496         (__ASSUME_EVENTFD2): Likewise.
1497         (__ASSUME_SIGNALFD4): Likewise.
1498         (__ASSUME_DUP3): Likewise.
1499         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1500         (__ASSUME_O_CLOEXEC): Likewise.
1501         (__ASSUME_SOCK_CLOEXEC): Likewise.
1502         (__ASSUME_IN_NONBLOCK): Likewise.
1503         (__ASSUME_PIPE2): Likewise.
1504         (__ASSUME_EVENTFD2): Likewise.
1505         (__ASSUME_SIGNALFD4): Likewise.
1506         (__ASSUME_DUP3): Likewise.
1507         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1508         (__ASSUME_EVENTFD2): Likewise.
1509         (__ASSUME_SIGNALFD4): Likewise.
1510         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1511
1512 2014-05-12  Andreas Schwab  <schwab@suse.de>
1513
1514         [BZ #16932]
1515         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1516         (_nss_nis_gethostbyname4_r): Return error if item length is larger
1517         than maximum RPC packet size.
1518         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1519         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1520         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1521         (_nss_nis_getservbyport_r): Likewise.
1522
1523 2014-05-12  Will Newton  <will.newton@linaro.org>
1524
1525         * malloc/Makefile (tests): Add tst-mallopt.
1526         * malloc/tst-mallopt.c: New file.
1527
1528 2014-05-09  Roland McGrath  <roland@hack.frob.com>
1529
1530         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1531         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1532
1533 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1534
1535         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1536         (tst-tlsmod6.so): Likewise.
1537
1538 2014-05-09  Roland McGrath  <roland@hack.frob.com>
1539
1540         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1541
1542 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
1543
1544         [BZ #16064]
1545         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1546         and <dl-procinfo.h>.
1547         (__fegetenv): Save SSE state in envp->__eip if supported.
1548         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1549         envp->__eip if supported.
1550         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1551         and <dl-procinfo.h>.
1552         (__fesetenv): Always set __eip, __cs_selector, __opcode,
1553         __data_offset and __data_selector in environment to 0.  Set SSE
1554         state if supported.
1555         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1556         test-fenv-sse.
1557         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1558         -mfpmath=sse.
1559         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1560
1561 2014-05-09  Will Newton  <will.newton@linaro.org>
1562
1563         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1564         and libc_relro_required for ARM.
1565         * sysdeps/arm/preconfigure: Regenerate.
1566
1567 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
1568             Stefan Liebler  <stli@linux.vnet.ibm.com>
1569
1570         * config.make.in (enable-lock-elision): New Makefile variable.
1571         * configure.ac: Likewise.
1572         * configure: Regenerate.
1573         * sysdeps/s390/configure.ac:
1574         Add check for gcc transactions support.
1575         * sysdeps/s390/configure: Regenerate.
1576         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1577         Build elision files if enabled.
1578         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1579         Add lock elision support for s390.
1580         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1581         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1582         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1583         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1584         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1585         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1586         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1587         Likewise.
1588         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1589         Likewise.
1590         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1591         Likewise.
1592         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1593         Likewise.
1594         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1595         (__lll_timedlock_elision, __lll_lock_elision)
1596         (__lll_unlock_elision, __lll_trylock_elision)
1597         (lll_timedlock_elision, lll_lock_elision)
1598         (lll_unlock_elision, lll_trylock_elision): Add.
1599         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1600         (pthread_mutex_t): Add lock elision support for s390.
1601
1602 2014-05-14  Wilco  <wdijkstr@arm.com>
1603
1604         * sysdeps/arm/fclrexcpt.c: Cleanup.
1605         * sysdeps/arm/fedisblxcpt.c: Cleanup.
1606         * sysdeps/arm/feenablxcpt.c: Cleanup.
1607         * sysdeps/arm/fegetenv.c: Cleanup.
1608         * sysdeps/arm/fegetexcept.c: Cleanup.
1609         * sysdeps/arm/fegetround.c: Cleanup.
1610         * sysdeps/arm/feholdexcpt.c: Cleanup.
1611         * sysdeps/arm/fesetenv.c: Cleanup.
1612         * sysdeps/arm/fesetround.c: Cleanup.
1613         * sysdeps/arm/feupdateenv.c: Cleanup.
1614         * sysdeps/arm/fgetexcptflg.c: Cleanup.
1615         * sysdeps/arm/fraiseexcpt.c: Cleanup.
1616         * sysdeps/arm/fsetexcptflg.c: Cleanup.
1617         * sysdeps/arm/ftestexcept.c: Cleanup.
1618         * sysdeps/arm/get-rounding-mode.h: Cleanup.
1619         * sysdeps/arm/setfpucw.c: Cleanup.
1620
1621 2014-05-09  Will Newton  <will.newton@linaro.org>
1622
1623         * sysdeps/arm/armv7/strcmp.S: New file.
1624         * NEWS: Mention addition of ARMv7 optimized strcmp.
1625
1626 2014-05-08  Roland McGrath  <roland@hack.frob.com>
1627
1628         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1629         look for %.ac rather than %.in.
1630
1631         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1632         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1633         * sysdeps/mach/hurd/configure: Regenerated.
1634         * sysdeps/unix/sysv/linux/configure: Regenerated.
1635
1636         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1637
1638 2014-05-07  Steve Ellcey  <sellcey@mips.com>
1639
1640         [BZ# 16922]
1641         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1642         (LONG_SUB): Ditto.
1643         (PTR_SUB): Ditto.
1644
1645 2014-05-07  Andreas Schwab  <schwab@suse.de>
1646
1647         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1648         when skipping over non-matching result from nscd.
1649
1650 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
1651
1652         [BZ #16876]
1653         * nptl/sockperf.c (client): Check socket return value.
1654
1655         [BZ #16877]
1656         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1657         nscd security class.
1658
1659 2014-05-06  Roland McGrath  <roland@hack.frob.com>
1660
1661         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1662         * sysdeps/arm/unwind.h: ... here.
1663
1664 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
1665
1666         [BZ# 16916]
1667         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1668         Define.
1669
1670 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1671
1672         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1673         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1674         multiarch strncpy for PPC64.
1675         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1676         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1677         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1678         multiarch optimizations.
1679         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1680         (__libc_ifunc_impl_list): Likewise.
1681         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1682         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1683         multiarch stpncpy for PPC64.
1684         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1685         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1686
1687 2014-05-06  Andreas Schwab  <schwab@suse.de>
1688
1689         [BZ #16912]
1690         * gmon/mcount.c (_MCOUNT_DECL): Use
1691         atomic_compare_and_exchange_bool_acq instead of
1692         catomic_compare_and_exchange_bool_acq.
1693
1694 2014-05-05  Roland McGrath  <roland@hack.frob.com>
1695
1696         * elf/Makefile (others, install-bin): Remove pldd.
1697         (pldd-modules): Variable removed.
1698         ($(objpfx)pldd): Target removed.
1699         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1700         (others, install-bin): Append pldd here.
1701         ($(objpfx)pldd): New target.
1702
1703         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1704         to 0, so the first #if test emitted later doesn't see it undefined.
1705         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1706         * sysdeps/gnu/errlist.c: Regenerated.
1707
1708 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1709
1710         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1711         [libc_hidden_builtin_def]: Define to empty value.
1712         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1713         [libc_hidden_builtin_def]: Likewise.
1714         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1715         [libc_hidden_builtin_def]: Likewise.
1716         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1717         [libc_hidden_builtin_def]: Likewise.
1718         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1719         __redirect_memcpy and define ifunc as default hidden symbol.
1720         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1721         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1722
1723 2014-05-04  Adam Conrad  <adconrad@0c3.net>
1724
1725         * locale/iso-4217.def: Reintroduce XDR currency.
1726
1727 2014-05-04  Allan McRae  <allan@archlinux.org>
1728
1729         * po/eo.po: Update Esperanto translation from translation project.
1730
1731 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
1732
1733         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1734         and FEATURE_INDEX_MAX to 1.
1735         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1736
1737 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1738
1739         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1740         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1741         * iconvdata/big5.c (ONE_DIRECTION): Define.
1742         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1743         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1744         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1745         * iconvdata/cp932.c (ONE_DIRECTION): Define.
1746         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1747         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1748         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1749         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1750         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1751         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1752         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1753         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1754         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1755         * iconvdata/gbk.c (ONE_DIRECTION): Define.
1756         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1757         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1758         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1759         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1760         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1761         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1762         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1763         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1764         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1765         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1766         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1767         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1768         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1769         * iconvdata/iso646.c (ONE_DIRECTION): Define.
1770         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1771         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1772         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1773         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1774         * iconvdata/johab.c (ONE_DIRECTION): Define.
1775         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1776         * iconvdata/sjis.c (ONE_DIRECTION): Define.
1777         * iconvdata/t.61.c (ONE_DIRECTION): Define.
1778         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1779         * iconvdata/tscii.c (ONE_DIRECTION): Define.
1780         * iconvdata/uhc.c (ONE_DIRECTION): Define.
1781         * iconvdata/unicode.c (ONE_DIRECTION): Define.
1782         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1783         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1784         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1785
1786 2014-05-01  Roland McGrath  <roland@hack.frob.com>
1787
1788         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1789         (_IO_JUMPS_OFFSET): Define to 0.
1790
1791         * nptl/sysdeps/pthread/bits/libc-lock.h
1792         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1793         (__libc_lock_define_initialized_recursive): Always define using
1794         initializer.  Modern compilers treat uninitialized (implicit zero) and
1795         explicit zero initializers the same (i.e. put the datum in bss).
1796
1797 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1798
1799         * nscd/nscd-client.h: Include <string.h>.
1800
1801 2014-05-01  David S. Miller  <davem@davemloft.net>
1802
1803         [BZ #16885]
1804         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1805         multiple zero bytes exist at the end of a string.
1806         Reported by Aurelien Jarno <aurelien@aurel32.net>
1807
1808         * string/test-strcmp.c (check): Add explicit test for situations where
1809         there are multiple zero bytes after the first.
1810
1811 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1812
1813         [BZ #16890]
1814         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1815         when compiling wprintf.
1816         * stdio-common/tstdiomisc.c (t3): New function.
1817         (main): Call it.
1818
1819 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1820
1821         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1822         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1823         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1824         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1825
1826 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1827
1828         * stdlib/longlong.h: Updated from GCC.
1829
1830 2014-05-01  Will Newton  <will.newton@linaro.org>
1831             Bernard Ogden  <bernie.ogden@linaro.org>
1832
1833         * NEWS: Update fixed bug list.
1834
1835         [BZ #15119]
1836         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1837
1838 2014-04-30  David S. Miller  <davem@davemloft.net>
1839
1840         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1841         (libc_feholdexcept_setround_sparc_ctx): New function.
1842         (libc_fesetenv_sparc_ctx): Likewise.
1843         (libc_feupdateenv_sparc_ctx): Likewise.
1844         (libc_feholdsetround_sparc_ctx): Likewise.
1845         (libc_feholdexcept_setround_ctx): Define.
1846         (libc_feholdexcept_setroundf_ctx): Likewise.
1847         (libc_feholdexcept_setroundl_ctx): Likewise.
1848         (libc_fesetenv_ctx): Likewise.
1849         (libc_fesetenvf_ctx): Likewise.
1850         (libc_fesetenvl_ctx): Likewise.
1851         (libc_feupdateenv_ctx): Likewise.
1852         (libc_feupdateenvf_ctx): Likewise.
1853         (libc_feupdateenvl_ctx): Likewise.
1854         (libc_feresetround_ctx): Likewise.
1855         (libc_feresetroundf_ctx): Likewise.
1856         (libc_feresetroundl_ctx): Likewise.
1857         (libc_feholdsetround_ctx): Likewise.
1858         (libc_feholdsetroundf_ctx): Likewise.
1859         (libc_feholdsetroundl_ctx): Likewise.
1860
1861         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1862         with __USE_GNU instead of XOPEN cpp guards.
1863
1864         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1865         0.
1866
1867         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1868         with XOPEN cpp guards.
1869
1870 2014-04-30  Julian Brown  <julian@codesourcery.com>
1871
1872         [BZ #16888]
1873         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1874         handling.
1875
1876 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
1877
1878         [BZ #9894]
1879         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1880         Change to 2.6.32.
1881         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1882         * sysdeps/unix/sysv/linux/configure: Regenerated.
1883         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1884         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1885         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1886         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1887         * README: Update reference to required Linux kernel version.
1888         * manual/install.texi (Linux): Update reference to required Linux
1889         kernel headers version.
1890         * INSTALL: Regenerated.
1891
1892         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1893         header inclusion.
1894         [POSIX] (limits.h): Likewise.
1895         [POSIX] (math.h): Likewise.
1896         [POSIX] (sys/wait.h): Likewise.
1897         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1898         function.
1899         [POSIX] (stddef.h): Do not allow header inclusion.
1900
1901 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1902
1903         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1904
1905 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
1906
1907         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1908         Return immediately after lll_futex_wake.
1909
1910 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1911
1912         [BZ #16791]
1913         * nscd/nscd-client.h (datahead_init_common): Initialize entire
1914         structure.
1915         (datahead_init_pos): Call datahead_init_common early.
1916         (datahead_init_neg): Likewise.
1917
1918         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1919         datahead_init_neg): New functions.
1920         * nscd/aicache.c (addhstaiX): Use them.
1921         * nscd/grpcache.c (cache_addgr): Likewise.
1922         * nscd/hstcache.c (cache_addhst): Likewise.
1923         * nscd/initgrcache.c (addinitgroupsX): Likewise.
1924         * nscd/netgroupcache.c (do_notfound): Likewise.
1925         (addgetnetgrentX): Likewise.
1926         (addinnetgrX): Likewise.
1927         * nscd/pwdcache.c (cache_addpw): Likewise.
1928         * nscd/servicescache.c (cache_addserv): Likewise.
1929
1930 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1931             Atsushi Onoe  <atsushi@onoe.org>
1932
1933         [BZ #14308]
1934         [BZ #12994]
1935         [BZ #13651]
1936         * resolv/res_query.c (__libc_res_nsearch): Return if at least
1937         one response is valid.
1938         * resolv/res_send.c (send_dg): Check for validity of other
1939         response if the current response is a referral.
1940
1941 2014-04-29  Steve Ellcey  <sellcey@mips.com>
1942
1943         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1944
1945 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
1946
1947         [BZ #16823]
1948         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1949         Always divide by positive zero when computing -Inf result.
1950         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1951         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1952
1953 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1954
1955         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1956         FPSCR if value do not change.
1957         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1958         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1959         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1960         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1961         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1962         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1963         function.
1964
1965 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
1966
1967         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1968         * sysdeps/unix/sysv/linux/hppa: Move directory from
1969         ports/systeps/unix/sysv/linux/hppa.
1970         * README: Update listing for hppa-*-linux-gnu.
1971
1972 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
1973
1974         [BZ #16754]
1975         * manual/stdio.texi (Hook functions): Fix types of stream hook
1976         functions.
1977         [BZ #16854]
1978         * socket/sys/socket.h: Fix typo in comment.
1979
1980 2014-04-28  Wilco  <wdijkstr@arm.com>
1981
1982         * sysdeps/arm/fenv_private.h: New file.
1983         * sysdeps/arm/math_private.h: New file.
1984         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1985
1986 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
1987
1988         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1989         with __int128_t.
1990         (La_x86_64_retval): Likewise.
1991
1992 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
1993
1994         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1995         fpsr if value didn't change.
1996         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1997         to fpcr if value didn't change.
1998         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1999         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2000         fpsr or fpcr if value didn't change.
2001         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2002         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2003         fpcr if value didn't change.
2004         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2005         to fpsr if value didn't change.
2006
2007 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2008
2009         * nptl/tst-sem3.c: Use test-skeleton.c
2010         (main): Rename to do_test.  Use return instead of
2011         exit.
2012         * nptl/tst-sem4.c: Use test-skeleton.c
2013         (main): Rename to do_test.
2014
2015 2014-04-22  David S. Miller  <davem@davemloft.net>
2016
2017         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2018         (struct sigaction): New struct member __glibc_reserved0, change
2019         type of sa_flags to int.
2020
2021 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
2022
2023         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2024         (COUNT_LEADING_ZEROS_0): Define for AArch64.
2025
2026 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2027
2028         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2029         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2030
2031 2014-04-22  Will Newton  <will.newton@linaro.org>
2032             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
2033
2034         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2035         (__longjmp): Add longjmp and longjmp_target SystemTap
2036         probes.
2037         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2038         (__sigsetjmp): Add setjmp SystemTap probe.
2039
2040 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
2041
2042         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2043         match manual order.
2044
2045 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2046
2047         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2048
2049         * sysdeps/powerpc/fpu/fenv_private.h
2050         (libc_feholdexcept_setroundl_ctx): Define to
2051         libc_feholdexcept_setround_ppc_ctx.
2052         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2053         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2054         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2055         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2056
2057 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
2058
2059         * sysdeps/aarch64/math-tests.h: New file.
2060
2061 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
2062
2063         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2064         New.
2065         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2066         Check and set bit_AVX2_Usable.
2067         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2068         macro.
2069         (bit_AVX2): Likewise.
2070         (index_AVX2_Usable): Likewise.
2071         (CPUID_AVX2): Likewise.
2072         (HAS_AVX2): Likewise.
2073
2074 2014-04-17  Will Newton  <will.newton@linaro.org>
2075
2076         * manual/setjmp.texi (System V contexts): Add note that
2077         calling setcontext on a context created by a call to a
2078         signal handler is undefined.  Update text to note that
2079         setcontext from a signal handler is possible but not
2080         recommended.
2081
2082         [BZ #16629]
2083         * stdlib/tst-setcontext.c: Include signal.h.
2084         (main): Check that the signal stack before and
2085         after swapcontext is the same.
2086
2087         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2088         Re-implement to restore registers in user code and avoid
2089         rt_sigreturn system call.
2090
2091 2014-04-17  Wilco  <wdijkstr@arm.com>
2092
2093         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2094         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2095         * math/test-fenv.c: Skip exception trap tests on targets which only
2096         support non-stop mode.
2097
2098 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
2099             Wilco Dijkstra  <wilco.dijkstra@arm.com>
2100
2101         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2102         (libc_feholdsetround_aarch64_ctx)
2103         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2104         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2105         (libc_feresetround_ctx, libc_feresetroundf_ctx)
2106         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2107         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2108         (libc_feresetround_noexl_ctx): Define.
2109
2110 2014-04-16  Richard Henderson  <rth@redhat.com>
2111
2112         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2113
2114         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2115         unwind tables.
2116
2117         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2118         const from the non-libc, non-ldso copy.
2119
2120         * sysdeps/alpha/libm-test-ulps: Regenerate.
2121
2122 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
2123             Wilco Dijkstra  <wilco.dijkstra@arm.com>
2124
2125         * sysdeps/aarch64/fpu/math_private.h: New file.
2126
2127 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2128
2129         * sysdeps/aarch64/libm-test-ulps: Regenerate.
2130
2131 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
2132
2133         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2134         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2135         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2136         Intel MPX bound registers before _dl_profile_fixup.
2137         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2138         registers after _dl_profile_fixup.  Save and restore bound
2139         registers bnd0/bnd1 when calling _dl_call_pltexit.
2140         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2141         (LR_BND_OFFSET): Likewise.
2142         (LRV_BND0_OFFSET): Likewise.
2143         (LRV_BND1_OFFSET): Likewise.
2144
2145 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2146
2147         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2148         to...
2149         * sysdeps/mach/hurd/i386/tls.h: ... here.
2150         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2151         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2152         fields.
2153
2154 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2155
2156         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2157
2158 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2159
2160         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2161
2162 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2163
2164         [BZ #14770]
2165         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2166         * sysdeps/s390/configure: Regenerate.
2167
2168         [BZ #16824]
2169         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2170         Set round-to-nearest internally to reduce error accumulation.
2171
2172 2014-04-16  Alan Modra  <amodra@gmail.com>
2173
2174         [BZ #16740]
2175         [BZ #16619]
2176         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2177         * math/libm-test.inc (frexp_test_data): Add tests.
2178         * NEWS: Update fixed bug list.
2179
2180 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2181
2182         * benchtests/Makefile: Depend on libraries in build directory.
2183         (bench-math): Separate out math tests.
2184         (bench-pthread): Separate out pthread tests.
2185         (bench): Include math and pthread tests.
2186
2187 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
2188
2189         [BZ #16831]
2190         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2191         _dl_debug_initialize.
2192
2193         * configure.ac: Remove SELinux header check.
2194         * configure: Regenerate.
2195         * nscd/selinux.c (perms): Array of const char* to permission names.
2196         (nscd_request_avc_has_perm): Call security_deny_unknown to find
2197         default policy. Call string_to_security_class and string_to_av_perm to
2198         translate strings. Enforce default policy and call avs_has_perm with
2199         results of translated strings.
2200
2201 2014-04-13  David S. Miller  <davem@davemloft.net>
2202
2203         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2204
2205 2014-04-12  Allan McRae  <allan@archlinux.org>
2206
2207         [BZ #16838]
2208         * manual/string.texi (Collation Functions): Fix qsort argument
2209         order in example.
2210         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2211
2212 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
2213
2214         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2215         Make the test a no-op if there are no exceptions defined.
2216
2217 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2218
2219         * elf/Makefile (tests): make tst-dlopen-aout conditional on
2220         enable-hardcoded-path-in-tests
2221
2222 2014-04-11  Will Newton  <will.newton@linaro.org>
2223
2224         * benchtests/Makefile (extra-objs): Add json-lib.o.
2225         (bench-func): Tidy up JSON output.
2226         * benchtests/bench-skeleton.c: Include json-lib.h.
2227         (main): Use JSON library functions to do output of
2228         benchmark results.
2229         * benchtests/bench-timing-type.c (main): Output the
2230         timing type simply, leaving formatting to the user.
2231         * benchtests/json-lib.c: New file.
2232         * benchtests/json-lib.h: Likewise.
2233
2234 2014-04-11  Torvald Riegel  <triegel@redhat.com>
2235
2236         [BZ #15215]
2237         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2238         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
2239         memory barriers.  Add comments.
2240         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2241         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2242         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2243         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2244         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2245         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2246
2247 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2248
2249         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2250         * sysdeps/s390/s390-64/configure.ac: ... this ...
2251         * sysdeps/s390/configure.ac: ... to here.
2252         * sysdeps/s390/s390-32/configure: Delete file.
2253         * sysdeps/s390/s390-64/configure: Delete file.
2254         * sysdeps/s390/configure: Regenerate.
2255
2256 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
2257
2258         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2259
2260 2014-04-11  Will Newton  <will.newton@linaro.org>
2261
2262         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2263         to zero if it is not defined elsewhere.  (mtrim): Test
2264         the value of MALLOC_DEBUG with #if rather than #ifdef.
2265
2266 2014-04-10 Torvald Riegel  <triegel@redhat.com>
2267
2268         * benchtests/pthread_once-inputs: New file.
2269         * benchtests/pthread_once-source.c: New file.
2270         * benchtests/README: Update documentation.
2271
2272 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
2273             H.J. Lu  <hongjiu.lu@intel.com>
2274
2275         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2276         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2277         * sysdeps/x86_64/configure: Regenerated.
2278         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2279         macro.
2280         (REGISTER_SAVE_RAX): Likewise.
2281         (REGISTER_SAVE_RCX): Likewise.
2282         (REGISTER_SAVE_RDX): Likewise.
2283         (REGISTER_SAVE_RSI): Likewise.
2284         (REGISTER_SAVE_RDI): Likewise.
2285         (REGISTER_SAVE_R8): Likewise.
2286         (REGISTER_SAVE_R9): Likewise.
2287         (REGISTER_SAVE_BND0): Likewise.
2288         (REGISTER_SAVE_BND1): Likewise.
2289         (REGISTER_SAVE_BND2): Likewise.
2290         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
2291         bound registers when calling _dl_fixup.
2292
2293 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2294
2295         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
2296         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2297         of its definition.
2298         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2299         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2300         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2301         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2302         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2303         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2304         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2305
2306 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
2307
2308         [BZ #15514]
2309         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2310         pathconf(_PC_NAME_MAX).
2311
2312 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2313
2314         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2315         Remove macro usage.
2316         (__PTHREAD_SPINS): Move definition to ...
2317         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2318         (__PTHREAD_SPINS): ... here.
2319         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2320         (__PTHREAD_SPIN): Likewise.
2321         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2322         (__PTHREAD_SPIN): Likewise.
2323         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2324         (__PTHREAD_SPIN): Likewise.
2325         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2326         (__PTHREAD_SPIN): Likewise.
2327         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2328         (__PTHREAD_SPIN): Likewise.
2329         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2330         (__PTHREAD_SPIN): Likewise.
2331         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2332         (__PTHREAD_SPIN): Likewise.
2333         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2334         (__PTHREAD_SPIN): Likewise.
2335         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2336         (__PTHREAD_SPIN): Likewise.
2337         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2338         (__PTHREAD_SPIN): Likewise.
2339         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2340         (__PTHREAD_SPIN): Likewise.
2341         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2342         (__PTHREAD_SPIN): Likewise.
2343
2344         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2345         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2346         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2347         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2348         imply folder.
2349         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2350         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2351         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2352         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2353         correct imply path.
2354         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2355         strlen symbol for non multi-arch builds.
2356         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2357         missing hidden_def and weak_alias.
2358
2359 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
2360
2361         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2362
2363 2014-04-07  Will Newton  <will.newton@linaro.org>
2364
2365         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2366         and contents.  [!_LIBC] Remove #ifndef and contents.
2367         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
2368         * string/memccpy.c (__memccpy): Use ANSI prototype.
2369         * string/memfrob.c (memfrob): Likewise.
2370         * string/strcoll.c (STRCOLL): Likewise.
2371         * string/strlen.c (strlen): Likewise.
2372         * string/strtok.c (STRTOK): Likewise.
2373         * string/strcat.c: Remove unused #include of memcopy.h.
2374         (strcat): Use ANSI prototype.
2375         * string/strchr.c: Remove unused #include of memcopy.h.
2376         (strchr): Use ANSI prototype.
2377         * string/strcmp.c: Remove unused #include of memcopy.h.
2378         (strcmp): Use ANSI prototype.
2379         * string/strcpy.c: Remove unused #include of memcopy.h.
2380         (strcpy): Use ANSI prototype.
2381
2382 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2383
2384         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2385         * config.make.in (config-extra-cppflags): Set it from
2386         libc_extra_cppflags.
2387         * configure.ac (libc_extra_cflags): Make it accumulate over
2388         configure fragments.
2389         (libc_extra_cppflags): New flag.
2390         * configure. Regenerate.
2391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2392         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2393         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
2394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2395
2396         [BZ #16815]
2397         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2398         result for FE_DOWNWARD rounding mode.
2399         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2400         Likewise.
2401         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2402
2403 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
2404
2405         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2406         in function argument name.
2407
2408 2014-04-03  David Svoboda  <svoboda@cert.org>
2409
2410         [BZ #5666]
2411         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2412         explicitly.
2413
2414 2014-04-03  Roland McGrath  <roland@hack.frob.com>
2415
2416         * elf/dl-unmap-segments.h: New file.
2417         * sysdeps/generic/ldsodefs.h
2418         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2419         * elf/dl-close.c: Include <dl-unmap-segments.h>.
2420         * elf/dl-fptr.c: Likewise.
2421         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2422         * sysdeps/aarch64/tlsdesc.c: Likewise.
2423         * sysdeps/arm/tlsdesc.c: Likewise.
2424         * sysdeps/i386/tlsdesc.c: Likewise.
2425         * sysdeps/tile/dl-runtime.c: Likewise.
2426         * sysdeps/x86_64/tlsdesc.c: Likewise.
2427         * elf/dl-load.h: New file.
2428         * elf/dl-load.c: Include it.
2429         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2430         Macros moved to dl-load.h.
2431         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2432         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2433         Use _dl_unmap_segments in place of __munmap.
2434         Break out segment-mapping loop into ...
2435         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2436
2437 2014-04-03  Will Newton  <will.newton@linaro.org>
2438
2439         * elf/dl-lookup.c (do_lookup_x): Remove comment
2440         referring to nested function and move variable
2441         declarations down to before first use.
2442
2443 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
2444
2445         [BZ #16799]
2446         [BZ #16800]
2447         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2448         with 0 numerator.
2449         * math/s_catanf.c (__catanf): Likewise.
2450         * math/s_catanh.c (__catanh): Likewise.
2451         * math/s_catanhf.c (__catanhf): Likewise.
2452         * math/s_catanhl.c (__catanhl): Likewise.
2453         * math/s_catanl.c (__catanl): Likewise.
2454         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2455         by positive zero when computing -Inf result.
2456         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2457         (catanh_test): Likewise.
2458         * sysdeps/i386/fpu/libm-test-ulps: Update.
2459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2460
2461         [BZ #16789]
2462         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2463         instead of using underflowing value in computing result.
2464         * math/s_clog10.c (__clog10): Likewise.
2465         * math/s_clog10f.c (__clog10f): Likewise.
2466         * math/s_clog10l.c (__clog10l): Likewise.
2467         * math/s_clogf.c (__clogf): Likewise.
2468         * math/s_clogl.c (__clogl): Likewise.
2469         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2470         (clog10_test): Likewise.
2471         * sysdeps/i386/fpu/libm-test-ulps: Update.
2472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2473
2474 2014-04-02  Alan Modra  <amodra@gmail.com>
2475
2476         [BZ #16739]
2477         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2478         output when value is near a power of two.  Use int64_t for lx and
2479         remove casts.  Use decimal rather than hex exponent constants.
2480         Don't use long double multiplication when double will suffice.
2481         * math/libm-test.inc (nextafter_test_data): Add tests.
2482         * NEWS: Add 16739 and 16786 to bug list.
2483
2484         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2485
2486         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2487
2488 2014-04-01  Will Newton  <will.newton@linaro.org>
2489
2490         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2491         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
2492
2493 2014-04-01  Florian Weimer  <fweimer@redhat.com>
2494
2495         [BZ #13347]
2496         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2497         * nptl/tst-setuid2.c: New file.
2498         * nptl/Makefile (xtests): Add tst-setuid2.
2499
2500 2014-04-01  Alan Modra  <amodra@gmail.com>
2501
2502         [BZ #16786]
2503         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2504
2505 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
2506
2507         [BZ #6803]
2508         [BZ #6804]
2509         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2510         set errno as appropriate.
2511         * math/w_scalbf.c (__scalbf): Likewise.
2512         * math/w_scalbl.c (__scalbl): Likewise.
2513         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2514         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2515         * math/libm-test.inc (scalb_test_data): Add errno expectations.
2516         Add more NaN tests.
2517
2518         [BZ #16349]
2519         * math/w_atan2.c: Include <errno.h>.
2520         (__atan2): Set errno for result underflowing to zero.
2521         * math/w_atan2f.c: Include <errno.h>.
2522         (__atan2f): Set errno for result underflowing to zero.
2523         * math/w_atan2l.c: Include <errno.h>.
2524         (__atan2l): Set errno for result underflowing to zero.
2525         * math/auto-libm-test-in: Don't allow missing errno for some atan2
2526         tests.
2527         * math/auto-libm-test-out: Regenerated.
2528
2529 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2530
2531         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2532         Encode instruction correctly in little endian.
2533         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2534         Likewise.
2535         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2536         Likewise.
2537         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2538         Likewise.
2539         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2540         Likewise.
2541
2542 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
2543
2544         [BZ #9894]
2545         * sysdeps/unix/sysv/linux/kernel-features.h
2546         [__sparc__ && !__arch64__ && !__sparc_v9__]
2547         (__ASSUME_SET_ROBUST_LIST): Do not define.
2548         [__sparc__ && !__arch64__ && !__sparc_v9__]
2549         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2550         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2551         Likewise.
2552         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2553         (__ASSUME_FUTEX_LOCK_PI): Undefine.
2554         (__ASSUME_REQUEUE_PI): Likewise.
2555         (__ASSUME_SET_ROBUST_LIST): Likewise.
2556         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2557         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2558         Undefine.
2559         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2560         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2561         Likewise.
2562         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2563         Likewise.
2564         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2565         Likewise.
2566         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2567         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2568         Undefine.
2569         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2570         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2571         Likewise.
2572
2573         [BZ #16648]
2574         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2575         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2576         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2577
2578 2014-03-31  Will Newton  <will.newton@linaro.org>
2579
2580         * benchtests/Makefile (bench): Add ffs and ffsll to list
2581         of tests.
2582         * benchtests/ffs-inputs: New file.
2583         * benchtests/ffsll-inputs: Likewise.
2584
2585 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
2586
2587         [BZ #16770]
2588         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2589         too large before casting to int.
2590         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2591         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2592         * math/libm-test.inc (scalb_test_data): Add more tests.
2593
2594 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2595
2596         * benchtests/Makefile (DETAILED_OPT): New make option.
2597         (bench-func): Run benchmark program with -d if DETAILED_OPT is
2598         set.
2599         * benchtests/bench-skeleton.c: Include stdbool.h.
2600         (main): Store and print timings per input.
2601         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2602         member to each argument value.
2603         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2604         (_print_arg_data): Initialize per-input timing to 0.
2605
2606         * benchtests/Makefile (timing-type): New binary.
2607         (bench-clean): Also remove bench-timing-type.
2608         (bench): New target for timing-type.
2609         (bench-func): Print output in JSON format.
2610         * benchtests/bench-skeleton.c (main): Print output in JSON
2611         format.
2612         * benchtests/bench-timing-type.c: New file.
2613         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2614         (TIMING_PRINT_STATS): Remove.
2615         * benchtests/scripts/bench.py (_print_arg_data): Store variant
2616         name separately.
2617
2618         * benchtests/bench-modf.c: Remove.
2619         * benchtests/modf-inputs: New inputs file.
2620
2621 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
2622
2623         [BZ #16362]
2624         * math/s_clog10.c (M_PI_LOG10E): New macro.
2625         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2626         imaginary parts are 0.
2627         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2628         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2629         imaginary parts are 0.
2630         * math/s_clog10l.c (M_PI_LOG10El): New macro.
2631         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2632         imaginary parts are 0.
2633         * math/libm-test.inc (clog10_test_data): Update expected results
2634         for when real and imaginary parts are 0.
2635
2636 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
2637
2638         * elf/dl-load.c: Finish conversion of __builtin_expect into
2639         __glibc_{un}likely.
2640
2641 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
2642
2643         [BZ #16348]
2644         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2645         1+x for argument with exponent below -67.
2646         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2647         Likewise.
2648         * math/auto-libm-test-in: Add more tests of exp.
2649         * math/auto-libm-test-out: Regenerated.
2650
2651 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2652
2653         [BZ #16759]
2654         * inet/getnetgrent_r.c (get_nonempty_val): New function.
2655         (nscd_getnetgrent): Use it.
2656
2657         [BZ #16760]
2658         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2659         of stpcpy.
2660
2661 2014-03-27  Andi Kleen  <ak@linux.intel.com>
2662
2663         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2664         (lll_robust_lock, lll_cond_lock, lll_timedlock)
2665         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2666         (lll_robust_unlock): Remove out of line section. Use cfi
2667         intrinsics.
2668         (LLL_STUB_UNWIND_INFO*): Remove.
2669         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2670         (lll_robust_lock, lll_cond_lock, lll_timedlock)
2671         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2672         (lll_robust_unlock): Remove out of line section. Use cfi
2673         intrinsics.
2674         (LLL_STUB_UNWIND_INFO*): Remove.
2675
2676 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2677
2678         [BZ #16758]
2679         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2680         blank values.
2681
2682 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
2683
2684         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2685
2686 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
2687
2688         [BZ #16198]
2689         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2690         fnstenv.
2691         * math/test-fenv-preserve.c: New file.
2692         * math/Makefile (tests): Add test-fenv-preserve.
2693
2694 2014-03-26  Will Newton <will.newton@linaro.org>
2695
2696         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2697
2698 2014-03-25  Roland McGrath  <roland@hack.frob.com>
2699
2700         * scripts/versionlist.awk: Partition the version sets and emit all
2701         GLIBC_* (sorted) before all others (sorted).
2702
2703 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
2704
2705         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2706         GLIBC_2.2.5 version.
2707
2708 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2709
2710         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2711         calls.
2712
2713         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2714         previous change.
2715
2716         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2717
2718 2014-03-25  Andreas Schwab  <schwab@suse.de>
2719
2720         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2721         label to be used after in6ailist is initialized.
2722
2723 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2724
2725         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2726         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2727
2728 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
2729
2730         [BZ #16357]
2731         [BZ #16599]
2732         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2733         min_plus_half.
2734         (fp_formats): Update initializers.
2735         (init_fp_formats): Initialize new field.
2736         (output_for_one_input_case): Allow underflow for results up to
2737         min_plus_half.
2738         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2739         * math/auto-libm-test-in: Don't mark some underflows from asin and
2740         atanh as spurious.
2741         * math/auto-libm-test-out: Regenerated.
2742         * sysdeps/i386/fpu/libm-test-ulps: Update.
2743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2744
2745 2014-03-25  Andreas Schwab  <schwab@suse.de>
2746
2747         * libio/Makefile (tst-ftell-partial-wide-ENV)
2748         (tst-ftell-active-handler-ENV): Define.
2749
2750 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
2751
2752         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2753
2754 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2755
2756         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2757
2758 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
2759
2760         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2761         * sysdeps/x86_64/fpu/multiarch/e_exp.c
2762         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2763
2764 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2765
2766         [BZ #16634]
2767         * elf/dl-load.c (open_verify): Add mode parameter.
2768         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2769         (open_path): Change from boolean 'secure' to complete flag 'mode'
2770         (_dl_map_object): Adjust.
2771         * elf/Makefile (tests): Add tst-dlopen-aout.
2772         * elf/tst-dlopen-aout.c: New test.
2773
2774 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
2775
2776         [BZ #16714]
2777         * sysdeps/unix/sysv/linux/s390/bits/stat.h
2778         (struct stat): Rename member pad0 to __glibc_reserved0.
2779
2780         [BZ #16712]
2781         * sysdeps/s390/s390-32/bits/wordsize.h
2782         (__WORDSIZE32_SIZE_ULONG): New define.
2783         * sysdeps/s390/s390-64/bits/wordsize.h
2784         (__WORDSIZE32_SIZE_ULONG): Likewise.
2785         * sysdeps/generic/stdint.h (SIZE_MAX):
2786         Define as UL if __WORDSIZE32_SIZE_ULONG.
2787
2788         [BZ #16713]
2789         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2790         (__glibc_reserved0): New variable.
2791         (sa_flags): Change type to int.
2792
2793         * posix/Makefile (before-compile): Use += before-compile instead
2794         of a :=.
2795
2796         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2797         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2798
2799 2014-03-20  Andreas Schwab  <schwab@suse.de>
2800
2801         [BZ #16743]
2802         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2803         non-matching result from nscd.
2804
2805 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2806
2807         * scripts/bench.py: Moved to ...
2808         * benchtests/scripts/bench.py: ... here.
2809         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2810
2811 2014-03-24  Andreas Schwab  <schwab@suse.de>
2812
2813         [BZ #16002]
2814         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2815         alloca_account and account alloca use for struct in6ailist.
2816
2817 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
2818
2819         [BZ #16284]
2820         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2821         rounding mode to recompute results that overflow to infinity or
2822         underflow to zero.
2823         * math/auto-libm-test-in: Don't mark tests as expected to fail for
2824         bug 16284.
2825         * math/auto-libm-test-out: Regenerated.
2826         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2827         (ccosh_test): Likewise.
2828         (csin_test_data): Use plus_oflow.
2829         (csin_test): Use ALL_RM_TEST.
2830         (csinh_test_data): Use plus_oflow.
2831         (csinh_test): Use ALL_RM_TEST.
2832         * sysdeps/i386/fpu/libm-test-ulps: Update.
2833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2834
2835 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
2836
2837         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2838         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2839         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2840
2841         [BZ #16731]
2842         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2843         when x - 1 is zero.
2844         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2845         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2846         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2847         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2848         argument is 1.
2849         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2850         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2851         zero.
2852         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2853         * sysdeps/i386/fpu/libm-test-ulps: Update.
2854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2855
2856 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2857
2858         * scripts/bench.pl: Remove file.
2859         * scripts/bench.py: New benchmark script.
2860         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2861         * benchtests/README: Mention python dependency.
2862         * scripts/pylintrc: New file.
2863         * scripts/pylint: New file.
2864
2865         * bits/mathdef.h: Use #ifdef instead of #if.
2866         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2867         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2868         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2869         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2870         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2871         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2872
2873 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2874             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2875
2876         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2877         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2878         and strpbrk-ppc64 objects.
2879         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2880         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2881         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2882         multiarch strpbrk for POWER7.
2883         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2884         multiarch strpbrk for PPC64.
2885         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2886         ifunc selector.
2887         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2888         strpbrk for POWER7.
2889
2890 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
2891
2892         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2893         (atan_test): Likewise.
2894         (atanh_test_data): Use NO_TEST_INLINE for two tests.
2895         (atanh_test): Use ALL_RM_TEST.
2896         (atan2_test_data): Likewise.
2897         (cabs_test): Likewise.
2898         (cacosh_test): Likewise.
2899         (carg_test): Likewise.
2900         (casin_test): Likewise.
2901         (casinh_test): Likewise.
2902         (cbrt_test): Likewise.
2903         (csqrt_test): Likewise.
2904         (erf_test): Likewise.
2905         (erfc_test): Likewise.
2906         (pow10_test): Likewise.
2907         (exp2_test): Likewise.
2908         (hypot_test): Likewise.
2909         (j0_test): Likewise.
2910         (j1_test): Likewise.
2911         (lgamma_test): Likewise.
2912         (gamma_test): Likewise.
2913         (sincos_test): Likewise.
2914         (tanh_test): Likewise.
2915         (y0_test): Likewise.
2916         (y1_test): Likewise.
2917         * sysdeps/i386/fpu/libm-test-ulps: Update.
2918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2919
2920 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2921
2922         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2923         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2924         and strcspn-ppc64 objects.
2925         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2926         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2927         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2928         multiarch strcspn for POWER7.
2929         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2930         multiarch strcspn for PPC64.
2931         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2932         ifunc selector.
2933         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2934         strcspn for POWER7.
2935
2936 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
2937
2938         * math/gen-libm-test.pl (generate_testfile): Expect only function
2939         name as argument to AUTO_TESTS_* and pass results for all rounding
2940         modes to parse_args.
2941         (parse_auto_input): Separate inputs of automatic tests from
2942         outputs before storing in %auto_tests.
2943         * math/libm-test.inc (acos_test_data): Update call to
2944         AUTO_TESTS_f_f.
2945         (acos_test): Use ALL_RM_TEST.
2946         (acos_tonearest_test_data): Remove.
2947         (acos_test_tonearest): Likewise.
2948         (acos_towardzero_test_data): Likewise.
2949         (acos_test_towardzero): Likewise.
2950         (acos_downward_test_data): Likewise.
2951         (acos_test_downward): Likewise.
2952         (acos_upward_test_data): Likewise.
2953         (acos_test_upward): Likewise.
2954         (acosh_test_data): Update call to AUTO_TESTS_f_f.
2955         (asin_test_data): Likewise.
2956         (asin_test): Use ALL_RM_TEST.
2957         (asin_tonearest_test_data): Remove.
2958         (asin_test_tonearest): Likewise.
2959         (asin_towardzero_test_data): Likewise.
2960         (asin_test_towardzero): Likewise.
2961         (asin_downward_test_data): Likewise.
2962         (asin_test_downward): Likewise.
2963         (asin_upward_test_data): Likewise.
2964         (asin_test_upward): Likewise.
2965         (asinh_test_data): Update call to AUTO_TESTS_f_f.
2966         (atan_test_data): Likewise.
2967         (atanh_test_data): Likewise.
2968         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2969         (cabs_test_data): Update call to AUTO_TESTS_c_f.
2970         (carg_test_data): Likewise.
2971         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2972         (ccos_test_data): Update call to AUTO_TESTS_c_c.
2973         (ccosh_test_data): Likewise.
2974         (cexp_test_data): Likewise.
2975         (clog_test_data): Likewise.
2976         (clog10_test_data): Likewise.
2977         (cos_test_data): Update call to AUTO_TESTS_f_f.
2978         (cos_test): Use ALL_RM_TEST.
2979         (cos_tonearest_test_data): Remove.
2980         (cos_test_tonearest): Likewise.
2981         (cos_towardzero_test_data): Likewise.
2982         (cos_test_towardzero): Likewise.
2983         (cos_downward_test_data): Likewise.
2984         (cos_test_downward): Likewise.
2985         (cos_upward_test_data): Likewise.
2986         (cos_test_upward): Likewise.
2987         (cosh_test_data): Update call to AUTO_TESTS_f_f.
2988         (cosh_test): Use ALL_RM_TEST.
2989         (cosh_tonearest_test_data): Remove.
2990         (cosh_test_tonearest): Likewise.
2991         (cosh_towardzero_test_data): Likewise.
2992         (cosh_test_towardzero): Likewise.
2993         (cosh_downward_test_data): Likewise.
2994         (cosh_test_downward): Likewise.
2995         (cosh_upward_test_data): Likewise.
2996         (cosh_test_upward): Likewise.
2997         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2998         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2999         (ctan_test_data): Likewise.
3000         (ctan_test): Use ALL_RM_TEST.
3001         (ctan_tonearest_test_data): Remove.
3002         (ctan_test_tonearest): Likewise.
3003         (ctan_towardzero_test_data): Likewise.
3004         (ctan_test_towardzero): Likewise.
3005         (ctan_downward_test_data): Likewise.
3006         (ctan_test_downward): Likewise.
3007         (ctan_upward_test_data): Likewise.
3008         (ctan_test_upward): Likewise.
3009         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3010         (ctanh_test): Use ALL_RM_TEST.
3011         (ctanh_tonearest_test_data): Remove.
3012         (ctanh_test_tonearest): Likewise.
3013         (ctanh_towardzero_test_data): Likewise.
3014         (ctanh_test_towardzero): Likewise.
3015         (ctanh_downward_test_data): Likewise.
3016         (ctanh_test_downward): Likewise.
3017         (ctanh_upward_test_data): Likewise.
3018         (ctanh_test_upward): Likewise.
3019         (erf_test_data): Update call to AUTO_TESTS_f_f.
3020         (erfc_test_data): Likewise.
3021         (exp_test_data): Likewise.
3022         (exp_test): Use ALL_RM_TEST.
3023         (exp_tonearest_test_data): Remove.
3024         (exp_test_tonearest): Likewise.
3025         (exp_towardzero_test_data): Likewise.
3026         (exp_test_towardzero): Likewise.
3027         (exp_downward_test_data): Likewise.
3028         (exp_test_downward): Likewise.
3029         (exp_upward_test_data): Likewise.
3030         (exp_test_upward): Likewise.
3031         (exp10_test_data): Update call to AUTO_TESTS_f_f.
3032         (exp10_test): Use ALL_RM_TEST.
3033         (exp10_tonearest_test_data): Remove.
3034         (exp10_test_tonearest): Likewise.
3035         (exp10_towardzero_test_data): Likewise.
3036         (exp10_test_towardzero): Likewise.
3037         (exp10_downward_test_data): Likewise.
3038         (exp10_test_downward): Likewise.
3039         (exp10_upward_test_data): Likewise.
3040         (exp10_test_upward): Likewise.
3041         (exp2_test_data): Update call to AUTO_TESTS_f_f.
3042         (expm1_test_data): Likewise.
3043         (expm1_test): Use ALL_RM_TEST.
3044         (expm1_tonearest_test_data): Remove.
3045         (expm1_test_tonearest): Likewise.
3046         (expm1_towardzero_test_data): Likewise.
3047         (expm1_test_towardzero): Likewise.
3048         (expm1_downward_test_data): Likewise.
3049         (expm1_test_downward): Likewise.
3050         (expm1_upward_test_data): Likewise.
3051         (expm1_test_upward): Likewise.
3052         (fma_test_data): Update call to AUTO_TESTS_fff_f.
3053         (fma_test): Use ALL_RM_TEST.
3054         (fma_towardzero_test_data): Remove.
3055         (fma_test_towardzero): Likewise.
3056         (fma_downward_test_data): Likewise.
3057         (fma_test_downward): Likewise.
3058         (fma_upward_test_data): Likewise.
3059         (fma_test_upward): Likewise.
3060         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3061         (j0_test_data): Update call to AUTO_TESTS_f_f.
3062         (j1_test_data): Likewise.
3063         (jn_test_data): Update call to AUTO_TESTS_if_f.
3064         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3065         (log_test_data): Update call to AUTO_TESTS_f_f.
3066         (log10_test_data): Likewise.
3067         (log1p_test_data): Likewise.
3068         (log2_test_data): Likewise.
3069         (pow_test_data): Update call to AUTO_TESTS_ff_f.
3070         (pow_tonearest_test_data): Likewise.
3071         (sin_test_data): Update call to AUTO_TESTS_f_f.
3072         (sin_test): Use ALL_RM_TEST.
3073         (sin_tonearest_test_data): Remove.
3074         (sin_test_tonearest): Likewise.
3075         (sin_towardzero_test_data): Likewise.
3076         (sin_test_towardzero): Likewise.
3077         (sin_downward_test_data): Likewise.
3078         (sin_test_downward): Likewise.
3079         (sin_upward_test_data): Likewise.
3080         (sin_test_upward): Likewise.
3081         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3082         (sinh_test_data): Update call to AUTO_TESTS_f_f.
3083         (sinh_test): Use ALL_RM_TEST.
3084         (sinh_tonearest_test_data): Remove.
3085         (sinh_test_tonearest): Likewise.
3086         (sinh_towardzero_test_data): Likewise.
3087         (sinh_test_towardzero): Likewise.
3088         (sinh_downward_test_data): Likewise.
3089         (sinh_test_downward): Likewise.
3090         (sinh_upward_test_data): Likewise.
3091         (sinh_test_upward): Likewise.
3092         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3093         (sqrt_test): Use ALL_RM_TEST.
3094         (sqrt_tonearest_test_data): Remove.
3095         (sqrt_test_tonearest): Likewise.
3096         (sqrt_towardzero_test_data): Likewise.
3097         (sqrt_test_towardzero): Likewise.
3098         (sqrt_downward_test_data): Likewise.
3099         (sqrt_test_downward): Likewise.
3100         (sqrt_upward_test_data): Likewise.
3101         (sqrt_test_upward): Likewise.
3102         (tan_test_data): Update call to AUTO_TESTS_f_f.
3103         (tan_test): Use ALL_RM_TEST.
3104         (tan_tonearest_test_data): Remove.
3105         (tan_test_tonearest): Likewise.
3106         (tan_towardzero_test_data): Likewise.
3107         (tan_test_towardzero): Likewise.
3108         (tan_downward_test_data): Likewise.
3109         (tan_test_downward): Likewise.
3110         (tan_upward_test_data): Likewise.
3111         (tan_test_upward): Likewise.
3112         (tanh_test_data): Update call to AUTO_TESTS_f_f.
3113         (tgamma_test_data): Likewise.
3114         (y0_test_data): Likewise.
3115         (y1_test_data): Likewise.
3116         (yn_test_data): Update call to AUTO_TESTS_if_f.
3117         (main): Do not call removed functions.
3118
3119 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
3120
3121         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3122         (ldexp_test_data): Remove.
3123         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
3124         scalbn_test_data.
3125         (scalb_test): Use ALL_RM_TEST.
3126
3127 2014-03-19  Andreas Schwab  <schwab@suse.de>
3128
3129         * nscd/nscd.service: Also invalidate netgroup cache on reload.
3130
3131 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
3132
3133         [BZ #16649]
3134         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3135         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3136         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3137         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3138         (__ASSUME_PREADV): Undefine.
3139         (__ASSUME_PWRITEV): Likewise.
3140
3141 2014-03-18  Roland McGrath  <roland@hack.frob.com>
3142
3143         * bits/mman-linux.h: Add comment about non-Linux use.
3144         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3145         bits/mman-linux.h resting place.
3146
3147         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3148         * bits/mman-linux.h: ... here.
3149
3150 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3151
3152         * conform/conformtest.pl: Add standard definition when calling C
3153         preprocessor on data files.
3154         (checknamespace): Remove unused variable.
3155
3156 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
3157
3158         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3159         minus_oflow, plus_uflow and minus_uflow in expected results.
3160         * math/libm-test.inc (scalbn_test_data): Add more tests of
3161         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
3162         minus_uflow.
3163         (scalbn_test): Use ALL_RM_TEST.
3164         (scalbln_test_data): Add more tests of negative arguments.  Use
3165         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3166         (scalbln_test): Use ALL_RM_TEST.
3167
3168 2014-03-18  Roland McGrath  <roland@hack.frob.com>
3169
3170         * scripts/abilist.awk: Ignore symbols marked with .hidden.
3171
3172 2014-03-18  Will Newton  <will.newton@linaro.org>
3173
3174         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3175         inaccurate comment.
3176
3177 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
3178
3179         * Makerules [!subdir] (check-abi): Exit with error status if a
3180         test failed.
3181
3182 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
3183
3184         * math/libm-test.inc (nearbyint_test_data): Include all tests used
3185         for rint.  Include results for all rounding modes.
3186         (nearbyint_test): Use ALL_RM_TEST.
3187         (rint_test_data): Include all tests used for nearbyint.
3188
3189 2014-03-17  Will Newton  <will.newton@linaro.org>
3190
3191         * nptl/sysdeps/pthread/pthread.h: Revert previous
3192         change.
3193
3194         * sysdeps/generic/ldsodefs.h: Revert previous
3195         change.
3196
3197         * libio/genops.c: Revert previous change.
3198         * libio/libioP.h: Likewise.
3199         * stdio-common/vfprintf.c: Likewise.
3200
3201         * sysdeps/generic/math_private.h: Revert previous
3202         change.
3203
3204         * sysdeps/generic/math_private.h: Check whether
3205         HAVE_RM_CTX is defined with #ifdef rather
3206         than #if.
3207
3208         * argp/argp-fmtstream.h: Check whether
3209         __STRICT_ANSI__ is defined with #ifdef rather
3210         than #if.
3211         * argp/argp.h: Likewise.
3212
3213         * libio/genops.c: Check whether
3214         _IO_JUMPS_OFFSET is defined with #ifdef rather
3215         than #if.
3216         * libio/libioP.h: Likewise.
3217         * stdio-common/vfprintf.c: Likewise.
3218
3219         * sysdeps/generic/ldsodefs.h: Check whether
3220         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3221         than #if.
3222
3223         * nptl/sysdeps/pthread/pthread.h: Check
3224         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3225         its value.
3226
3227 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3228
3229         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3230         setting O_APPEND.
3231         * libio/tst-ftell-active-handler.c (do_append_test): Add a
3232         test case.
3233
3234         [BZ #16680]
3235         * libio/fileops.c (_IO_file_open): Seek to end of file but
3236         don't cache the offset.
3237         (get_file_offset): Remove function.
3238         (do_ftell): Use cached offset when available.
3239         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3240         don't cache the offset.
3241         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3242         case.
3243         (do_one_test): Call it.
3244         (do_ftell_test): Fix up expected old offset for a+ mode.
3245         * libio/wfileops.c (do_ftell_wide): Used cached offset when
3246         available.
3247
3248         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3249         up test status with function return status.
3250         (do_write_test): Likewise.
3251         (do_append_test): Likewise.
3252
3253         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3254         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3255         Remove.
3256
3257 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
3258
3259         * math/gen-libm-test.pl (parse_args): Handle results specified for
3260         each rounding mode separately.
3261         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3262         tests and results from lrint_tonearest_test_data,
3263         lrint_towardzero_test_data, lrint_downward_test_data and
3264         lrint_upward_test_data.
3265         (lrint_test): Use ALL_RM_TEST.
3266         (lrint_tonearest_test_data): Remove.
3267         (lrint_test_tonearest): Likewise.
3268         (lrint_towardzero_test_data): Likewise.
3269         (lrint_test_towardzero): Likewise.
3270         (lrint_downward_test_data): Likewise.
3271         (lrint_test_downward): Likewise.
3272         (lrint_upward_test_data): Likewise.
3273         (lrint_test_upward): Likewise.
3274         (llrint_test_data): Merge in per-rounding-mode tests and results
3275         from llrint_tonearest_test_data, llrint_towardzero_test_data,
3276         llrint_downward_test_data and llrint_upward_test_data.
3277         (llrint_test): Use ALL_RM_TEST.
3278         (llrint_tonearest_test_data): Remove.
3279         (llrint_test_tonearest): Likewise.
3280         (llrint_towardzero_test_data): Likewise.
3281         (llrint_test_towardzero): Likewise.
3282         (llrint_downward_test_data): Likewise.
3283         (llrint_test_downward): Likewise.
3284         (llrint_upward_test_data): Likewise.
3285         (llrint_test_upward): Likewise.
3286         (rint_test_data): Merge in per-rounding-mode tests and results
3287         from rint_tonearest_test_data, rint_towardzero_test_data,
3288         rint_downward_test_data and rint_upward_test_data.  Add
3289         per-rounding-mode results for tests not in those arrays.
3290         (rint_test): Use ALL_RM_TEST.
3291         (rint_tonearest_test_data): Remove.
3292         (rint_test_tonearest): Likewise.
3293         (rint_towardzero_test_data): Likewise.
3294         (rint_test_towardzero): Likewise.
3295         (rint_downward_test_data): Likewise.
3296         (rint_test_downward): Likewise.
3297         (rint_upward_test_data): Likewise.
3298         (rint_test_upward): Likewise.
3299         (main): Don't call removed functions.
3300
3301 2014-03-14  Roland McGrath  <roland@hack.frob.com>
3302
3303         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3304         "Compiled on ..." crapola.  It is anti-useful.
3305
3306 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
3307
3308         * scripts/evaluate-test.sh: Handle fourth argument to determine
3309         whether test run should stop on failure.
3310         * Makeconfig (stop-on-test-failure): New variable.
3311         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3312         $(stop-on-test-failure).
3313         * Makefile (tests): Give a summary of results from testing and
3314         exit with failure status if they include an ERROR or FAIL.
3315         (xtests): Likewise.
3316         * manual/install.texi (Configuring and compiling): Mention
3317         stop-on-test-failure=y.
3318         * INSTALL: Regenerated.
3319
3320 2014-03-14  Roland McGrath  <roland@hack.frob.com>
3321
3322         * scripts/versionlist.awk: New file.
3323         * Makerules [$(build-shared) = yes]
3324         (postclean-generated): Add Versions.def, not Versions.def.v and
3325         Versions.def.v.i.
3326         ($(common-objpfx)Versions.def.v.i): Target removed.
3327         ($(common-objpfx)Versions.def): New target.
3328         ($(common-objpfx)Versions.all): Depend on that rather that
3329         $(common-objpfx)Versions.def.v.
3330         * Versions.def: File removed.
3331
3332         * Makeconfig (+gccwarn): Add -Wundef.
3333         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3334         a dl-sysdep.h breaking its contract.
3335         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3336         * include/stackinfo.h: New file.
3337         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3338         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3339         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3340         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3341         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3342         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3343         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3344         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3345         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3346         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3347         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3348         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3349         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3350         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3351         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3352
3353 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3354
3355         [BZ #16707]
3356         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3357         implementation.
3358         * math/libm-test.inc (round_test_data): Add more tests.
3359
3360         [BZ #16706]
3361         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3362         implementation.
3363         * math/libm-test.inc (nearbyint_test_data): Add more tests.
3364
3365         [BZ #16701]
3366         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3367         implementation.
3368         * math/libm-test.inc (ceil_test_data): Add more tests.
3369
3370         * math/libm-test.inc (trunc_test_data): Add more tests related to
3371         BZ#16414.
3372
3373 2014-03-14  Roland McGrath  <roland@hack.frob.com>
3374
3375         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3376         with #if rather than #ifdef.
3377         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3378
3379 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
3380
3381         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3382         first.  Disable AVX-512 GCC support if assembler doesn't support
3383         it.
3384         * sysdeps/x86_64/configure: Regenerated.
3385
3386 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
3387
3388         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3389         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3390         (__old_pthread_attr_setstack): Likewise.
3391         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3392         [!_STACK_GROWS_DOWN]: Likewise.
3393
3394 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
3395
3396         * config.make.in (have-bash2): Delete.
3397         * configure.ac (libc_cv_have_bash2): Delete.
3398         * configure: Regenerate.
3399         * elf/Makefile (common-ldd-rewrite): Rename to ...
3400         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
3401         (sh-ldd-rewrite): Delete.
3402         (bash-ldd-rewrite): Delete.
3403         (have-bash2): Delete checks.
3404         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3405         ldd-rewrite.
3406
3407         * config.make.in (have-ksh): Delete.
3408         (KSH): Delete.
3409         * configure.ac (libc_cv_have_ksh): Delete.
3410         * configure: Regenerate.
3411
3412         * elf/Makefile: Delete $(have-ksh) check.
3413         ($(objpfx)sotruss): Change KSH to BASH.
3414         * elf/sotruss.ksh: Rename to ...
3415         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
3416         function style to match POSIX.  Drop ksh vim mode setting.
3417
3418         * manual/time.texi (Specifying the Time Zone with TZ): Change
3419         Tuesday to Thursday.
3420
3421         * debug/tst-longjmp_chk2.c: Update header comment.
3422         (stackoverflow_handler): Add comment.  Call assert on pass value.
3423
3424 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
3425
3426         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3427         (HAVE_AVX512_ASM_SUPPORT): Likewise.
3428         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3429         (La_x86_64_vector): Add zmm.
3430         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3431         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3432         ($(objpfx)tst-audit10): New target.
3433         ($(objpfx)tst-audit10.out): Likewise.
3434         (tst-audit10-ENV): New.
3435         (AVX512-CFLAGS): Likewise.
3436         (CFLAGS-tst-audit10.c): Likewise.
3437         (CFLAGS-tst-auditmod10a.c): Likewise.
3438         (CFLAGS-tst-auditmod10b.c): Likewise.
3439         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3440         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3441         * sysdeps/x86_64/configure: Regenerated.
3442         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3443         AVX-512 zmm register support.
3444         (_dl_x86_64_save_sse): Likewise.
3445         (_dl_x86_64_restore_sse): Likewise.
3446         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3447         size vector registers.
3448         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3449         (ZMM_SIZE): Likewise.
3450         * sysdeps/x86_64/tst-audit10.c: New file.
3451         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3452         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3453
3454 2014-03-13  Roland McGrath  <roland@hack.frob.com>
3455
3456         * configure.ac (HAVE_EHDR_START): New check.
3457         * configure: Regenerated.
3458         * config.h.in (HAVE_EHDR_START): New #undef.
3459         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3460         assuming the lowest-addressed segment maps the start of the file.
3461
3462 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
3463
3464         * INSTALL: Regenerated.
3465
3466 2014-03-13  Will Newton  <will.newton@linaro.org>
3467
3468         * manual/setjmp.texi (System V contexts): Improve
3469         clarity and grammar of documentation.
3470
3471 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
3472
3473         [BZ #16381]
3474         * elf/Makefile (tests): Add tst-pie2.
3475         (tests-pie): Add tst-pie2.
3476         * elf/tst-pie2.c: New file.
3477         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3478         for ET_EXEC.
3479         * elf/rtld.c (map_doit): Load executable as lt_executable.
3480         (dl_main): Likewise.
3481
3482 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
3483
3484         [BZ #16642]
3485         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3486         (__ASSUME_PSELECT): Undefine.
3487
3488 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3489
3490         [BZ #16689]
3491         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3492         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3493         static build.
3494         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3495         selector for static builds.
3496
3497 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3498
3499         [BZ #16695]
3500         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3501         key in the buffer.
3502
3503 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3504
3505         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3506         IFUNC selector for static builds.
3507
3508 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
3509
3510         * sysdeps/mips/math_private.h [__mips_hard_float]
3511         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3512         libc_feresetround_mips_ctx.
3513         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3514         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3515         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3516
3517         [BZ #16677]
3518         * math/s_nextafter.c (__nextafter): Do not return value from
3519         overflowing computation.
3520         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3521         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3522         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3523         Likewise.
3524         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3525         Likewise.
3526         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3527         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3528
3529 2014-03-11  Roland McGrath  <roland@hack.frob.com>
3530
3531         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3532         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3533         Move sfi_sp use from the load-multiple (that no longer sets sp) to
3534         the new mov targetting sp.
3535
3536 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3537
3538         [BZ #16683]
3539         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3540         Define it for static builds as well.
3541         (NO_BZERO_IMPL): Likewise.
3542
3543 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3544
3545         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3546         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3547         multiarch strspn for PPC64.
3548         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3549         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3550         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3551         (__libc_ifunc_impl_list): Likewise.
3552         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3553         multiarch optimizations
3554         * string/strspn.c (strspn): Using macro to redefine symbol name.
3555
3556 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3557             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3558
3559         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3560         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3561         multiarch strncat for PPC64.
3562         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3563         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3565         (__libc_ifunc_impl_list): Likewise.
3566         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3567         multiarch optimizations
3568
3569 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3570
3571         [BZ #16639]
3572         * nscd/nscd.service: Make service type forking.
3573
3574 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3575
3576         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3577         sign in non default rounding modes.
3578         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3579
3580 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
3581
3582         * math/libm-test.inc (ALL_RM_TEST): New macro.
3583         (ceil_test): Use ALL_RM_TEST.
3584         (cimag_test): Likewise.
3585         (conj_test): Likewise.
3586         (copysign_test): Likewise.
3587         (cproj_test): Likewise.
3588         (creal_test): Likewise.
3589         (fabs_test): Likewise.
3590         (floor_test): Likewise.
3591         (fmax_test): Likewise.
3592         (fmin_test): Likewise.
3593         (fmod_test): Likewise.
3594         (fpclassify_test): Likewise.
3595         (frexp_test): Likewise.
3596         (ilogb_test): Likewise.
3597         (isfinite_test): Likewise.
3598         (finite_test): Likewise.
3599         (isgreater_test): Likewise.
3600         (isgreaterequal_test): Likewise.
3601         (isinf_test): Likewise.
3602         (isless_test): Likewise.
3603         (islessequal_test): Likewise.
3604         (islessgreater_test): Likewise.
3605         (isnan_test): Likewise.
3606         (isnormal_test): Likewise.
3607         (issignaling_test): Likewise.
3608         (isunordered_test): Likewise.
3609         (logb_test): Likewise.
3610         (logb_downward_test_data): Remove.
3611         (logb_test_downward): Likewise.
3612         (lround_test): Use ALL_RM_TEST.
3613         (llround_test): Likewise.
3614         (modf_test): Likewise.
3615         (nexttoward_test): Likewise.
3616         (remainder_test): Likewise.
3617         (drem_test): Likewise.
3618         (remainder_tonearest_test_data): Likewise.
3619         (remainder_test_tonearest): Likewise.
3620         (drem_test_tonearest): Likewise.
3621         (remainder_towardzero_test_data): Likewise.
3622         (remainder_test_towardzero): Likewise.
3623         (drem_test_towardzero): Likewise.
3624         (remainder_downward_test_data): Likewise.
3625         (remainder_test_downward): Likewise.
3626         (drem_test_downward): Likewise.
3627         (remainder_upward_test_data): Likewise.
3628         (remainder_test_upward): Likewise.
3629         (drem_test_upward): Likewise.
3630         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
3631         (round_test): Use ALL_RM_TEST.
3632         (signbit_test): Likewise.
3633         (trunc_test): Likewise.
3634         (significand_test): Likewise.
3635         (main): Don't call removed functions.
3636
3637 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
3638
3639         [BZ #16674]
3640         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3641         || __USE_XOPEN2K8].
3642         (ILL_ILLOPN): Likewise.
3643         (ILL_ILLADR): Likewise.
3644         (ILL_ILLTRP): Likewise.
3645         (ILL_PRVOPC): Likewise.
3646         (ILL_PRVREG): Likewise.
3647         (ILL_COPROC): Likewise.
3648         (ILL_BADSTK): Likewise.
3649         (FPE_INTDIV): Likewise.
3650         (FPE_INTOVF): Likewise.
3651         (FPE_FLTDIV): Likewise.
3652         (FPE_FLTOVF): Likewise.
3653         (FPE_FLTUND): Likewise.
3654         (FPE_FLTRES): Likewise.
3655         (FPE_FLTINV): Likewise.
3656         (FPE_FLTSUB): Likewise.
3657         (SEGV_MAPERR): Likewise.
3658         (SEGV_ACCERR): Likewise.
3659         (BUS_ADRALN): Likewise.
3660         (BUS_ADRERR): Likewise.
3661         (BUS_OBJERR): Likewise.
3662         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3663         (TRAP_TRACE): Likewise.
3664         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3665         __USE_XOPEN2K8].
3666         (CLD_KILLED): Likewise.
3667         (CLD_DUMPED): Likewise.
3668         (CLD_TRAPPED): Likewise.
3669         (CLD_STOPPED): Likewise.
3670         (CLD_CONTINUED): Likewise.
3671         (POLL_IN): Likewise.
3672         (POLL_OUT): Likewise.
3673         (POLL_MSG): Likewise.
3674         (POLL_ERR): Likewise.
3675         (POLL_PRI): Likewise.
3676         (POLL_HUP): Likewise.
3677         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3678         Likewise.
3679         (ILL_ILLOPN): Likewise.
3680         (ILL_ILLADR): Likewise.
3681         (ILL_ILLTRP): Likewise.
3682         (ILL_PRVOPC): Likewise.
3683         (ILL_PRVREG): Likewise.
3684         (ILL_COPROC): Likewise.
3685         (ILL_BADSTK): Likewise.
3686         (FPE_INTDIV): Likewise.
3687         (FPE_INTOVF): Likewise.
3688         (FPE_FLTDIV): Likewise.
3689         (FPE_FLTOVF): Likewise.
3690         (FPE_FLTUND): Likewise.
3691         (FPE_FLTRES): Likewise.
3692         (FPE_FLTINV): Likewise.
3693         (FPE_FLTSUB): Likewise.
3694         (SEGV_MAPERR): Likewise.
3695         (SEGV_ACCERR): Likewise.
3696         (BUS_ADRALN): Likewise.
3697         (BUS_ADRERR): Likewise.
3698         (BUS_OBJERR): Likewise.
3699         (BUS_MCEERR_AR): Likewise.
3700         (BUS_MCEERR_AO): Likewise.
3701         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3702         (TRAP_TRACE): Likewise.
3703         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3704         __USE_XOPEN2K8].
3705         (CLD_KILLED): Likewise.
3706         (CLD_DUMPED): Likewise.
3707         (CLD_TRAPPED): Likewise.
3708         (CLD_STOPPED): Likewise.
3709         (CLD_CONTINUED): Likewise.
3710         (POLL_IN): Likewise.
3711         (POLL_OUT): Likewise.
3712         (POLL_MSG): Likewise.
3713         (POLL_ERR): Likewise.
3714         (POLL_PRI): Likewise.
3715         (POLL_HUP): Likewise.
3716         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3717         (ILL_ILLOPN): Likewise.
3718         (ILL_ILLADR): Likewise.
3719         (ILL_ILLTRP): Likewise.
3720         (ILL_PRVOPC): Likewise.
3721         (ILL_PRVREG): Likewise.
3722         (ILL_COPROC): Likewise.
3723         (ILL_BADSTK): Likewise.
3724         (FPE_INTDIV): Likewise.
3725         (FPE_INTOVF): Likewise.
3726         (FPE_FLTDIV): Likewise.
3727         (FPE_FLTOVF): Likewise.
3728         (FPE_FLTUND): Likewise.
3729         (FPE_FLTRES): Likewise.
3730         (FPE_FLTINV): Likewise.
3731         (FPE_FLTSUB): Likewise.
3732         (SEGV_MAPERR): Likewise.
3733         (SEGV_ACCERR): Likewise.
3734         (BUS_ADRALN): Likewise.
3735         (BUS_ADRERR): Likewise.
3736         (BUS_OBJERR): Likewise.
3737         (BUS_MCEERR_AR): Likewise.
3738         (BUS_MCEERR_AO): Likewise.
3739         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3740         (TRAP_TRACE): Likewise.
3741         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3742         __USE_XOPEN2K8].
3743         (CLD_KILLED): Likewise.
3744         (CLD_DUMPED): Likewise.
3745         (CLD_TRAPPED): Likewise.
3746         (CLD_STOPPED): Likewise.
3747         (CLD_CONTINUED): Likewise.
3748         (POLL_IN): Likewise.
3749         (POLL_OUT): Likewise.
3750         (POLL_MSG): Likewise.
3751         (POLL_ERR): Likewise.
3752         (POLL_PRI): Likewise.
3753         (POLL_HUP): Likewise.
3754         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3755         Likewise.
3756         (ILL_ILLOPN): Likewise.
3757         (ILL_ILLADR): Likewise.
3758         (ILL_ILLTRP): Likewise.
3759         (ILL_PRVOPC): Likewise.
3760         (ILL_PRVREG): Likewise.
3761         (ILL_COPROC): Likewise.
3762         (ILL_BADSTK): Likewise.
3763         (ILL_BADIADDR): Likewise.
3764         (ILL_BREAK): Likewise.
3765         (FPE_INTDIV): Likewise.
3766         (FPE_INTOVF): Likewise.
3767         (FPE_FLTDIV): Likewise.
3768         (FPE_FLTOVF): Likewise.
3769         (FPE_FLTUND): Likewise.
3770         (FPE_FLTRES): Likewise.
3771         (FPE_FLTINV): Likewise.
3772         (FPE_FLTSUB): Likewise.
3773         (FPE_DECOVF): Likewise.
3774         (FPE_DECDIV): Likewise.
3775         (FPE_DECERR): Likewise.
3776         (FPE_INVASC): Likewise.
3777         (FPE_INVDEC): Likewise.
3778         (SEGV_MAPERR): Likewise.
3779         (SEGV_ACCERR): Likewise.
3780         (SEGV_PSTKOVF): Likewise.
3781         (BUS_ADRALN): Likewise.
3782         (BUS_ADRERR): Likewise.
3783         (BUS_OBJERR): Likewise.
3784         (BUS_MCEERR_AR): Likewise.
3785         (BUS_MCEERR_AO): Likewise.
3786         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3787         (TRAP_TRACE): Likewise.
3788         (TRAP_BRANCH): Likewise.
3789         (TRAP_HWBKPT): Likewise.
3790         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3791         __USE_XOPEN2K8].
3792         (CLD_KILLED): Likewise.
3793         (CLD_DUMPED): Likewise.
3794         (CLD_TRAPPED): Likewise.
3795         (CLD_STOPPED): Likewise.
3796         (CLD_CONTINUED): Likewise.
3797         (POLL_IN): Likewise.
3798         (POLL_OUT): Likewise.
3799         (POLL_MSG): Likewise.
3800         (POLL_ERR): Likewise.
3801         (POLL_PRI): Likewise.
3802         (POLL_HUP): Likewise.
3803         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3804         (ILL_ILLOPN): Likewise.
3805         (ILL_ILLADR): Likewise.
3806         (ILL_ILLTRP): Likewise.
3807         (ILL_PRVOPC): Likewise.
3808         (ILL_PRVREG): Likewise.
3809         (ILL_COPROC): Likewise.
3810         (ILL_BADSTK): Likewise.
3811         (FPE_INTDIV): Likewise.
3812         (FPE_INTOVF): Likewise.
3813         (FPE_FLTDIV): Likewise.
3814         (FPE_FLTOVF): Likewise.
3815         (FPE_FLTUND): Likewise.
3816         (FPE_FLTRES): Likewise.
3817         (FPE_FLTINV): Likewise.
3818         (FPE_FLTSUB): Likewise.
3819         (SEGV_MAPERR): Likewise.
3820         (SEGV_ACCERR): Likewise.
3821         (BUS_ADRALN): Likewise.
3822         (BUS_ADRERR): Likewise.
3823         (BUS_OBJERR): Likewise.
3824         (BUS_MCEERR_AR): Likewise.
3825         (BUS_MCEERR_AO): Likewise.
3826         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3827         (TRAP_TRACE): Likewise.
3828         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3829         __USE_XOPEN2K8].
3830         (CLD_KILLED): Likewise.
3831         (CLD_DUMPED): Likewise.
3832         (CLD_TRAPPED): Likewise.
3833         (CLD_STOPPED): Likewise.
3834         (CLD_CONTINUED): Likewise.
3835         (POLL_IN): Likewise.
3836         (POLL_OUT): Likewise.
3837         (POLL_MSG): Likewise.
3838         (POLL_ERR): Likewise.
3839         (POLL_PRI): Likewise.
3840         (POLL_HUP): Likewise.
3841         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3842         (ILL_ILLOPN): Likewise.
3843         (ILL_ILLADR): Likewise.
3844         (ILL_ILLTRP): Likewise.
3845         (ILL_PRVOPC): Likewise.
3846         (ILL_PRVREG): Likewise.
3847         (ILL_COPROC): Likewise.
3848         (ILL_BADSTK): Likewise.
3849         (FPE_INTDIV): Likewise.
3850         (FPE_INTOVF): Likewise.
3851         (FPE_FLTDIV): Likewise.
3852         (FPE_FLTOVF): Likewise.
3853         (FPE_FLTUND): Likewise.
3854         (FPE_FLTRES): Likewise.
3855         (FPE_FLTINV): Likewise.
3856         (FPE_FLTSUB): Likewise.
3857         (SEGV_MAPERR): Likewise.
3858         (SEGV_ACCERR): Likewise.
3859         (BUS_ADRALN): Likewise.
3860         (BUS_ADRERR): Likewise.
3861         (BUS_OBJERR): Likewise.
3862         (BUS_MCEERR_AR): Likewise.
3863         (BUS_MCEERR_AO): Likewise.
3864         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3865         (TRAP_TRACE): Likewise.
3866         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3867         __USE_XOPEN2K8].
3868         (CLD_KILLED): Likewise.
3869         (CLD_DUMPED): Likewise.
3870         (CLD_TRAPPED): Likewise.
3871         (CLD_STOPPED): Likewise.
3872         (CLD_CONTINUED): Likewise.
3873         (POLL_IN): Likewise.
3874         (POLL_OUT): Likewise.
3875         (POLL_MSG): Likewise.
3876         (POLL_ERR): Likewise.
3877         (POLL_PRI): Likewise.
3878         (POLL_HUP): Likewise.
3879         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3880         (ILL_ILLOPN): Likewise.
3881         (ILL_ILLADR): Likewise.
3882         (ILL_ILLTRP): Likewise.
3883         (ILL_PRVOPC): Likewise.
3884         (ILL_PRVREG): Likewise.
3885         (ILL_COPROC): Likewise.
3886         (ILL_BADSTK): Likewise.
3887         (FPE_INTDIV): Likewise.
3888         (FPE_INTOVF): Likewise.
3889         (FPE_FLTDIV): Likewise.
3890         (FPE_FLTOVF): Likewise.
3891         (FPE_FLTUND): Likewise.
3892         (FPE_FLTRES): Likewise.
3893         (FPE_FLTINV): Likewise.
3894         (FPE_FLTSUB): Likewise.
3895         (SEGV_MAPERR): Likewise.
3896         (SEGV_ACCERR): Likewise.
3897         (BUS_ADRALN): Likewise.
3898         (BUS_ADRERR): Likewise.
3899         (BUS_OBJERR): Likewise.
3900         (BUS_MCEERR_AR): Likewise.
3901         (BUS_MCEERR_AO): Likewise.
3902         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3903         (TRAP_TRACE): Likewise.
3904         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3905         __USE_XOPEN2K8].
3906         (CLD_KILLED): Likewise.
3907         (CLD_DUMPED): Likewise.
3908         (CLD_TRAPPED): Likewise.
3909         (CLD_STOPPED): Likewise.
3910         (CLD_CONTINUED): Likewise.
3911         (POLL_IN): Likewise.
3912         (POLL_OUT): Likewise.
3913         (POLL_MSG): Likewise.
3914         (POLL_ERR): Likewise.
3915         (POLL_PRI): Likewise.
3916         (POLL_HUP): Likewise.
3917         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3918         (ILL_ILLOPN): Likewise.
3919         (ILL_ILLADR): Likewise.
3920         (ILL_ILLTRP): Likewise.
3921         (ILL_PRVOPC): Likewise.
3922         (ILL_PRVREG): Likewise.
3923         (ILL_COPROC): Likewise.
3924         (ILL_BADSTK): Likewise.
3925         (ILL_DBLFLT): Likewise.
3926         (ILL_HARDWALL): Likewise.
3927         (FPE_INTDIV): Likewise.
3928         (FPE_INTOVF): Likewise.
3929         (FPE_FLTDIV): Likewise.
3930         (FPE_FLTOVF): Likewise.
3931         (FPE_FLTUND): Likewise.
3932         (FPE_FLTRES): Likewise.
3933         (FPE_FLTINV): Likewise.
3934         (FPE_FLTSUB): Likewise.
3935         (SEGV_MAPERR): Likewise.
3936         (SEGV_ACCERR): Likewise.
3937         (BUS_ADRALN): Likewise.
3938         (BUS_ADRERR): Likewise.
3939         (BUS_OBJERR): Likewise.
3940         (BUS_MCEERR_AR): Likewise.
3941         (BUS_MCEERR_AO): Likewise.
3942         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3943         (TRAP_TRACE): Likewise.
3944         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3945         __USE_XOPEN2K8].
3946         (CLD_KILLED): Likewise.
3947         (CLD_DUMPED): Likewise.
3948         (CLD_TRAPPED): Likewise.
3949         (CLD_STOPPED): Likewise.
3950         (CLD_CONTINUED): Likewise.
3951         (POLL_IN): Likewise.
3952         (POLL_OUT): Likewise.
3953         (POLL_MSG): Likewise.
3954         (POLL_ERR): Likewise.
3955         (POLL_PRI): Likewise.
3956         (POLL_HUP): Likewise.
3957         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3958         (ILL_ILLOPN): Likewise.
3959         (ILL_ILLADR): Likewise.
3960         (ILL_ILLTRP): Likewise.
3961         (ILL_PRVOPC): Likewise.
3962         (ILL_PRVREG): Likewise.
3963         (ILL_COPROC): Likewise.
3964         (ILL_BADSTK): Likewise.
3965         (FPE_INTDIV): Likewise.
3966         (FPE_INTOVF): Likewise.
3967         (FPE_FLTDIV): Likewise.
3968         (FPE_FLTOVF): Likewise.
3969         (FPE_FLTUND): Likewise.
3970         (FPE_FLTRES): Likewise.
3971         (FPE_FLTINV): Likewise.
3972         (FPE_FLTSUB): Likewise.
3973         (SEGV_MAPERR): Likewise.
3974         (SEGV_ACCERR): Likewise.
3975         (BUS_ADRALN): Likewise.
3976         (BUS_ADRERR): Likewise.
3977         (BUS_OBJERR): Likewise.
3978         (BUS_MCEERR_AR): Likewise.
3979         (BUS_MCEERR_AO): Likewise.
3980         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3981         (TRAP_TRACE): Likewise.
3982         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3983         __USE_XOPEN2K8].
3984         (CLD_KILLED): Likewise.
3985         (CLD_DUMPED): Likewise.
3986         (CLD_TRAPPED): Likewise.
3987         (CLD_STOPPED): Likewise.
3988         (CLD_CONTINUED): Likewise.
3989         (POLL_IN): Likewise.
3990         (POLL_OUT): Likewise.
3991         (POLL_MSG): Likewise.
3992         (POLL_ERR): Likewise.
3993         (POLL_PRI): Likewise.
3994         (POLL_HUP): Likewise.
3995         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3996         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3997
3998         [BZ #16670]
3999         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4000         before #include of <time.h>.
4001         [!__USE_XOPEN2K] (__need_timespec): Likewise.
4002         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4003         (test-xfail-UNIX98/sched.h/conform): Likewise.
4004
4005 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4006
4007         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4008         error absence of trapping exception support.
4009         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4010
4011 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
4012
4013         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4014         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4015         * timezone/Makefile (testdata): Move definition above include of
4016         Rules.
4017         (test-zones): New variable.
4018         (tests-special): Add zone files.
4019         (build-testdata): Use $(evaluate-test).
4020
4021         * elf/Makefile (tests-special): Rename tests to end with .out.
4022         ($(objpfx)noload-mem): Likewise.
4023         ($(objpfx)tst-leaks1-mem): Likewise.
4024         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4025         * iconv/Makefile (xtests-special): Change test-iconvconfig to
4026         $(objpfx)test-iconvconfig.out.
4027         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
4028         set -e inside subshell and redirect output to file.
4029         * iconvdata/Makefile (generated): Rename tests to end with .out.
4030         Correct type.
4031         (tests-special): Rename tests to end with .out.
4032         ($(objpfx)mtrace-tst-loading): Likewise.
4033         * intl/Makefile (generated): Likewise.
4034         (tests-special): Likewise.
4035         ($(objpfx)mtrace-tst-gettext): Likewise.
4036         * misc/Makefile (generated): Likewise.
4037         (tests-special): Likewise.
4038         ($(objpfx)tst-error1-mem): Likewise.
4039         * nptl/Makefile (tests-special): Likewise.
4040         ($(objpfx)tst-stack3-mem): Likewise.
4041         (generated): Likewise.
4042         * posix/Makefile (generated): Likewise.
4043         (tests-special): Likewise.
4044         (xtests-special): Likewise.
4045         ($(objpfx)tst-fnmatch-mem): Likewise.
4046         ($(objpfx)bug-regex2-mem): Likewise.
4047         ($(objpfx)bug-regex14-mem): Likewise.
4048         ($(objpfx)bug-regex21-mem): Likewise.
4049         ($(objpfx)bug-regex31-mem): Likewise.
4050         ($(objpfx)tst-vfork3-mem): Likewise.
4051         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4052         ($(objpfx)tst-pcre-mem): Likewise.
4053         ($(objpfx)tst-boost-mem): Likewise.
4054         ($(objpfx)bug-ga2-mem): Likewise.
4055         ($(objpfx)bug-glob2-mem): Likewise.
4056         * resolv/Makefile (generate): Likewise.
4057         (tests-special): Likewise.
4058         (xtests-special): Likewise.
4059         (generated): Likewise.
4060         ($(objpfx)mtrace-tst-leaks): Likewise.
4061         ($(objpfx)mtrace-tst-leaks2): Likewise.
4062
4063         * scripts/merge-test-results.sh: New file.
4064         * Makefile (tests-special-notdir): New variable.
4065         (tests): Run merge-test-results.sh.
4066         (xtests): Likewise.
4067         * Rules (tests-special-notdir): New variable.
4068         (xtests-special-notdir): Likewise.
4069         (tests): Run merge-test-results.sh
4070         (xtests): Likewise.
4071
4072         * Makeconfig (test-xfail-name): New variable.
4073         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4074         compute variable name for expected failures.
4075         * conform/Makefile (conformtest-headers-data): New variable.
4076         (conformtest-standards): Likewise.
4077         (conformtest-headers-ISO): Likewise.
4078         (conformtest-headers-ISO99): Likewise.
4079         (conformtest-headers-ISO11): Likewise.
4080         (conformtest-headers-POSIX): Likewise.
4081         (conformtest-headers-XPG3): Likewise.
4082         (conformtest-headers-XPG4): Likewise.
4083         (conformtest-headers-UNIX98): Likewise.
4084         (conformtest-headers-XOPEN2K): Likewise.
4085         (conformtest-headers-POSIX2008): Likewise.
4086         (conformtest-headers-XOPEN2K8): Likewise.
4087         (conformtest-header-list-base): Likewise.
4088         (conformtest-header-list-tests): Likewise.
4089         (conformtest-header-base): Likewise.
4090         (conformtest-header-tests): Likewise.
4091         (tests-special): Add $(conformtest-header-list-tests).  If
4092         [$(fast-check) && !$(cross-compiling)], add
4093         $(conformtest-header-tests) instead of
4094         $(objpfx)run-conformtest.out.
4095         (generated): Add $(conformtest-header-list-base).  If
4096         [$(fast-check) && !$(cross-compiling)], add
4097         $(conformtest-header-base).  Remove previous setting.
4098         ($(conformtest-header-list-tests)): New target.
4099         (test-xfail-run-conformtest): Remove variable.
4100         ($(objpfx)run-conformtest.out): Remove target.
4101         (test-xfail-ISO11/complex.h/conform): New variable.
4102         (test-xfail-ISO11/stdalign.h/conform): Likewise.
4103         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4104         (test-xfail-XPG3/varargs.h/conform): Likewise.
4105         (test-xfail-XPG4/varargs.h/conform): Likewise.
4106         (test-xfail-UNIX98/varargs.h/conform): Likewise.
4107         (test-xfail-XPG4/ndbm.h/conform): Likewise.
4108         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4109         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4110         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4111         (test-xfail-XPG3/fcntl.h/conform): Likewise.
4112         (test-xfail-XPG3/ftw.h/conform): Likewise.
4113         (test-xfail-XPG3/grp.h/conform): Likewise.
4114         (test-xfail-XPG3/langinfo.h/conform): Likewise.
4115         (test-xfail-XPG3/limits.h/conform): Likewise.
4116         (test-xfail-XPG3/pwd.h/conform): Likewise.
4117         (test-xfail-XPG3/search.h/conform): Likewise.
4118         (test-xfail-XPG3/signal.h/conform): Likewise.
4119         (test-xfail-XPG3/stdio.h/conform): Likewise.
4120         (test-xfail-XPG3/stdlib.h/conform): Likewise.
4121         (test-xfail-XPG3/string.h/conform): Likewise.
4122         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4123         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4124         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4125         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4126         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4127         (test-xfail-XPG3/sys/types.h/conform): Likewise.
4128         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4129         (test-xfail-XPG3/termios.h/conform): Likewise.
4130         (test-xfail-XPG3/time.h/conform): Likewise.
4131         (test-xfail-XPG3/unistd.h/conform): Likewise.
4132         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4133         (test-xfail-XPG4/fcntl.h/conform): Likewise.
4134         (test-xfail-XPG4/langinfo.h/conform): Likewise.
4135         (test-xfail-XPG4/netdb.h/conform): Likewise.
4136         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4137         (test-xfail-XPG4/signal.h/conform): Likewise.
4138         (test-xfail-XPG4/stdio.h/conform): Likewise.
4139         (test-xfail-XPG4/stdlib.h/conform): Likewise.
4140         (test-xfail-XPG4/stropts.h/conform): Likewise.
4141         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4142         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4143         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4144         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4145         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4146         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4147         (test-xfail-XPG4/sys/time.h/conform): Likewise.
4148         (test-xfail-XPG4/sys/types.h/conform): Likewise.
4149         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4150         (test-xfail-XPG4/termios.h/conform): Likewise.
4151         (test-xfail-XPG4/ucontext.h/conform): Likewise.
4152         (test-xfail-XPG4/unistd.h/conform): Likewise.
4153         (test-xfail-XPG4/utmpx.h/conform): Likewise.
4154         (test-xfail-POSIX/sched.h/conform): Likewise.
4155         (test-xfail-POSIX/signal.h/conform): Likewise.
4156         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4157         (test-xfail-POSIX/tar.h/conform): Likewise.
4158         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4159         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4160         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4161         (test-xfail-UNIX98/netdb.h/conform): Likewise.
4162         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4163         (test-xfail-UNIX98/sched.h/conform): Likewise.
4164         (test-xfail-UNIX98/signal.h/conform): Likewise.
4165         (test-xfail-UNIX98/stdio.h/conform): Likewise.
4166         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4167         (test-xfail-UNIX98/stropts.h/conform): Likewise.
4168         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4169         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4170         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4171         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4172         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4173         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4174         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4175         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4176         (test-xfail-UNIX98/unistd.h/conform): Likewise.
4177         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4178         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4179         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4180         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4181         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4182         (test-xfail-XOPEN2K/math.h/conform): Likewise.
4183         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4184         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4185         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4186         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4187         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4188         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4189         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4190         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4191         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4192         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4193         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4194         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4195         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4196         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4197         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4198         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4199         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4200         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4201         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4202         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4203         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4204         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4205         (test-xfail-POSIX2008/signal.h/conform): Likewise.
4206         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4207         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4208         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4209         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4210         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4211         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4212         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4213         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4214         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4215         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4216         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4217         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4218         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4219         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4220         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4221         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4222         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4223         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4224         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4225         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4226         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4227         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4228         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4229         (conformtest-cc-flags): Likewise.
4230         ($(conformtest-header-tests): New target.
4231         * conform/check-header-lists.sh: New file.
4232         * conform/run-conformtest.sh: Remove.
4233
4234         * conform/conformtest.pl: Allow ' and \ in values given for
4235         constants.
4236         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4237         inclusion.
4238         [POSIX] (sys/types.h): Likewise.
4239         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4240         inclusion.
4241         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4242         inclusion.
4243         * conform/data/signal.h-data (SIGIO): Remove expectation.
4244         [XPG3] (SIGBUS): Do not expect.
4245         [POSIX || XPG3] (SIGPOLL): Likewise.
4246         [POSIX || XPG3] (SIGPROF): Likewise.
4247         [POSIX || XPG3] (SIGSYS): Likewise.
4248         [XPG3] (SIGTRAP): Likewise.
4249         [POSIX || XPG3] (SIGURG): Likewise.
4250         [POSIX || XPG3] (SIGVTALRM): Likewise.
4251         [POSIX || XPG3] (SIGXCPU): Likewise.
4252         [POSIX || XPG3] (SIGXFSZ): Likewise.
4253         [POSIX] (SA_SIGINFO): Expect.
4254         [XPG3] (siginfo_t): Do not expect type or contents.
4255         [POSIX] (si_pid): Do not expect element.
4256         [POSIX] (si_uid): Likewise.
4257         [POSIX] (si_addr): Likewise.
4258         [POSIX] (si_status): Likewise.
4259         [POSIX] (si_band): Likewise.
4260         [XPG4] (si_value): Likewise.
4261         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4262         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4263         [POSIX || XPG3] (ILL_ILLADR): Likewise.
4264         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4265         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4266         [POSIX || XPG3] (ILL_PRVREG): Likewise.
4267         [POSIX || XPG3] (ILL_COPROC): Likewise.
4268         [POSIX || XPG3] (ILL_BADSTK): Likewise.
4269         [POSIX || XPG3] (FPE_INTDIV): Likewise.
4270         [POSIX || XPG3] (FPE_INTOVF): Likewise.
4271         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4272         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4273         [POSIX || XPG3] (FPE_FLTUND): Likewise.
4274         [POSIX || XPG3] (FPE_FLTRES): Likewise.
4275         [POSIX || XPG3] (FPE_FLTINV): Likewise.
4276         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4277         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4278         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4279         [POSIX || XPG3] (BUS_ADRALN): Likewise.
4280         [POSIX || XPG3] (BUS_ADRERR): Likewise.
4281         [POSIX || XPG3] (BUS_OBJERR): Likewise.
4282         [POSIX || XPG3] (CLD_EXITED): Likewise.
4283         [POSIX || XPG3] (CLD_KILLED): Likewise.
4284         [POSIX || XPG3] (CLD_DUMPED): Likewise.
4285         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4286         [POSIX || XPG3] (CLD_STOPPED): Likewise.
4287         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4288         [POSIX || XPG3] (POLL_IN): Likewise.
4289         [POSIX || XPG3] (POLL_OUT): Likewise.
4290         [POSIX || XPG3] (POLL_MSG): Likewise.
4291         [POSIX || XPG3] (POLL_ERR): Likewise.
4292         [POSIX || XPG3] (POLL_PRI): Likewise.
4293         [POSIX || XPG3] (POLL_HUP): Likewise.
4294         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4295         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4296         (SIG*): Do not allow.
4297         [XPG3] (si_*): Likewise.
4298         [XPG3] (SI_*): Likewise.
4299         [XPG3 || XPG4] (sigev_*): Likewise.
4300         [XPG3 || XPG4] (SIGEV_*): Likewise.
4301         [XPG3 || XPG4] (sival_*): Likewise.
4302         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4303         [POSIX || XPG3] (BUS_*): Likewise.
4304         [POSIX || XPG3] (CLD_*): Likewise.
4305         [POSIX || XPG3] (FPE_*): Likewise.
4306         [POSIX || XPG3] (ILL_*): Likewise.
4307         [POSIX || XPG3] (POLL_*): Likewise.
4308         [POSIX || XPG3] (SEGV_*): Likewise.
4309         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4310         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4311         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4312         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4313         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4314         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4315         Specify type and value.
4316         (TVERSLEN): Likewise.
4317         (REGTYPE): Likewise.
4318         (AREGTYPE): Likewise.
4319         (LNKTYPE): Likewise.
4320         (SYMTYPE): Likewise.
4321         (CHRTYPE): Likewise.
4322         (BLKTYPE): Likewise.
4323         (DIRTYPE): Likewise.
4324         (FIFOTYPE): Likewise.
4325         (CONTTYPE): Likewise.
4326         (TSUID): Likewise.
4327         (TSGID): Likewise.
4328         (TSVTX): Likewise.
4329         (TUREAD): Likewise.
4330         (TUWRITE): Likewise.
4331         (TUEXEC): Likewise.
4332         (TGREAD): Likewise.
4333         (TGWRITE): Likewise.
4334         (TGEXEC): Likewise.
4335         (TOREAD): Likewise.
4336         (TOWRITE): Likewise.
4337         (TOEXEC): Likewise.
4338         [POSIX] (TSVTX): Expect constant.
4339
4340 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
4341
4342         * Makefile (tests): Change dependencies to ....
4343         (tests-special): ... additions to this variable.
4344         (tests): Depend on $(tests-special).
4345         * Makerules (check-abi-list): New variable.
4346         (check-abi): Depend on $(check-abi-list).
4347         [$(subdir) = elf] (tests-special): Add
4348         $(objpfx)check-abi-libc.out.
4349         [$(build-shared) = yes && subdir] (tests-special): Add
4350         $(check-abi-list).
4351         [$(build-shared) = yes && subdir] (tests): Do not depend on
4352         check-abi.
4353         * Rules (tests): Depend on $(tests-special).
4354         (xtests): Depend on $(xtests-special).
4355         * catgets/Makefile (tests): Change dependencies to ....
4356         (tests-special): ... additions to this variable.
4357         * conform/Makefile (tests): Change dependencies to ....
4358         (tests-special): ... additions to this variable.
4359         * elf/Makefile (tests): Change dependencies to ....
4360         (tests-special): ... additions to this variable.
4361         * grp/Makefile (tests): Change dependencies to ....
4362         (tests-special): ... additions to this variable.
4363         * iconv/Makefile (xtests): Change dependencies to ....
4364         (xtests-special): ... additions to this variable.
4365         * iconvdata/Makefile (tests): Change dependencies to ....
4366         (tests-special): ... additions to this variable.
4367         * intl/Makefile (tests): Change dependencies to ....
4368         (tests-special): ... additions to this variable.  Also add
4369         $(objpfx)tst-gettext.out.
4370         * io/Makefile (tests): Change dependencies to ....
4371         (tests-special): ... additions to this variable.
4372         * libio/Makefile (tests): Change dependencies to ....
4373         (tests-special): ... additions to this variable.
4374         * malloc/Makefile (tests): Change dependencies to ....
4375         (tests-special): ... additions to this variable.
4376         * misc/Makefile (tests): Change dependencies to ....
4377         (tests-special): ... additions to this variable.
4378         * nptl/Makefile (tests): Change dependencies to ....
4379         (tests-special): ... additions to this variable.
4380         * nptl_db/Makefile (tests): Change dependencies to ....
4381         (tests-special): ... additions to this variable.
4382         * posix/Makefile (tests): Change dependencies to ....
4383         (tests-special): ... additions to this variable.
4384         (xtests): Change dependencies to ....
4385         (xtests-special): ... additions to this variable.
4386         * resolv/Makefile (tests): Change dependencies to ....
4387         (tests-special): ... additions to this variable.
4388         (xtests): Change dependencies to ....
4389         (xtests-special): ... additions to this variable.
4390         * stdio-common/Makefile (tests): Change dependencies to ....
4391         (tests-special): ... additions to this variable.
4392         (do-tst-unbputc): Remove target.
4393         (do-tst-printf): Likewise.
4394         * stdlib/Makefile (tests): Change dependencies to ....
4395         (tests-special): ... additions to this variable.
4396         * string/Makefile (tests): Change dependencies to ....
4397         (tests-special): ... additions to this variable.
4398         * sysdeps/x86/Makefile (tests): Change dependencies to ....
4399         (tests-special): ... additions to this variable.
4400
4401         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4402         whole file.
4403         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4404         whole file.
4405         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4406         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4407
4408         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4409         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4410         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4411         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4412         * conform/data/libgen.h-data [XPG3]: Likewise.
4413         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4414         * conform/data/ndbm.h-data [XPG3]: Likewise.
4415         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4416         * conform/data/netdb.h-data [XPG3]: Likewise.
4417         * conform/data/netinet/in.h-data [XPG3]: Likewise.
4418         * conform/data/poll.h-data [XPG3]: Likewise.
4419         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4420         * conform/data/strings.h-data [XPG3]: Likewise.
4421         * conform/data/stropts.h-data [XPG3]: Likewise.
4422         * conform/data/sys/mman.h-data [XPG3]: Likewise.
4423         * conform/data/sys/resource.h-data [XPG3]: Likewise.
4424         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4425         Likewise.
4426         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4427         * conform/data/sys/time.h-data [XPG3]: Likewise.
4428         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4429         * conform/data/sys/uio.h-data [XPG3]: Likewise.
4430         * conform/data/sys/un.h-data [XPG3]: Likewise.
4431         * conform/data/syslog.h-data [XPG3]: Likewise.
4432         * conform/data/ucontext.h-data [XPG3]: Likewise.
4433         * conform/data/utmpx.h-data [XPG3]: Likewise.
4434         * conform/data/varargs.h-data [UNIX98]: Enable file.
4435
4436         * manual/Makefile (INSTALL_INFO): Remove variable setting.
4437
4438         * math/libm-test.inc (struct test_f_f_data): Move expected results
4439         into structure for each rounding mode.
4440         (struct test_ff_f_data): Likewise.
4441         (struct test_ff_f_data_nexttoward): Likewise.
4442         (struct test_fi_f_data): Likewise.
4443         (struct test_fl_f_data): Likewise.
4444         (struct test_if_f_data): Likewise.
4445         (struct test_fff_f_data): Likewise.
4446         (struct test_c_f_data): Likewise.
4447         (struct test_f_f1_data): Likewise.
4448         (struct test_fF_f1_data): Likewise.
4449         (struct test_ffI_f1_data): Likewise.
4450         (struct test_c_c_data): Likewise.
4451         (struct test_cc_c_data): Likewise.
4452         (struct test_f_i_data): Likewise.
4453         (struct test_ff_i_data): Likewise.
4454         (struct test_f_l_data): Likewise.
4455         (struct test_f_L_data): Likewise.
4456         (struct test_fFF_11_data): Likewise.
4457         (RM_): New macro.
4458         (RM_FE_DOWNWARD): Likewise.
4459         (RM_FE_TONEAREST): Likewise.
4460         (RM_FE_TOWARDZERO): Likewise.
4461         (RM_FE_UPWARD): Likewise.
4462         (RUN_TEST_LOOP_f_f): Update references to expected results.
4463         (RUN_TEST_LOOP_2_f): Likewise.
4464         (RUN_TEST_LOOP_fff_f): Likewise.
4465         (RUN_TEST_LOOP_c_f): Likewise.
4466         (RUN_TEST_LOOP_f_f1): Likewise.
4467         (RUN_TEST_LOOP_fF_f1): Likewise.
4468         (RUN_TEST_LOOP_fI_f1): Likewise.
4469         (RUN_TEST_LOOP_ffI_f1): Likewise.
4470         (RUN_TEST_LOOP_c_c): Likewise.
4471         (RUN_TEST_LOOP_cc_c): Likewise.
4472         (RUN_TEST_LOOP_f_i): Likewise.
4473         (RUN_TEST_LOOP_f_i_tg): Likewise.
4474         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4475         (RUN_TEST_LOOP_f_b): Likewise.
4476         (RUN_TEST_LOOP_f_b_tg): Likewise.
4477         (RUN_TEST_LOOP_f_l): Likewise.
4478         (RUN_TEST_LOOP_f_L): Likewise.
4479         (RUN_TEST_LOOP_fFF_11): Likewise.
4480         * math/gen-libm-test.pl (parse_args): Output four copies of
4481         expected results for each test.
4482
4483         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4484         (__ASSUME_UTIMES): Remove.
4485         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4486         (__ASSUME_UTIMES): Likewise.
4487
4488         * math/gen-auto-libm-tests.c: Update comment on output format.
4489         (output_for_one_input_case): Generate before-rounding and
4490         after-rounding information as conditions on output flags not
4491         floating-point format.
4492         * math/auto-libm-test-out: Regenerated.
4493         * math/gen-libm-test.pl (cond_value): New function.
4494         (or_cond_value): Use cond_value.
4495         (generate_testfile): Handle conditional exceptions.
4496
4497 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
4498
4499         * math/libm-test.inc (max_valid_error): New variable.
4500         (init_max_error): Take new argument specifying whether function
4501         results are exactly determined.  Set max_valid_error and bound
4502         other variables for errors based on this argument.
4503         (set_max_error): Do not record results above max_valid_error.
4504         (check_float_internal): Only accept errors of up to 0.5ulps if
4505         also at most max_valid_error.
4506         (START): Take new argument EXACT and pass it to init_max_error.
4507         (acos_test): Update call to START.
4508         (acos_test_tonearest): Likewise.
4509         (acos_test_towardzero): Likewise.
4510         (acos_test_downward): Likewise.
4511         (acos_test_upward): Likewise.
4512         (acosh_test): Likewise.
4513         (asin_test): Likewise.
4514         (asin_test_tonearest): Likewise.
4515         (asin_test_towardzero): Likewise.
4516         (asin_test_downward): Likewise.
4517         (asin_test_upward): Likewise.
4518         (asinh_test): Likewise.
4519         (atan_test): Likewise.
4520         (atanh_test): Likewise.
4521         (atan2_test): Likewise.
4522         (cabs_test): Likewise.
4523         (cacos_test): Likewise.
4524         (cacosh_test): Likewise.
4525         (carg_test): Likewise.
4526         (casin_test): Likewise.
4527         (casinh_test): Likewise.
4528         (catan_test): Likewise.
4529         (catanh_test): Likewise.
4530         (cbrt_test): Likewise.
4531         (ccos_test): Likewise.
4532         (ccosh_test): Likewise.
4533         (ceil_test): Likewise.
4534         (cexp_test): Likewise.
4535         (cimag_test): Likewise.
4536         (clog_test): Likewise.
4537         (clog10_test): Likewise.
4538         (conj_test): Likewise.
4539         (copysign_test): Likewise.
4540         (cos_test): Likewise.
4541         (cos_test_tonearest): Likewise.
4542         (cos_test_towardzero): Likewise.
4543         (cos_test_downward): Likewise.
4544         (cos_test_upward): Likewise.
4545         (cosh_test): Likewise.
4546         (cosh_test_tonearest): Likewise.
4547         (cosh_test_towardzero): Likewise.
4548         (cosh_test_downward): Likewise.
4549         (cosh_test_upward): Likewise.
4550         (cpow_test): Likewise.
4551         (cproj_test): Likewise.
4552         (creal_test): Likewise.
4553         (csin_test): Likewise.
4554         (csinh_test): Likewise.
4555         (csqrt_test): Likewise.
4556         (ctan_test): Likewise.
4557         (ctan_test_tonearest): Likewise.
4558         (ctan_test_towardzero): Likewise.
4559         (ctan_test_downward): Likewise.
4560         (ctan_test_upward): Likewise.
4561         (ctanh_test): Likewise.
4562         (ctanh_test_tonearest): Likewise.
4563         (ctanh_test_towardzero): Likewise.
4564         (ctanh_test_downward): Likewise.
4565         (ctanh_test_upward): Likewise.
4566         (erf_test): Likewise.
4567         (erfc_test): Likewise.
4568         (exp_test): Likewise.
4569         (exp_test_tonearest): Likewise.
4570         (exp_test_towardzero): Likewise.
4571         (exp_test_downward): Likewise.
4572         (exp_test_upward): Likewise.
4573         (exp10_test): Likewise.
4574         (exp10_test_tonearest): Likewise.
4575         (exp10_test_towardzero): Likewise.
4576         (exp10_test_downward): Likewise.
4577         (exp10_test_upward): Likewise.
4578         (pow10_test): Likewise.
4579         (exp2_test): Likewise.
4580         (expm1_test): Likewise.
4581         (expm1_test_tonearest): Likewise.
4582         (expm1_test_towardzero): Likewise.
4583         (expm1_test_downward): Likewise.
4584         (expm1_test_upward): Likewise.
4585         (fabs_test): Likewise.
4586         (fdim_test): Likewise.
4587         (floor_test): Likewise.
4588         (fma_test): Likewise.
4589         (fma_test_towardzero): Likewise.
4590         (fma_test_downward): Likewise.
4591         (fma_test_upward): Likewise.
4592         (fmax_test): Likewise.
4593         (fmin_test): Likewise.
4594         (fmod_test): Likewise.
4595         (fpclassify_test): Likewise.
4596         (frexp_test): Likewise.
4597         (hypot_test): Likewise.
4598         (ilogb_test): Likewise.
4599         (isfinite_test): Likewise.
4600         (finite_test): Likewise.
4601         (isgreater_test): Likewise.
4602         (isgreaterequal_test): Likewise.
4603         (isinf_test): Likewise.
4604         (isless_test): Likewise.
4605         (islessequal_test): Likewise.
4606         (islessgreater_test): Likewise.
4607         (isnan_test): Likewise.
4608         (isnormal_test): Likewise.
4609         (issignaling_test): Likewise.
4610         (isunordered_test): Likewise.
4611         (j0_test): Likewise.
4612         (j1_test): Likewise.
4613         (jn_test): Likewise.
4614         (ldexp_test): Likewise.
4615         (lgamma_test): Likewise.
4616         (gamma_test): Likewise.
4617         (lrint_test): Likewise.
4618         (lrint_test_tonearest): Likewise.
4619         (lrint_test_towardzero): Likewise.
4620         (lrint_test_downward): Likewise.
4621         (lrint_test_upward): Likewise.
4622         (llrint_test): Likewise.
4623         (llrint_test_tonearest): Likewise.
4624         (llrint_test_towardzero): Likewise.
4625         (llrint_test_downward): Likewise.
4626         (llrint_test_upward): Likewise.
4627         (log_test): Likewise.
4628         (log10_test): Likewise.
4629         (log1p_test): Likewise.
4630         (log2_test): Likewise.
4631         (logb_test): Likewise.
4632         (logb_test_downward): Likewise.
4633         (lround_test): Likewise.
4634         (llround_test): Likewise.
4635         (modf_test): Likewise.
4636         (nearbyint_test): Likewise.
4637         (nextafter_test): Likewise.
4638         (nexttoward_test): Likewise.
4639         (pow_test): Likewise.
4640         (pow_test_tonearest): Likewise.
4641         (pow_test_towardzero): Likewise.
4642         (pow_test_downward): Likewise.
4643         (pow_test_upward): Likewise.
4644         (remainder_test): Likewise.
4645         (drem_test): Likewise.
4646         (remainder_test_tonearest): Likewise.
4647         (drem_test_tonearest): Likewise.
4648         (remainder_test_towardzero): Likewise.
4649         (drem_test_towardzero): Likewise.
4650         (remainder_test_downward): Likewise.
4651         (drem_test_downward): Likewise.
4652         (remainder_test_upward): Likewise.
4653         (drem_test_upward): Likewise.
4654         (remquo_test): Likewise.
4655         (rint_test): Likewise.
4656         (rint_test_tonearest): Likewise.
4657         (rint_test_towardzero): Likewise.
4658         (rint_test_downward): Likewise.
4659         (rint_test_upward): Likewise.
4660         (round_test): Likewise.
4661         (scalb_test): Likewise.
4662         (scalbn_test): Likewise.
4663         (scalbln_test): Likewise.
4664         (signbit_test): Likewise.
4665         (sin_test): Likewise.
4666         (sin_test_tonearest): Likewise.
4667         (sin_test_towardzero): Likewise.
4668         (sin_test_downward): Likewise.
4669         (sin_test_upward): Likewise.
4670         (sincos_test): Likewise.
4671         (sinh_test): Likewise.
4672         (sinh_test_tonearest): Likewise.
4673         (sinh_test_towardzero): Likewise.
4674         (sinh_test_downward): Likewise.
4675         (sinh_test_upward): Likewise.
4676         (sqrt_test): Likewise.
4677         (sqrt_test_tonearest): Likewise.
4678         (sqrt_test_towardzero): Likewise.
4679         (sqrt_test_downward): Likewise.
4680         (sqrt_test_upward): Likewise.
4681         (tan_test): Likewise.
4682         (tan_test_tonearest): Likewise.
4683         (tan_test_towardzero): Likewise.
4684         (tan_test_downward): Likewise.
4685         (tan_test_upward): Likewise.
4686         (tanh_test): Likewise.
4687         (tgamma_test): Likewise.
4688         (trunc_test): Likewise.
4689         (y0_test): Likewise.
4690         (y1_test): Likewise.
4691         (yn_test): Likewise.
4692         (significand_test): Likewise.
4693
4694         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4695         individual tests in comment.
4696         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4697         (prev_max_error): New variable.
4698         (prev_real_max_error): Likewise.
4699         (prev_imag_max_error): Likewise.
4700         (compare_ulp_data): Don't refer to test names in comment.
4701         (find_test_ulps): Remove function.
4702         (find_function_ulps): Likewise.
4703         (find_complex_function_ulps): Likewise.
4704         (init_max_error): Take function name as argument.  Look up ulps
4705         for that function.
4706         (print_ulps): Remove function.
4707         (print_max_error): Use prev_max_error instead of calling
4708         find_function_ulps.
4709         (print_complex_max_error): Use prev_real_max_error and
4710         prev_imag_max_error instead of calling find_complex_function_ulps.
4711         (check_float_internal): Take max_ulp parameter instead of calling
4712         find_test_ulps.  Don't call print_ulps.
4713         (check_float): Update call to check_float_internal.
4714         (check_complex): Update calls to check_float_internal.
4715         (START): Pass argument to init_max_error.
4716         * math/gen-libm-test.pl (%results): Don't include "kind"
4717         information.
4718         (parse_ulps): Don't handle ulps of individual tests.
4719         (print_ulps_file): Likewise.
4720         (output_ulps): Likewise.
4721         * math/README.libm-test: Update.
4722         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4723         individual tests.
4724         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4725         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4726         * sysdeps/arm/libm-test-ulps: Likewise.
4727         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4728         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4729         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4730         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4731         * sysdeps/microblaze/libm-test-ulps: Likewise.
4732         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4733         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4734         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4735         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4736         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4737         * sysdeps/sh/libm-test-ulps: Likewise.
4738         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4739         * sysdeps/tile/libm-test-ulps: Likewise.
4740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4741
4742 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
4743
4744         * math/libm-test.inc (print_complex_max_error): Check separately
4745         whether real and imaginary errors are within allowed range and
4746         pass 0 to print_complex_function_ulps instead of value within
4747         allowed range.
4748
4749 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4750
4751         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4752         formatting.
4753         (get_handles_fopen): Likewise.
4754         (do_write_test): Likewise.
4755
4756         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4757
4758         * libio/fileops.c (do_ftell): Use cached offset when
4759         available.
4760         * libio/iofwide.c (do_ftell_wide): Likewise.
4761         * libio/iofdopen.c (_IO_new_fdopen): Don't use
4762         _IO_file_attach.
4763         * libio/wfileops.c (_IO_fwide): Don't cache offset.
4764
4765         [BZ #16532]
4766         * libio/libioP.h (get_file_offset): New function.
4767         * libio/fileops.c (get_file_offset): Likewise.
4768         (do_ftell): Likewise.
4769         (_IO_new_file_seekoff): Split out ftell logic.
4770         * libio/wfileops.c (do_ftell_wide): Likewise.
4771         (_IO_wfile_seekoff): Split out ftell logic.
4772         * libio/tst-ftell-active-handler.c: New test case.
4773         * libio/Makefile (tests): Add it.
4774
4775 2014-03-03  Roland McGrath  <roland@hack.frob.com>
4776
4777         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4778         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4779
4780 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4781
4782         [BZ #16639]
4783         * nscd/connections.c (nscd_init): Call do_exit.
4784         (start_threads): Call do_exit and notify_parent.
4785         (begin_drop_privileges): Call do_exit.
4786         (finish_drop_privileges): Likewise.
4787         * nscd/selinux.c (preserve_capabilities): Likewise.
4788         (install_real_capabilities): Likewise.
4789         (nscd_selinux_enabled): Likewise.
4790         (avc_create_thread): Likewise.
4791         (avc_alloc_lock): Likewise.
4792         (nscd_avc_init): Likewise.
4793         * nscd/nscd.c (parent_fd): New static variable.
4794         (main): Create a pipe between parent and child processes.
4795         Skip closing parent_fd.
4796         (monitor_child): New function.
4797         (do_exit): Likewise.
4798         (notify_parent): Likewise.
4799         * nscd/nscd.h (notify_parent): Likewise.
4800         (do_exit): Likewise.
4801
4802 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
4803
4804         * malloc/malloc.c (__libc_calloc): Revert last change.
4805
4806 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4807
4808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4809
4810 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4811
4812         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4813         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4814         implementation.
4815         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4816         (__libc_ifunc_impl_list): Likewise.
4817         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4818         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4819         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4820         * string/strrchr.c: Define STRRCHR.
4821
4822 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
4823
4824         * benchtest/bench-strtok.c (simple_strtok): Delete.
4825         (strtok_string): Use as benchmark.
4826         * string/strtok (STRTOK): New macro.
4827
4828 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
4829
4830         * manual/threads.texi: Add header and standard comments to all
4831         functions.
4832
4833         * elf/dl-lookup.c (check_match): New function.
4834         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4835         (do_lookup_x): Remove nested function check_match. Use non-nested
4836         function check_match.
4837
4838 2014-02-28  Roland McGrath  <roland@hack.frob.com>
4839
4840         * csu/Makefile (generated, before-compile): Use += rather than =.
4841         * catgets/Makefile (generated, generated-dirs): Likewise.
4842         * debug/Makefile (generated): Likewise.
4843         * dlfcn/Makefile (generated): Likewise.
4844         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4845         * iconvdata/Makefile (before-compile, generated): Likewise.
4846         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4847         * libio/Makefile (generated): Likewise.
4848         * malloc/Makefile (generated): Likewise.
4849         * manual/Makefile (generated, generated-dirs): Likewise.
4850         * misc/Makefile (generated): Likewise.
4851         * posix/Makefile (generated): Likewise.
4852         * resolv/Makefile (generated): Likewise.
4853         * sunrpc/Makefile (generated, generated-dirs): Likewise.
4854         * timezone/Makefile (generated, generated-dirs): Likewise.
4855
4856         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4857
4858 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4859
4860         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4861         power8 implementation.
4862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4863         file: POWER8 llround ifunc implementation.
4864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4865         (__lllround): Add POWER8 implementation.
4866         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4867         POWER8 llround implementation.
4868
4869         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4870         power8 implementation.
4871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4872         file: POWER8 llrint ifunc implementation.
4873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4874         Add POWER8 implementation.
4875         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4876         POWER8 llrint implementation.
4877
4878         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4879         power8 implementation.
4880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4881         file: POWER8 finite ifunc implementation.
4882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4883         Add POWER8 implementation.
4884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4885         Likewise.
4886         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4887         POWER8 finite implementation.
4888         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4889
4890         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4891         power8 implementation.
4892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4893         file: POWER8 isinf ifunc implementation.
4894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4895         POWER8 implementation.
4896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4897         Likewise.
4898         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4899         isinf implementation.
4900         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4901
4902         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4903         (INIT_ARCH): Add hwcap2 initialization.
4904         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4905         power8 implementation.
4906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4907         file: POWER8 isnan ifunc implementation.
4908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4909         POWER8 implementation.
4910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4911         Likewise.
4912         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4913         isnan implementation.
4914         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4915
4916 2014-02-27  Joey Ye  <joey.ye@arm.com>
4917
4918         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4919         (_FP_NANFRAC_Q): Set to zero.
4920
4921 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4922
4923         [BZ #16623]
4924         * math/auto-libm-test-in: New test inputs.
4925         * math/auto-libm-test-out: Regenerate.
4926         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4927         and DA.
4928         (__cos): Likewise.
4929         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4930
4931 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
4932
4933         * scripts/evaluate-test.sh: Take new argument indicating whether
4934         failure is expected.
4935         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4936         indicating whether failure is expected.
4937         * conform/Makefile (test-xfail-run-conformtest): New variable.
4938         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4939         level.
4940         * posix/Makefile (test-xfail-annexc): New variable.
4941         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4942
4943 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
4944
4945         * argp/Makefile: Include Makeconfig immediately after defining
4946         subdir.
4947         * assert/Makefile: Likewise.
4948         * benchtests/Makefile: Likewise.
4949         * catgets/Makefile: Likewise.
4950         * conform/Makefile: Likewise.
4951         * crypt/Makefile: Likewise.
4952         * csu/Makefile: Likewise.
4953         (all): Remove target.
4954         * ctype/Makefile: Include Makeconfig immediately after defining
4955         subdir.
4956         * debug/Makefile: Likewise.
4957         * dirent/Makefile: Likewise.
4958         * dlfcn/Makefile: Likewise.
4959         * gmon/Makefile: Likewise.
4960         * gnulib/Makefile: Likewise.
4961         * grp/Makefile: Likewise.
4962         * gshadow/Makefile: Likewise.
4963         * hesiod/Makefile: Likewise.
4964         * hurd/Makefile: Likewise.
4965         (all): Remove target.
4966         * iconvdata/Makefile: Include Makeconfig immediately after
4967         defining subdir.
4968         * inet/Makefile: Likewise.
4969         * intl/Makefile: Likewise.
4970         * io/Makefile: Likewise.
4971         * libio/Makefile: Likewise.
4972         (all): Remove target.
4973         * locale/Makefile: Include Makeconfig immediately after defining
4974         subdir.
4975         * login/Makefile: Likewise.
4976         * mach/Makefile: Likewise.
4977         (all): Remove target.
4978         * malloc/Makefile: Include Makeconfig immediately after defining
4979         subdir.
4980         (all): Remove target.
4981         * manual/Makefile: Include Makeconfig immediately after defining
4982         subdir.
4983         * math/Makefile: Likewise.
4984         * misc/Makefile: Likewise.
4985         * nis/Makefile: Likewise.
4986         * nss/Makefile: Likewise.
4987         * po/Makefile: Likewise.
4988         (all): Remove target.
4989         * posix/Makefile: Include Makeconfig immediately after defining
4990         subdir.
4991         * pwd/Makefile: Likewise.
4992         * resolv/Makefile: Likewise.
4993         * resource/Makefile: Likewise.
4994         * rt/Makefile: Likewise.
4995         * setjmp/Makefile: Likewise.
4996         * shadow/Makefile: Likewise.
4997         * signal/Makefile: Likewise.
4998         * socket/Makefile: Likewise.
4999         * soft-fp/Makefile: Likewise.
5000         * stdio-common/Makefile: Likewise.
5001         * stdlib/Makefile: Likewise.
5002         * streams/Makefile: Likewise.
5003         * string/Makefile: Likewise.
5004         * sunrpc/Makefile: Likewise.
5005         (all): Remove target.
5006         * sysvipc/Makefile: Include Makeconfig immediately after defining
5007         subdir.
5008         * termios/Makefile: Likewise.
5009         * time/Makefile: Likewise.
5010         * timezone/Makefile: Likewise.
5011         (all): Remove target.
5012         * wcsmbs/Makefile: Include Makeconfig immediately after defining
5013         subdir.
5014         * wctype/Makefile: Likewise.
5015
5016 2014-02-26  Steve Ellcey  <sellcey@mips.com>
5017
5018         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5019         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5020         (libc_feholdexcept_setround_mips): Ditto.
5021         (libc_feholdsetround): New.
5022         (libc_feholdsetroundf): New.
5023         (libc_feholdsetroundl): New.
5024         (libc_feupdateenv_test_mips): New.
5025         (libc_feupdateenv_test): New.
5026         (libc_feupdateenv_testf): New.
5027         (libc_feupdateenv_testl): New.
5028         (libc_feresetround): New.
5029         (libc_feresetroundf): New.
5030         (libc_feresetroundl): New.
5031         (libc_fetestexcept_mips): New.
5032         (libc_fetestexcept): New.
5033         (libc_fetestexceptf): New.
5034         (libc_fetestexceptl): New.
5035         (HAVE_RM_CTX): New.
5036         (libc_feholdexcept_setround_mips_ctx): New.
5037         (libc_feholdexcept_setround_ctx): New.
5038         (libc_feholdexcept_setroundf_ctx): New.
5039         (libc_feholdexcept_setroundl_ctx): New.
5040         (libc_fesetenv_mips_ctx): New.
5041         (libc_fesetenv_ctx): New.
5042         (libc_fesetenv_ctxf): New.
5043         (libc_fesetenv_ctxl): New.
5044         (libc_feupdateenv_mips_ctx): New.
5045         (libc_feupdateenv_ctx): New.
5046         (libc_feupdateenvf_ctx): New.
5047         (libc_feupdateenvl_ctx): New.
5048         (libc_feholdsetround_mips_ctx): New.
5049         (libc_feholdsetround_ctx): New.
5050         (libc_feholdsetroundf_ctx): New.
5051         (libc_feholdsetroundl_ctx): New.
5052         (libc_feresetround_mips_ctx): New.
5053         (libc_feresetround_ctx): New.
5054         (libc_feresetroundf_ctx): New.
5055         (libc_feresetroundl_ctx): New.
5056
5057 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
5058
5059         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5060
5061         * manual/ipc.texi: New file.
5062         * manual/Makefile (chapters): Add ipc.
5063         * manual/job.texi: Add "Inter-Process Communication" to next.
5064         * manual/process.texi: Add "Inter-Process Communication" to prev.
5065
5066 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5067
5068         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5069
5070 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
5071
5072         * malloc/malloc.c (__libc_calloc): Simplify implementation.
5073
5074         * manual/arith.texi: Fix spaces after sentences.
5075         * manual/charset.texi: Likewise.
5076         * manual/errno.texi: Likewise.
5077         * manual/install.texi: Likewise.
5078         * manual/llio.texi: Likewise.
5079         * manual/locale.texi: Likewise.
5080         * manual/maint.texi: Likewise.
5081         * manual/math.texi: Likewise.
5082         * manual/memory.texi: Likewise.
5083         * manual/message.texi: Likewise.
5084         * manual/probes.texi: Likewise.
5085         * manual/resource.texi: Likewise.
5086         * manual/signal.texi: Likewise.
5087         * manual/socket.texi: Likewise.
5088         * manual/stdio.texi: Likewise.
5089         * manual/string.texi: Likewise.
5090         * manual/time.texi: Likewise.
5091         * manual/users.texi: Likewise.
5092
5093 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
5094
5095         [BZ #16632]
5096         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5097         _DEFAULT_SOURCE is defined.
5098
5099 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
5100             Carlos O'Donell  <carlos@redhat.com>
5101
5102         [BZ #16613]
5103         * elf/dl-tls.c (_dl_count_modids): New function.
5104         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5105         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5106         audit library and increment generation counter.
5107         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5108         * elf/tst-audit9.c: New file.
5109         * elf/tst-auditmod9a.c: New file.
5110         * elf/tst-auditmod9b.c: New file.
5111         * elf/Makefile: Add rules to build and run tst-audit9.
5112
5113 2014-02-25  Florian Weimer  <fweimer@redhat.com>
5114
5115         [BZ #15347]
5116         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5117
5118 2014-02-25  Will Newton  <will.newton@linaro.org>
5119
5120         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5121         (__longjmp): Restore sp and lr before restoring callee
5122         saved registers.  Add longjmp and longjmp_target
5123         SystemTap probe point.
5124         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5125         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5126         Define to zero to match jmpbuf layout.
5127         * sysdeps/arm/setjmp.S: Include stap-probe.h.
5128         (__sigsetjmp): Save sp and lr before saving callee
5129         saved registers.  Add setjmp SystemTap probe point.
5130
5131 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5132
5133         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5134
5135 2014-02-24  Andreas Schwab  <schwab@suse.de>
5136
5137         [BZ #15804]
5138         * elf/pldd.c (wait_for_ptrace_stop): New function.
5139         (main): Call it after attaching.
5140
5141 2014-02-22  Roland McGrath  <roland@hack.frob.com>
5142
5143         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5144         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5145         Versions files is now verboten.
5146         * hurd/Versions (libc: GLIBC_2.0):
5147         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5148         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5149         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5150         * mach/Versions: Likewise.
5151
5152         * csu/Versions: Remove unused %include.
5153         * resolv/Versions: Likewise.
5154
5155 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
5156
5157         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5158         ($(objpfx)check-local-headers.out): Likewise.
5159         ($(objpfx)begin-end-check.out): Likewise.
5160         * Makerules (check-abi-%.out): Likewise.
5161         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5162         ($(objpfx)test2.cat): Likewise.
5163         ($(objpfx)de/libc.cat): Likewise.
5164         ($(objpfx)test-gencat.out): Likewise.
5165         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5166         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5167         ($(objpfx)noload-mem): Likewise.
5168         ($(objpfx)tst-pathopt.out): Likewise.
5169         ($(objpfx)tst-rtld-load-self.out): Likewise.
5170         ($(objpfx)tst-array1-cmp.out): Likewise.
5171         ($(objpfx)tst-array1-static-cmp.out): Likewise.
5172         ($(objpfx)tst-array2-cmp.out): Likewise.
5173         ($(objpfx)tst-array3-cmp.out): Likewise.
5174         ($(objpfx)tst-array4-cmp.out): Likewise.
5175         ($(objpfx)tst-array5-cmp.out): Likewise.
5176         ($(objpfx)tst-array5-static-cmp.out): Likewise.
5177         ($(objpfx)check-textrel.out): Likewise.
5178         ($(objpfx)check-execstack.out): Likewise.
5179         ($(objpfx)check-localplt.out): Likewise.
5180         ($(objpfx)order2-cmp.out): Likewise.
5181         ($(objpfx)tst-leaks1-mem): Likewise.
5182         ($(objpfx)tst-leaks1-static-mem): Likewise.
5183         ($(objpfx)tst-initorder-cmp.out): Likewise.
5184         ($(objpfx)tst-initorder2-cmp.out): Likewise.
5185         ($(objpfx)tst-unused-dep.out): Likewise.
5186         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5187         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5188         * iconv/Makefile (test-iconvconfig): Likewise.
5189         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5190         ($(objpfx)iconv-test.out): Likewise.
5191         ($(objpfx)tst-tables.out): Likewise.
5192         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5193         ($(objpfx)tst-gettext.out): Likewise.
5194         ($(objpfx)tst-translit.out): Likewise.
5195         ($(objpfx)tst-gettext2.out): Likewise.
5196         ($(objpfx)tst-gettext4.out): Likewise.
5197         ($(objpfx)tst-gettext6.out): Likewise.
5198         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5199         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5200         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5201         ($(objpfx)tst-fopenloc-mem.out): Likewise.
5202         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5203         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5204         * posix/Makefile ($(objpfx)globtest.out): Likewise.
5205         ($(objpfx)wordexp-tst.out): Likewise.
5206         ($(objpfx)annexc.out): Likewise.
5207         ($(objpfx)tst-fnmatch-mem): Likewise.
5208         ($(objpfx)bug-regex2-mem): Likewise.
5209         ($(objpfx)bug-regex14-mem): Likewise.
5210         ($(objpfx)bug-regex21-mem): Likewise.
5211         ($(objpfx)bug-regex31-mem): Likewise.
5212         ($(objpfx)tst-vfork3-mem): Likewise.
5213         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5214         ($(objpfx)tst-pcre-mem): Likewise.
5215         ($(objpfx)tst-boost-mem): Likewise.
5216         ($(objpfx)tst-getconf.out): Likewise.
5217         ($(objpfx)bug-ga2-mem): Likewise.
5218         ($(objpfx)bug-glob2-mem): Likewise.
5219         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5220         ($(objpfx)mtrace-tst-leaks2): Likewise.
5221         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5222         ($(objpfx)tst-printf.out): Likewise.
5223         ($(objpfx)tst-setvbuf1.out): Likewise.
5224         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5225         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5226         ($(objpfx)tst-fmtmsg.out): Likewise.
5227         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5228         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5229
5230         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5231         * bits/sigaction.h [__USE_MISC]: Likewise.
5232         * bits/waitstatus.h: Update #endif comments.
5233         * ctype/ctype.h: Likewise.
5234         * dirent/dirent.h: Likewise.
5235         [__USE_MISC]: Remove redundant conditionals.
5236         * grp/grp.h: Update #endif comments.
5237         [__USE_GNU]: Remove redundant conditionals.
5238         [__USE_MISC]: Likewise.
5239         * inet/netinet/in.h [__USE_GNU]: Likewise.
5240         * io/sys/stat.h [__USE_MISC]: Likewise.
5241         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5242         * libio/bits/stdio.h: Update #endif comments.
5243         [__USE_MISC]: Remove redundant conditionals.
5244         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5245         * libio/stdio.h: Update #endif comments.
5246         [__USE_MISC]: Remove redundant conditionals.
5247         * math/bits/math-finite.h [__USE_MISC]: Likewise.
5248         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5249         * math/math.h: Update #else and #endif comments.
5250         [__USE_MISC]: Remove redundant conditionals.
5251         * misc/sys/uio.h: Update #endif comments.
5252         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5253         * posix/glob.h [__USE_MISC]: Likewise.
5254         * posix/sys/types.h: Update #endif comments.
5255         [__USE_MISC]: Remove redundant conditionals.
5256         * posix/sys/wait.h: Update #endif comments.
5257         [__USE_MISC]: Remove redundant conditionals.
5258         * posix/unistd.h: Update #endif comments.
5259         [__USE_MISC]: Remove redundant conditionals.
5260         * pwd/pwd.h [__USE_GNU]: Likewise.
5261         [__USE_MISC]: Likewise.
5262         * resolv/netdb.h [__USE_GNU]: Likewise.
5263         * signal/signal.h: Update #endif comments.
5264         [__USE_MISC]: Remove redundant conditionals.
5265         * stdlib/stdlib.h: Update #else and #endif comments.
5266         [__USE_MISC]: Remove redundant conditionals.
5267         [__USE_GNU]: Likewise.
5268         * string/bits/string2.h [__USE_MISC]: Likewise.
5269         * string/string.h: Update #endif comments.
5270         [__USE_MISC]: Remove redundant conditionals.
5271         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5272         Likewise.
5273         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5274         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5275         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5276         Likewise.
5277         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5278         Likewise.
5279         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5280         comments.
5281         [__USE_MISC]: Remove redundant conditionals.
5282         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5283         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5284         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5285         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5286         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5287         Likewise.
5288         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5289         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5290         Likewise.
5291         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5292         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5293         Likewise.
5294         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5295         Likewise.
5296         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5297         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5298         Likewise.
5299         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5300         Likewise.
5301         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5302         * sysdeps/x86/bits/string.h: Update #endif comments.
5303         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5304         conditionals.
5305         * time/sys/time.h: Update #endif comments.
5306         * time/time.h: Likewise.
5307         [__USE_MISC]: Remove redundant conditionals.
5308
5309 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
5310
5311         [BZ #16600]
5312         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5313
5314 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
5315
5316         * Versions.def (librt): Add GLIBC_2.17.
5317
5318 2014-02-21  Adam Conrad  <adconrad@0c3.net>
5319
5320         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5321         synonym for _SYS_AUXV_H to allow direct inclusion.
5322         * sysdeps/sparc/bits/hwcap.h: Likewise.
5323         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5324         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5325         * sysdeps/sparc/sysdep.h: Likewise.
5326
5327 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5328
5329         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5330
5331 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5332
5333         * benchtests/bench-strrchr.c: Print length instead of position.
5334
5335 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
5336
5337         [BZ #16611]
5338         * sysdeps/unix/sysv/linux/kernel-features.h
5339         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5340         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5341         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5342         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5343         Likewise.
5344         [__i386__ || __powerpc__ || __sh__ || __sparc__]
5345         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5346         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5347         (__ASSUME_SENDMMSG): Define instead of using previous
5348         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5349         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5350         (__ASSUME_SENDMMSG_SYSCALL): Define.
5351         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5352         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5353         Likewise.
5354         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5355         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5356         Likewise.
5357         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5358         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5359         Likewise.
5360         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5361         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5362         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5363         [__ASSUME_SENDMMSG]: Change conditionals to
5364         [__ASSUME_SENDMMSG_SOCKETCALL].
5365         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5366         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5367         Define.
5368         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5369         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5370         Likewise.
5371         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5372         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5373         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5374         [!__ASSUME_SENDMMSG]: Change conditional to
5375         [!__ASSUME_SENDMMSG_SOCKETCALL].
5376         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5377         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5378         Define.
5379
5380         [BZ #16610]
5381         * sysdeps/unix/sysv/linux/kernel-features.h
5382         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5383         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5384         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5385         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5386         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5387         [__i386__ || __sparc__]
5388         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5389         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5390         (__ASSUME_RECVMMSG): Define instead of using previous
5391         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5392         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5393         (__ASSUME_RECVMMSG_SYSCALL): Define.
5394         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5395         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5396         Likewise.
5397         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5398         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5399         Likewise.
5400         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5401         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5402         Likewise.
5403         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5404         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5405         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5406         [__ASSUME_RECVMMSG]: Change condition to
5407         [__ASSUME_RECVMMSG_SOCKETCALL].
5408         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5409         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5410         Define.
5411         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5412         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5413         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5414         Likewise.
5415         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5416         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5417         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5418         [!__ASSUME_RECVMMSG]: Change condition to
5419         [!__ASSUME_RECVMMSG_SOCKETCALL].
5420         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5421         (__ASSUME_RECVMMSG_SYSCALL): Define.
5422
5423         [BZ #16609]
5424         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5425         __powerpc__ || __s390__ || __sh__ || __sparc__]
5426         (__ASSUME_SOCKETCALL): Define.
5427         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5428         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5429         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5430         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5431         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5432         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5433         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5434         (__ASSUME_ACCEPT4): Define instead of using previous
5435         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5436         __powerpc__ || __sparc__ || __s390__)] condition.
5437         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5438         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5439         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5440         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5441         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5442         [!__ASSUME_ACCEPT4]: Change condition to
5443         [!__ASSUME_ACCEPT4_SOCKETCALL].
5444         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5445         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
5446         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5447         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5448         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5449         __ASSUME_ACCEPT4_SYSCALL.
5450         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5451         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5452         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5453         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5454         __ASSUME_ACCEPT4_SYSCALL.
5455         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5456         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5457         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5458         [__ASSUME_ACCEPT4]: Change condition to
5459         [__ASSUME_ACCEPT4_SOCKETCALL].
5460         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5461         (__ASSUME_SOCKETCALL): Define.
5462         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5463         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5464         (__ASSUME_SOCKETCALL): Define.
5465         (__ASSUME_ACCEPT4): Remove.
5466         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5467         Define.
5468         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5469         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5470         Likewise.
5471         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5472         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5473
5474         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5475         macro.
5476         (HWCAP_ARM_LPAE): Likewise.
5477         (HWCAP_ARM_EVTSTRM): Likewise.
5478         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5479         Add vpfd32, lpae and evtstrm.
5480         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5481         Increase to 22.
5482
5483 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
5484
5485         * math/auto-libm-test-in: Add tests of clog10.
5486         * math/auto-libm-test-out: Regenerated.
5487         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5488         * sysdeps/i386/fpu/libm-test-ulps: Update.
5489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5490
5491 2014-02-18  Andreas Schwab  <schwab@suse.de>
5492
5493         [BZ #16574]
5494         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5495         Store non-zero if the second buffer was newly allocated.
5496         (send_dg): Likewise.
5497         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5498         to send_vc and send_dg.
5499         (res_nsend): Pass NULL for ansp2_malloced.
5500         * resolv/res_query.c (__libc_res_nquery): Add parameter
5501         answerp2_malloced and pass it down to __libc_res_nsend.
5502         (res_nquery): Pass additional NULL to __libc_res_nquery.
5503         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5504         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
5505         second answer buffer if answerp2_malloced was set.
5506         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5507         (__libc_res_nquerydomain): Add parameter
5508         answerp2_malloced and pass it down to __libc_res_nquery.
5509         (res_nquerydomain): Pass additional NULL to
5510         __libc_res_nquerydomain.
5511         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5512         additional NULL to __libc_res_nsend and __libc_res_nquery.
5513         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5514         additional NULL to __libc_res_nsearch.
5515         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
5516         parameter of __libc_res_nsearch to check for separately allocated
5517         second buffer.
5518         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5519         __libc_res_nquery.
5520         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5521         additional NULL to __libc_res_nquery.
5522         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5523         __libc_res_nsearch.
5524         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5525         * include/resolv.h: Update prototypes of __libc_res_nquery,
5526         __libc_res_nsearch, __libc_res_nsend.
5527
5528 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
5529
5530         * math/auto-libm-test-in: Add tests of fma.
5531         * math/auto-libm-test-out: Regenerated.
5532         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5533         (fma_towardzero_test_data): Likewise.
5534         (fma_downward_test_data): Likewise.
5535         (fma_upward_test_data): Likewise.
5536         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5537         mpc_mode.
5538         (rounding_modes): Add values for new field.
5539         (func_calc_method): Add value mpfr_fff_f.
5540         (func_calc_desc): Add mpfr_fff_f union field.
5541         (test_function): Add field exact_args.
5542         (FUNC): Add macro argument EXACT_ARGS.
5543         (FUNC_mpfr_f_f): Update call to FUNC.
5544         (FUNC_mpfr_f_f): Likewise.
5545         (FUNC_mpfr_ff_f): Likewise.
5546         (FUNC_mpfr_if_f): Likewise.
5547         (FUNC_mpc_c_f): Likewise.
5548         (FUNC_mpc_c_c): Likewise.
5549         (test_functions): Add fma.  Update calls to FUNC.
5550         (handle_input_arg): Add argument exact_args.
5551         (add_test): Update call to handle_input_arg.
5552         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
5553         (output_for_one_input_case): Update call to calc_generic_results.
5554         Recalculate exact zero results in each rounding mode.
5555
5556         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5557         non-negative before setting low bit.
5558         * math/auto-libm-test-in: Mark one asin test possibly having
5559         spurious underflow.
5560         * math/auto-libm-test-out: Regenerated.
5561         * sysdeps/i386/fpu/libm-test-ulps: Update.
5562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5563
5564 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
5565
5566         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5567         * sysdeps/unix/sysv/linux/microblaze: Move directory from
5568         ports/sysdeps/unix/sysv/linux/microblaze.
5569         * README: Add missing listing for microblaze*-*-linux-gnu.
5570
5571 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
5572
5573         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5574         * sysdeps/unix/sysv/linux/ia64: Move directory from
5575         ports/sysdeps/unix/sysv/linux/ia64.
5576         * README: Update listing for ia64-*-linux-gnu.
5577
5578 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
5579             Joseph Myers  <joseph@codesourcery.com>
5580
5581         * Makeconfig (test-name): New variable.
5582         (evaluate-test): Likewise.
5583         * Makerules (do-test-clean): Remove .test-result files.
5584         (common-mostlyclean): Likewise.
5585         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5586         * scripts/evaluate-test.sh: New file.
5587
5588 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
5589
5590         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5591         separate $(objpfx)tst-fopenloc-cmp.out and
5592         $(objpfx)tst-fopenloc-mem.out targets.
5593         (tests): Update dependencies.
5594         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5595         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5596         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5597         (tst-rxspencer-no-utf8-ARGS): New variable.
5598         (tst-rxspencer-no-utf8-ENV): Likewise.
5599         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5600         instead of $(objpfx)tst-rxspencer-mem.
5601         ($(objpfx)tst-rxspencer-mem): Change target to
5602         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
5603         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5604         * posix/tst-rxspencer-no-utf8.c: New file.
5605
5606         * elf/Makefile ($(objpfx)order.out): Remove rule.
5607         [$(run-built-tests) = yes] (tests): Depend on
5608         $(objpfx)order-cmp.out.
5609         ($(objpfx)order-cmp.out): New rule.
5610         [$(run-built-tests) = yes] (tests): Depend on
5611         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5612         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5613         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5614         $(objpfx)tst-array5-static-cmp.out.
5615         ($(objpfx)tst-array1.out): Remove rule.
5616         ($(objpfx)tst-array1-cmp.out): New rule.
5617         ($(objpfx)tst-array1-static.out): Remove rule.
5618         ($(objpfx)tst-array1-static-cmp.out): New rule.
5619         ($(objpfx)tst-array2.out): Remove rule.
5620         ($(objpfx)tst-array2-cmp.out): New rule.
5621         ($(objpfx)tst-array3.out): Remove rule.
5622         ($(objpfx)tst-array3-cmp.out): New rule.
5623         ($(objpfx)tst-array4.out): Remove rule.
5624         ($(objpfx)tst-array4-cmp.out): New rule.
5625         ($(objpfx)tst-array5.out): Remove rule.
5626         ($(objpfx)tst-array5-cmp.out): New rule.
5627         ($(objpfx)tst-array5-static.out): Remove rule.
5628         ($(objpfx)tst-array5-static-cmp.out): New rule.
5629         [$(run-built-tests) = yes] (tests): Depend on
5630         $(objpfx)order2-cmp.out.
5631         ($(objpfx)order2.out): Remove rule.
5632         ($(objpfx)order2-cmp.out): New rule.
5633         ($(objpfx)tst-initorder.out): Remove rule.
5634         [$(run-built-tests) = yes] (tests): Depend on
5635         $(objpfx)tst-initorder-cmp.out.
5636         ($(objpfx)tst-initorder-cmp.out): New rule.
5637         ($(objpfx)tst-initorder2.out): Remove rule.
5638         [$(run-built-tests) = yes] (tests): Depend on
5639         $(objpfx)tst-initorder2-cmp.out.
5640         ($(objpfx)tst-initorder2-cmp.out): New rule.
5641         [$(run-built-tests) = yes] (tests): Depend on
5642         $(objpfx)tst-unused-dep-cmp.out.
5643         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5644         ($(objpfx)tst-unused-dep-cmp.out): New rule.
5645         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5646         on $(objpfx)tst-setvbuf1-cmp.out.
5647         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5648         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5649         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5650         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5651         ($(objpfx)tst-svc.out): Remove rule.
5652         ($(objpfx)tst-svc-cmp.out): New rule.
5653
5654 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
5655
5656         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5657         * ctype/ctype.h [__USE_MISC]: Likewise.
5658         * dirent/dirent.h [__USE_MISC]: Likewise.
5659         * grp/grp.h [__USE_MISC]: Likewise.
5660         * io/fcntl.h [__USE_MISC]: Likewise.
5661         * io/sys/stat.h [__USE_MISC]: Likewise.
5662         * libio/stdio.h [__USE_MISC]: Likewise.
5663         * posix/unistd.h [__USE_MISC]: Likewise.
5664         * pwd/pwd.h [__USE_MISC]: Likewise.
5665         * stdlib.h [__USE_MISC]: Likewise.
5666         * string/bits/string2.h [__USE_MISC]: Likewise.
5667         * string/string.h [__USE_MISC]: Likewise.
5668         * time/time.h [__USE_MISC]: Likewise.
5669
5670 2014-02-13  Andreas Schwab  <schwab@suse.de>
5671
5672         [BZ #16574]
5673         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5674         second answer buffer if it was separately allocated.
5675
5676 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
5677
5678         * sysdeps/mips/math-tests.h: Include <features.h>.
5679         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5680         (ROUNDING_TESTS_long_double): Do not define.
5681         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5682         (EXCEPTION_TESTS_long_double): Likewise.
5683         * sysdeps/mips/mips64/libm-test-ulps: Update.
5684
5685         * include/features.h (__USE_BSD): Remove macro definitions.
5686         (__USE_SVID): Likewise.
5687         (_BSD_SOURCE): Likewise.
5688         (_SVID_SOURCE): Likewise.
5689         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5690         from definition of _DEFAULT_SOURCE.
5691         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5692         [_DEFAULT_SOURCE].
5693         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5694         * bits/mman.h [__USE_BSD]: Likewise.
5695         * bits/termios.h [__USE_BSD]: Likewise.
5696         * bits/waitstatus.h [__USE_BSD]: Likewise.
5697         * ctype/ctype.h [__USE_SVID]: Likewise.
5698         * dirent/dirent.h [__USE_BSD]: Likewise.
5699         * grp/grp.h [__USE_SVID]: Likewise.
5700         [__USE_BSD]: Likewise.
5701         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5702         * io/fcntl.h [__USE_BSD]: Likewise.
5703         * io/ftw.h [__USE_BSD]: Likewise.
5704         * io/sys/stat.h [__USE_BSD]: Likewise.
5705         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5706         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5707         * libio/stdio.h [__USE_SVID]: Likewise.
5708         [__USE_BSD]: Likewise.
5709         * math/math.h [__USE_SVID]: Likewise.
5710         [__USE_BSD]: Likewise.
5711         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5712         * misc/bits/syslog.h [__USE_BSD]: Likewise.
5713         * misc/search.h [__USE_SVID]: Likewise.
5714         * misc/sys/mman.h [__USE_BSD]: Likewise.
5715         * misc/sys/syslog.h [__USE_BSD]: Likewise.
5716         * misc/sys/uio.h [__USE_BSD]: Likewise.
5717         * posix/bits/unistd.h [__USE_BSD]: Likewise.
5718         * posix/glob.h [__USE_BSD]: Likewise.
5719         * posix/regex.h [__USE_BSD]: Likewise.
5720         * posix/sys/types.h [__USE_BSD]: Likewise.
5721         [__USE_SVID]: Likewise.
5722         * posix/sys/utsname.h [__USE_SVID]: Likewise.
5723         * posix/sys/wait.h [__USE_BSD]: Likewise.
5724         [__USE_SVID]: Likewise.
5725         * posix/unistd.h [__USE_BSD]: Likewise.
5726         [__USE_SVID]: Likewise.
5727         * pwd/pwd.h [__USE_SVID]: Likewise.
5728         * resolv/netdb.h [__USE_BSD]: Likewise.
5729         * setjmp/setjmp.h [__USE_BSD]: Likewise.
5730         * signal/signal.h [__USE_BSD]: Likewise.
5731         [__USE_SVID]: Likewise.
5732         * socket/sys/socket.h [__USE_BSD]: Likewise.
5733         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5734         * stdlib/stdlib.h [__USE_BSD]: Likewise.
5735         [__USE_SVID]: Likewise.
5736         * string/bits/string2.h [__USE_BSD]: Likewise.
5737         [__USE_SVID]: Likewise.
5738         * string/bits/string3.h [__USE_BSD]: Likewise.
5739         * string/endian.h [__USE_BSD]: Likewise.
5740         * string/string.h [__USE_SVID]: Likewise.
5741         [__USE_BSD]: Likewise.
5742         * string/strings.h [__USE_BSD]: Likewise.
5743         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5744         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5745         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5746         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5747         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5748         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5749         Likewise.
5750         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5751         Likewise.
5752         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5753         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5754         Likewise.
5755         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5756         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5757         Likewise.
5758         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5759         Likewise.
5760         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5761         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5762         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5763         Likewise.
5764         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5765         Likewise.
5766         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5767         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5768         * termios/termios.h [__USE_BSD]: Likewise.
5769         * time/sys/time.h [__USE_BSD]: Likewise.
5770         * time/time.h [__USE_BSD]: Likewise.
5771         [__USE_SVID]: Likewise.
5772
5773         * Makefile (subdir_targets): Remove subdir_lint.out.
5774
5775         * stdio-common/Makefile (do-tst-unbputc): Remove target.
5776         (do-tst-printf): Likewise.
5777         (tests): Depend directly on $(objpfx)tst-unbputc.out and
5778         $(objpfx)tst-printf.out.
5779
5780         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5781
5782         * Makerules (check-abi-%): Change target to
5783         $(objpfx)check-abi-%.out.
5784         (check-abi target): Update dependencies.
5785         (check-abi-pattern variable): Redirect output of diff to $@.
5786         (check-abi variable): Likewise.
5787         * elf/Makefile (check-abi): Update dependencies.
5788
5789         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5790         unused.
5791         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5792         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5793         subnormal range.
5794         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5795         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5796         value has largest subnormal exponent.
5797         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5798         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5799         * sysdeps/aarch64/soft-fp/sfp-machine.h
5800         (_FP_TININESS_AFTER_ROUNDING): New macro.
5801         * sysdeps/alpha/soft-fp/sfp-machine.h
5802         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5803         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5804         Likewise.
5805         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5806         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5807         * sysdeps/mips/soft-fp/sfp-machine.h
5808         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5809         * sysdeps/powerpc/soft-fp/sfp-machine.h
5810         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5811         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5812         Likewise.
5813         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5814         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5815         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5816         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5817         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5818         Likewise.
5819
5820 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
5821
5822         [BZ #16545]
5823         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5824         model 1.
5825
5826 2014-02-12  Richard Henderson  <rth@redhat.com>
5827
5828         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5829         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5830         * sysdeps/unix/sysv/linux/alpha: Move directory from
5831         ports/sysdeps/unix/sysv/linux/alpha.
5832         * README: Update listing for alpha-*-linux-gnu.
5833
5834 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
5835
5836         * include/features.h: Update comment documenting feature test
5837         macros.
5838         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
5839         _DEFAULT_SOURCE.
5840         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5841         (_SVID_SOURCE): Likewise.
5842         (_DEFAULT_SOURCE): Update description of default features.
5843         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5844         with _GNU_SOURCE.
5845         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5846         (S_ISVTX): Likewise.
5847         * manual/math.texi (Mathematical Constants): Likewise.
5848         * manual/signal.texi (Interrupted Primitives): Likewise.
5849         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5850         * math/test-matherr.c (_SVID_SOURCE): Do not define.
5851         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5852         Don't refer to _SVID_SOURCE in warning text.
5853
5854         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5855
5856         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5857         already defined.
5858         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5859         * sysdeps/mips/dl-lookup.c: Remove.
5860         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5861
5862 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5863
5864         [BZ #16447]
5865         * math/auto-libm-test-in: Add testcase for expl.
5866         * math/auto-libm-test-out: Regenerate.
5867         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5868         calculation of unsafe.
5869         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5870
5871 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5872
5873         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5874         * sysdeps/unix/sysv/linux/aarch64: Move directory from
5875         ports/sysdeps/unix/sysv/linux/aarch64.
5876         * README: Update listing for aarch64*-*-linux-gnu.
5877
5878 2014-02-11  Will Newton  <will.newton@linaro.org>
5879
5880         * manual/probes.texi (Mathematical Function Probes): Use
5881         "triggered" instead of "hit".
5882
5883         * manual/probes.texi (Internal Probes): Add documentation
5884         of setjmp, longjmp and longjmp_target probes.
5885
5886         * include/stap-probe.h: Add comment about probe argument
5887         format.
5888
5889         * malloc/mtrace.c (attribute_hidden): Remove unused macro
5890         definition.  (tr_where, tr_freehook, tr_mallochook,
5891         tr_reallochook, tr_memalignhook): Use ANSI protoype.
5892
5893 2014-02-11  David S. Miller  <davem@davemloft.net>
5894
5895         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5896         processing int_tests.
5897
5898 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
5899
5900         * sysdeps/mips: Move directory from ports/sysdeps/mips.
5901         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5902         * sysdeps/unix/sysv/linux/mips: Move directory from
5903         ports/sysdeps/unix/sysv/linux/mips.
5904         * README: Update listing for mips-*-linux-gnu and
5905         mips64-*-linux-gnu.
5906
5907 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
5908
5909         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5910         * sysdeps/unix/sysv/linux/m68k: Move directory from
5911         ports/sysdeps/unix/sysv/linux/m68k.
5912         * README: Update listing for m68k-*-linux-gnu.
5913
5914 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
5915
5916         * sysdeps/tile: Move directory from ports/sysdeps/tile.
5917         * sysdeps/unix/sysv/linux/generic: Move directory from
5918         ports/sysdeps/unix/sysv/linux/generic.
5919         * sysdeps/unix/sysv/linux/tile: Move directory from
5920         ports/sysdeps/unix/sysv/linux/tile.
5921         * README: Update listing for tile*-*-linux-gnu.
5922
5923 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
5924
5925         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5926         __builtin_expect.
5927         * benchtests/bench-memmem.c (simple_memmem): Likewise.
5928         * catgets/open_catalog.c (__open_catalog): Likewise.
5929         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5930         * debug/confstr_chk.c: Likewise.
5931         * debug/fread_chk.c (__fread_chk): Likewise.
5932         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5933         * debug/getgroups_chk.c: Likewise.
5934         * debug/mbsnrtowcs_chk.c: Likewise.
5935         * debug/mbsrtowcs_chk.c: Likewise.
5936         * debug/mbstowcs_chk.c: Likewise.
5937         * debug/memcpy_chk.c: Likewise.
5938         * debug/memmove_chk.c: Likewise.
5939         * debug/mempcpy_chk.c: Likewise.
5940         * debug/memset_chk.c: Likewise.
5941         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5942         * debug/strcat_chk.c (__strcat_chk): Likewise.
5943         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5944         * debug/strncat_chk.c (__strncat_chk): Likewise.
5945         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5946         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5947         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5948         * debug/wcpncpy_chk.c: Likewise.
5949         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5950         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5951         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5952         * debug/wcsncpy_chk.c: Likewise.
5953         * debug/wcsnrtombs_chk.c: Likewise.
5954         * debug/wcsrtombs_chk.c: Likewise.
5955         * debug/wcstombs_chk.c: Likewise.
5956         * debug/wmemcpy_chk.c: Likewise.
5957         * debug/wmemmove_chk.c: Likewise.
5958         * debug/wmempcpy_chk.c: Likewise.
5959         * debug/wmemset_chk.c: Likewise.
5960         * dirent/scandirat.c (SCANDIRAT): Likewise.
5961         * dlfcn/dladdr1.c (dladdr1): Likewise.
5962         * dlfcn/dladdr.c (dladdr): Likewise.
5963         * dlfcn/dlclose.c (dlclose_doit): Likewise.
5964         * dlfcn/dlerror.c (__dlerror): Likewise.
5965         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5966         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5967         * dlfcn/dlopen.c (dlopen_doit): Likewise.
5968         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5969         * dlfcn/dlsym.c (dlsym_doit): Likewise.
5970         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5971         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5972         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5973         Likewise.
5974         * elf/dl-conflict.c: Likewise.
5975         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5976         * elf/dl-dst.h: Likewise.
5977         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5978         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5979         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5980         * elf/dl-init.c (call_init, _dl_init): Likewise.
5981         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5982         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5983         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5984         Likewise.
5985         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5986         Likewise.
5987         * elf/dl-minimal.c (__libc_memalign): Likewise.
5988         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5989         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5990         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5991         * elf/dl-sym.c (do_sym): Likewise.
5992         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5993         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
5994         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5995         * elf/dl-writev.h (_dl_writev): Likewise.
5996         * elf/ldconfig.c (search_dir): Likewise.
5997         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5998         (dl_main): Likewise.
5999         * elf/setup-vdso.h (setup_vdso): Likewise.
6000         * grp/compat-initgroups.c (compat_call): Likewise.
6001         * grp/fgetgrent.c (fgetgrent): Likewise.
6002         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6003         * grp/putgrent.c (putgrent): Likewise.
6004         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6005         Likewise.
6006         * hurd/hurdinit.c: Likewise.
6007         * iconvdata/8bit-gap.c (struct): Likewise.
6008         * iconvdata/ansi_x3.110.c : Likewise.
6009         * iconvdata/big5.c : Likewise.
6010         * iconvdata/big5hkscs.c : Likewise.
6011         * iconvdata/cp1255.c: Likewise.
6012         * iconvdata/cp1258.c : Likewise.
6013         * iconvdata/cp932.c : Likewise.
6014         * iconvdata/euc-cn.c: Likewise.
6015         * iconvdata/euc-jisx0213.c : Likewise.
6016         * iconvdata/euc-jp.c: Likewise.
6017         * iconvdata/euc-jp-ms.c : Likewise.
6018         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6019         * iconvdata/gb18030.c : Likewise.
6020         * iconvdata/gbbig5.c (const): Likewise.
6021         * iconvdata/gbgbk.c: Likewise.
6022         * iconvdata/gbk.c : Likewise.
6023         * iconvdata/ibm1364.c : Likewise.
6024         * iconvdata/ibm930.c : Likewise.
6025         * iconvdata/ibm932.c: Likewise.
6026         * iconvdata/ibm933.c : Likewise.
6027         * iconvdata/ibm935.c : Likewise.
6028         * iconvdata/ibm937.c : Likewise.
6029         * iconvdata/ibm939.c : Likewise.
6030         * iconvdata/ibm943.c: Likewise.
6031         * iconvdata/iso_11548-1.c: Likewise.
6032         * iconvdata/iso-2022-cn.c : Likewise.
6033         * iconvdata/iso-2022-cn-ext.c : Likewise.
6034         * iconvdata/iso-2022-jp-3.c: Likewise.
6035         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6036         * iconvdata/iso-2022-kr.c : Likewise.
6037         * iconvdata/iso646.c (gconv_end): Likewise.
6038         * iconvdata/iso_6937-2.c : Likewise.
6039         * iconvdata/iso_6937.c : Likewise.
6040         * iconvdata/iso8859-1.c: Likewise.
6041         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6042         * iconvdata/shift_jisx0213.c : Likewise.
6043         * iconvdata/sjis.c : Likewise.
6044         * iconvdata/t.61.c : Likewise.
6045         * iconvdata/tcvn5712-1.c : Likewise.
6046         * iconvdata/tscii.c: Likewise.
6047         * iconvdata/uhc.c : Likewise.
6048         * iconvdata/unicode.c (gconv_end): Likewise.
6049         * iconvdata/utf-16.c (gconv_end): Likewise.
6050         * iconvdata/utf-32.c (gconv_end): Likewise.
6051         * iconvdata/utf-7.c (base64): Likewise.
6052         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6053         * iconv/gconv_close.c (__gconv_close): Likewise.
6054         * iconv/gconv_open.c (__gconv_open): Likewise.
6055         * iconv/gconv_simple.c (internal_ucs4_loop_single)
6056         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6057         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6058         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6059         (ucs4le_internal_loop_single): Likewise.
6060         * iconv/iconv.c (iconv): Likewise.
6061         * iconv/iconv_close.c: Likewise.
6062         * iconv/loop.c (SINGLE): Likewise.
6063         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6064         * include/atomic.h: Likewise.
6065         * inet/inet6_option.c (option_alloc): Likewise.
6066         * intl/bindtextdom.c (set_binding_values): Likewise.
6067         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6068         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6069         * intl/localealias.c (read_alias_file): Likewise.
6070         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6071         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6072         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
6073         * libio/fmemopen.c (fmemopen): Likewise.
6074         * libio/iofgets.c (_IO_fgets): Likewise.
6075         * libio/iofgets_u.c (fgets_unlocked): Likewise.
6076         * libio/iofgetws.c (fgetws): Likewise.
6077         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6078         * libio/iogetdelim.c (_IO_getdelim): Likewise.
6079         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6080         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
6081         * locale/findlocale.c (_nl_find_locale): Likewise.
6082         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6083         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6084         Likewise.
6085         * locale/setlocale.c (setlocale): Likewise.
6086         * login/programs/pt_chown.c (main): Likewise.
6087         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6088         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
6089         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6090         (mmap, mmap64, mremap, munmap): Likewise.
6091         * math/e_exp2l.c: Likewise.
6092         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6093         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6094         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6095         * math/s_catan.c (__catan): Likewise.
6096         * math/s_catanf.c (__catanf): Likewise.
6097         * math/s_catanh.c (__catanh): Likewise.
6098         * math/s_catanhf.c (__catanhf): Likewise.
6099         * math/s_catanhl.c (__catanhl): Likewise.
6100         * math/s_catanl.c (__catanl): Likewise.
6101         * math/s_ccosh.c (__ccosh): Likewise.
6102         * math/s_ccoshf.c (__ccoshf): Likewise.
6103         * math/s_ccoshl.c (__ccoshl): Likewise.
6104         * math/s_cexp.c (__cexp): Likewise.
6105         * math/s_cexpf.c (__cexpf): Likewise.
6106         * math/s_cexpl.c (__cexpl): Likewise.
6107         * math/s_clog10.c (__clog10): Likewise.
6108         * math/s_clog10f.c (__clog10f): Likewise.
6109         * math/s_clog10l.c (__clog10l): Likewise.
6110         * math/s_clog.c (__clog): Likewise.
6111         * math/s_clogf.c (__clogf): Likewise.
6112         * math/s_clogl.c (__clogl): Likewise.
6113         * math/s_csin.c (__csin): Likewise.
6114         * math/s_csinf.c (__csinf): Likewise.
6115         * math/s_csinh.c (__csinh): Likewise.
6116         * math/s_csinhf.c (__csinhf): Likewise.
6117         * math/s_csinhl.c (__csinhl): Likewise.
6118         * math/s_csinl.c (__csinl): Likewise.
6119         * math/s_csqrt.c (__csqrt): Likewise.
6120         * math/s_csqrtf.c (__csqrtf): Likewise.
6121         * math/s_csqrtl.c (__csqrtl): Likewise.
6122         * math/s_ctan.c (__ctan): Likewise.
6123         * math/s_ctanf.c (__ctanf): Likewise.
6124         * math/s_ctanh.c (__ctanh): Likewise.
6125         * math/s_ctanhf.c (__ctanhf): Likewise.
6126         * math/s_ctanhl.c (__ctanhl): Likewise.
6127         * math/s_ctanl.c (__ctanl): Likewise.
6128         * math/w_pow.c: Likewise.
6129         * math/w_powf.c: Likewise.
6130         * math/w_powl.c: Likewise.
6131         * math/w_scalb.c (sysv_scalb): Likewise.
6132         * math/w_scalbf.c (sysv_scalbf): Likewise.
6133         * math/w_scalbl.c (sysv_scalbl): Likewise.
6134         * misc/error.c (error_tail): Likewise.
6135         * misc/pselect.c (__pselect): Likewise.
6136         * nis/nis_callback.c (__nis_create_callback): Likewise.
6137         * nis/nis_call.c (__nisfind_server): Likewise.
6138         * nis/nis_creategroup.c (nis_creategroup): Likewise.
6139         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6140         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6141         * nis/nis_getservlist.c (nis_getservlist): Likewise.
6142         * nis/nis_lookup.c (nis_lookup): Likewise.
6143         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
6144         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6145         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
6146         * nis/nis_xdr.c (xdr_endpoint): Likewise.
6147         * nis/nss_compat/compat-grp.c (getgrent_next_file)
6148         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6149         * nis/nss_compat/compat-initgroups.c (add_group)
6150         (internal_getgrent_r): Likewise.
6151         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6152         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6153         * nis/nss_compat/compat-spwd.c (getspent_next_file)
6154         (internal_getspnam_r): Likewise.
6155         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6156         (_nss_nis_getaliasbyname_r): Likewise.
6157         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6158         (_nss_nis_getntohost_r): Likewise.
6159         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6160         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6161         (_nss_nis_getgrgid_r): Likewise.
6162         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6163         (internal_nis_gethostent_r, internal_gethostbyname2_r)
6164         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6165         (_nss_nis_gethostbyname4_r): Likewise.
6166         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6167         (initgroups_netid): Likewise.
6168         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
6169         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6170         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6171         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6172         (_nss_nis_getprotobynumber_r): Likewise.
6173         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6174         (_nss_nis_getsecretkey): Likewise.
6175         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6176         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6177         (_nss_nis_getpwuid_r): Likewise.
6178         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6179         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6180         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6181         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6182         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6183         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
6184         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6185         Likewise.
6186         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6187         (_nss_nisplus_getntohost_r): Likewise.
6188         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6189         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6190         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6191         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
6192         Likewise.
6193         * nis/nss_nisplus/nisplus-initgroups.c
6194         (_nss_nisplus_initgroups_dyn): Likewise.
6195         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6196         (_nss_nisplus_getnetbyaddr_r): Likewise.
6197         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6198         (_nss_nisplus_getprotobynumber_r): Likewise.
6199         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6200         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
6201         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6202         Likewise.
6203         * nis/nss_nisplus/nisplus-service.c
6204         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6205         (_nss_nisplus_getservbyport_r): Likewise.
6206         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6207         (_nss_nisplus_getspnam_r): Likewise.
6208         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6209         Likewise.
6210         * nscd/aicache.c (addhstaiX): Likewise.
6211         * nscd/cache.c (cache_search, prune_cache): Likewise.
6212         * nscd/connections.c (register_traced_file, send_ro_fd)
6213         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6214         (main_loop_epoll): Likewise.
6215         * nscd/grpcache.c (addgrbyX): Likewise.
6216         * nscd/hstcache.c (addhstbyX): Likewise.
6217         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6218         * nscd/mem.c (gc, mempool_alloc): Likewise.
6219         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6220         (addinnetgrX): Likewise.
6221         * nscd/nscd-client.h (__nscd_acquire_maplock)
6222         (__nscd_drop_map_ref): Likewise.
6223         * nscd/nscd_getai.c (__nscd_getai): Likewise.
6224         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6225         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6226         Likewise.
6227         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6228         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6229         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6230         (__nscd_get_map_ref): Likewise.
6231         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
6232         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6233         Likewise.
6234         * nscd/pwdcache.c (addpwbyX): Likewise.
6235         * nscd/selinux.c (preserve_capabilities): Likewise.
6236         * nscd/servicescache.c (addservbyX): Likewise.
6237         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6238         * posix/fnmatch.c (fnmatch): Likewise.
6239         * posix/getopt.c (_getopt_internal_r): Likewise.
6240         * posix/glob.c (glob, glob_in_dir): Likewise.
6241         * posix/wordexp.c (exec_comm_child): Likewise.
6242         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6243         (getanswer_r, gaih_getanswer_slice): Likewise.
6244         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6245         * resolv/res_init.c: Likewise.
6246         * resolv/res_mkquery.c (res_nmkquery): Likewise.
6247         * resolv/res_query.c (__libc_res_nquery): Likewise.
6248         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6249         Likewise.
6250         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6251         * stdio-common/perror.c (perror): Likewise.
6252         * stdio-common/printf_fp.c (___printf_fp): Likewise.
6253         * stdio-common/tmpnam.c (tmpnam): Likewise.
6254         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6255         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
6256         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6257         Likewise.
6258         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6259         * stdlib/putenv.c (putenv): Likewise.
6260         * stdlib/setenv.c (__add_to_environ): Likewise.
6261         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6262         * stdlib/strtol_l.c (INTERNAL): Likewise.
6263         * string/memmem.c (memmem): Likewise.
6264         * string/strerror.c (strerror): Likewise.
6265         * string/strnlen.c (__strnlen): Likewise.
6266         * string/test-memmem.c (simple_memmem): Likewise.
6267         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6268         * sunrpc/pm_getport.c (__get_socket): Likewise.
6269         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6270         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6271         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6272         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
6273         Likewise.
6274         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6275         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6276         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6277         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6278         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
6279         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6280         Likewise.
6281         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6282         Likewise.
6283         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6284         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6285         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6286         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6287         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6288         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6289         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6290         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6291         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6292         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6293         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6294         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6295         Likewise.
6296         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6297         Likewise.
6298         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6299         Likewise.
6300         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6301         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6302         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6303         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6304         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6305         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6306         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6307         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6308         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6309         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6310         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6311         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6312         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6313         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6314         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6315         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6316         Likewise.
6317         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6318         Likewise.
6319         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6320         Likewise.
6321         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6322         Likewise.
6323         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6324         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6325         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6326         Likewise.
6327         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6328         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6329         * sysdeps/posix/opendir.c (__opendirat): Likewise.
6330         * sysdeps/posix/sleep.c: Likewise.
6331         * sysdeps/posix/tempname.c: Likewise.
6332         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6333         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6334         Likewise.
6335         * sysdeps/powerpc/powerpc32/dl-machine.h
6336         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
6337         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6338         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6339         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6340         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6341         Likewise.
6342         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
6343         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6344         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6345         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6346         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6347         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6348         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6349         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6350         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6351         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
6352         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6353         (elf_machine_lazy_rel): Likewise.
6354         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6355         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6356         (elf_machine_lazy_rel): Likewise.
6357         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6358         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6359         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6360         * sysdeps/unix/grantpt.c (grantpt): Likewise.
6361         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6362         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6363         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6364         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6365         Likewise.
6366         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6367         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6368         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6369         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6370         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6371         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6372         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6373         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6374         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6375         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6376         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6377         Likewise.
6378         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6379         (__posix_fallocate64_l64): Likewise.
6380         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6381         (posix_fallocate): Likewise.
6382         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6383         Likewise.
6384         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6385         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6386         (getifaddrs_internal): Likewise.
6387         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6388         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6389         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6390         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6391         * sysdeps/unix/sysv/linux/posix_fallocate64.c
6392         (__posix_fallocate64_l64): Likewise.
6393         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6394         Likewise.
6395         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
6396         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6397         (__get_clockfreq): Likewise.
6398         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6399         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6400         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6401         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6402         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6403         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6404         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6405         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6406         Likewise.
6407         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6408         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6409         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6410         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6411         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6412         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6413         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6414         Likewise.
6415         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6416         (posix_fallocate): Likewise.
6417         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6418         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6419         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
6420         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6421         (elf_machine_rela, elf_machine_rela_relative)
6422         (elf_machine_lazy_rel): Likewise.
6423         * time/asctime.c (asctime_internal): Likewise.
6424         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6425         * time/tzset.c (__tzset_parse_tz): Likewise.
6426         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6427         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6428         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6429         * wcsmbs/wcsmbsload.h: Likewise.
6430
6431         [BZ #15894]
6432         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6433
6434         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6435         (arena_get2): Remove THREAD_STATS conditionals.
6436         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6437         (__malloc_stats, int): Likewise.
6438
6439 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
6440
6441         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6442         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
6443
6444         * manual/setjmp.texi: Fix typos/grammar errors.
6445
6446         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6447         Only return early when n is <= 0.  Delete unused return statement.
6448
6449         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6450         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6451         * debug/tst-longjmp_chk3.c: New file.
6452
6453         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6454         (test_main): Replace code with set_fortify_handler call.
6455         * debug/test-strcpy_chk.c: Likewise.
6456         * debug/tst-chk1.c: Likewise.
6457         * debug/tst-longjmp_chk.c: Likewise.
6458         * test-skeleton.c: Include fcntl.h & paths.h
6459         (set_fortify_handler): Define.
6460
6461         * debug/tst-longjmp_chk.c: Add header comment and include
6462         ../test-skeleton.c.
6463         (do_test): Mark static.
6464         (TEST_FUNCTION): Define.
6465
6466         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6467         (IP_PMTUDISC_INTERFACE): Likewise.
6468         (IP_MULTICAST_IF): Likewise.
6469         (IP_MULTICAST_TTL): Likewise.
6470         (IP_MULTICAST_LOOP): Likewise.
6471         (IP_ADD_MEMBERSHIP): Likewise.
6472         (IP_DROP_MEMBERSHIP): Likewise.
6473         (IP_UNBLOCK_SOURCE): Likewise.
6474         (IP_BLOCK_SOURCE): Likewise.
6475         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6476         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6477         (IP_MSFILTER): Likewise.
6478         (MCAST_JOIN_GROUP): Likewise.
6479         (MCAST_BLOCK_SOURCE): Likewise.
6480         (MCAST_UNBLOCK_SOURCE): Likewise.
6481         (MCAST_LEAVE_GROUP): Likewise.
6482         (MCAST_JOIN_SOURCE_GROUP): Likewise.
6483         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6484         (MCAST_MSFILTER): Likewise.
6485         (IP_MULTICAST_ALL): Likewise.
6486         (IP_UNICAST_IF): Likewise.
6487
6488         * timezone/Makefile: Delete $(have-ksh) check.
6489         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6490         * timezone/tzselect.ksh: Add +x mode bits.
6491
6492         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6493         (ANON_INODE_FS_MAGIC): Likewise.
6494         (BDEVFS_MAGIC): Likewise.
6495         (BINFMTFS_MAGIC): Likewise.
6496         (BTRFS_TEST_MAGIC): Likewise.
6497         (CRAMFS_MAGIC_WEND): Likewise.
6498         (DEBUGFS_MAGIC): Likewise.
6499         (ECRYPTFS_SUPER_MAGIC): Likewise.
6500         (EXT3_SUPER_MAGIC): Likewise.
6501         (EXT4_SUPER_MAGIC): Likewise.
6502         (FUTEXFS_SUPER_MAGIC): Likewise.
6503         (HOSTFS_SUPER_MAGIC): Likewise.
6504         (HUGETLBFS_MAGIC): Likewise.
6505         (MINIX3_SUPER_MAGIC): Likewise.
6506         (MTD_INODE_FS_MAGIC): Likewise.
6507         (NILFS_SUPER_MAGIC): Likewise.
6508         (OPENPROM_SUPER_MAGIC): Likewise.
6509         (PIPEFS_MAGIC): Likewise.
6510         (PSTOREFS_MAGIC): Likewise.
6511         (QNX6_SUPER_MAGIC): Likewise.
6512         (RAMFS_MAGIC): Likewise.
6513         (REISERFS_SUPER_MAGIC_STRING): Likewise.
6514         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6515         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6516         (SECURITYFS_MAGIC): Likewise.
6517         (SELINUX_MAGIC): Likewise.
6518         (SMACK_MAGIC): Likewise.
6519         (SOCKFS_MAGIC): Likewise.
6520         (SQUASHFS_MAGIC): Likewise.
6521         (STACK_END_MAGIC): Likewise.
6522         (TMPFS_MAGIC): Likewise.
6523         (USBDEVICE_SUPER_MAGIC): Likewise.
6524         (V9FS_MAGIC): Likewise.
6525         (XENFS_SUPER_MAGIC): Likewise.
6526         (CRAMFS_MAGIC): Fix typo in comment.
6527         (EXT2_SUPER_MAGIC): Update comment.
6528         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6529
6530 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
6531
6532         * sysdeps/arm: Move directory from ports/sysdeps/arm.
6533         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6534         * sysdeps/unix/sysv/linux/arm: Move directory from
6535         ports/sysdeps/unix/sysv/linux/arm.
6536         * README: Update listing for arm-*-linux-gnueabi.
6537
6538         * README: Remove mention of am33.
6539
6540 2014-02-07  Roland McGrath  <roland@hack.frob.com>
6541
6542         * bits/sigset.h (__sigemptyset): Use a statement expression rather
6543         than the comma operator, to avoid "rhs of comma has no effect"
6544         compiler warnings.
6545         (__sigfillset, __sigandset, __sigorset): Likewise.
6546         * include/signal.h (__sigemptyset): Likewise.
6547         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6548
6549 2014-02-07  Allan McRae  <allan@archlinux.org>
6550
6551         * version.h (RELEASE): Set to "development".
6552         (VERSION): Set to "2.19.90"
6553         * NEWS: Add 2.20 section.
6554
6555 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
6556
6557         [BZ #16529]
6558         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6559
6560 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
6561
6562         * manual/contrib.texi: Update entry for Carlos O'Donell,
6563         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6564
6565 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
6566
6567         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6568
6569         * sysdeps/unix/sysv/linux/kernel-features.h
6570         [__LINUX_KERNEL_VERSION >= 0x020621]
6571         (__ASSUME_PROC_PID_TASK_COMM): Define.
6572
6573 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6574
6575         [BZ #16398]
6576         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6577         conversion when destination buffer does not have enough space.
6578         * libio/tst-ftell-partial-wide.c: New test case.
6579         * libio/Makefile (tests): Add tst-ftell-partial-wide.
6580
6581         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6582         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
6583         Leonard and Allan McRae.
6584
6585 2014-02-04  David S. Miller  <davem@davemloft.net>
6586
6587         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6588         32-bit.
6589
6590 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6591
6592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6593         New file
6594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6595         New file
6596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6597         New file.
6598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6599         New file.
6600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6601         New file.
6602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6603         New file.
6604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6605         New file.
6606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6607         New file.
6608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6609         New file.
6610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6611         New file.
6612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6613         New file.
6614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6615         New file.
6616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6617         New file.
6618
6619 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6620
6621         * nptl/shlib-versions: Change powerpc*le start to 2.17.
6622         * shlib-versions: Likewise.
6623
6624 2014-02-04  Roland McGrath  <roland@hack.frob.com>
6625             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6626
6627         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6628         (abilist-pattern): New variable, set to %-le.abilist.
6629
6630         * Makerules (abilist-pattern): New variable.
6631         (vpath): Use $(abilist-pattern) in place of %.abilist.
6632         (check-abi-% pattern rule): Likewise.
6633         (check-abi, update-abi): Likewise.
6634
6635 2014-02-04  Eric Wong  <normalperson@yhbt.net>
6636
6637         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6638
6639 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
6640
6641         * manual/startup.texi: Add next, previous, and top entries for
6642         the `Program Arguments' and `Environment Variables' nodes.
6643
6644 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
6645
6646         * manual/macros.texi: Add comments before MTASC-safety macros.
6647
6648         * manual/users.texi: Document MTASC-safety properties.
6649
6650         * manual/threads.texi (pthread_key_create, pthread_key_delete)
6651         (pthread_getspecific, pthread_setspecific): Format with
6652         @deftypefun, and add @safety note.
6653         * manual/signal.texi: Move comments that analyze the above
6654         functions to their home place.
6655
6656 2014-02-03  Allan McRae  <allan@archlinux.org>
6657
6658         * po/sl.po: Update Slovenian translation from translation project.
6659
6660 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
6661
6662         * manual/time.texi (timegm): Add missing blank after @c.
6663         Reported by Joseph Myers <joseph@codesourcery.com>.
6664
6665 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
6666
6667         * manual/check-safety.sh: New.
6668         * manual/Makefile ($(objpfx)stamp-summary): Run it.
6669
6670         * manual/terminal.texi: Document MTASC-safety properties.
6671
6672         * manual/filesys.texi: Document MTASC-safety properties.
6673
6674         * manual/errno.texi: Document MTASC-safety properties.
6675
6676         * manual/intro.texi: Document safety identifiers and
6677         conditionals.
6678
6679         * manual/string.texi (wcstok): Fix prototype.
6680         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6681
6682         * manual/time.texi: Document MTASC-safety properties.
6683
6684         * manual/string.texi: Document MTASC-safety properties.
6685
6686         * manual/threads.texi: Document MTASC-safety properties.
6687
6688         * manual/stdio.texi: Document MTASC-safety properties.
6689
6690         * manual/syslog.texi: Document MTASC-safety properties.
6691
6692         * manual/sysinfo.texi: Document MTASC-safety properties.
6693
6694         * manual/startup.texi: Document MTASC-safety properties.
6695
6696         * manual/socket.texi: Document MTASC-safety properties.
6697
6698         * manual/signal.texi: Document MTASC-safety properties.
6699
6700 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
6701
6702         * manual/setjmp.texi: Document MTASC-safety properties.
6703
6704         * manual/search.texi: Document MTASC-safety properties.
6705
6706         * manual/resource.texi: Document MTASC-safety properties.
6707
6708         * manual/process.texi: Document MTASC-safety properties.
6709
6710         * manual/platform.texi: Document MTASC-safety properties.
6711
6712         * manual/pipe.texi: Document MTASC-safety properties.
6713
6714         * manual/pattern.texi: Document MTASC-safety properties.
6715
6716         * manual/message.texi: Document MTASC-safety properties.
6717
6718         [BZ #12751]
6719         * manual/memory.texi: Document MTASC-safety properties.
6720
6721         * manual/math.texi: Document MTASC-safety properties.
6722
6723         * manual/locale.texi: Document MTASC-safety properties.
6724
6725         * manual/llio.texi: Document MTASC-safety properties.
6726
6727         * manual/libdl.texi: New.
6728
6729         * manual/lang.texi: Document MTASC-safety properties.
6730
6731         * manual/job.texi: Document MTASC-safety properties.
6732
6733         * manual/getopt.texi: Document MTASC-safety properties.
6734
6735         * manual/ctype.texi: Document MTASC-safety properties.
6736
6737 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
6738
6739         [BZ #16046]
6740         * csu/libc-tls.c (static_map): Remove variable.
6741         (__libc_setup_tls): Use main executable's link map for TLS data.
6742         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6743         casing for LM_ID_BASE and GL(dl_nns).
6744         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6745         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
6746         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6747         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6748         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6749         member.
6750         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6751         l_phnum members.
6752
6753 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
6754
6755         * manual/debug.texi: Document MTASC-safety properties.
6756
6757 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
6758
6759         [BZ #16510]
6760         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6761         of __x86_64__ when disabling x87 inline functions.
6762
6763 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
6764
6765         * manual/charset.texi: Document MTASC-safety properties.
6766
6767         * manual/crypt.texi: Document MTASC-safety properties.
6768
6769         * manual/conf.texi: Document MTASC-safety properties.
6770
6771         * manual/arith.texi: Document MTASC-safety properties.
6772
6773         * manual/argp.texi: Document MTASC-safety properties.
6774
6775         * manual/macros.texi: Introduce macros to document multi
6776         thread, asynchronous signal and asynchronous cancellation
6777         safety properties.
6778         * manual/intro.texi: Introduce the properties themselves.
6779
6780 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6781
6782         * sysdeps/sh/sh4/Makefile: New file.
6783
6784 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
6785
6786         * math/gen-libm-test.pl ($srcdir): New variable.
6787         ($auto_input): Use it.
6788
6789 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6790
6791         [BZ #16506]
6792         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6793         access beyond array bounds when parsing netgroups file.
6794
6795         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6796         the old buffer before realloc.
6797
6798 2014-01-27  Allan McRae  <allan@archlinux.org>
6799
6800         * po/fr.po: Update French translation from translation project.
6801
6802 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6803
6804         * sysdeps/sh/libm-test-ulps: Regenerate.
6805
6806 2014-01-24  David S. Miller  <davem@davemloft.net>
6807
6808         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6809
6810 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6811
6812         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6813         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6814
6815 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6816
6817         [BZ #16474]
6818         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6819         string pointers after reallocation.
6820
6821 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6822
6823         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6824         __SH4A__ instead of __SH_FPU_ANY__.
6825
6826 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6827
6828         * sysdeps/sh/fpu_control.h: New file.
6829         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6830         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6831         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6832         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6833         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6834         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6835         * sysdeps/sh/sys/ucontext.h: Remove.
6836         * sysdeps/sh/sys: Remove directory.
6837
6838 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6839
6840         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6841         s390/sys/ucontext.h.
6842         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6843         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6844
6845 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
6846
6847         [BZ #15605]
6848         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6849
6850 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6851
6852         [BZ#16431]
6853         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6854         Adjust the vDSO correctly for internal calls.
6855         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6856
6857 2014-01-20  Allan McRae  <allan@archlinux.org>
6858
6859         * po/ca.po: Update Catalan translation from translation project.
6860
6861 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
6862
6863         * sysdeps/s390/sotruss-lib.c: New file.
6864
6865 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6866
6867         [BZ#16430]
6868         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6869         (__GI___gettimeofday): Alias for a different internal symbol to avoid
6870         local calls issues by not having a PLT stub required for IFUNC calls.
6871         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6872
6873 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
6874
6875         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6876         * math/test-fpucw-static.c: Likewise.
6877
6878 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6879
6880         [BZ #16453]
6881         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6882
6883 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6884
6885         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6886         implementation for powerpc.
6887
6888 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
6889
6890         [BZ #14782]
6891         * sysdeps/posix/system.c (__libc_system): Do not enable
6892         asynchronous cancellation.
6893
6894 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6895
6896         [BZ #16427]
6897         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6898         handling only for numbers special also in the IEEE case.
6899
6900 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6901
6902         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6903
6904 2014-01-11  Allan McRae  <allan@archlinux.org>
6905
6906         * po/bg.po: Update Bulgarian translation from translation project.
6907
6908         * po/de.po: Update German translation from translation project.
6909
6910 2014-01-10  Roland McGrath  <roland@hack.frob.com>
6911
6912         * sysdeps/generic/gcc-compat.h: New file.
6913
6914 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6915
6916         * benchtests/asin-inputs: Correct slow inputs.
6917         * benchtests/acos-inputs: Likewise.
6918
6919 2014-01-10  Allan McRae  <allan@archlinux.org>
6920
6921         * po:sv.po: Update Swedish translation from translation project.
6922
6923         * po/vi.po: Update Vietnamese translation from translation project.
6924
6925         * po/eo.po: Update Esperanto translation from translation project.
6926
6927         * po/cs.po: Update Czech translation from translation project.
6928
6929         * po/nl.po: Update Dutch translation from translation project.
6930
6931         * po/pl.po: Update Polish translation from translation project.
6932
6933         * po/ru.po: Update Russian translation from translation project.
6934
6935         * po/uk.po: Update Ukrainian translation from translation project.
6936
6937 2014-01-08  Brooks Moses  <bmoses@google.com>
6938
6939         * elf/dl-load.c: Fix comment typo.
6940
6941 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
6942
6943         * po/header.pot: Rename to...
6944         * po/pot.header: ... this.
6945         * po/Makefile: Use pot.header.
6946
6947 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
6948             Maxim Kuvyrkov  <maxim@kugelworks.com>
6949
6950         [BZ #16394]
6951         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6952         SRC and DEST against LEN.
6953
6954 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6955
6956         [BZ #16414]
6957         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6958         implementation.
6959         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6960
6961 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6962
6963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6964
6965 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
6966
6967         [BZ #16408]
6968         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6969         for large positive arguments.
6970
6971 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
6972
6973         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6974
6975         * math/auto-libm-test-in: Mark various tests with
6976         xfail-rounding:ldbl-128ibm.
6977         * math/auto-libm-test-out: Regenerated.
6978
6979         [BZ #16407]
6980         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6981         Increase overflow threshold.
6982
6983 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
6984
6985         [BZ #14286]
6986         * stdio-common/vfprintf.c: Check for integer overflow.
6987
6988 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6989
6990         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6991         the first argument and return value of __tls_get_addr_internal.
6992
6993 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6994
6995         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6996         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6997
6998 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6999
7000         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7001         * sysdeps/s390/rtld-global-offsets.sym: New file.
7002         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7003         GLIBC_2.19 symbol.
7004         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7005         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7006         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7007         ... this.
7008         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7009         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7010         ... this.
7011         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7012         Regenerate.
7013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7014         Regenerate.
7015         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7016         halfs of GPRs for high_gprs contexts.
7017         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7018         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
7019         field.
7020         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7021         uc_flags field.
7022         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7023         64 bit versions:
7024         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7025         for high GPRs (uc_high_gprs) and for future extensions
7026         (__reserved).
7027         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7028         for future extensions (__reserved).
7029         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7030         64 bit versions:
7031         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7032         SC_HIGHGPRS offset definition.
7033         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7034         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7035
7036         * Versions.def: Add GLIBC_2.19 for libpthread.
7037         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7038         siglongjmp for libpthread with GLIBC_2.19 symver.
7039         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7040         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7041         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7042         * sysdeps/s390/__longjmp.c: New file.
7043         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7044         * sysdeps/s390/longjmp.c: New file.
7045         * sysdeps/s390/setjmp.S: New file.
7046         * sysdeps/s390/sigjmp.S: New file.
7047         * sysdeps/s390/v1-longjmp.c: New file.
7048         * sysdeps/s390/v1-setjmp.h: New file.
7049         * sysdeps/s390/v1-sigjmp.c: New file.
7050         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7051         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7052         GLIBC_2.19 version.
7053         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7054         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7055         versioned symbols for ____longjmp_chk.
7056         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7057         Likewise.
7058         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7059         Regenerate.
7060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7061         Regenerate.
7062         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7063         Regenerate.
7064         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7065         Regenerate.
7066         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7067         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7068         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7069         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7070         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7071         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7072         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7073         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7074         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7075         * sysdeps/s390/rtld-__longjmp.c: New file.
7076         * sysdeps/s390/rtld-setjmp.S: New file.
7077
7078 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
7079
7080         [BZ #16400]
7081         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7082         Return -__logl (x) for small positive arguments without evaluating
7083         a polynomial.
7084
7085 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
7086
7087         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7088         Rename to ...
7089         (__ptrace_peeksiginfo_args): ... this.
7090         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7091         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7092         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7093
7094 2014-01-06  Allan McRae  <allan@archlinux.org>
7095
7096         * inet/netinet/in.h: Fix typo in comment.
7097
7098 2014-01-05  Andreas Jaeger  <aj@suse.de>
7099
7100         * sysdeps/i386/fpu/libm-test-ulps: Update.
7101
7102 2014-01-05  Allan McRae  <allan@archlinux.org>
7103
7104         * po/libc.pot: Regenerated.
7105
7106         * malloc/memusagestat.c: Fix gettext call formatting.
7107
7108 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
7109
7110         * nscd/nscd.c: Improve usage() output.
7111
7112 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
7113
7114         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7115         * sysdeps/unix/sysv/linux/configure: Regenerated.
7116         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7117         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7118
7119 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
7120
7121         [BZ #16390]
7122         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7123         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7124
7125 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7126
7127         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7128         extra tokens at end of #undef directive.
7129         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7130         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7131         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7132
7133 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
7134
7135         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7136
7137         * math/auto-libm-test-in: Mark various tests with
7138         xfail-rounding:ldbl-128ibm.
7139         * math/auto-libm-test-out: Regenerated.
7140
7141 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
7142
7143         [BZ #16386]
7144         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7145         numbers with subnormal high part when calculating exponent.
7146
7147         [BZ #16385]
7148         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7149         fabs.
7150
7151         [BZ #16384]
7152         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7153         M_LN2l.
7154         (__ieee754_acoshl): Use __log1pl not __log1p.
7155
7156 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
7157
7158         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7159         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7160         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7161         (grow_heap, heap_trim, _int_new_arena, get_free_list)
7162         (reused_arena, arena_get2): Convert to GNU style.
7163         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7164         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7165         (memalign_check, __malloc_set_state): Likewise.
7166         * malloc/mallocbug.c (main): Likewise.
7167         * malloc/malloc.c (__malloc_assert, malloc_init_state)
7168         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7169         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7170         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7171         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7172         (__posix_memalign, malloc_info): Likewise.
7173         * malloc/malloc.h: Likewise.
7174         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7175         (mallochook, memalignhook, reallochook, mabort): Likewise.
7176         * malloc/mcheck.h: Likewise.
7177         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7178         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
7179         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7180         * malloc/morecore.c (__default_morecore): Likewise.
7181         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
7182         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7183         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7184         (print_and_abort): Likewise.
7185         * malloc/obstack.h: Likewise.
7186         * malloc/set-freeres.c (__libc_freeres): Likewise.
7187         * malloc/tst-mallocstate.c (main): Likewise.
7188         * malloc/tst-mtrace.c (main): Likewise.
7189         * malloc/tst-realloc.c (do_test): Likewise.
7190
7191 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7192
7193         [BZ #16366]
7194         * nscd/netgroupcache.c (do_notfound): New function.
7195         (addgetnetgrentX): Use it.
7196
7197         [BZ # 16365]
7198         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7199         NSS_STATUS_NOTFOUND.
7200
7201 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
7202
7203         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7205
7206 2014-01-01  Allan McRae  <allan@archlinux.org>
7207
7208         * scripts/update-copyrights: Update configure input file suffix.
7209
7210         * NEWS: Update copyright year.
7211         * catgets/gencat.c: Likewise.
7212         * csu/version.c: Likewise.
7213         * debug/catchsegv.sh: Likewise.
7214         * debug/pcprofiledump.c: Likewise.
7215         * debug/xtrace.sh: Likewise.
7216         * elf/ldconfig.c: Likewise.
7217         * elf/ldd.bash.in: Likewise.
7218         * elf/pldd.c: Likewise.
7219         * elf/sotruss.ksh: Likewise.
7220         * elf/sprof.c: Likewise.
7221         * iconv/iconv_prog.c: Likewise.
7222         * iconv/iconvconfig.c: Likewise.
7223         * locale/programs/locale.c: Likewise.
7224         * locale/programs/localedef.c: Likewise.
7225         * login/programs/pt_chown.c: Likewise.
7226         * malloc/memusage.sh: Likewise.
7227         * malloc/memusagestat.c: Likewise.
7228         * malloc/mtrace.pl: Likewise.
7229         * manual/libc.texinfo: Likewise.
7230         * nscd/nscd.c: Likewise.
7231         * nss/getent.c: Likewise.
7232         * nss/makedb.c: Likewise.
7233         * posix/getconf.c: Likewise.
7234         * scripts/test-installation.pl: Likewise.
7235
7236         * All files with FSF copyright notices: Update copyright dates
7237         using scripts/update-copyrights.
7238         * intl/plural.c: Regenerated.
7239         * locale/programs/charmap-kw.h: Likewise.
7240         * locale/programs/locfile-kw.h: Likewise.
7241
7242 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
7243
7244         * sysdeps/unix/sysv/linux/configure: Regenerated.
7245         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7246         the linux/fanotify.h header.
7247         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7248         HAVE_LINUX_FANOTIFY_H is defined.
7249
7250 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7251
7252         * benchtests/cos-inputs: New inputs.
7253         * benchtests/sin-inputs: Likewise.
7254
7255         * benchtests/atan-inputs: New inputs. Fix name of multiple
7256         precision fallback inputs.
7257
7258         * benchtests/atanh-inputs: New inputs.
7259         * benchtests/tanh-inputs: Likewise.
7260
7261         * benchtests/acosh-inputs: New inputs.
7262         * benchtests/asinh-inputs: Likewise.
7263
7264         * benchtests/cosh-inputs: New inputs.
7265         * benchtests/sinh-inputs: Likewise.
7266
7267         * benchtests/acos-inputs: Add more inputs.
7268         * benchtests/asin-inputs: Likewise.
7269
7270 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
7271
7272         [BZ #16375]
7273         * manual/arith.texi: Fix spelling.
7274         * manual/charset.texi: Likewise.
7275         * manual/errno.texi: Likewise.
7276         * manual/filesys.texi: Likewise.
7277         * manual/lang.texi: Likewise.
7278         * manual/llio.texi: Likewise.
7279         * manual/locale.texi: Likewise.
7280         * manual/message.texi: Likewise.
7281         * manual/resource.texi: Likewise.
7282         * manual/search.texi: Likewise.
7283         * manual/setjmp.texi: Likewise.
7284         * manual/stdio.texi: Likewise.
7285         * manual/string.texi: Likewise.
7286         * manual/sysinfo.texi: Likewise.
7287         * manual/time.texi: Likewise.
7288
7289 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
7290
7291         * po/sl.po: New file.
7292
7293 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
7294
7295         * .gitignore: Add core/.gdbinit/.gdb_history.
7296
7297 2013-12-27  Allan McRae  <allan@archlinux.org>
7298
7299         [BZ #16369]
7300         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7301         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7302
7303 2013-12-24  Brooks Moses  <bmoses@google.com>
7304
7305         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7306         all compilers that claim C++98 compliance, not just GCC.
7307         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7308         Likewise.
7309
7310 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
7311
7312         * NEWS: Restore accidentally deleted bug-fix entries.
7313
7314 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
7315             Ondřej Bílka  <neleai@seznam.cz>
7316
7317         [BZ #15073]
7318         * malloc/malloc.c (_int_free): Perform sanity check only if we
7319         have_lock.
7320
7321 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
7322
7323         [BZ #12986]
7324         * manual/stdio.texi (String Input Conversions): Clarify that character
7325         classes are not supported.
7326
7327 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7328
7329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7330
7331 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
7332
7333         [BZ #16337]
7334         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7335         Calculate results for small negative arguments directly rather
7336         than using reflection formula with special underflow handling.
7337
7338         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7339         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7340         sysdeps/unix/bsd/bsd4.4/syscalls.list.
7341         (fchflags): Likewise.
7342         (revoke): Likewise.
7343         (setlogin): Likewise.
7344         (sigaltstack): Likewise.
7345         (wait4): Likewise.
7346         (sigblock): Remove.
7347         (sigsetmask): Likewise.
7348         (wait3): Likewise.
7349         (waitpid): Likewise.
7350         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7351         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7352         file.
7353         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7354         * sysdeps/unix/bsd/Makefile: ... here.
7355         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7356         * sysdeps/unix/bsd/Versions: ... here.
7357         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7358         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7359         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7360         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7361         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7362         * sysdeps/unix/bsd/sigblock.c: ... here.
7363         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7364         * sysdeps/unix/bsd/sigsetmask.c: ... here.
7365         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7366         * sysdeps/unix/bsd/sigvec.c: ... here.
7367         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7368         * sysdeps/unix/bsd/tcdrain.c: ... here.
7369         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7370         * sysdeps/unix/bsd/tcgetattr.c: ... here.
7371         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7372         * sysdeps/unix/bsd/tcsetattr.c: ... here.
7373         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7374         * sysdeps/unix/bsd/wait.c: ... here.
7375         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7376         * sysdeps/unix/bsd/wait3.c: ... here.
7377         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7378         * sysdeps/unix/bsd/waitpid.c: ... here.
7379
7380 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
7381
7382         [BZ #16356]
7383         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7384         round-to-nearest for [!USE_AS_EXPM1L].
7385         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7386         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
7387         more tests of exp and exp10.  Expect some exp10 tests to miss
7388         exceptions or fail in directed rounding modes.
7389         * math/auto-libm-test-out: Regenerated.
7390         * math/libm-test.inc (exp10_tonearest_test_data): New array.
7391         (exp10_test_tonearest): New function.
7392         (exp10_towardzero_test_data): New array.
7393         (exp10_test_towardzero): New function.
7394         (exp10_downward_test_data): New array.
7395         (exp10_test_downward): New function.
7396         (exp10_upward_test_data): New array.
7397         (exp10_test_upward): New function.
7398         (main): Call the new functions.
7399         * sysdeps/i386/fpu/libm-test-ulps: Update.
7400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7401
7402 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
7403
7404         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7405         asinh, atan, atan2, atanh, cbrt, cos and cosh.
7406         * math/auto-libm-test-out: Regenerated.
7407         * math/libm-test.inc (acosh_test_data): Add more tests.
7408         (atanh_test_data): Likewise.
7409         (ceil_test_data): Likewise.
7410         (copysign_test_data): Likewise.
7411         * sysdeps/i386/fpu/libm-test-ulps: Update.
7412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7413
7414         * timezone/checktab.awk: Update from tzcode 2013i.
7415         * timezone/private.h: Likewise.
7416         * timezone/scheck.c: Likewise.
7417         * timezone/tzfile.h: Likewise.
7418         * timezone/tzselect.ksh: Likewise.
7419         * timezone/zdump.c: Likewise.
7420         * timezone/zic.c: Likewise.
7421
7422         * math/auto-libm-test-in: Add tests of cpow.
7423         * math/auto-libm-test-out: Regenerated.
7424         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
7425         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7426         mpc_cc_c.
7427         (func_calc_desc): Add mpc_cc_c union field.
7428         (test_functions): Add cpow.
7429         (special_fill_2pi): New function.
7430         (special_real_inputs): Add 2pi.
7431         (calc_generic_results): Handle mpc_cc_c.
7432         * sysdeps/i386/fpu/libm-test-ulps: Update.
7433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7434
7435         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7436         csqrt, ctan and ctanh.
7437         * math/auto-libm-test-out: Regenerated.
7438         * math/libm-test.inc (TEST_COND_x86_64): New macro.
7439         (TEST_COND_x86): Likewise.
7440         (ccos_test_data): Use AUTO_TESTS_c_c.
7441         (ccosh_test_data): Likewise.
7442         (cexp_test_data): Likewise.
7443         (clog_test_data): Likewise.
7444         (csqrt_test_data): Likewise.
7445         (ctan_test_data): Likewise.
7446         (ctan_tonearest_test_data): Likewise.
7447         (ctan_towardzero_test_data): Likewise.
7448         (ctan_downward_test_data): Likewise.
7449         (ctan_upward_test_data): Likewise.
7450         (ctanh_test_data): Likewise.
7451         (ctanh_tonearest_test_data): Likewise.
7452         (ctanh_towardzero_test_data): Likewise.
7453         (ctanh_downward_test_data): Likewise.
7454         (ctanh_upward_test_data): Likewise.
7455         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7456         mpc_c_c.
7457         (func_calc_desc): Add mpc_c_c union field.
7458         (FUNC_mpc_c_c): New macro.
7459         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7460         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7461         ctanh.
7462         (special_fill_min_subnorm_p120): New function.
7463         (special_real_inputs): Add min_subnorm_p120.
7464         (calc_generic_results): Handle mpc_c_c.
7465         * sysdeps/i386/fpu/libm-test-ulps: Update.
7466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7467
7468 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7469
7470         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7471         (do_sin_slow): New functions.
7472         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7473         (cslow2, csloww1, csloww2): Use the new functions.
7474
7475         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7476         Use M to change sign of result instead of X.  Assume X is
7477         positive.
7478         (csloww1): Likewise.
7479         (__sin): Adjust.
7480         (__cos): Adjust.
7481
7482         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7483         arguments A and DA.
7484         (__sin): Adjust.
7485         (__cos): Likewise.
7486
7487         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7488         (__cos): Likewise.
7489         (sloww1): Don't adjust sign of DX.
7490         (csloww1): Likewise.
7491         (sloww2): Use X directly and don't adjust sign of DX.
7492         (csloww2): Likewise.
7493
7494 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7495
7496         * math/auto-libm-test-in: Add tests of cabs and carg.
7497         * math/auto-libm-test-out: Regenerated.
7498         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7499         (carg_test_data): Likewise.
7500         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7501         mpc_c_f.
7502         (func_calc_desc): Add mpc_c_f union field.
7503         (test_functions): Add cabs and carg.
7504         (calc_generic_results): Handle mpc_c_f.
7505
7506         * sysdeps/powerpc/powerpc32/libgcc-compat.S
7507         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7508         as a macro and a compat symbol.
7509         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7510         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7511         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7512         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7513         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7514         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7515         not use .hidden.
7516         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7517         Likewise.
7518         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7519         Likewise.
7520         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7521         Likewise.
7522         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7523         Likewise.
7524         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7525         Likewise.
7526         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7527         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7528         from GLIBC_2.3.2.
7529
7530 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7531
7532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7533
7534 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7535
7536         * manual/texinfo.tex: Update to version 2013-11-26.10 with
7537         trailing whitespace removed.
7538         * scripts/config.guess: Update to version 2013-11-29.
7539         * scripts/config.sub: Update to version 2013-10-01.
7540
7541         * math/auto-libm-test-in: Add tests of sincos.
7542         * math/auto-libm-test-out: Regenerated.
7543         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7544         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7545         mpfr_f_11.
7546         (func_calc_desc): Add mpfr_f_11 union field.
7547         (test_functions): Add sincos.
7548         (calc_generic_results): Handle mpfr_f_11.
7549         * sysdeps/i386/fpu/libm-test-ulps: Update.
7550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7551
7552 2013-12-19  Andreas Schwab  <schwab@suse.de>
7553
7554         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7555         CALL_MCOUNT.
7556         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7557         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7558         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7559
7560 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7561
7562         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7563         * sysdeps/i386/fpu/libm-test-ulps: Update.
7564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7565
7566         [BZ #16293]
7567         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7568         round-to-nearest mode when using frndint.
7569         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7570         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7571         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7572         Likewise.
7573         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
7574         sinh test to fail.
7575         * math/auto-libm-test-out: Regenerated.
7576         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7577         (TEST_COND_x86): Likewise.
7578         (expm1_tonearest_test_data): New array.
7579         (expm1_test_tonearest): New function.
7580         (expm1_towardzero_test_data): New array.
7581         (expm1_test_towardzero): New function.
7582         (expm1_downward_test_data): New array.
7583         (expm1_test_downward): New function.
7584         (expm1_upward_test_data): New array.
7585         (expm1_test_upward): New function.
7586         (main): Run the new test functions.
7587         * sysdeps/i386/fpu/libm-test-ulps: Update.
7588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7589
7590         * include/features.h: Update comment documenting feature test
7591         macros.  Mention _DEFAULT_SOURCE in comment.
7592         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7593         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7594         _BSD_SOURCE and _SVID_SOURCE.
7595         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7596         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7597         !_SVID_SOURCE]: Likewise.
7598         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7599         (__USE_POSIX_IMPLICITLY): Define.
7600         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7601         (_POSIX_SOURCE): Undefine and redefine.
7602         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7603         (_POSIX_C_SOURCE): Likewise.
7604         * manual/creature.texi (_DEFAULT_SOURCE): Document.
7605         (Feature Test Macros): Update documentation of default features.
7606
7607 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7608
7609         * benchtests/Makefile: Add bench-strtok.
7610         * benchtests/bench-strtok.c: New file: strtok benchtest.
7611
7612 2013-12-19  Allan McRae  <allan@archlinux.org>
7613
7614         * manual/install.texi: Suppress menu for plain text output.
7615         * INSTALL: Regenerated.
7616
7617 2013-12-18  Brooks Moses  <bmoses@google.com>
7618
7619         [BZ #15846]
7620         * misc/getauxval.c: Include errno.h.
7621         (__getauxval): Set errno to ENOENT if the requested type is not
7622         found.
7623         * misc/sys/auxv.h (getauxval): Document that it may set errno;
7624         don't declare with __attribute_const__.
7625         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7626         * manual/startup.texi: Document that getauxval sets errno.
7627
7628 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
7629
7630         * math/auto-libm-test-in: Add tests of jn and yn.
7631         * math/auto-libm-test-out: Regenerated.
7632         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7633         (yn_test_data): Likewise.
7634         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7635         mpfr_if_f.
7636         (func_calc_desc): Add mpfr_if_f union field.
7637         (FUNC_mpfr_if_f): New macro.
7638         (test_functions): Add jn and yn.
7639         (calc_generic_results): Assert type of second input for
7640         mpfr_ff_f.  Handle mpfr_if_f.
7641         (output_for_one_input_case): Disable all checking for arguments
7642         fitting floating-point types in case of an integer argument.
7643         * sysdeps/i386/fpu/libm-test-ulps: Update.
7644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7645
7646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7647         Don't expect fegetround reference in libm.so.
7648
7649 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7650
7651         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7652         $(config-cflags-nofma).
7653
7654 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
7655
7656         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7657         * math/auto-libm-test-out: Regenerated.
7658
7659         [BZ #16338]
7660         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7661         to determine exponent and adjust argument to have exponent of -1.
7662         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7663         log2.
7664         * math/auto-libm-test-out: Regenerated.
7665         * sysdeps/i386/fpu/libm-test-ulps: Update.
7666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7667
7668 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
7669
7670         * manual/probes.texi: Remove cases when per-thread arenas are
7671         disabled.
7672
7673 2013-12-18  Andreas Schwab  <schwab@suse.de>
7674
7675         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7676         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7677         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7678         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7679         * sysdeps/i386/i686/multiarch/Makefile: Update.
7680         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7681
7682 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7683
7684         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7685         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7686
7687 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
7688
7689         [BZ #15968]
7690         Support TZ transition times < 00:00:00.
7691         This is needed for version-3 tz-format files; it supports time
7692         stamps past 2037 for America/Godthab (the only entry in the tz
7693         database for which this change is relevant).
7694         * manual/time.texi (TZ Variable): Document transition times
7695         from -167:59:59 through -00:00:01.
7696         * time/tzset.c (tz_rule): Time of day is now signed.
7697         (__tzset_parse_tz): Parse negative time of day.
7698
7699         Document TZ transition times >= 25:00:00.
7700         * manual/time.texi (TZ Variable): Document transition times from
7701         25:00:00 through 167:59:59.  These are already supported, and this
7702         support will help with version-3 tz-format files.
7703
7704         * manual/time.texi (TZ Variable): Modernize North America example
7705         to reflect current (i.e., 2007-and-later) daylight saving rules.
7706
7707         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7708
7709 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7710
7711         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7712         * sysdeps/unix/bsd/bits/stat.h: Likewise.
7713         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7714         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7715         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7716         * sysdeps/unix/bsd/bsdstat.h: Likewise.
7717         * sysdeps/unix/bsd/clock.c: Likewise.
7718         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7719         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7720         * sysdeps/unix/bsd/init-posix.c: Likewise.
7721         * sysdeps/unix/bsd/poll.c: Likewise.
7722         * sysdeps/unix/bsd/ptsname.c: Likewise.
7723         * sysdeps/unix/bsd/seekdir.c: Likewise.
7724         * sysdeps/unix/bsd/setegid.c: Likewise.
7725         * sysdeps/unix/bsd/seteuid.c: Likewise.
7726         * sysdeps/unix/bsd/setgid.c: Likewise.
7727         * sysdeps/unix/bsd/setrgid.c: Likewise.
7728         * sysdeps/unix/bsd/setruid.c: Likewise.
7729         * sysdeps/unix/bsd/setsid.c: Likewise.
7730         * sysdeps/unix/bsd/setuid.c: Likewise.
7731         * sysdeps/unix/bsd/sigaction.c: Likewise.
7732         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7733         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7734         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7735         * sysdeps/unix/bsd/telldir.c: Likewise.
7736         * sysdeps/unix/bsd/times.c: Likewise.
7737         * sysdeps/unix/bsd/usleep.c: Likewise.
7738
7739         * misc/Makefile (install-lib): Remove libbsd-compat.a.
7740         ($(objpfx)libbsd-compat.a): Remove rule.
7741
7742         * include/features.h (__FAVOR_BSD): Do not define.
7743         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7744         features conflicting with POSIX.
7745         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7746         (_BSD_SOURCE): Remove description of not being a subset of other
7747         feature test macros.
7748         * manual/job.texi (getpgrp): Do not document BSD version.
7749         (getpgid): Do not document by reference to BSD getpgrp.
7750         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7751         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7752         * signal/signal.h [__FAVOR_BSD]: Likewise.
7753         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7754         instead of making contents conditional on [__FAVOR_BSD].
7755         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7756
7757 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7758
7759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7760
7761 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7762
7763         [BZ #16314]
7764         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7765         values below 2**-450, not 2**-500.
7766         * math/auto-libm-test-in: Don't allow spurious underflow from
7767         hypot.
7768         * math/auto-libm-test-out: Regenerated.
7769
7770         [BZ #16316]
7771         [BZ #16330]
7772         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7773         values of ha and hb and sort them after adjusting subnormal
7774         arguments.
7775         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7776         Likewise.
7777         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7778         values of ea and eb and sort them after adjusting subnormal
7779         arguments.
7780         * math/auto-libm-test-in: Do not expect some hypot tests of
7781         subnormals to fail.  Add more hypot tests.
7782         * math/auto-libm-test-out: Regenerated.
7783
7784 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7785
7786         [BZ #13304]
7787         * sysdeps/sh/s_fma.c: New file.
7788         * sysdeps/sh/s_fmaf.c: New file.
7789         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
7790         version.
7791         * sysdeps/sh/Implies: Add sh/soft-fp.
7792
7793 2013-12-16  Roland McGrath  <roland@hack.frob.com>
7794
7795         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
7796         level of indirection to members `objname', `errstring', `malloced'.
7797         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7798         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
7799         it as the __longjmp argument (just pass 1 instead).
7800         (_dl_catch_error): Initialize C with argument pointers and address of
7801         volatile local ERRCODE rather than copying values out of C at return.
7802
7803 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
7804
7805         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7806         * math/auto-libm-test-out: Regenerated.
7807         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7808         (hypot_test_data): Likewise.
7809         (pow_test_data): Likewise.
7810         (pow_tonearest_test_data): Likewise.
7811         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7812         mpfr_ff_f.
7813         (func_calc_desc): Add mpfr_ff_f union field.
7814         (FUNC_mpfr_ff_f): New macro.
7815         (test_functions): Add atan2, hypot and pow.
7816         (special_fill_min): New function.
7817         (special_fill_minus_min): Likewise.
7818         (special_fill_min_subnorm): Likewise.
7819         (special_fill_minus_min_subnorm): Likewise.
7820         (special_real_inputs): Add min, -min, min_subnorm and
7821         -min_subnorm.
7822         (calc_generic_results): Handle mpfr_ff_f.
7823         * sysdeps/i386/fpu/libm-test-ulps: Update.
7824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7825
7826 2013-12-16  Will Newton  <will.newton@linaro.org>
7827
7828         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7829         (Aligned Memory Blocks): Add documentation for aligned_alloc
7830         and suggest it as an alternative to posix_memalign.
7831         (Hooks for Malloc): Document __memalign_hook is also called
7832         for aligned_alloc.  (Summary of Malloc): Add summary for
7833         aligned alloc.  Document __memalign_hook is also called
7834         for aligned_alloc.
7835
7836 2013-12-16  Will Newton  <will.newton@linaro.org>
7837
7838         * manual/memory.texi (Malloc Examples): Clarify default
7839         alignment documentation.  Suggest posix_memalign rather
7840         than memalign or valloc.
7841         (Aligned Memory Blocks): Remove suggestion to use memalign
7842         or valloc.  Remove obsolete comment about BSD.
7843         Document memalign errno values and mark the function obsolete.
7844         Document posix_memalign returned error codes.  Mark valloc
7845         as obsolete.  (Hooks for Malloc): __memalign_hook is also
7846         called for posix_memalign and valloc.
7847         (Summary of Malloc): Add posix_memalign to function summary.
7848         __memalign_hook is also called for posix_memalign and valloc.
7849
7850 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7851
7852         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7853         TAYLOR_SIN.
7854         (__sin): Adjust.
7855         (__cos): Likewise.
7856         (sloww): Use mynumber union.  Expand ternary operator into
7857         if-else statements.
7858         (cslow): use mynumber union.
7859
7860 2013-12-16  Allan McRae  <allan@archlinux.org>
7861
7862         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7863         * configure: Regenerated.
7864
7865         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7866
7867         [BZ #14120]
7868         * configure.ac: Added --enable-maintainer-mode. Check for
7869         autoconf when enabled.
7870         * configure: Regenerated.
7871
7872         * nscd/nscd.service: New file.
7873         * nscd/nscd.tmpfiles: New file.
7874
7875 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
7876
7877         [BZ #12100]
7878         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7879         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7880         * sysdeps/x86_64/multiarch/strstr.c: ... here.
7881         (strstr): Add __strstr_sse2_unaligned ifunc.
7882         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7883         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7884         (strcasestr): Remove __strcasestr_sse42 ifunc.
7885         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7886         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7887         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7888
7889 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7890
7891         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7892         * sysdeps/sh/bits/fenv.h: ... here.
7893         * sysdeps/sh/sh4/fpu/bits: Remove directory.
7894
7895 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7896
7897         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7898
7899         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7900         hypotf multiarch implementations.
7901         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7902         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7903         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7904         multiarch hypot for PPC64.
7905         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7906         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7907         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7908         multiarch hypotf for PPC64.
7909
7910         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7911         modff multiarch implementations.
7912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7915         multiarch modf for PPC64.
7916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7919         multiarch modff for PPC64.
7920
7921         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7922         and logl multiarch implementations.
7923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7926         multiarch logb for PPC64.
7927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7930         multiarch logb for PPC64.
7931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7934         multiarch logb for PPC64.
7935
7936         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7937         isinff multiarch implementation.
7938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7939         file.
7940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7942         multiarch isinf for PPC64.
7943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7944         file.
7945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7946         multiarch isinff for PPC64.
7947
7948         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7949         finitef multiarch implementation.
7950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7951         file.
7952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7954         multiarch finite for PPC64.
7955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7956         file.
7957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7958         multiarch finitef for PPC64.
7959
7960         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7961         lrint multiarch implementation.
7962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7963         file.
7964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7966         multiarch llrint for PPC64.
7967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7968         multiarch lrint for PPC64.
7969
7970         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7971         copysignf multiarch implementation.
7972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7973         file.
7974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7975         file.
7976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7977         multiarch copysign for PPC64.
7978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7979         multiarch copysignf for PPC64.
7980
7981         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7982         multiarch implementation.
7983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7984         file.
7985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7986         file.
7987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7988         file.
7989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7990         file.
7991         multiarch llround for PPC64.
7992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7993         multiarch trunc for PPC64.
7994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7995         multiarch truncf for PPC64.
7996
7997         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7998         multiarch implementation.
7999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8000         file.
8001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8002         file.
8003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8004         file.
8005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8006         file.
8007         multiarch llround for PPC64.
8008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8009         multiarch round for PPC64.
8010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8011         multiarch roundf for PPC64.
8012
8013         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8014         multiarch implementation.
8015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8016         file.
8017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8018         file.
8019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8020         file.
8021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8022         file.
8023         multiarch llround for PPC64.
8024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8025         multiarch floor for PPC64.
8026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8027         multiarch floorf for PPC64.
8028
8029         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8030         multiarch implementation.
8031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8032         file.
8033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8034         file.
8035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8036         file.
8037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8038         file.
8039         multiarch llround for PPC64.
8040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8041         multiarch ceil for PPC64.
8042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8043         multiarch ceilf for PPC64.
8044
8045         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8046         multiarch implementation.
8047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8048         file.
8049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8050         file.
8051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8052         file.
8053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8054         multiarch llround for PPC64.
8055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8056         multiarch lround for PPC64.
8057
8058         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8059         multiarch implementation.
8060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8063         file.
8064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8067         multiarch isnan for PPC64.
8068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8069         multiarch isnanf for PPC64.
8070
8071         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8072         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8073         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8074         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8075         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8077
8078         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8079         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8080         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8081         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8082
8083         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8084         multiarch implementations.
8085         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8086         (__libc_ifunc_impl_list): Likewise.
8087         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8088         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8089         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8090         multiarch stpcpy for PPC64.
8091
8092         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8093         multiarch implementations.
8094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8095         (__libc_ifunc_impl_list): Likewise.
8096         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8097         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8098         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8099         multiarch strcpy for PPC64.
8100
8101         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8102         redefine function name.
8103         (_wordcopy_fwd_dest_aligned): Likewise.
8104         (_wordcopy_bwd_aligned): Likewise.
8105         (_wordcopy_bwd_dest_aligned): Likewise.
8106         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8107         multiarch implementations.
8108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8109         (__libc_ifunc_impl_list): Likewise.
8110         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8111         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8112         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8113         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8114         multiarch wcscpy for PPC64.
8115
8116         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8117         multiarch implementations.
8118         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8119         (__libc_ifunc_impl_list): Likewise.
8120         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8121         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8122         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8123         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8124         multiarch wcscpy for PPC64.
8125
8126         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8127         multiarch implementations.
8128         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8129         (__libc_ifunc_impl_list): Likewise.
8130         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8131         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8132         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8133         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8134         multiarch wcsrchr for PPC64.
8135
8136         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8137         multiarch implementations.
8138         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8139         (__libc_ifunc_impl_list): Likewise.
8140         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8141         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8142         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8143         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8144         multiarch wcschr for PPC64.
8145
8146         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8147         multiarch implementations.
8148         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8149         (__libc_ifunc_impl_list): Likewise.
8150         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8151         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8152         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8153         multiarch strchrnul for PPC64.
8154
8155         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8156         implementations.
8157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8158         (__libc_ifunc_impl_list): Likewise.
8159         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8160         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8161         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8162         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8163         strchr for PPC64.
8164
8165         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8166         implementations.
8167         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8168         (__libc_ifunc_impl_list): Likewise.
8169         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8170         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8171         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8172         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8173         strncmp for PPC64.
8174
8175         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8176         multiarch implementations.
8177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8178         (__libc_ifunc_impl_list): Likewise.
8179         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8180         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8181         strncasecmp for PPC64.
8182         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8183         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8184         multiarch strncasecmp_l for PPC64.
8185
8186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8187         multiarch implementations.
8188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8189         (__libc_ifunc_impl_list): Likewise.
8190         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8191         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8192         multiarch strcasecmp for PPC64.
8193         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8194         file.
8195         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8196         multiarch strcasecmp_l for PPC64.
8197
8198         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8199         implementations.
8200         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8201         (__libc_ifunc_impl_list): Likewise.
8202         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8203         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8204         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8205         strnlen for PPC64.
8206
8207         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8208         implementations.
8209         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8210         (__libc_ifunc_impl_list): Likewise.
8211         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8212         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8213         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8214         strlen for PPC64.
8215
8216         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8217         implementations.
8218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8219         (__libc_ifunc_impl_list): Likewise.
8220         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8221         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8222         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8223         rawmemrchr for PPC64.
8224
8225         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8226         implementation.
8227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8228         (__libc_ifunc_impl_list): Likewise.
8229         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8230         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8231         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8232         memrchr for PPC64.
8233
8234         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8235         implementation.
8236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8237         (__libc_ifunc_impl_list): Likewise.
8238         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8239         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8240         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8241         memchr for PPC64.
8242
8243         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8244         implementation.
8245         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8246         (__libc_ifunc_impl_list): Likewise.
8247         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8248         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8249         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8250         mempcpy for PPC64.
8251
8252         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8253         avoid cretion of __bzero symbol.
8254         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8255         Likewise.
8256         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8257         Likewise.
8258         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8259         Likewise.
8260         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8261         multiarch implementations.
8262         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8263         (__libc_ifunc_impl_list): Likewise.
8264         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8265         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8266         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8267         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8268         bzero for PPC32.
8269         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8270         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8271         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8272         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8273         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8274         memset for PPC64.
8275         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8276
8277         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8278         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8279         implementations.
8280         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8281         (__libc_ifunc_impl_list): Likewise.
8282         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8283         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8284         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8285         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8286         memcmp for PPC64.
8287
8288         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8289         multiarch for POWER/PPC64.
8290         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8291         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8292         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8293         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8294         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8295         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8296         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8297         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8298         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8299         memcpy for PPC64.
8300
8301         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8302         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8303         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8304         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8305         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8306         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8307         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8308         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8309         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8310         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8311         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8312         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8313         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8314         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8315         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8323
8324 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8325
8326         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8327
8328 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8329
8330         * benchtests/Makefile (bench): Add exp2 and log2.
8331         (LDLIBS-bench-exp2): Add -lm.
8332         (LDLIBS-bench-log2): Likewise.
8333         * benchtests/exp2-inputs: New inputs file.
8334         * benchtests/log2-inputs: New inputs file.
8335         * benchtests/log-inputs: Add new inputs.
8336         * benchtests/tan-inputs: Likewise.
8337
8338 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8339
8340         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8341         definition...
8342         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8343         (csloww2): ... from here.
8344
8345         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8346         instead of structures.
8347         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8348         (POLYNOMIAL): Likewise.
8349         (TAYLOR_SLOW): Likewise.
8350         (__sin): Likewise.
8351         (__cos): Likewise.
8352         (slow1): Likewise.
8353         (slow2): Likewise.
8354         (sloww): Likewise.
8355         (sloww1); Likewise.
8356         (sloww2): Likewise.
8357         (bsloww1): Likewise.
8358         (bsloww2): Likewise.
8359         (cslow2): Likewise.
8360         (csloww): Likewise.
8361         (csloww1): Likewise.
8362         (csloww2): Likewise.
8363
8364 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
8365
8366         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
8367         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8368         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
8369         * malloc/hooks.c (realloc_check): Likewise.
8370
8371         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8372         * malloc/arena.c: Remove PER_THREAD conditional.
8373         [!PER_THREAD]: Remove code.
8374         (ptmalloc_unlock_all2): Likewise.
8375         (ptmalloc_init): Likewise.
8376         (_int_new_arena): Likewise.
8377         (arena_get2): Likewise.
8378         * malloc/hooks.c (__malloc_get_state): Likewise.
8379         (__malloc_set_state): Likewise.
8380         * malloc/malloc.c: Likewise.
8381         (struct malloc_state): Likewise.
8382         (struct malloc_par): Likewise.
8383         (__libc_realloc): Likewise.
8384         (__libc_mallopt): Likewise.
8385
8386 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8387
8388         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8389
8390 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
8391
8392         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8393         macro to a function.  Check for zero perturb_byte.
8394         (_int_malloc, _int_free): Remove zero perturb_byte checks.
8395
8396         * malloc/malloc.c: (force_reg): Remove.
8397         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8398         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
8399         force_reg by atomic_forced_read.
8400         * malloc/arena.c (ptmalloc_init): Likewise.
8401         * malloc/hooks.c (top_check): Likewise.
8402
8403 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8404
8405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8406
8407 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
8408
8409         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8410
8411 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
8412
8413         * math/auto-libm-test-in: Add tests of lgamma.
8414         * math/auto-libm-test-out: Regenerated.
8415         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8416         (M_LOG_2_SQRT_PIl): Likewise.
8417         (lgamma_test_data): Use AUTO_TESTS_f_f1.
8418         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8419         mpfr_f_f1.
8420         (func_calc_desc): Add mpfr_f_f1 union field.
8421         (ARGS1): New macro.
8422         (ARGS2): Likewise.
8423         (ARGS3): Likewise.
8424         (ARGS4): Likewise.
8425         (RET1): Likewise.
8426         (RET2): Likewise.
8427         (CALC): Likewise.
8428         (FUNC): Likewise.
8429         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8430         (test_functions): Add lgamma.
8431         (calc_generic_results): Handle mpfr_f_f1.
8432         * sysdeps/i386/fpu/libm-test-ulps: Update.
8433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8434
8435 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8436
8437         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8438         __mpn_add_n for PowerPC64/POWER7.
8439         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8440         __mpn_sub_n for PowerPC64/POWER7.
8441
8442         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8443         __mpn_addmul_1 for PowerPC64.
8444         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8445         __mpn_submul_1 for PowerPC64.
8446         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8447         for PowerPC64.
8448         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8449         for PowerPC64.
8450
8451 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
8452
8453         [BZ #15089]
8454         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8455
8456 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8457
8458         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8459
8460         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8461         add multiarch folders.
8462         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8463         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8464         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8465         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8466         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8467         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8468         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8469         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8470         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8471         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8472         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8479
8480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8481         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8483         New file.
8484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8485         New file.
8486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8487         multiarch __ieee754_hypot for PowerPC32.
8488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8489         New file.
8490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8491         New file.
8492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8493         multiarch __ieee754_hypotf for PowerPC32.
8494
8495         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8496         long_double_symbol only if __logbl is defined.
8497         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8498         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8499         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8500         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8501         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8502         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8503         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8504         path for implementation.
8505         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8506         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8508         logb, and logbl multiarch implementations for PowerPC32.
8509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8510         file.
8511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8512         file.
8513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8514         multiarch logb for PowerPC32.
8515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8516         file.
8517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8518         file.
8519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8520         multiarch logbf for PowerPC32.
8521         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8523         file.
8524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8525         multiarch logbl implementation for PowerPC32.
8526
8527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8528         and modff multiarch implementations.
8529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8530         New file.
8531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8532         New file.
8533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8534         multiarch modf for PowerPC32.
8535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8536         New file.
8537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8538         New file.
8539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8540         multiarch modff for PowerPC32.
8541
8542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8543         and lrintf multiarch implementations.
8544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8545         New file.
8546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8547         New file.
8548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8549         multiarch lrint for PowerPC32.
8550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8551         file: multiarch lrintf for PowerPC32.
8552
8553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8554         and lroundf multiarch implementations.
8555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8556         New file.
8557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8558         New file.
8559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8560         New file.
8561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8562         multiarch lround for PowerPC32.
8563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8564         file: multiarch lroundf for PowerPC32.
8565
8566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8567         copysign and copysignf multiarch implementations.
8568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8569         New file.
8570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8571         New file.
8572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8573         file: multiarch copysign for PowerPC32.
8574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8575         file: multiarch copysignf for PowerPC32.
8576
8577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8578         and truncf multiarch implementations.
8579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8580         New file.
8581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8582         file.
8583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8584         multiarch trunc for PowerPC32.
8585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8586         New file.
8587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8588         New file.
8589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8590         multiarch truncf for PowerPC32.
8591
8592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8593         and roundf multiarch implementations.
8594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8595         New file.
8596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8597         file.
8598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8599         multiarch round for PowerPC32.
8600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8601         New file.
8602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8603         New file.
8604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8605         multiarch roundf for PowerPC32.
8606
8607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8608         and floorf multiarch implementations.
8609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8610         New file.
8611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8612         file.
8613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8614         multiarch floor for PowerPC32.
8615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8616         New file.
8617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8618         New file.
8619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8620         multiarch floorf for PowerPC32.
8621
8622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8623         and ceilf multiarch implementations.
8624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8625         New file.
8626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8627         file.
8628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8629         multiarch ceil for PowerPC32.
8630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8631         New file.
8632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8633         file.
8634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8635         multiarch ceilf for PowerPC32.
8636
8637         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8638         is defined.
8639         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8640         FINITEF is defined.
8641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8642         and finitef multiarch implementations.
8643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8644         New file.
8645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8646         file.
8647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8648         multiarch finite for PowerPC32.
8649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8650         New file.
8651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8652         file: multiarch finitef for PowerPC32.
8653
8654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8655         and isinff multiarch implementations.
8656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8657         file.
8658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8659         file.
8660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8661         multiarch isinf for PowerPC32.
8662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8663         New file.
8664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8665         multiarch isinff for PowerPC32.
8666
8667         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8668         alias when __isnan is defined.
8669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8670         and isnanf multiarch implementations.
8671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8672         file.
8673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8674         file.
8675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8676         file.
8677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8678         file.
8679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8680         multiarch isnan for PowerPC32.
8681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8682         New file.
8683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8684         New file.
8685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8686         multiarch isnanf for PowerPC32.
8687
8688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8689         and sqrtf multiarch implementations.
8690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8691         file.
8692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8693         file.
8694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8695         multiarch sqrt for PowerPC32.
8696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8697         file.
8698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8699         file.
8700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8701         multiarch sqrtf for PowerPC32.
8702
8703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8704         and llroundf multiarch implementations.
8705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8706         New file.
8707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8708         New file.
8709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8710         New file.
8711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8712         file: multiarch llround for PowerPC32.
8713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8714         file: multiarch llroundf for PowerPC32.
8715
8716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8717         multiarch PowerPC32 fpu implementations.
8718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8719         New file.
8720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8721         New file.
8722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8723         multiarch llrint for PowerPC32.
8724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8725         New file.
8726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8727         New file.
8728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8729         file.
8730
8731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8732
8733         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8734         file.
8735         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8736         file.
8737         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8738         file.
8739         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8740         multiarch wordcopy for PPC32.
8741         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8742         wordcopy objects.
8743         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8744         (__libc_ifunc_impl_list): Likewise.
8745         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8746         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8747         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8748         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8749         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8750         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8751
8752         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8753         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8754         file.
8755         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8756         file.
8757         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8758         file.
8759         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8760         multiarch wcscpy for PPC32.
8761         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8762         multiarch objects.
8763         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8764         (__libc_ifunc_impl_list): Likewise.
8765         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8766         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8767         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8768         sysdeps/powerpc/power6/wcscpy.c.
8769
8770         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8771         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8772         file.
8773         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8774         file.
8775         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8776         file.
8777         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8778         multiarch wcsrchr for PPC32.
8779         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8780         multiarch objects.
8781         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8782         (__libc_ifunc_impl_list): Likewise.
8783         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8784         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8785         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8786         sysdeps/powerpc/power6/wcsrchr.c.
8787
8788         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8789         file.
8790         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8791         file.
8792         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8793         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8794         multiarch wcschr for PPc32.
8795         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8796         multiarch objects.
8797         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8798         (__libc_ifunc_impl_list): Likewise.
8799         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8800         * sysdeps/powerpc/power6/wcschr.c: ... to here.
8801         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8802         sysdeps/powerpc/power6/wcschr.c.
8803
8804         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8805         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8806         file.
8807         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8808         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8809         file: multiarch strchr for PPC32.
8810         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8811         multiarch objects.
8812         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8813         (__libc_ifunc_impl_list): Likewise.
8814
8815         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8816         name.
8817         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8818         file.
8819         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8820         file.
8821         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8822         multiarch strchrnul for PPC32.
8823         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8824         multiarch objects.
8825         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8826         (__libc_ifunc_impl_list): Likewise.
8827
8828         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8829         file.
8830         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8831         multiarch strncasecmp for PPC32.
8832         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8833         file.
8834         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8835         multiarch strncasecmp_l for PPC32.
8836         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8837         strncasecmp multiarch objects.
8838         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8839         (__libc_ifunc_impl_list): Likewise.
8840
8841         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8842         file.
8843         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8844         multiarch strncasecmp for PPC32.
8845         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8846         New file.
8847         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8848         multiarch strcasecmp_l for PPC32.
8849         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8850         multiarch objects.
8851         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8852         (__libc_ifunc_impl_list): Likewise.
8853
8854         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8855         file.
8856         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8857         file.
8858         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8859         multiarch strncmp for PPC32.
8860         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8861         multiarch objects.
8862         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8863         (__libc_ifunc_impl_list): Likewise.
8864
8865         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8866         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8867         file.
8868         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8869         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8870         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8871         multiarch objects.
8872         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8873         (__libc_ifunc_impl_list): Likewise.
8874
8875         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8876         file.
8877         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8878         file.
8879         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8880         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8881         multiarch objects.
8882         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8883         (__libc_ifunc_impl_list): Likewise.
8884
8885         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8886         file.
8887         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8888         file.
8889         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8890         multiarch rawmemchr for PPC32.
8891         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8892         multiarch objects.
8893         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8894         (__libc_ifunc_impl_list): Likewise.
8895
8896         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8897         file.
8898         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8899         file.
8900         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8901         file: memrchr multiarch for PPC32.
8902         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8903         multiarch objects.
8904         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8905         (__libc_ifunc_impl_list): Likewise.
8906
8907         * string/memchr.c (__memchr): Using macro to redefine symbol name.
8908         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8909         file.
8910         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8911         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8912         multiarch memchr for PPC32.
8913         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8914         multiarch objects.
8915         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8916         (__libc_ifunc_impl_list): Likewise.
8917
8918         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8919         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8920         file.
8921         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8922         file.
8923         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8924         file: multiarch mempcpy for PPC32.
8925         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8926         multiarch objects.
8927         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8928         (__libc_ifunc_impl_list): Likewise.
8929
8930         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8931         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8932         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8933         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8934         multiarch bzero for PPC32.
8935         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8936         file.
8937         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8938         file.
8939         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8940         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8941         file: multiarch memset for PPC32.
8942         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8943         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8944         memset multiarch objects.
8945         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8946         (__libc_ifunc_impl_list): Likewise.
8947
8948         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8949         file.
8950         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8951         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8952         memcmp for PPC32.
8953         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8954         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8955         multiarch objects.
8956         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8957         (__libc_ifunc_impl_list): Likewise.
8958
8959         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8960         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8961         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8962         file.
8963         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8964         file.
8965         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8966         file.
8967         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8968         multiarch memcpy for PPC32.
8969         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8970         multiarch objects.
8971         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8972         (__libc_ifunc_impl_list): Likewise.
8973
8974         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8975         support multiarch for POWER/PPC32.
8976         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8977         Likewise.
8978         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8980         Implies file to make multiarch folder appers before the fpu and
8981         default folder for power4 configuration.
8982
8983 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8984
8985         * scripts/bench.pl: Append volatile keyword to type.
8986
8987 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8988
8989         * sysdeps/sh/sotruss-lib.c: New file.
8990         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8991
8992 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8993
8994         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8995
8996 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
8997
8998         [BZ #6810]
8999         * math/w_tgamma.c: Include <errno.h>.
9000         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
9001         * math/w_tgammaf.c: Include <errno.h>.
9002         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
9003         * math/w_tgammal.c: Include <errno.h>.
9004         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
9005         * math/auto-libm-test-in: Do not allow missing errno on tgamma
9006         underflow.  Add more tgamma tests.
9007         * math/auto-libm-test-out: Regenerated.
9008         * sysdeps/i386/fpu/libm-test-ulps: Update.
9009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9010
9011         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9012         sin, sinh, tan, tanh, tgamma, y0 and y1.
9013         * math/auto-libm-test-out: Regenerated.
9014         * math/libm-test.inc (TEST_COND_x86_64): New macro.
9015         (TEST_COND_x86): Likewise.
9016         (M_E2l): Remove macro.
9017         (M_E3l): Likewise.
9018         (M_2_SQRT_PIl): Likewise.
9019         (M_SQRT_PIl): Likewise.
9020         (M_1_DIV_El): Likewise.
9021         (log_test_data): Use AUTO_TESTS_f_f.
9022         (log10_test_data): Likewise.
9023         (log1p_test_data): Likewise.
9024         (log2_test_data): Likewise.
9025         (sin_test_data): Likewise.
9026         (sin_tonearest_test_data): Likewise.
9027         (sin_towardzero_test_data): Likewise.
9028         (sin_downward_test_data): Likewise.
9029         (sin_upward_test_data): Likewise.
9030         (sinh_test_data): Likewise.
9031         (sinh_tonearest_test_data): Likewise.
9032         (sinh_towardzero_test_data): Likewise.
9033         (sinh_downward_test_data): Likewise.
9034         (sinh_upward_test_data): Likewise.
9035         (tan_test_data): Likewise.
9036         (tan_tonearest_test_data): Likewise.
9037         (tan_towardzero_test_data): Likewise.
9038         (tan_downward_test_data): Likewise.
9039         (tan_upward_test_data): Likewise.
9040         (tanh_test_data): Likewise.
9041         (tgamma_test_data): Likewise.
9042         (y0_test_data): Likewise.
9043         (y1_test_data): Likewise.
9044         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9045         (special_real_inputs): Add pi/4.
9046         * sysdeps/i386/fpu/libm-test-ulps: Update.
9047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9048
9049 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9050
9051         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9052         "longjmp_target" static probes.
9053         (__longjmp): Rename to __longjmp_symbol.
9054         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9055         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9056         on which longjmp to generate.
9057         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9058         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9059         probe.
9060         (__sigsetjmp): Rename to __sigsetjmp_symbol.
9061         (__sigjmp_save): Rename to __sigjmp_save_symbol.
9062         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9063         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9064         and __sigjmp_save_symbol based on which sigsetjmp to generated.
9065         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9067         __longjmp_symbol based on which __longjmp to generate.
9068         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9069         probe.
9070         (setjmp): Rename to setjmp_symbol.
9071         (__sigsetjmp): Rename to __sigsetjmp_symbol.
9072         (_setjmp): Rename to _setjmp_symbol.
9073         (__sigsetjmp): Rename to __sigsetjmp_symbol.
9074         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9075         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9076         which setjmp to generate.
9077         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9078         "longjmp_target" static probes.
9079
9080 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9081
9082         * benchtests/README: Add note about output arguments.
9083         * benchtests/bench-sincos.c: Remove file.
9084         * benchtests/sincos-inputs: New file.
9085         * scripts/bench.pl: Identify output arguments and define
9086         static variables for them.
9087
9088         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9089
9090         [BZ #15941]
9091         * Makefile (INSTALL): Add install-plain.texi as the primary
9092         dependency.
9093         * manual/install-plain.texi: New file.
9094         * manual/install.texi: Include node directive only for
9095         non-plaintext output.
9096
9097 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
9098
9099         * stdlib/longlong.h: Update from GCC.
9100
9101         [BZ #6807]
9102         [BZ #15901]
9103         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9104         * math/w_j0f.c (y0f): Likewise.
9105         * math/w_j0l.c (__y0l): Likewise.
9106         * math/w_j1.c (y1): Likewise.
9107         * math/w_j1f.c (y1f): Likewise.
9108         * math/w_j1l.c (__y1l): Likewise
9109         * math/w_jn.c (yn): Likewise.
9110         * math/w_jnf.c (ynf): Likewise.
9111         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9112         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
9113         value for Bessel function domain errors outside _SVID_ mode.
9114         Adjust sign of return value for yn (negative integer, 0).
9115         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9116         by zero in return for negative x and set sign appropriately for
9117         negative n.
9118         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9119         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9120         * math/libm-test.inc (y0_test_data): Add more tests and adjust
9121         expectations in error cases.
9122         (y1_test_data): Likewise.
9123         (yn_test_data): Likewise.
9124         * sysdeps/i386/fpu/libm-test-ulps: Update.
9125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9126
9127 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9128
9129         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9130         "64" to "64-v1".  Add "64-v2".
9131         (abi-64-options): Rename to ...
9132         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
9133         (abi-64-condition): Rename to ...
9134         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
9135         (abi-64-ld-soname): Rename to ...
9136         (abi-64-v1-ld-soname): ... this.
9137         (abi-64-v2-options): Define.
9138         (abi-64-v2-condition): Likewise.
9139         (abi-64-v2-ld-soname): Likewise.
9140         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9141         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9145
9146 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9147             Alan Modra  <amodra@gmail.com>
9148
9149         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9150         New versions for use with the ELFv2 ABI.
9151         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9152         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9153         declaration.
9154         (struct La_ppc64v2_retval): Likewise.
9155         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9156         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9157         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9158         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9159         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9160         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9161         Do not save or restore CR.
9162         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9163         (_dl_profile_resolve): Do no save or restore CR.  Support extended
9164         return values for ELFv2 ABI.  Fix location of FPR return registers.
9165         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9166         updated values for _CALL_ELF == 2.
9167         (La_regs, La_retval, int_retval): Likewise.
9168
9169 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9170
9171         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9172         (FRAME_MIN_SIZE_PARM): Likewise.
9173         (FRAME_BACKCHAIN): Likewise.
9174         (FRAME_CR_SAVE): Likewise.
9175         (FRAME_LR_SAVE): Likewise.
9176         (FRAME_TOC_SAVE): Likewise.
9177         (FRAME_PARM_SAVE): Likewise.
9178         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9179         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9180         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9181         (call_mcount_parm_offset): New macro.
9182         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9183         (PROF): Use symbolic stack frame offsets.
9184         (TAIL_CALL_SYSCALL_ERROR): Likewise.
9185         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9186         Redefine in terms of FRAME_MIN_SIZE.
9187         (_dl_runtime_resolve): Use symbolic stack frame offsets.
9188         (_dl_profile_resolve): Likewise.  Update comment.
9189         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9190         symbols stack frame offsets.
9191         (__sigsetjmp): Likewise.
9192         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9193         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9194         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9195         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9196
9197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9198         (FRAME_BACKCHAIN): Remove.
9199         (FRAME_CR_SAVE): Likewise.
9200         (FRAME_LR_SAVE): Likewise.
9201         (FRAME_COMPILER_DW): Likewise.
9202         (FRAME_LINKER_DW): Likewise.
9203         (FRAME_TOC_SAVE): Likewise.
9204         (FRAME_PARM_SAVE): Likewise.
9205         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9206         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9207         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9209         (CHECK_SP): Use symbolic stack frame offsets.
9210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9211         zone" instead of caller's parameter save area for temp storage.
9212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9213         Likewise.  Also, use symbolic stack frame offsets.
9214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9215         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9216         our own stack frame instead of the caller's.
9217         (__socket): Use symbolic stack frame offsets.
9218
9219 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9220             Alan Modra  <amodra@gmail.com>
9221
9222         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9223         Define.
9224         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9225         (PPC64_LOCAL_ENTRY_OFFSET): Define.
9226         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9227         New function.
9228         (elf_machine_fixup_plt): Call it.
9229         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
9230         reloc arguments.
9231         (elf_machine_rela): Update call to elf_machine_plt_conflict.
9232         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9233         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
9234         r2 before calling target.
9235
9236 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9237             Alan Modra  <amodra@gmail.com>
9238
9239         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9240         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9241         versions of macros to support ELFv2 ABI.
9242         (LOCALENTRY): New macro.
9243         (ENTRY, EALIGN): Use it.
9244         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9245         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9246         fall through into ENTRY entry point.
9247         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9248         Only define if _CALL_ELF != 2.
9249
9250         (elf_machine_matches_host): Verify ABI version matches.
9251         (RTLD_START): Use LOCALENTRY.
9252         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9253         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9254         (PLT_ENTRY_WORDS): New macro.
9255         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9256         (elf_machine_runtime_setup): Support ELFv2 ABI.
9257         (elf_machine_fixup_plt): Likewise.
9258         (elf_machine_plt_conflict): Likewise.
9259         (resolve_ifunc): Likewise.
9260         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9261         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9262         Likewise.
9263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9264         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9266         (makecontext): Support ELFv2 ABI.
9267         * elf/elf.h (EF_PPC64_ABI): Define.
9268
9269 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9270
9271         * sysdeps/powerpc/powerpc64/sysdep.h
9272         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9273         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9274         (ENTRY) [ASSEMBLER]: ... but instead here ...
9275         (EALIGN) [ASSEMBLER]: ... and here.
9276         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9277         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9278         (ENTRY_2) [!ASSEMBLER]: Use it.
9279         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9280         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
9281         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9282         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
9283         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9285         Use PPC64_LOAD_FUNCPTR.
9286
9287         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9288
9289 2013-12-04  Alan Modra  <amodra@gmail.com>
9290
9291         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9292         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9293         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9294         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9295
9296         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9297         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9298         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9299         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9300         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9301         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9302
9303 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9304
9305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9306         (__makecontext): Fix incorrect CFI when backtracing out of
9307         context created via makecontext.
9308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9309         (__setcontext): Fix incorrect CFI during switch to new context.
9310         (__novec_setcontext): Likewise.
9311
9312 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
9313
9314         [BZ #4772]
9315         * time/strptime_l.c (__strptime_internal): Allow modifiers
9316         in strptime.
9317         * time/tst-strptime.c (day_tests): Add testcase.
9318
9319 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9320
9321         * scripts/bench.pl: Skip over blank lines.
9322
9323 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9324
9325         [BZ #926]
9326         * manual/time.texi (Calendar Time): Clarify what timezone functions
9327         use.
9328
9329 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9330
9331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9332
9333 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
9334
9335         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9336         implementation.
9337         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9338         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9339         * debug/memset_chk.c (__memset_chk): Likewise.
9340         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9341         * debug/strncpy_chk.c: Likewise.
9342
9343 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
9344
9345         [BZ #15268]
9346         [BZ #15425]
9347         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9348         (__ieee754_exp): For possibly underflowing results, check size of
9349         result and force underflow exception if required.
9350         * math/auto-libm-test-in: Add more tests of exp.
9351         * math/auto-libm-test-out: Regenerated.
9352         * sysdeps/i386/fpu/libm-test-ulps: Update.
9353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9354
9355         [BZ #16283]
9356         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9357         * math/w_exp2f.c (__exp2f): Likewise.
9358         * math/w_exp2l.c (__exp2l): Likewise.
9359         * math/auto-libm-test-in: Do not allow missing errno on exp2
9360         underflow.
9361         * math/auto-libm-test-out: Regenerated.
9362
9363 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
9364
9365         [BZ #16274]
9366         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9367         handle filename validation.
9368         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9369         (do_open): Delete.
9370
9371 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
9372
9373         [BZ #6786]
9374         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9375         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9376         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9377         <float.h>.
9378         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9379         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9380         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9381         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9382         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9383         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9384         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9385         * math/auto-libm-test-in: Don't allow missing errno from erfc.
9386         Add more erfc tests.
9387         * math/auto-libm-test-out: Regenerated.
9388         * sysdeps/i386/fpu/libm-test-ulps: Update.
9389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9390
9391         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9392         exp2, expm1, j0 and j1.
9393         * math/auto-libm-test-out: Regenerated.
9394         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9395         (erfc_test_data): Likewise.
9396         (exp_test_data): Likewise.
9397         (exp_tonearest_test_data): Likewise.
9398         (exp_towardzero_test_data): Likewise.
9399         (exp_downward_test_data): Likewise.
9400         (exp_upward_test_data): Likewise.
9401         (exp10_test_data): Likewise.
9402         (exp2_test_data): Likewise.
9403         (expm1_test_data): Likewise.
9404         (j0_test_data): Likewise.
9405         (j1_test_data): Likewise.
9406         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9407         (input_flag_type): Add flag_xfail_rounding.
9408         (input_flags): Add xfail-rounding.
9409         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9410         (output_for_one_input_case): Handle flag_xfail_rounding.
9411         * sysdeps/i386/fpu/libm-test-ulps: Update.
9412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9413
9414 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
9415
9416         [BZ #16289]
9417         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9418         division by 0.
9419
9420 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9421
9422         [BZ #16195]
9423         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9424         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9425         (STAP_PROBE0): New macro.
9426         (STAP_PROBE1): Likewise.
9427         (STAP_PROBE2): Likewise.
9428         (STAP_PROBE3): Likewise.
9429         (STAP_PROBE4): Likewise.
9430
9431 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
9432
9433         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9434
9435 2013-12-02  Steve Ellcey  <sellcey@mips.com>
9436
9437         * benchtests/Makefile (bench): Add sqrt.
9438         (LDLIBS-bench-sqrt): New.
9439         * benchtests/sqrt-input: New.
9440
9441 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
9442
9443         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9444         (GAIH_EAI): Likewise.
9445         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9446         (gaih_inet): Likewise.
9447         (getaddrinfo): Don't use GAIH_EAI.
9448
9449         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9450         (struct gaih): Remove definition.
9451
9452 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9453
9454         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9455         Use HERRNOP directly.
9456
9457 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9458
9459         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9460
9461 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
9462
9463         * math/gen-auto-libm-tests.c (test_functions): Add more
9464         single-argument functions.
9465         (special_fill_pi_2): New function.
9466         (special_fill_minus_pi_2): Likewise.
9467         (special_fill_pi_6): Likewise.
9468         (special_fill_minus_pi_6): Likewise.
9469         (special_fill_pi_3): Likewise.
9470         (special_fill_2pi_3): Likewise.
9471         (special_fill_e): Likewise.
9472         (special_fill_1_e): Likewise.
9473         (special_fill_e_minus_1): Likewise.
9474         (special_real_inputs): Add more special inputs.
9475         (output_for_one_input_case): Do not require ERANGE on underflow to
9476         zero if round-to-nearest result does not underflow to zero, unless
9477         exact results required.
9478         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9479         atan, atanh, cbrt, cos and cosh.
9480         * math/auto-libm-test-out: Regenerated.
9481         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9482         (acos_tonearest_test_data): Likewise.
9483         (acos_towardzero_test_data): Likewise.
9484         (acos_downward_test_data): Likewise.
9485         (acos_upward_test_data): Likewise.
9486         (acosh_test_data): Likewise.
9487         (asin_test_data): Likewise.
9488         (asin_tonearest_test_data): Likewise.
9489         (asin_towardzero_test_data): Likewise.
9490         (asin_upward_test_data): Likewise.
9491         (asinh_test_data): Likewise.
9492         (atan_test_data): Likewise.
9493         (atanh_test_data): Likewise.
9494         (cbrt_test_data): Likewise.
9495         (cos_test_data): Likewise.
9496         (cos_tonearest_test_data): Likewise.
9497         (cos_towardzero_test_data): Likewise.
9498         (cos_downward_test_data): Likewise.
9499         (cos_upward_test_data): Likewise.
9500         (cosh_test_data): Likewise.
9501         (cosh_tonearest_test_data): Likewise.
9502         (cosh_towardzero_test_data): Likewise.
9503         (cosh_downward_test_data): Likewise.
9504         (cosh_upward_test_data): Likewise.
9505         * sysdeps/i386/fpu/libm-test-ulps: Update.
9506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9507
9508 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
9509
9510         [BZ #6787]
9511         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9512         * math/w_exp10f.c (__exp10f): Likewise.
9513         * math/w_exp10l.c (__exp10l): Likewise.
9514         * math/libm-test.inc (exp10_test_data): Add more tests and expect
9515         errno settings in existing tests.
9516
9517         [BZ #14032]
9518         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9519         precision control set to double precision.
9520         * sysdeps/i386/fpu/w_sqrt.c: New file.
9521         * math/auto-libm-test-in: Add more tests.
9522         * math/auto-libm-test-out: Update.
9523
9524         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9525         (sqrt_test_tonearest): New function.
9526         (sqrt_towardzero_test_data): New variable.
9527         (sqrt_test_towardzero): New function.
9528         (sqrt_downward_test_data): New variable.
9529         (sqrt_test_downward): New function.
9530         (sqrt_upward_test_data): New variable.
9531         (sqrt_test_upward): New function.
9532         (main): Call the new functions.
9533
9534         * math/gen-auto-libm-tests.c: New file.
9535         * math/auto-libm-test-in: Likewise.
9536         * math/auto-libm-test-out: New generated file.
9537         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9538         variables.
9539         (%beautify): Add generated representations of zero.
9540         (top level): Set $auto_input and call parse_auto_input.
9541         (beautify): Remove trailing "f" from hex float constants.
9542         (parse_args): Handle XFAIL_TEST.
9543         (convert_condition): New function.
9544         (or_value): Likewise.
9545         (or_cond_value): Likewise.
9546         (generate_testfile): Handle AUTO_TESTS_* lines.
9547         (parse_auto_input): New function.
9548         * math/libm-test.inc (XFAIL_TEST): New macro.
9549         (ERRNO_UNCHANGED): Update value.
9550         (ERRNO_EDOM): Likewise.
9551         (ERRNO_ERANGE): Likewise.
9552         (IGNORE_RESULT): Likewise.
9553         (TEST_COND_flt_32): New macro.
9554         (TEST_COND_dbl_64): Likewise.
9555         (TEST_COND_ldbl_96_intel): Likewise.
9556         (TEST_COND_ldbl_96_m68k): Likewise.
9557         (TEST_COND_ldbl_128): Likewise.
9558         (TEST_COND_ldbl_128ibm): Likewise.
9559         (TEST_COND_long32): Likewise.
9560         (TEST_COND_long64): Likewise.
9561         (TEST_COND_before_rounding): Likewise.
9562         (TEST_COND_after_rounding): Likewise.
9563         (enable_test): Handle XFAIL_TEST flag.
9564         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9565         with finite results.
9566         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9567         auto-libm-test-out.
9568
9569 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9570             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9571
9572         [BZ #16214]
9573         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9574         __tls_get_addr_internal instead of __tls_get_offset in order to
9575         avoid GOT pointer dependency.  Make rtld export
9576         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9577         __tls_get_addr since we are a __tls_get_offset platform.
9578         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9579         GOT pointer being set up before.
9580         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9581
9582 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
9583
9584         * manual/math.texi (Errors in Math Functions): Document accuracy
9585         goals.
9586
9587         [BZ #15004]
9588         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9589         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9590         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9591         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9592         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9593         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9594         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9595         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9596         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9597         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9598         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9599         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9600         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9601         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9602         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9603         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9604
9605         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9606         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9607         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9608         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9609         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9610         Likewise.
9611         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9612         Likewise.
9613         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9614         Likewise.
9615         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9616         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9617         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9618         atomic-feupdateenv and flt-rounds.
9619         * sysdeps/powerpc/nofpu/Versions (libc): Add
9620         __atomic_feholdexcept, __atomic_feclearexcept,
9621         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9622         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9623         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9624         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9625         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9626         here.
9627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9628         Update.
9629
9630         * manual/arith.texi (FP Exceptions): Document that exceptions may
9631         not be raised when matherr is used.
9632         (Math Error Reporting): Document overflow in directed rounding
9633         modes.  Document that errno may not be set when finite values are
9634         returned on overflow.  Document intent to set errno on underflow
9635         only for underflow to zero.
9636
9637         [BZ #16271]
9638         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9639         round-to-nearest then adjust result for other rounding modes.
9640         * include/fenv.h (fegetround): Use libm_hidden_proto.
9641         * math/fegetround.c (fegetround): Use libm_hidden_def.
9642         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9643         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9644         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9645         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9646         Likewise.
9647         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9648         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9649         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9650         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9651
9652 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9653
9654         [BZ #16077]
9655         * nss/Versions (libnss_files): Add
9656         _nss_files_gethostbyname3_r.
9657         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9658         New function.
9659         (HOST_DB_LOOKUP): Remove macro.
9660         (_nss_files_gethostbyname_r): Implement function without the
9661         HOST_DB_LOOKUP macro.
9662         (_nss_files_gethostbyname2_r): Likewise.
9663
9664 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
9665
9666         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9667
9668 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
9669
9670         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9671         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9672         warning.
9673
9674 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9675
9676         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9677         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9678         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9679         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9680         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9681         __fe_nomask_env_priv and attribute_hidden.
9682         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9683         (libc_feupdateenv_test_ppc): Likewise.
9684         (libc_feresetround_ppc): Likewise.
9685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9686         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9687         compat_symbol macro.
9688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9689         (__fe_nomask_env): Likewise.
9690         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9691
9692 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9693
9694         * string/Makefile: Remove ifunc tests.
9695         * string/test-string.h: Define TEST_IFUNC.
9696         * string/test-bcopy-ifunc.c: Remove.
9697         * string/test-bzero-ifunc.c: Likewise.
9698         * string/test-memccpy-ifunc.c: Likewise.
9699         * string/test-memchr-ifunc.c: Likewise.
9700         * string/test-memcmp-ifunc.c: Likewise.
9701         * string/test-memcpy-ifunc.c: Likewise.
9702         * string/test-memmem-ifunc.c: Likewise.
9703         * string/test-memmove-ifunc.c: Likewise.
9704         * string/test-mempcpy-ifunc.c: Likewise.
9705         * string/test-memrchr-ifunc.c: Likewise.
9706         * string/test-memset-ifunc.c: Likewise.
9707         * string/test-rawmemchr-ifunc.c: Likewise.
9708         * string/test-stpcpy-ifunc.c: Likewise.
9709         * string/test-stpncpy-ifunc.c: Likewise.
9710         * string/test-strcasecmp-ifunc.c: Likewise.
9711         * string/test-strcasestr-ifunc.c: Likewise.
9712         * string/test-strcat-ifunc.c: Likewise.
9713         * string/test-strchr-ifunc.c: Likewise.
9714         * string/test-strchrnul-ifunc.c: Likewise.
9715         * string/test-strcmp-ifunc.c: Likewise.
9716         * string/test-strcpy-ifunc.c: Likewise.
9717         * string/test-strcspn-ifunc.c: Likewise.
9718         * string/test-strlen-ifunc.c: Likewise.
9719         * string/test-strncasecmp-ifunc.c: Likewise.
9720         * string/test-strncat-ifunc.c: Likewise.
9721         * string/test-strncmp-ifunc.c: Likewise.
9722         * string/test-strncpy-ifunc.c: Likewise.
9723         * string/test-strnlen-ifunc.c: Likewise.
9724         * string/test-strpbrk-ifunc.c: Likewise.
9725         * string/test-strrchr-ifunc.c: Likewise.
9726         * string/test-strspn-ifunc.c: Likewise.
9727         * string/test-strstr-ifunc.c: Likewise.
9728
9729 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9730
9731         * benchtests/Makefile: Remove ifunc tests.
9732         * benchtests/bench-string.h: Define TEST_IFUNC.
9733         * benchtests/bench-bcopy-ifunc.c: Remove.
9734         * benchtests/bench-bzero-ifunc.c: Likewise.
9735         * benchtests/bench-memccpy-ifunc.c: Likewise.
9736         * benchtests/bench-memchr-ifunc.c: Likewise.
9737         * benchtests/bench-memcmp-ifunc.c: Likewise.
9738         * benchtests/bench-memcpy-ifunc.c: Likewise.
9739         * benchtests/bench-memmem-ifunc.c: Likewise.
9740         * benchtests/bench-memmove-ifunc.c: Likewise.
9741         * benchtests/bench-mempcpy-ifunc.c: Likewise.
9742         * benchtests/bench-memrchr-ifunc.c: Likewise.
9743         * benchtests/bench-memset-ifunc.c: Likewise.
9744         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9745         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9746         * benchtests/bench-stpcpy-ifunc.c: Likewise.
9747         * benchtests/bench-stpncpy-ifunc.c: Likewise.
9748         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9749         * benchtests/bench-strcasestr-ifunc.c: Likewise.
9750         * benchtests/bench-strcat-ifunc.c: Likewise.
9751         * benchtests/bench-strchr-ifunc.c: Likewise.
9752         * benchtests/bench-strchrnul-ifunc.c: Likewise.
9753         * benchtests/bench-strcmp-ifunc.c: Likewise.
9754         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9755         * benchtests/bench-strcpy-ifunc.c: Likewise.
9756         * benchtests/bench-strcspn-ifunc.c: Likewise.
9757         * benchtests/bench-strlen-ifunc.c: Likewise.
9758         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9759         * benchtests/bench-strncat-ifunc.c: Likewise.
9760         * benchtests/bench-strncmp-ifunc.c: Likewise.
9761         * benchtests/bench-strncpy-ifunc.c: Likewise.
9762         * benchtests/bench-strnlen-ifunc.c: Likewise.
9763         * benchtests/bench-strpbrk-ifunc.c: Likewise.
9764         * benchtests/bench-strrchr-ifunc.c: Likewise.
9765         * benchtests/bench-strsep-ifunc.c: Likewise.
9766         * benchtests/bench-strspn-ifunc.c: Likewise.
9767         * benchtests/bench-strstr-ifunc.c: Likewise.
9768
9769 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9770
9771         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9772
9773 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9774
9775         * resolv/netdb.h: Use __glibc_reserved instead __unused.
9776         * rt/aio.h: Likewise.
9777         * sysdeps/gnu/bits/utmp.h: Likewise.
9778         * sysdeps/gnu/bits/utmpx.h: Likewise.
9779         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9780         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9781         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9782         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9783         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9784         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9785         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9786         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9787         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9788         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9789         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9790         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9791         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9793         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9794         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9795         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9796         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9797         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9798         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9799         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9800         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9801         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9802         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9803         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9804         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9805         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9806         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9807         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9808         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9809         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9810         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9811         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9812         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9813         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9814         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9815         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9816         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9817         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9818         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9819         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9820         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9821
9822 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
9823
9824         [BZ #16245]
9825         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9826         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9827
9828 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
9829
9830         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9831         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9832         Likewise.
9833
9834 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9835
9836         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9837         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9838         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9839         (__fesetround): Remove define.
9840         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9841         rounding and exceptions handling.
9842         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9843         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9844         (__fe_nomask_env): Likewise.
9845         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9846         __fegetround instead of fegetround.
9847         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9848         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9849
9850 2013-11-21  Roland McGrath  <roland@hack.frob.com>
9851
9852         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9853         it's there.
9854
9855         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9856
9857 2013-11-21  Meador Inge  <meadori@codesourcery.com>
9858
9859         [BZ #11157]
9860         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9861         (encrypt_r): Likewise.
9862         * malloc/obstack.h (obstack_free): Likewise.
9863         * posix/unistd.h (encrypt): Likewise.
9864
9865 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
9866
9867         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9868         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9869         DL_CALL_DT_FINI() that call the functions directly.
9870         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9871         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9872         * elf/dl-fini.c: Likewise.
9873
9874 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
9875
9876         * malloc/hooks.c (memalign_check): Add alignment rounding.
9877         * malloc/malloc.c (_mid_memalign): New function.
9878         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9879         Implement by calling _mid_memalign.
9880         * manual/probes.texi (Memory Allocation Probes): Remove
9881         memory_valloc_retry and memory_pvalloc_retry.
9882
9883 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9884
9885         * locale/programs/locarchive.c (open_archive): Add const
9886         qualifier to ARCHIVEFNAME and copy default fname to
9887         DEFAULT_FNAME.
9888
9889         [BZ #15601]
9890         * libio/tst-widetext.input: Rename Oriya to Odia.
9891         * locale/iso-639.def: Likewise.
9892
9893         * manual/probes.texi (Mathematical Function Probes): Add
9894         documentation for sin, cos, asin and acos probes.
9895         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9896         (__sin32): Add slowasin probe.
9897         (__cos32): Add slowacos probe.
9898         (__mpsin): Add slowsin probe.
9899         (__mpcos): Add slowcos probe.
9900
9901 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
9902
9903         [BZ #15483]
9904         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9905         thread-local __sim_exceptions_thread and global
9906         __sim_exceptions_global.
9907         (__sim_disabled_exceptions): Change to thread-local
9908         __sim_disabled_exceptions_thread and global
9909         __sim_disabled_exceptions_global.
9910         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9911         and global __sim_round_mode_global.
9912         (__simulate_exceptions): Use thread-local floating-point state and
9913         set global state from it as needed.
9914         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9915         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9916         __sim_round_mode_thread.
9917         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9918         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9919         and global __sim_exceptions_global.
9920         (__sim_disabled_exceptions): Change to thread-local
9921         __sim_disabled_exceptions_thread and global
9922         __sim_disabled_exceptions_global.
9923         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9924         and global __sim_round_mode_global.
9925         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9926         (SIM_SET_GLOBAL): Likewise.
9927         * sysdeps/powerpc/soft-fp/sfp-machine.h
9928         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9929         __sim_round_mode_thread.
9930         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9931         __sim_disabled_exceptions_thread.
9932         (__sim_exceptions): Change to __sim_exceptions_thread.
9933         (__sim_disabled_exceptions): Change to
9934         __sim_disabled_exceptions_thread.
9935         (__sim_round_mode): Change to __sim_round_mode_thread.
9936         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9937         thread-local floating-point state and set global state from it as
9938         needed.
9939         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9940         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9941         (__sim_disabled_exceptions): Remove extern declaration.
9942         (feenableexcept): Use thread-local floating-point state and set
9943         global state from it as needed.
9944         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9945         extern declaration.
9946         (__sim_disabled_exceptions): Likewise.
9947         (__sim_round_mode): Likewise.
9948         (__fegetenv): Use thread-local floating-point state.
9949         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9950         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9951         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9952         floating-point state and set global state from it as needed.
9953         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9954         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9955         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9956         Likewise.
9957         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9958         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9959         Likewise.
9960         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9961         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9962         Use __sim_round_mode_thread.
9963         * math/test-fenv-tls.c: New file.
9964         * math/Makefile (tests): Add test-fenv-tls.
9965         ($(objpfx)test-fenv-tls): Depend on
9966         $(common-objpfx)nptl/libpthread.so.
9967
9968 2013-11-19  Andreas Schwab  <schwab@suse.de>
9969
9970         * locale/programs/locale.c (show_info): Decode wordarray elements.
9971         * locale/categories.def (LC_MONETARY): Add element for
9972         _NL_MONETARY_CRNCYSTR.
9973         * locale/C-monetary.c (conversion_rate): New variable.
9974         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9975         element.
9976
9977 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
9978
9979         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9980         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9981
9982 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9983
9984         * elf/Makefile (tst-auxv): New test.
9985         * elf/tst-auxv.c: New
9986         * elf/rtld.c (dl_main): Adjust AT_EXECFN
9987
9988 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
9989
9990         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9991         (hidden_proto): Caller changed.
9992         (hidden_tls_proto): New macro.
9993         (libc_hidden_tls_proto): Likewise.
9994         (rtld_hidden_tls_proto): Likewise.
9995         (libm_hidden_tls_proto): Likewise.
9996         (libresolv_hidden_tls_proto): Likewise.
9997         (librt_hidden_tls_proto): Likewise.
9998         (libdl_hidden_tls_proto): Likewise.
9999         (libnss_files_hidden_tls_proto): Likewise.
10000         (libnsl_hidden_tls_proto): Likewise.
10001         (libnss_nisplus_hidden_tls_proto): Likewise.
10002         (libutil_hidden_tls_proto): Likewise.
10003
10004 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
10005
10006         [BZ #10253]
10007         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10008         (decompose_rpath): Defer expansion to fillin_rpath.
10009         (_dl_init_paths): Pass linkmap to fillin_rpath.
10010
10011 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10012
10013         * benchtests/Makefile: Add strsep.
10014         * benchtests/bench-strsep.c: New file: strsep benchtest.
10015         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10016
10017 2013-11-18  Andreas Schwab  <schwab@suse.de>
10018
10019         * locale/programs/locale.c (show_info) [case byte]: Check for
10020         '\377' instead of '\177'.
10021         * locale/C-monetary.c (not_available): Always use "\377".
10022         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10023         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
10024         detect unavailable sign_posn locale elements.
10025         * locale/localeconv.c (__localeconv): For grouping and
10026         mon_grouping handle "\177" and "\377" like no grouping.
10027         (INT_ELEM): New macro.  Use it to set all numeric members.
10028         * locale/programs/ld-monetary.c (monetary_read)
10029         <tok_mon_grouping>: Normalize single -1 to the empty string.
10030         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10031         Likewise.
10032
10033 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
10034
10035         [BZ #16055]
10036         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10037         when we match (nil).
10038         * stdio-common/tst-sscanf.c (struct test): Add testcase.
10039
10040 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
10041
10042         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10043         (NO_TEST_INLINE): Update value.
10044         (ERRNO_UNCHANGED): Likewise.
10045         (ERRNO_EDOM): Likewise.
10046         (ERRNO_ERANGE): Likewise.
10047         (IGNORE_RESULT): Likewise.
10048         (check_float_internal): Check signs of NaN results if
10049         TEST_NAN_SIGN used.
10050         (check_complex): Pass TEST_NAN_SIGN flag through to second
10051         check_float_internal call.
10052         (copysign_test_data): Add tests with quiet NaNs as second
10053         argument.  Use TEST_NAN_SIGN.
10054         (fabs_test_data): Add test of negative quiet NaN argument.  Use
10055         TEST_NAN_SIGN.
10056         (signbit_test_data): Add tests of quiet NaN argument.
10057         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10058
10059         * math/gen-libm-test.pl (show_exceptions): Take extra argument
10060         $ignore_result.
10061         (parse_args): Handle function results specified as IGNORE.
10062         * math/libm-test.inc (IGNORE_RESULT): New macro.
10063         (check_float_internal): Do not check numerical result if flag
10064         IGNORE_RESULT set.
10065         (check_complex): Pass through IGNORE_RESULT to second
10066         check_float_internal call.
10067         (check_int): Do not check numerical result if flag IGNORE_RESULT
10068         set.
10069         (check_long): Likewise.
10070         (check_bool): Likewise.
10071         (check_longlong): Likewise.
10072         (lrint_test_data): Add tests of infinite and NaN arguments.
10073         (lrint_tonearest_test_data): Likewise.
10074         (lrint_towardzero_test_data): Likewise.
10075         (lrint_downward_test_data): Likewise.
10076         (lrint_upward_test_data): Likewise.
10077         (llrint_test_data): Likewise.
10078         (llrint_tonearest_test_data): Likewise.
10079         (llrint_towardzero_test_data): Likewise.
10080         (llrint_downward_test_data): Likewise.
10081         (llrint_upward_test_data): Likewise.
10082         (lround_test_data): Likewise.
10083         (llround_test_data): Likewise.
10084
10085         * math/libm-test.inc (NO_TEST_INLINE): New macro.
10086         (ERRNO_UNCHANGED): Update value.
10087         (ERRNO_EDOM): Likewise.
10088         (ERRNO_ERANGE): Likewise.
10089         (NO_TEST_INLINE_FLOAT): New macro.
10090         (NO_TEST_INLINE_DOUBLE): Likewise.
10091         (enable_test): New function.
10092         (RUN_TEST_f_f): Check enable_test before running test.
10093         (RUN_TEST_2_f): Likewise.
10094         (RUN_TEST_fff_f): Likewise.
10095         (RUN_TEST_c_f): Likewise.
10096         (RUN_TEST_f_f1): Likewise.
10097         (RUN_TEST_fF_f1): Likewise.
10098         (RUN_TEST_fI_f1): Likewise.
10099         (RUN_TEST_ffI_f1): Likewise.
10100         (RUN_TEST_c_c): Likewise.
10101         (RUN_TEST_cc_c): Likewise.
10102         (RUN_TEST_f_i): Likewise.
10103         (RUN_TEST_f_i_tg): Likewise.
10104         (RUN_TEST_ff_i_tg): Likewise.
10105         (RUN_TEST_f_b): Likewise.
10106         (RUN_TEST_f_b_tg): Likewise.
10107         (RUN_TEST_f_l): Likewise.
10108         (RUN_TEST_f_L): Likewise.
10109         (RUN_TEST_fFF_11): Likewise.
10110         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10111         conditionals.
10112         (cosh_test_data): Likewise.
10113         (exp_test_data): Likewise.
10114         (expm1_test_data): Likewise.
10115         (hypot_test_data): Likewise.
10116         (pow_test_data): Likewise.
10117         (sinh_test_data): Likewise.
10118         (tanh_test_data): Likewise.
10119         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10120         flags argument.
10121
10122         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10123         tests with quiet NaN input and output.
10124         (acosh_test_data): Likewise.
10125         (asin_test_data): Likewise.
10126         (asinh_test_data): Likewise.
10127         (atan_test_data): Likewise.
10128         (atanh_test_data): Likewise.
10129         (atan2_test_data): Likewise.
10130         (cbrt_test_data): Likewise.
10131         (cos_test_data): Likewise.
10132         (cosh_test_data): Likewise.
10133         (erf_test_data): Likewise.
10134         (erfc_test_data): Likewise.
10135         (exp_test_data): Likewise.
10136         (exp10_test_data): Likewise.
10137         (exp2_test_data): Likewise.
10138         (expm1_test_data): Likewise.
10139         (hypot_test_data): Likewise.
10140         (j0_test_data): Likewise.
10141         (j1_test_data): Likewise.
10142         (jn_test_data): Likewise.
10143         (lgamma_test_data): Likewise.
10144         (log_test_data): Likewise.
10145         (log10_test_data): Likewise.
10146         (log1p_test_data): Likewise.
10147         (log2_test_data): Likewise.
10148         (pow_test_data): Likewise.
10149         (scalb_test_data): Likewise.
10150         (sin_test_data): Likewise.
10151         (sincos_test_data): Likewise.
10152         (sinh_test_data): Likewise.
10153         (tan_test_data): Likewise.
10154         (tanh_test_data): Likewise.
10155         (tgamma_test_data): Likewise.
10156         (y0_test_data): Likewise.
10157         (y1_test_data): Likewise.
10158         (yn_test_data): Likewise.
10159
10160         [BZ #16167]
10161         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10162         argument being NaN and avoid computations with second argument in
10163         that case.
10164         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10165         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10166         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10167
10168 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
10169
10170         * locale/iso-639.def: Add Chitwani Tharu (the).
10171
10172 2013-11-14  Andreas Schwab  <schwab@suse.de>
10173
10174         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10175         word instead of empty string.
10176
10177 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10178
10179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10180         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10182         (__fe_nomask_env): Likewise.
10183
10184 2013-11-13  Steve Ellcey  <sellcey@mips.com>
10185
10186         * benchtests/bench-timing.h: Include time.h.
10187
10188 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
10189
10190         [BZ #15997]
10191         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10192         to 3.4.0 for x32.
10193         * sysdeps/unix/sysv/linux/configure: Regenerated.
10194
10195 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
10196
10197         [BZ #16151]
10198         * stdlib/strtod_l.c (round_and_return): Do not consider
10199         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10200         exponent one less than half the least subnormal exponent.
10201         * stdlib/test-strtod-round-data: Add more tests.
10202         * stdlib/tst-strtod-round.c (tests): Regenerated.
10203
10204 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10205
10206         [BZ #14143]
10207         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10208         (__fe_mask_env): Likewise.
10209         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10210         libm_hidden_proto and add function prototype.
10211         (__fe_mask_env): Add function prototype.
10212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10213         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10215         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10217         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10218
10219 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10220
10221         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
10222         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10223
10224 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10225
10226         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10227         of htab_find_slot().
10228
10229 2013-11-11  David S. Miller  <davem@davemloft.net>
10230
10231         [BZ #16150]
10232         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10233         symbol in the non-vis3 case in static builds.
10234         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10235         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10236         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10237         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10238
10239 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
10240
10241         [BZ #387]
10242         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10243         it is empty.
10244
10245 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10246
10247         * benchtests/Makefile: Add bench-strtod.
10248         * benchtests/bench-strtod.c: New file: strtod benchtest
10249
10250 2013-11-11  Andreas Schwab  <schwab@suse.de>
10251
10252         [BZ #16153]
10253         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10254         terminating NUL in key length.
10255
10256 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10257
10258         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10259         Add artificial ODP entry for vDSO symbol for PPC64.
10260         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10261         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10262
10263 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
10264
10265         [BZ #15374]
10266         * nss/getent.c (services_keys): Recognize services starting with digit.
10267
10268 2013-11-06  David S. Miller  <davem@davemloft.net>
10269
10270         [BZ #15985]
10271         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10272         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10273
10274 2013-11-06  Will Newton  <will.newton@linaro.org>
10275
10276         * manual/memory.texi (Malloc Examples): Remove register
10277         keyword from examples.
10278
10279 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
10280
10281         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
10282
10283 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
10284
10285         [BZ #6981]
10286         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10287         depending on [__GCC_IEC_559 > 0].
10288         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10289         depending on [__GCC_IEC_559_COMPLEX > 0].
10290
10291 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
10292
10293         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10294         to iso-639.def.
10295
10296 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
10297
10298         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10299
10300 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
10301
10302         [BZ #16112]
10303         * malloc/malloc (malloc_info): Do not handle first bin as
10304         special case.
10305
10306 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
10307
10308         * locale/iso-639.def: Add Central Nahuatl (nhn).
10309
10310 2013-11-01  Bruno Haible  <bruno@clisp.org>
10311
10312         [BZ #7003]
10313         * manual/math.texi (BSD Random): Specify range upper bound as
10314         in POSIX.
10315
10316 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
10317
10318         * locale/iso-639.def: Add Meadow Mari (mhr).
10319
10320 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
10321
10322         [BZ #14752], [BZ #15763]
10323         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10324         Validate name.
10325         * rt/tst_shm.c: Add test for escaping directory.
10326
10327 2013-10-31  Andreas Schwab  <schwab@suse.de>
10328
10329         [BZ #15917]
10330         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10331         followed by 'x' as part of digit sequence.
10332         * stdio-common/tst-sscanf.c (double_tests2): New tests.
10333
10334 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10335
10336         [BZ #16037]
10337         * configure.ac: allow GNU Make 4.0 and greater.
10338         * configure: Regenerated.
10339
10340 2013-10-30  Will Newton  <will.newton@linaro.org>
10341
10342         [BZ #16038]
10343         * malloc/hooks.c (memalign_check): Limit alignment to the
10344         maximum representable power of two.
10345         * malloc/malloc.c (__libc_memalign): Likewise.
10346         * malloc/tst-memalign.c (do_test): Add test for very
10347         large alignment values.
10348         * malloc/tst-posix_memalign.c (do_test): Likewise.
10349
10350 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
10351
10352         [BZ #11087]
10353         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10354         (munmap_chunk): Likewise.
10355         (mremap_chunk): Likewise.
10356
10357 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
10358
10359         [BZ #15799]
10360         * stdlib/div.c (div): Remove obsolete code.
10361         * stdlib/ldiv.c (ldiv): Likewise.
10362         * stdlib/lldiv.c (lldiv): Likewise.
10363
10364 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10365
10366         [BZ #16071]
10367         * nss/nss_files/files-XXX.c (get_contents_ret): New
10368         enumerator.
10369         (get_contents): New function.
10370         (internal_getent): Use it.  Expand size of LINEBUFLEN.
10371
10372 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
10373
10374         * configure.in: Moved to ...
10375         * configure.ac: ... here. Change reference to configure.in
10376         to configure.ac.
10377         * sysdeps/arm/preconfigure.ac: ... here.
10378         configure.in to configure.ac.
10379         * sysdeps/gnu/configure.in: Moved to ...
10380         * sysdeps/gnu/configure.ac: ... here.
10381         * sysdeps/i386/configure.in: Moved to ...
10382         * sysdeps/i386/configure.ac: ... here.
10383         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10384         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10385         * sysdeps/mach/configure.in: Moved to ...
10386         * sysdeps/mach/configure.ac: ... here.
10387         * sysdeps/mach/hurd/configure.in: Moved to ...
10388         * sysdeps/mach/hurd/configure.ac: ... here.
10389         * sysdeps/powerpc/configure.in: Moved to ...
10390         * sysdeps/powerpc/configure.ac: ... here.
10391         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10392         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10393         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10394         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10395         * sysdeps/s390/s390-32/configure.in: Moved to ...
10396         * sysdeps/s390/s390-32/configure.ac: ... here.
10397         * sysdeps/s390/s390-64/configure.in: Moved to ...
10398         * sysdeps/s390/s390-64/configure.ac: ... here.
10399         * sysdeps/sh/configure.in: Moved to ...
10400         * sysdeps/sh/configure.ac: ... here.
10401         * sysdeps/sparc/configure.in: Moved to ...
10402         * sysdeps/sparc/configure.ac: ... here.
10403         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10404         * sysdeps/unix/sysv/linux/configure.ac: ... here.
10405         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10406         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10407         * sysdeps/x86_64/configure.in: Moved to ...
10408         * sysdeps/x86_64/configure.ac: ... here.
10409         * sysdeps/x86_64/preconfigure.in: Moved to ...
10410         * sysdeps/x86_64/preconfigure.ac: ... here.
10411         * aclocal.m4: Change reference to configure.in to configure.ac.
10412         * config.h.in: Likewise.
10413         * manual/install.texi: Likewise.
10414         * manual/maint.texi: Likewise.
10415         * Makefile: Likewise.
10416         * malloc/Makefile: Likewise.
10417         * nscd/Makefile: Likewise.
10418         * Makeconfig: Change reference to configure.in and
10419         preconfigure.in to configure.ac and preconfigure.ac
10420         respectively.
10421         * INSTALL: Regenerated.
10422         * configure: Likewise.
10423         * sysdeps/gnu/configure: Likewise.
10424         * sysdeps/i386/configure: Likewise.
10425         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10426         * sysdeps/mach/configure: Likewise.
10427         * sysdeps/mach/hurd/configure: Likewise.
10428         * sysdeps/powerpc/configure: Likewise.
10429         * sysdeps/powerpc/powerpc32/configure: Likewise.
10430         * sysdeps/powerpc/powerpc64/configure: Likewise.
10431         * sysdeps/s390/s390-32/configure: Likewise.
10432         * sysdeps/s390/s390-64/configure: Likewise.
10433         * sysdeps/sh/configure: Likewise.
10434         * sysdeps/sparc/configure: Likewise.
10435         * sysdeps/unix/sysv/linux/configure: Likewise.
10436         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10437         * sysdeps/x86_64/configure: Likewise.
10438         * sysdeps/x86_64/preconfigure: Likewise.
10439
10440 2013-10-29  Andreas Schwab  <schwab@suse.de>
10441
10442         * stdio-common/Makefile (tst-swscanf-ENV): Define.
10443
10444 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10445
10446         * benchtests/pow-inputs: Add new inputs.
10447
10448         * benchtests/exp-inputs: Add new inputs.
10449
10450         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10451         conditional check for return value.
10452         (__cos32): Likewise.
10453
10454 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10455
10456         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10457         to provide a boost for large inputs with word alignment.
10458         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10459         implementation based on optimized PPC64 strcpy.
10460         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10461         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10462         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10463         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10464
10465 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
10466
10467         [BZ #2801]
10468         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10469
10470 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
10471
10472         [BZ #14876]
10473         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10474         * time/tst-strptime.c (day_tests): Add testcase.
10475
10476 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
10477
10478         [BZ #14029]
10479         * manual/pattern.texi: Acknowledge that fnmatch can fail.
10480
10481 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
10482
10483         [BZ #16074]
10484         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10485         MAP_FAILED on error.
10486
10487 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10488
10489         [BZ #16072]
10490         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10491         heap for large requests.
10492
10493 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
10494
10495         [BZ #9954]
10496         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10497         result if the result has no associated interface.
10498         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10499         interface for all 127.X.Y.Z addresses.
10500
10501 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
10502
10503         * locale/iso-639.def: Add Ligurian (lij)
10504
10505 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
10506
10507         [BZ #15825]
10508         * sunrpc/rpc_main.c: Document rpcgen -5.
10509
10510 2013-10-19  Michael Stahl  <mstahl@redhat.com>
10511
10512         * elf/rtld.c (do_preload): Print the reason why preloading failed.
10513
10514 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
10515
10516         [BZ #10278]
10517         * posix/glob.c: Match only directories when trailing slash is present.
10518         * posix/tst-gnuglob.c (my_opendir): Do not open files.
10519         (main): Add testcase.
10520
10521 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
10522
10523         [BZ #15670]
10524         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10525
10526 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
10527
10528         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10529         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10530         AUTH_DES and cindex for FIPS 140-2.
10531         (DES Encryption): Add cindex FIPS 46-3.
10532
10533         * locale/locarchive.h (struct locarhandle): Add fname.
10534         * locale/programs/localedef.c (main): Pass ARGV[remaining]
10535         if an optional argument was specified to --list-archive,
10536         otherwise NULL.
10537         * locale/programs/locarchive.c (show_archive_content): Take new
10538         argument fname and pass it via ah.fname to open_archive.
10539         * locale/programs/localedef.h: Update decl.
10540         (open_archive): If AH->fname is non-null, open that file
10541         rather than the default file name, and don't ignore ENOENT.
10542         (create_archive): Set AH.fname to NULL.
10543         (delete_locales_from_archive): Likewise.
10544         (add_locales_to_archive): Likewise.
10545         * locale/programs/locfile.c (write_all_categories): Likewise.
10546
10547 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
10548             Aldy Hernandez  <aldyh@redhat.com>
10549
10550         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10551         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10552         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10553         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10554         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10555         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10556         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10557         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10558         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10559         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10560         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10561         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10562         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10563         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10564         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10565         Likewise.
10566         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10567         Likewise.
10568         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10569         Likewise.
10570         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10571         Likewise.
10572         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10573         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10574         Likewise.
10575         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10576         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10577         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10578         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10579         Likewise.
10580         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10581         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10582         * sysdeps/powerpc/preconfigure: Likewise.
10583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10584         Likewise.
10585         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10586         Replace contents of file by #include of <fenv_libc.h>.
10587         * sysdeps/powerpc/soft-fp/sfp-machine.h
10588         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10589         and <sys/prctl.h>.
10590         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10591         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10592         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10593         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10594         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10595         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10596         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10597         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10598         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10599         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10600         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10601         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10603         Allow copysignl PLT reference to be missing.
10604
10605 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
10606             Joseph Myers  <joseph@codesourcery.com
10607
10608         [BZ #15948]
10609         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10610         single character.
10611         (add_to_tablewc): Assert sequence of wide characters is nonempty.
10612
10613 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10614
10615         * elf/tst-tls-dlinfo.c: Don't include tls.h.
10616         * elf/tst-tls1.c: Likewise.
10617         * elf/tst-tls10.h: Likewise.
10618         * elf/tst-tls14.c: Likewise.
10619         * elf/tst-tls2.c: Likewise.
10620         * elf/tst-tls3.c: Likewise.
10621         * elf/tst-tls4.c: Likewise.
10622         * elf/tst-tls5.c: Likewise.
10623         * elf/tst-tls6.c: Likewise.
10624         * elf/tst-tls7.c: Likewise.
10625         * elf/tst-tls8.c: Likewise.
10626         * elf/tst-tls9.c: Likewise.
10627         * elf/tst-tlsmod1.c: Likewise.
10628         * elf/tst-tlsmod13.c: Likewise.
10629         * elf/tst-tlsmod13a.c: Likewise.
10630         * elf/tst-tlsmod14a.c: Likewise.
10631         * elf/tst-tlsmod16a.c: Likewise.
10632         * elf/tst-tlsmod16b.c: Likewise.
10633         * elf/tst-tlsmod2.c: Likewise.
10634         * elf/tst-tlsmod3.c: Likewise.
10635         * elf/tst-tlsmod4.c: Likewise.
10636         * elf/tst-tlsmod5.c: Likewise.
10637         * elf/tst-tlsmod6.c: Likewise.
10638
10639 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
10640
10641         [BZ #12486]
10642         * malloc/malloc.c: remove checks for statistics.
10643
10644 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
10645
10646         [BZ #15277]
10647         * inet/inet_net.c (inet_network): Detect additional invalid strings.
10648         * inet/tst-network.c: Add testcase.
10649
10650 2013-10-17  Andreas Schwab  <schwab@suse.de>
10651
10652         [BZ #15218]
10653         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10654         to determine canonical name.
10655
10656 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
10657
10658         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10659         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10660         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10661         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10662         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10663         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10664         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10665         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10666         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10667         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10668         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10669         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10670         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10671         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10672         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10673         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10674         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10675         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10676         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10677         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10678         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10679         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10680         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10681         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10682         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10683         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10684         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10685         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10686         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10687         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10688         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10689         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10690         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10691         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10692         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10693         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10694         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10695         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10696         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10697         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10698         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10699         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10700         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10701         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10702         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10703         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10704         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10705         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10706         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10707         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10708         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10709         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10710         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10711         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10712         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10713         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10714         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10715         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10716
10717 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
10718
10719         [BZ #16041]
10720         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10721         make result into a quiet NaN.
10722
10723 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
10724
10725         * soft-fp/adddf3.c: Fix horizontal whitespace.
10726         * soft-fp/addsf3.c: Likewise.
10727         * soft-fp/addtf3.c: Likewise.
10728         * soft-fp/divdf3.c: Likewise.
10729         * soft-fp/divsf3.c: Likewise.
10730         * soft-fp/divtf3.c: Likewise.
10731         * soft-fp/double.h: Likewise.
10732         * soft-fp/eqdf2.c: Likewise.
10733         * soft-fp/eqsf2.c: Likewise.
10734         * soft-fp/eqtf2.c: Likewise.
10735         * soft-fp/extenddftf2.c: Likewise.
10736         * soft-fp/extended.h: Likewise.
10737         * soft-fp/extendsfdf2.c: Likewise.
10738         * soft-fp/extendsftf2.c: Likewise.
10739         * soft-fp/extendxftf2.c: Likewise.
10740         * soft-fp/fixdfdi.c: Likewise.
10741         * soft-fp/fixdfsi.c: Likewise.
10742         * soft-fp/fixdfti.c: Likewise.
10743         * soft-fp/fixsfdi.c: Likewise.
10744         * soft-fp/fixsfsi.c: Likewise.
10745         * soft-fp/fixsfti.c: Likewise.
10746         * soft-fp/fixtfdi.c: Likewise.
10747         * soft-fp/fixtfsi.c: Likewise.
10748         * soft-fp/fixtfti.c: Likewise.
10749         * soft-fp/fixunsdfdi.c: Likewise.
10750         * soft-fp/fixunsdfsi.c: Likewise.
10751         * soft-fp/fixunsdfti.c: Likewise.
10752         * soft-fp/fixunssfdi.c: Likewise.
10753         * soft-fp/fixunssfsi.c: Likewise.
10754         * soft-fp/fixunssfti.c: Likewise.
10755         * soft-fp/fixunstfdi.c: Likewise.
10756         * soft-fp/fixunstfsi.c: Likewise.
10757         * soft-fp/fixunstfti.c: Likewise.
10758         * soft-fp/floatdidf.c: Likewise.
10759         * soft-fp/floatdisf.c: Likewise.
10760         * soft-fp/floatditf.c: Likewise.
10761         * soft-fp/floatsidf.c: Likewise.
10762         * soft-fp/floatsisf.c: Likewise.
10763         * soft-fp/floatsitf.c: Likewise.
10764         * soft-fp/floattidf.c: Likewise.
10765         * soft-fp/floattisf.c: Likewise.
10766         * soft-fp/floattitf.c: Likewise.
10767         * soft-fp/floatundidf.c: Likewise.
10768         * soft-fp/floatundisf.c: Likewise.
10769         * soft-fp/floatunditf.c: Likewise.
10770         * soft-fp/floatunsidf.c: Likewise.
10771         * soft-fp/floatunsisf.c: Likewise.
10772         * soft-fp/floatunsitf.c: Likewise.
10773         * soft-fp/floatuntidf.c: Likewise.
10774         * soft-fp/floatuntisf.c: Likewise.
10775         * soft-fp/floatuntitf.c: Likewise.
10776         * soft-fp/fmadf4.c: Likewise.
10777         * soft-fp/fmasf4.c: Likewise.
10778         * soft-fp/fmatf4.c: Likewise.
10779         * soft-fp/gedf2.c: Likewise.
10780         * soft-fp/gesf2.c: Likewise.
10781         * soft-fp/getf2.c: Likewise.
10782         * soft-fp/ledf2.c: Likewise.
10783         * soft-fp/lesf2.c: Likewise.
10784         * soft-fp/letf2.c: Likewise.
10785         * soft-fp/muldf3.c: Likewise.
10786         * soft-fp/mulsf3.c: Likewise.
10787         * soft-fp/multf3.c: Likewise.
10788         * soft-fp/negdf2.c: Likewise.
10789         * soft-fp/negsf2.c: Likewise.
10790         * soft-fp/negtf2.c: Likewise.
10791         * soft-fp/op-1.h: Likewise.
10792         * soft-fp/op-2.h: Likewise.
10793         * soft-fp/op-4.h: Likewise.
10794         * soft-fp/op-8.h: Likewise.
10795         * soft-fp/op-common.h: Likewise.
10796         * soft-fp/quad.h: Likewise.
10797         * soft-fp/single.h: Likewise.
10798         * soft-fp/soft-fp.h: Likewise.
10799         * soft-fp/sqrtdf2.c: Likewise.
10800         * soft-fp/sqrtsf2.c: Likewise.
10801         * soft-fp/sqrttf2.c: Likewise.
10802         * soft-fp/subdf3.c: Likewise.
10803         * soft-fp/subsf3.c: Likewise.
10804         * soft-fp/subtf3.c: Likewise.
10805         * soft-fp/truncdfsf2.c: Likewise.
10806         * soft-fp/trunctfdf2.c: Likewise.
10807         * soft-fp/trunctfsf2.c: Likewise.
10808         * soft-fp/trunctfxf2.c: Likewise.
10809         * soft-fp/unorddf2.c: Likewise.
10810         * soft-fp/unordsf2.c: Likewise.
10811         * soft-fp/unordtf2.c: Likewise.
10812
10813 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
10814
10815         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10816         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10817
10818 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
10819
10820         * elf/dl-libc.c: Clear initfini list after freeing.
10821
10822 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
10823
10824         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10825         * soft-fp/addsf3.c: Likewise.
10826         * soft-fp/addtf3.c: Likewise.
10827         * soft-fp/divdf3.c: Likewise.
10828         * soft-fp/divsf3.c: Likewise.
10829         * soft-fp/divtf3.c: Likewise.
10830         * soft-fp/double.h: Likewise.
10831         * soft-fp/eqdf2.c: Likewise.
10832         * soft-fp/eqsf2.c: Likewise.
10833         * soft-fp/eqtf2.c: Likewise.
10834         * soft-fp/extenddftf2.c: Likewise.
10835         * soft-fp/extended.h: Likewise.
10836         * soft-fp/extendsfdf2.c: Likewise.
10837         * soft-fp/extendsftf2.c: Likewise.
10838         * soft-fp/extendxftf2.c: Likewise.
10839         * soft-fp/fixdfdi.c: Likewise.
10840         * soft-fp/fixdfsi.c: Likewise.
10841         * soft-fp/fixdfti.c: Likewise.
10842         * soft-fp/fixsfdi.c: Likewise.
10843         * soft-fp/fixsfsi.c: Likewise.
10844         * soft-fp/fixsfti.c: Likewise.
10845         * soft-fp/fixtfdi.c: Likewise.
10846         * soft-fp/fixtfsi.c: Likewise.
10847         * soft-fp/fixtfti.c: Likewise.
10848         * soft-fp/fixunsdfdi.c: Likewise.
10849         * soft-fp/fixunsdfsi.c: Likewise.
10850         * soft-fp/fixunsdfti.c: Likewise.
10851         * soft-fp/fixunssfdi.c: Likewise.
10852         * soft-fp/fixunssfsi.c: Likewise.
10853         * soft-fp/fixunssfti.c: Likewise.
10854         * soft-fp/fixunstfdi.c: Likewise.
10855         * soft-fp/fixunstfsi.c: Likewise.
10856         * soft-fp/fixunstfti.c: Likewise.
10857         * soft-fp/floatdidf.c: Likewise.
10858         * soft-fp/floatdisf.c: Likewise.
10859         * soft-fp/floatditf.c: Likewise.
10860         * soft-fp/floatsidf.c: Likewise.
10861         * soft-fp/floatsisf.c: Likewise.
10862         * soft-fp/floatsitf.c: Likewise.
10863         * soft-fp/floattidf.c: Likewise.
10864         * soft-fp/floattisf.c: Likewise.
10865         * soft-fp/floattitf.c: Likewise.
10866         * soft-fp/floatundidf.c: Likewise.
10867         * soft-fp/floatundisf.c: Likewise.
10868         * soft-fp/floatunsidf.c: Likewise.
10869         * soft-fp/floatunsisf.c: Likewise.
10870         * soft-fp/floatuntidf.c: Likewise.
10871         * soft-fp/floatuntisf.c: Likewise.
10872         * soft-fp/floatuntitf.c: Likewise.
10873         * soft-fp/fmadf4.c: Likewise.
10874         * soft-fp/fmasf4.c: Likewise.
10875         * soft-fp/fmatf4.c: Likewise.
10876         * soft-fp/gedf2.c: Likewise.
10877         * soft-fp/gesf2.c: Likewise.
10878         * soft-fp/getf2.c: Likewise.
10879         * soft-fp/ledf2.c: Likewise.
10880         * soft-fp/lesf2.c: Likewise.
10881         * soft-fp/letf2.c: Likewise.
10882         * soft-fp/muldf3.c: Likewise.
10883         * soft-fp/mulsf3.c: Likewise.
10884         * soft-fp/multf3.c: Likewise.
10885         * soft-fp/negdf2.c: Likewise.
10886         * soft-fp/negsf2.c: Likewise.
10887         * soft-fp/negtf2.c: Likewise.
10888         * soft-fp/op-1.h: Likewise.
10889         * soft-fp/op-2.h: Likewise.
10890         * soft-fp/op-4.h: Likewise.
10891         * soft-fp/op-8.h: Likewise.
10892         * soft-fp/op-common.h: Likewise.
10893         * soft-fp/quad.h: Likewise.
10894         * soft-fp/single.h: Likewise.
10895         * soft-fp/soft-fp.h: Likewise.
10896         * soft-fp/sqrtdf2.c: Likewise.
10897         * soft-fp/sqrtsf2.c: Likewise.
10898         * soft-fp/sqrttf2.c: Likewise.
10899         * soft-fp/subdf3.c: Likewise.
10900         * soft-fp/subsf3.c: Likewise.
10901         * soft-fp/subtf3.c: Likewise.
10902         * soft-fp/truncdfsf2.c: Likewise.
10903         * soft-fp/trunctfdf2.c: Likewise.
10904         * soft-fp/trunctfsf2.c: Likewise.
10905         * soft-fp/trunctfxf2.c: Likewise.
10906         * soft-fp/unorddf2.c: Likewise.
10907         * soft-fp/unordsf2.c: Likewise.
10908         * soft-fp/unordtf2.c: Likewise.
10909
10910 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
10911
10912         [BZ #15672]
10913         * misc/error.c (error_tail): Fix possible buffer overflow.
10914
10915 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
10916
10917         [BZ #13028]
10918         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10919         address.
10920
10921 2013-10-14  P. J. McDermott  <pj@pehjota.net>
10922
10923         [BZ #832]
10924         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
10925         testing pipefail option.
10926
10927 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
10928
10929         * soft-fp/double.h: Indent preprocessor directives inside #if.
10930         * soft-fp/extended.h: Likewise.
10931         * soft-fp/op-2.h: Likewise.
10932         * soft-fp/op-4.h: Likewise.
10933         * soft-fp/op-common.h: Likewise.
10934         * soft-fp/quad.h: Likewise.
10935         * soft-fp/single.h: Likewise.
10936         * soft-fp/soft-fp.h: Likewise.
10937
10938 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
10939
10940         * iconv/iconv_prog.c: Fix typos.
10941         * stdio-common/psiginfo-data.h: Likewise.
10942
10943 2013-10-12   Reuben Thomas <rrt@sc3d.org>
10944
10945         [BZ #15764]
10946         * locale/setlocale.c: Fix typo.
10947
10948 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
10949
10950         [BZ #16036]
10951         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10952         signaling NaN arguments.
10953         * soft-fp/unordsf2.c (__unordsf2): Likewise.
10954         * soft-fp/unordtf2.c (__unordtf2): Likewise.
10955
10956         [BZ #14910]
10957         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10958         unordered operands.
10959         * soft-fp/gesf2.c (__gesf2): Likewise.
10960         * soft-fp/getf2.c (__getf2): Likewise.
10961         * soft-fp/ledf2.c (__ledf2): Likewise.
10962         * soft-fp/lesf2.c (__lesf2): Likewise.
10963         * soft-fp/letf2.c (__letf2): Likewise.
10964
10965         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10966         * soft-fp/eqsf2.c (__eqsf2): Likewise.
10967         * soft-fp/eqtf2.c (__eqtf2): Likewise.
10968         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10969         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10970         * soft-fp/fixdfti.c (__fixdfti): Likewise.
10971         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10972         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10973         * soft-fp/fixsfti.c (__fixsfti): Likewise.
10974         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10975         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10976         * soft-fp/fixtfti.c (__fixtfti): Likewise.
10977         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10978         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10979         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10980         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10981         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10982         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10983         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10984         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10985         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10986         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10987         * soft-fp/floatdisf.c (__floatdisf): Likewise.
10988         * soft-fp/floatsisf.c (__floatsisf): Likewise.
10989         * soft-fp/floattidf.c (__floattidf): Likewise.
10990         * soft-fp/floattisf.c (__floattisf): Likewise.
10991         * soft-fp/floattitf.c (__floattitf): Likewise.
10992         * soft-fp/floatundidf.c (__floatundidf): Likewise.
10993         * soft-fp/floatundisf.c (__floatundisf): Likewise.
10994         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10995         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10996         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10997         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10998         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10999         * soft-fp/gesf2.c (__gesf2): Likewise.
11000         * soft-fp/getf2.c (__getf2): Likewise.
11001         * soft-fp/ledf2.c (__ledf2): Likewise.
11002         * soft-fp/lesf2.c (__lesf2): Likewise.
11003         * soft-fp/letf2.c (__letf2): Likewise.
11004
11005         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11006         Undefine and redefine.
11007         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11008         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11009         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11010         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11011         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11012         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11013         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11014         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11015         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11016         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11017         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11018         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11019         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11020         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11021         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11022
11023         [BZ #16032]
11024         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11025         without decrementing exponent if mantissa >= that for the
11026         denominator, not >.
11027         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11028         denominator, not >.  Decrement exponent in < case instead of
11029         incrementing in >= case.
11030         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11031         without decrementing exponent if mantissa >= that for the
11032         denominator, not >.
11033
11034         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11035         computing saturated result for unsigned overflow.
11036
11037 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11038             Jeff Law  <law@redhat.com>
11039
11040         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11041         (atan2Mp): Add systemtap probe marker.
11042         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11043         (__ieee754_log): Add systemtap probe marker.
11044         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11045         (atanMp): Add systemtap probe marker.
11046         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11047         (tanMp): Add systemtap probe marker.
11048         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11049         (__slowexp): Add systemtap probe marker.
11050         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11051         (__slowpow): Add systemtap probe marker.
11052         * manual/probes.texi: Document probes.
11053
11054 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
11055
11056         [BZ #15362]
11057         * libio/fileops.c (_IO_new_file_write): Return count of bytes
11058         written.
11059         (_IO_new_file_xsputn): Don't return EOF if nothing has been
11060         written.
11061         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11062         written to buffer but not flushed.
11063         * libio/iofwrite_u.c:  Likewise.
11064         * libio/iopadn.c:  Return bytes returned even if EOF was
11065         encountered.
11066         * libio/iowpadn.c:  Likewise.
11067         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11068         if _IO_padn does not write the whole buffer.
11069         [!COMPILE_WPRINTF] (PAD): Likewise.
11070
11071 2013-10-10  David S. Miller  <davem@davemloft.net>
11072
11073         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11074         directory block.
11075
11076 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
11077
11078         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
11079         instead of FSF address.
11080         * soft-fp/fixdfti.c: Likewise.
11081         * soft-fp/fixsfti.c: Likewise.
11082         * soft-fp/fixtfti.c: Likewise.
11083         * soft-fp/fixunsdfti.c: Likewise.
11084         * soft-fp/fixunssfti.c: Likewise.
11085         * soft-fp/fixunstfti.c: Likewise.
11086         * soft-fp/floattidf.c: Likewise.
11087         * soft-fp/floattisf.c: Likewise.
11088         * soft-fp/floattitf.c: Likewise.
11089         * soft-fp/floatuntidf.c: Likewise.
11090         * soft-fp/floatuntisf.c: Likewise.
11091         * soft-fp/floatuntitf.c: Likewise.
11092         * soft-fp/trunctfxf2.c: Likewise.
11093
11094         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
11095         * soft-fp/fixdfti.c: Likewise.
11096         * soft-fp/fixsfti.c: Likewise.
11097         * soft-fp/fixtfti.c: Likewise.
11098         * soft-fp/fixunsdfti.c: Likewise.
11099         * soft-fp/fixunssfti.c: Likewise.
11100         * soft-fp/fixunstfti.c: Likewise.
11101         * soft-fp/floattidf.c: Likewise.
11102         * soft-fp/floattisf.c: Likewise.
11103         * soft-fp/floattitf.c: Likewise.
11104         * soft-fp/floatuntidf.c: Likewise.
11105         * soft-fp/floatuntisf.c: Likewise.
11106         * soft-fp/floatuntitf.c: Likewise.
11107         * soft-fp/trunctfxf2.c: Likewise.
11108
11109 2013-10-10  David S. Miller  <davem@davemloft.net>
11110
11111         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11112
11113 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
11114
11115         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11116         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11117         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11118         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11119         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11120         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11121         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11122
11123         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11124         for NaNs before doing comparisons on argument.
11125         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11126         Likewise.
11127
11128 2013-10-10  Will Newton  <will.newton@linaro.org>
11129
11130         * malloc/hooks.c (memalign_check): Ensure the value of bytes
11131         passed to _int_memalign does not overflow.
11132
11133 2013-10-10  Torvald Riegel  <triegel@redhat.com>
11134
11135         * scripts/bench.pl: Add include-sources directive.
11136         * benchtests/README: Update documentation.
11137
11138 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
11139
11140         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11141         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11142         instead of FP_INIT_ROUNDMODE.
11143         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11144         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11145
11146         [BZ #16034]
11147         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
11148         copy class of input value.
11149         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
11150         not handle exceptions.
11151         * soft-fp/negsf2.c (__negsf2): Likewise.
11152         * soft-fp/negtf2.c (__negtf2): Likewise.
11153         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11154
11155 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
11156
11157         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11158         semicolon.  From Linux kernel.
11159
11160 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
11161
11162         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11163
11164 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
11165
11166         [BZ #156]
11167         * manual/socket.texi: Added statement about buffer
11168         for gethostbyname2_r.
11169
11170 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
11171
11172         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11173         Use .p2align directive instead, throughout.
11174         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11175         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11176         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11177         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11178         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11179         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11180         * sysdeps/x86_64/strchr.S: Likewise.
11181         * sysdeps/x86_64/strrchr.S: Likewise.
11182
11183 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11184
11185         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11186
11187         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11188
11189         * sysdeps/generic/math_private.h (__mpsin1): Remove
11190         declaration.
11191         (__mpcos1): Likewise.
11192         (__mpsin): New argument __range_reduce.
11193         (__mpcos): Likewise.
11194         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11195         (slow): Use __mpsin and __mpcos.
11196         (slow1): Likewise.
11197         (slow2): Likewise.
11198         (sloww): Likewise.
11199         (sloww1): Likewise.
11200         (sloww2): Likewise.
11201         (bsloww): Likewise.
11202         (bsloww1): Likewise.
11203         (bsloww2): Likewise.
11204         (cslow2): Likewise.
11205         (csloww): Likewise.
11206         (csloww1): Likewise.
11207         (csloww2): Likewise.
11208         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11209         range_reduce.  Merge in __mpsin1.
11210         (__mpcos): Likewise.
11211         (__mpsin1): Remove.
11212         (__mpcos1): Likewise.
11213
11214 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
11215
11216         * locale/loadlocale.c (_nl_intern_locale_data): Use
11217         LOCFILE_ALIGNED_P.
11218         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11219         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11220         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11221         obstack data is appropriately aligned.
11222         (obstack_int32_grow_fast): Likewise.
11223         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11224         * locale/programs/locfile.c (add_locale_uint32): Likewise.
11225         (add_locale_uint32_array): Likewise.
11226
11227 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11228
11229         * benchtests/Makefile: Remove ARGLIST and RET variables.
11230         ($(objpfx)bench-%.c): Pass only function name to the script.
11231         * benchtests/README: Update documentation.
11232         * benchtests/acos-inputs: Add new directives.
11233         * benchtests/acosh-inputs: Likewise.
11234         * benchtests/asin-inputs: Likewise.
11235         * benchtests/asinh-inputs: Likewise.
11236         * benchtests/atan-inputs: Likewise.
11237         * benchtests/atanh-inputs: Likewise.
11238         * benchtests/cos-inputs: Likewise.
11239         * benchtests/cosh-inputs: Likewise.
11240         * benchtests/exp-inputs: Likewise.
11241         * benchtests/log-inputs: Likewise.
11242         * benchtests/pow-inputs: Likewise.
11243         * benchtests/rint-inputs: Likewise.
11244         * benchtests/sin-inputs: Likewise.
11245         * benchtests/sinh-inputs: Likewise.
11246         * benchtests/tan-inputs: Likewise.
11247         * benchtests/tanh-inputs: Likewise.
11248         * scripts/bench.pl: Add support for new directives.
11249
11250 2013-10-07  Alan Modra  <amodra@gmail.com>
11251
11252         * README: Fix careless merge.
11253
11254 2013-10-05  Alan Modra  <amodra@gmail.com>
11255
11256         * NEWS: Mention powerpc64le support and bugs fixed.
11257         * README: Both big-endian and little-endian powerpc64 supported.
11258
11259 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11260
11261         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11262         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
11263         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11264         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11265
11266 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
11267
11268         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11269         match prototype.
11270
11271 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
11272
11273         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11274         Move -mhard-float appending from
11275         ports/sysdeps/powerpc/powerpc32/Makefile.
11276         [$(with-fp) = yes] (ASFLAGS): Likewise.
11277         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11278         * sysdeps/powerpc/nofpu: Move directory from
11279         ports/sysdeps/powerpc/nofpu.
11280         * sysdeps/powerpc/soft-fp: Move directory from
11281         ports/sysdeps/powerpc/soft-fp.
11282         * sysdeps/powerpc/powerpc32/405: Move directory from
11283         ports/sysdeps/powerpc/powerpc32/405.
11284         * sysdeps/powerpc/powerpc32/440: Move directory from
11285         ports/sysdeps/powerpc/powerpc32/440.
11286         * sysdeps/powerpc/powerpc32/464: Move directory from
11287         ports/sysdeps/powerpc/powerpc32/464.
11288         * sysdeps/powerpc/powerpc32/476: Move directory from
11289         ports/sysdeps/powerpc/powerpc32/476.
11290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11291         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11293         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11295         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11297         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11299         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11300         * README: Update for powerpc-*-linux-gnu software floating point
11301         support in libc.
11302
11303         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11304         case to powerpc/powerpc32*.
11305         * sysdeps/unix/sysv/linux/configure: Regenerated.
11306
11307         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11308         (_FPU_MASK_OM): Define as 0x04.
11309         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11310         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11311         0x00c10080.
11312         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11313         0x0000003c.
11314         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11315
11316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11317         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11318         getcontext_e500.
11319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11320         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11321         setcontext_e500.
11322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11323         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11324         and setcontext_e500.
11325
11326 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
11327
11328         * locale/iso-3166.def: Update iso-1366.def and related occurrences
11329
11330 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11331
11332         * manual/threads.texi (Default Thread Attributes): Fix typo.
11333
11334 2013-10-04  Will Newton  <will.newton@linaro.org>
11335
11336         * malloc/Makefile: Add tst-memalign.
11337         * malloc/tst-memalign.c: New file.
11338
11339         * malloc/tst-posix_memalign.c: Add comments.
11340         (do_test): Add comments and call free on all potentially
11341         allocated pointers. Add space after cast.
11342
11343         * malloc/tst-pvalloc.c: Add comments.
11344         (do_test): Add comments and call free on all potentially
11345         allocated pointers. Remove duplicate check for NULL pointer.
11346         Add space after cast.
11347
11348         * malloc/tst-valloc.c: Add comments.
11349         (do_test): Add comments and call free on all potentially
11350         allocated pointers. Remove duplicate check for NULL pointer.
11351         Add space after cast.
11352
11353 2013-10-04  Alan Modra  <amodra@gmail.com>
11354
11355         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11356         Use stdint types in rather than __attribute__((mode())).
11357         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11358
11359 2013-10-04  Alan Modra  <amodra@gmail.com>
11360
11361         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11362         Correct handling of unaligned relocs for little-endian.
11363         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11364
11365 2013-10-04  Alan Modra  <amodra@gmail.com>
11366
11367         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11368         * configure: Regenerate.
11369         * nptl/shlib-versions: Powerpc*le starts at 2.18.
11370         * shlib-versions: Likewise.
11371
11372 2013-10-04  Alan Modra  <amodra@gmail.com>
11373
11374         * string/tester.c (test_memrchr): Increment reported test cycle.
11375
11376 2013-10-04  Alan Modra  <amodra@gmail.com>
11377
11378         * string/test-memcpy.c (do_one_test): When reporting errors, print
11379         string address and don't overrun end of string.
11380
11381 2013-10-04  Alan Modra  <amodra@gmail.com>
11382
11383         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11384         insrdi.  Make better use of reg selection to speed exit slightly.
11385         Schedule entry path a little better.  Remove useless "are we done"
11386         checks on entry to main loop.  Handle wrapping around zero address.
11387         Correct main loop count.  Handle single left-over word from main
11388         loop inline rather than by using loop_small.  Remove extra word
11389         case in loop_small caused by wrong loop count.  Add little-endian
11390         support.
11391         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11392         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
11393         cache hint.
11394         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11395         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11396         support.  Avoid rlwimi.
11397         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11398
11399 2013-10-04  Alan Modra  <amodra@gmail.com>
11400
11401         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
11402         insrdi.  Formatting.
11403         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11404         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11405         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11406         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11407         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11408         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11409
11410 2013-10-04  Alan Modra  <amodra@gmail.com>
11411
11412         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11413         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11414         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11415         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11416         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11417         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11418         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11419         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11420         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
11421         use of regs.  Use power7 mtocrf.  Tidy function tails.
11422
11423 2013-10-04  Alan Modra  <amodra@gmail.com>
11424
11425         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11426         Formatting.  Consistently use rXXX register defines or rN defines.
11427         Use early exit labels that avoid restoring unused non-volatile regs.
11428         Make cr field use more consistent with rWORDn compares.  Rename
11429         regs used as shift registers for unaligned loop, using rN defines
11430         for short lifetime/multiple use regs.
11431         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11432         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
11433         addi 1,1,64 to pop stack frame.  Simplify return value code.
11434         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11435
11436 2013-10-04  Alan Modra  <amodra@gmail.com>
11437
11438         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11439         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
11440         rather than rlwimi.
11441         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11442         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11443         little-endian support.  Correct typos.
11444         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
11445         rather than rlwimi.
11446         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
11447         in loop and entry code to keep "and." results.
11448         (strchr): Add little-endian support.  Comment.  Move cntlzd
11449         earlier in tail.
11450         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11451
11452 2013-10-04  Alan Modra  <amodra@gmail.com>
11453
11454         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11455         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11456         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11457         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11458
11459 2013-10-04  Alan Modra  <amodra@gmail.com>
11460
11461         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11462         (rTMP): Define as r11.
11463         (strcmp): Add little-endian support.  Optimise tail.
11464         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11465         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11466         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11467         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11468         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11469         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11470         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11471
11472 2013-10-04  Alan Modra  <amodra@gmail.com>
11473
11474         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11475         little-endian support.  Remove unnecessary "are we done" tests.
11476         Handle "s" wrapping around zero and extremely large "size".
11477         Correct main loop count.  Handle single left-over word from main
11478         loop inline rather than by using small_loop.  Correct comments.
11479         Delete "zero" tail, use "end_max" instead.
11480         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11481
11482 2013-10-04  Alan Modra  <amodra@gmail.com>
11483
11484         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11485         support.  Don't branch over align.
11486         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11487         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11488         support.  Rearrange tmp reg use to suit.  Comment.
11489         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11490
11491 2013-10-04  Alan Modra  <amodra@gmail.com>
11492
11493         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11494
11495 2013-10-04  Alan Modra  <amodra@gmail.com>
11496
11497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11498         conditional form of branch and link when obtaining pc.
11499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11500
11501 2013-10-04  Alan Modra  <amodra@gmail.com>
11502
11503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11504         HIWORD/LOWORD.
11505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11507
11508 2013-10-04  Alan Modra  <amodra@gmail.com>
11509
11510         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11511         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11512         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11513         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11514         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11515         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11516         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11517         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11518         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11519         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11520
11521 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11522             Alistair Popple <alistair@ozlabs.au.ibm.com>
11523             Alan Modra <amodra@gmail.com>
11524
11525         [BZ #15723]
11526         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11527         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11528         _dl_hwcap access for little-endian.
11529         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
11530         destroy vmx regs when saving unaligned.
11531         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11532         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
11533         destroy vmx regs when saving unaligned.
11534
11535 2013-10-04  Alan Modra  <amodra@gmail.com>
11536
11537         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11538         Don't use a union to pack hi/low value.
11539
11540 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11541
11542         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11543         for little-endian.
11544         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11545         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11546         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11547         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11548         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11549
11550 2013-10-04  Alan Modra  <amodra@gmail.com>
11551
11552         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11553         constants to usual value for .cst8 section, and remove redundant
11554         high address load.
11555         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11556         constant for 0x1p52.  Load little-endian words of double from
11557         correct stack offsets.
11558
11559 2013-10-04  Alan Modra  <amodra@gmail.com>
11560
11561         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11562         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11563         words of double from correct stack offsets.
11564         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11565         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11566         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11567         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11568         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11569         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11570         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11571         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11572         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11573         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11574         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11575         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11576         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11577         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11578         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11579         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11580         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11581
11582 2013-10-04  Alan Modra  <amodra@gmail.com>
11583
11584         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11585         64-bit int/double union.
11586         (_FPU_SETCW): Likewise.
11587         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11588         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11589
11590 2013-10-04  Alan Modra  <amodra@gmail.com>
11591
11592         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11593         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11594
11595 2013-10-04  Alan Modra  <amodra@gmail.com>
11596
11597         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11598         use vector int constants.
11599         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11600
11601 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11602
11603         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11604         array with long long.
11605         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11606         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11607         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11608         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11609         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11610         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11611         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11612         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11613         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11614         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11615         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11616         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11617         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11618
11619 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11620
11621         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11622         (__signbit): Likewise.  Correct for little-endian.
11623         (__signbitl): Call __signbit.
11624         (lrint): Correct for little-endian.
11625         (lrintf): Call lrint.
11626
11627 2013-10-04  Alan Modra  <amodra@gmail.com>
11628
11629         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11630         union 32-bit int array member with 64-bit int array.
11631         (t515, tm256): Double rather than long double.
11632         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11633
11634 2013-10-04  Alan Modra  <amodra@gmail.com>
11635
11636         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11637         Delete.
11638         (IEEE854_LONG_DOUBLE_BIAS): Delete.
11639         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11640         version of math_ldbl.h.
11641
11642 2013-10-04  Alan Modra  <amodra@gmail.com>
11643
11644         [BZ #15734], [BZ #15735]
11645         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11646         all uses of ieee875 long double macros and unions.  Simplify test
11647         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
11648         ldbl_extract_mantissa value for ix,iy exponents.  Properly
11649         normalize after ldbl_extract_mantissa, and don't add hidden bit
11650         already handled.  Don't treat low word of ieee854 mantissa like
11651         low word of IBM long double and mask off bit when testing for
11652         zero.
11653         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11654         all uses of ieee875 long double macros and unions.  Simplify tests
11655         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
11656         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
11657         two1022, instead use their values.  Recognise that tests for large
11658         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
11659         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11660         Rewrite all uses of ieee875 long double macros and unions.  Simplify
11661         test for 0.0L and nan.  Correct negation.
11662         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11663         ieee875 long double macros and unions.  Correct output for large
11664         magnitude x.  Correct absolute value calculation.
11665         (__erfcl): Likewise.
11666         * math/libm-test.inc: Add tests for errors discovered in IBM long
11667         double versions of fmodl, remainderl, erfl and erfcl.
11668
11669 2013-10-04  Alan Modra  <amodra@gmail.com>
11670
11671         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11672         all uses of ieee854 long double macros and unions.  Simplify tests
11673         for long doubles that are fully specified by the high double.
11674         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11675         Likewise.
11676         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11677         Remove dead code too.
11678         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11679         (__ieee754_ynl): Likewise.
11680         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11681         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11682         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11683         Remove dead code too.
11684         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11685         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11686         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11687         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11688         Simplify.
11689         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11690         Simplify.
11691         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11692         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11693         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11694         Comment on variable precision.
11695         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11696         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11697         Likewise.
11698         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11699         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11700         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11701         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11702         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11703
11704 2013-10-04  Alan Modra  <amodra@gmail.com>
11705
11706         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11707         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11708         all uses of ieee854 long double macros and unions.
11709         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11710         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11711         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11712         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11713         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11714         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11715         Likewise.
11716         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11717         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11718         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11719         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11720         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11721         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11722         Simplify sign and nan test too.
11723         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11724         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11725         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11726         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11727         Likewise.
11728         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11729         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11730         Likewise.
11731         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11732         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11733         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11734         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11735         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11736         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11737
11738 2013-10-04  Alan Modra  <amodra@gmail.com>
11739
11740         * stdio-common/printf_size.c (__printf_size): Don't use
11741         union ieee854_long_double in fpnum union.
11742         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
11743         signbit macro to retrieve sign from long double.
11744         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11745         retrieve sign from long double.
11746         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11747         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11748         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11749         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11750         * math/test-misc.c (main): Don't use union ieee854_long_double.
11751
11752 2013-10-04  Alan Modra  <amodra@gmail.com>
11753
11754         [BZ #15680]
11755         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11756         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11757         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11758         calculation.  Remove unnecessary test for denormal exponent.
11759         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11760         Correct handling of denormals.  Avoid undefined shift behaviour.
11761         Correct normalisation of low mantissa when low double is denormal.
11762         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11763         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
11764         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11765         Correct normalisation of low mantissa.  Test for overflow of high
11766         mantissa and normalise.
11767         (ldbl_nearbyint): Use more readable constant for two52.
11768         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11769         (__mpn_construct_long_double): Fix test for overflow of high
11770         mantissa and correct normalisation.  Avoid undefined shift.
11771
11772 2013-10-04  Alan Modra  <amodra@gmail.com>
11773
11774         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11775         (union ibm_extended_long_double): Define as an array of ieee754_double.
11776         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11777         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11778         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11779         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11780         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11781         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11782         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11783         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11784         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11785         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11786         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11787
11788 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
11789
11790         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11791         page size instead of calling getpagesize.
11792
11793         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11794         (LOCFILE_ALIGN_MASK): Likewise.
11795         (LOCFILE_ALIGN_UP): Likewise.
11796         (LOCFILE_ALIGNED_P): Likewise.
11797         * locale/programs/ld-collate.c (collate_output): Use the new
11798         macros instead of __alignof__ (int32_t).
11799         * locale/weight.h (findidx): Likewise.
11800
11801 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
11802
11803         [BZ #431]
11804         * manual/string.texi: Fix strncat and wcsncat.
11805
11806 2013-10-03  Brooks Moses  <bmoses@google.com>
11807
11808         [BZ #15915]
11809         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11810         * Makerules: ...here, and adjust associated comments.
11811
11812 2013-10-02  Will Newton  <will.newton@linaro.org>
11813
11814         * malloc/Makefile: Add tst-pvalloc.
11815         * malloc/tst-pvalloc.c: New file.
11816
11817 2013-10-02  Will Newton  <will.newton@linaro.org>
11818
11819         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11820         improve test coverage.
11821
11822 2013-10-02  Will Newton  <will.newton@linaro.org>
11823
11824         * malloc/Makefile: Add tst-posix_memalign.
11825         * malloc/tst-posix_memalign.c: New file.
11826
11827 2013-10-01  Eric Blake  <eblake@redhat.com>
11828
11829         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11830         Use __THROWNL rather than __THROW on static functions.
11831
11832 2013-09-30  Petr Machata  <pmachata@redhat.com>
11833
11834         * elf/elf.h (R_AARCH64_ABS16): New macro.
11835         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11836         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11837         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11838         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11839         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11840         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11841         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11842         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11843         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11844         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11845         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11846         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11847         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11848         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11849         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11850         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11851         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11852         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11853         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11854         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11855         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11856         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11857         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11858         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11859         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11860         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11861         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11862         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11863         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11864         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11865         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11866         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11867         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11868         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11869         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11870         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11871         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11872         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11873         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11874         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11875         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11876         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11877         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11878         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11879         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11880         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11881         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11882         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11883         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11884         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11885         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11886         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11887         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11888         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11889         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11890         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11891         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11892         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11893         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11894         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11895         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11896         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11897         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11898         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11899         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11900         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11901         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11902         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11903         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11904         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11905         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11906         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11907         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11908         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11909         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11910         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11911         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11912         (R_AARCH64_TLSDESC_LDR): Likewise.
11913         (R_AARCH64_TLSDESC_ADD): Likewise.
11914         (R_AARCH64_TLSDESC_CALL): Likewise.
11915
11916 2013-09-30  Andreas Schwab  <schwab@suse.de>
11917
11918         [BZ #15048]
11919         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11920         the nss database lookup.
11921         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11922         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11923
11924 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
11925
11926         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11927
11928 2013-09-28  P. J. McDermott  <pj@pehjota.net>
11929
11930         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11931         ${Bash-specific parameter/pattern/string} parameter expansion.
11932         * sysdeps/unix/make-syscalls.sh: Likewise.
11933
11934 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11935
11936         * sysdeps/sh/stackguard-macros.h: New file.
11937
11938 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
11939
11940         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11941         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11942         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11943         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11944         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11945         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11946
11947 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11948
11949         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11950         Fix thread ID register.
11951
11952 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
11953
11954         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11955         [POSIX || UNIX98]: Require rather than permitting all symbols from
11956         <time.h>.
11957         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11958         element of struct sched_param.
11959         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11960         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11961         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11962         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11963         constant.
11964
11965 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
11966
11967         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11968         argument calculation.
11969
11970 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
11971
11972         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11973         Expect macro.
11974         [POSIX] (pthread_attr_t): Do not require type.
11975         [POSIX] (pthread_cond_t): Likewise.
11976         [POSIX] (pthread_condattr_t): Likewise.
11977         [POSIX] (pthread_key_t): Likewise.
11978         [POSIX] (pthread_mutex_t): Likewise.
11979         [POSIX] (pthread_mutexattr_t): Likewise.
11980         [POSIX] (pthread_once_t): Likewise.
11981         [POSIX] (pthread_t): Likewise.
11982         [POSIX-based standards] (pthread_atfork): Expect function.
11983
11984 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
11985             Richard Sandiford  <richard@codesourcery.com>
11986
11987         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11988         (swap_endianness_p): New extern variable.
11989         (set_big_endian): New inline function.
11990         (maybe_swap_uint32): Likewise.
11991         (maybe_swap_uint32_array): Likewise.
11992         (maybe_swap_uint32_obstack): Likewise.
11993         * locale/programs/locfile.c: Include <stdbool.h>.
11994         (swap_endianness_p): New variable.
11995         (add_locale_uint32): Call maybe_swap_uint32.
11996         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11997         (write_locale_data): Call maybe_swap_uint32_array.
11998         * locale/programs/ld-collate.c (obstack_int32_grow): Call
11999         maybe_swap_uint32.
12000         (obstack_int32_grow_fast): Likewise.
12001         (output_weightwc): Call maybe_swap_uint32_obstack.
12002         (collate_output): Likewise.
12003         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12004         (OPT_LITTLE_ENDIAN): Likewise.
12005         (options): Add --little-endian and --big-endian options.
12006         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12007         * locale/programs/locarchive.c: Include "locfile.h".
12008         (GET): New macro.
12009         (SET): Likewise.
12010         (INC): Likewise.
12011         (create_archive): Use the new macros to access fields of
12012         structures directly mapped from or written to locale archives.
12013         (oldlocrecentcmp): Likewise.
12014         (enlarge_archive): Likewise.
12015         (insert_name): Likewise.
12016         (add_alias): Likewise.
12017         (add_locale): Likewise.
12018         (delete_locales_from_archive): Likewise.
12019         (show_archive_content): Likewise.
12020         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
12021         locale data.
12022
12023 2013-09-24  Roland McGrath  <roland@hack.frob.com>
12024
12025         * manual/freemanuals.texi: Updated from (newly) canonical copy at
12026         http://www.gnu.org/doc/freemanuals.texi.
12027         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12028
12029 2013-09-24  Will Newton  <will.newton@linaro.org>
12030
12031         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12032         macro.
12033
12034 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
12035
12036         * locale/hashval.h (compute_hashval): Interpret bytes of key as
12037         unsigned char.
12038
12039 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
12040
12041         * manual/threads.texi (POSIX Threads): Fix a typo.
12042
12043 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12044
12045         [BZ #14547]
12046         * string/tst-strcoll-overflow.c: New test case.
12047         * string/Makefile (xtests): Add tst-strcoll-overflow.
12048         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12049         cache if string sizes may cause integer overflow.
12050
12051         [BZ #14547]
12052         * string/strcoll_l.c (coll_seq): New members rule, idx,
12053         save_idx and back_us.
12054         (get_next_seq_nocache): New function.
12055         (do_compare_nocache): New function.
12056         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12057         when malloc fails.
12058
12059 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
12060
12061         [BZ #15754]
12062         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12063         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12064         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12065
12066         [BZ #15754]
12067         * elf/Makefile (tests): Add tst-ptrguard1.
12068         (tests-static): Add tst-ptrguard1-static.
12069         (tst-ptrguard1-ARGS): Define.
12070         (tst-ptrguard1-static-ARGS): Define.
12071         * elf/tst-ptrguard1.c: New file.
12072         * elf/tst-ptrguard1-static.c: New file.
12073         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12074         * sysdeps/i386/stackguard-macros.h: Likewise.
12075         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12076         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12077         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12078         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12079         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12080         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12081
12082 2013-09-23  Hector Marco  <hecmargi@upv.es>
12083             Ismael Ripoll  <iripoll@disca.upv.es>
12084             Carlos O'Donell  <carlos@redhat.com>
12085
12086         [BZ #15754]
12087         * sysdeps/generic/stackguard-macros.h: Define
12088         __pointer_chk_guard_local and POINTER_CHK_GUARD.
12089         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12090         Define __pointer_chk_guard_local.
12091         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12092         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12093
12094 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
12095
12096         [BZ #15859]
12097         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12098
12099 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
12100
12101         * include/string.h (__ffs): Declare as hidden.
12102         * string/ffs.c (__ffs): Define as hidden.
12103         * sysdeps/i386/ffs.c (__ffs): Likewise.
12104         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12105         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12106         * sysdeps/s390/ffs.c (__ffs): Likewise.
12107         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12108
12109 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
12110
12111         * NEWS: Mention malloc probes.
12112
12113         * malloc/arena.c (new_heap): New memory_heap_new probe.
12114         (grow_heap): New memory_heap_more probe.
12115         (shrink_heap): New memory_heap_less probe.
12116         (heap_trim): New memory_heap_free probe.
12117         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12118         (systrim): New memory_sbrk_less probe.
12119         * manual/probes.texi: Document them.
12120
12121         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12122         * manual/probes.texi: Document it.
12123
12124         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12125         (__libc_realloc): Add memory_realloc_retry probe.
12126         (__libc_memalign): Add memory_memalign_retry probe.
12127         (__libc_valloc): Add memory_valloc_retry probe.
12128         (__libc_pvalloc): Add memory_pvalloc_retry probe.
12129         (__libc_calloc): Add memory_calloc_retry probe.
12130         * manual/probes.texi: Document them.
12131
12132         * malloc/arena.c (get_free_list): Add probe
12133         memory_arena_reuse_free_list.
12134         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12135         and memory_arena_reuse.
12136         (arena_get2) [!PER_THREAD]: Likewise.
12137         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12138         memory_arena_reuse_realloc.
12139         * manual/probes.texi: Document them.
12140
12141         * malloc/malloc.c (__libc_free): Add
12142         memory_mallopt_free_dyn_thresholds probe.
12143         (__libc_mallopt): Add multiple memory_mallopt probes.
12144         * manual/probes.texi: Document them.
12145
12146         * malloc/malloc.c: Include stap-probe.h.
12147         (__libc_mallopt): Add memory_mallopt probe.
12148         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12149         * manual/probes.texi: New.
12150         * manual/Makefile (chapters): Add probes.
12151         * manual/threads.texi: Set next node.
12152
12153 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
12154
12155         [BZ #15963, #13985]
12156         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12157         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12158         Add `Chinese' to `nan' entry name.
12159
12160 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12161
12162         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12163         (POLYNOMIAL): Likewise.
12164         (TAYLOR_SINCOS): Likewise.
12165         (TAYLOR_SLOW): Likewise.
12166         (__sin): Use TAYLOR_SINCOS.
12167         (__cos): Likewise.
12168         (slow): Use TAYLOR_SLOW.
12169         (sloww): Likewise.
12170         (bsloww): Likewise.
12171         (csloww): Likewise.
12172
12173 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12174
12175         * stdlib/strtod_l.c: Fix buffer overrun.
12176
12177 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12178
12179         * benchtests/Makefile (bench): Add sincos.
12180         * benchtests/bench-sincos.c: New file.
12181
12182         * math/libm-test.inc (cos_test_data): New test inputs.
12183         (sin_test_data): Likewise.
12184
12185         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12186         macro.
12187         (__sin): Use it.
12188         (__cos): Likewise.
12189         (slow1): Likewise.
12190         (slow2): Likewise.
12191         (sloww1): Likewise.
12192         (sloww2): Likewise.
12193         (bsloww1): Likewise.
12194         (bsloww2): Likewise.
12195         (cslow2): Likewise.
12196         (csloww1): Likewise.
12197         (csloww2): Likewise.
12198
12199         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12200         function.
12201         (__sin): Use it.
12202         (__cos): Likewise.
12203
12204         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12205         gotos.
12206         (__cos): Likewise.
12207
12208 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
12209
12210         * config.h.in (HAVE_MIPS_NAN2008): New macro.
12211         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12212         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12213         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12214         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12215         * elf/cache.c (print_entry): Handle the new cache flags.
12216
12217 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
12218             Aldy Hernandez  <aldyh@redhat.com>
12219
12220         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12221         Change condition to [_SOFT_FLOAT].
12222         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12223         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12224         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12225         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12226         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12227         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12228         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12229         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12230         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12231         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12232         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12233         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12234         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12235         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12236         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12237         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12238         declaration.
12239
12240 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
12241
12242         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12243         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12244         (__longjmp): Use LOAD_GP to load saved GPRs.
12245         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12246         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12247         (__sigsetjmp): Use SAVE_GP to save GPRs.
12248
12249         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12250         Do not append -msoft-float.
12251         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12252
12253 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12254
12255         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12256
12257 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
12258
12259         [BZ #15966]
12260         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12261         (_FPU_GETCW): Use initial "__" on variable and field names but not
12262         on macro parameter name.
12263         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
12264         parentheses around reference to macro parameter.
12265
12266 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
12267
12268         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12269         prototype.
12270         (ctype_startup): Use uint32_t in cast and sizeof for
12271         ctype->charnames.
12272
12273 2013-09-11  Jia Liu  <proljc@gmail.com>
12274
12275         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12276         __daddr_t_defined.
12277         [__FreeBSD__]: Likewise.
12278
12279 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
12280
12281         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12282         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12283         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12284         (strchr): Remove __strchr_sse42 ifunc selection.
12285         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12286         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12287
12288 2013-09-11  Will Newton  <will.newton@linaro.org>
12289
12290         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12291         parameter to RES. Remove hardcoded 1000 value.
12292         * benchtests/bench-skeleton.c (main): Pass RES parameter
12293         to TIMING_INIT and multiply result by 1000.
12294
12295 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12296
12297         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12298
12299 2013-09-11  Andreas Schwab  <schwab@suse.de>
12300
12301         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12302         if not defined.
12303         (O_TMPFILE) [__USE_GNU]: Define.
12304         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12305         Define.
12306
12307 2013-09-11  Will Newton  <will.newton@linaro.org>
12308
12309         [BZ #15857]
12310         * malloc/malloc.c (__libc_memalign): Check the value of bytes
12311         does not overflow.
12312
12313 2013-09-11  Will Newton  <will.newton@linaro.org>
12314
12315         [BZ #15856]
12316         * malloc/malloc.c (__libc_valloc): Check the value of bytes
12317         does not overflow.
12318
12319 2013-09-11  Will Newton  <will.newton@linaro.org>
12320
12321         [BZ #15855]
12322         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12323         does not overflow.
12324
12325 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
12326
12327         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12328         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12329         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12330         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12331         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12332
12333 2013-09-10  Allan McRae  <allan@archlinux.org>
12334
12335         [BZ #15748]
12336         * manual/arith.texi (Parsing of Floats): Clarify
12337         cross-reference.
12338
12339         [BZ #15849]
12340         * manual/install.texi (Running make install): Mention
12341         --enable-pt-chown.
12342         * INSTALL: Regenerated.
12343
12344 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12345
12346         * csu/init-first.c (_init): Remove the !SHARED condition around
12347         FPU control word initialization.
12348         * elf/dl-support.c (_dl_fpu_control): New variable.
12349         (_dl_aux_init) <AT_FPUCW>: Initialize it.
12350         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12351         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12352         * math/test-fpucw-static.c: New file.
12353         * math/test-fpucw-ieee.c: New file.
12354         * math/test-fpucw-ieee-static.c: New file.
12355         * math/Makefile (tests): Add `test-fpucw-ieee' and
12356         `$(tests-static)'.
12357         (tests-static): New variable.
12358         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12359         dependency to...
12360         [($(build-shared),yes)]
12361         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12362         ... this.
12363         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12364         New dependency.
12365
12366 2013-09-09  Allan McRae  <allan@archlinux.org>
12367
12368         [BZ #15939]
12369         * manual/string.texi (Collation Functions): Fix typo in
12370         strcoll example.
12371         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12372
12373         [BZ #15893]
12374         * stdlib/isomac.c (get_null_defines): Fix memory leak.
12375
12376         [BZ #15892]
12377         * libio/memstream.c (open_memstream): Fix memory leak.
12378         * libio/wmemstream.c (open_wmemstream): Likewise.
12379
12380         [BZ #15895]
12381         * nscd/netgroupcache.c: Fix nesting of ifdefs.
12382
12383 2013-09-09  Will Newton  <will.newton@linaro.org>
12384
12385         * malloc/Makefile: Add tst-realloc to tests.
12386         * malloc/tst-realloc.c: New file.
12387
12388 2013-09-09  Allan McRae  <allan@archlinux.org>
12389
12390         [BZ #15844]
12391         * COPYING: Update from GNU website to fix FSF address.
12392         * COPYING.LIB: Likewise.
12393
12394 2013-09-06  David S. Miller  <davem@davemloft.net>
12395
12396         * po/zh_TW.po: Update Chinese (traditional) translation from
12397         translation project.
12398
12399 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
12400             Joseph Myers  <joseph@codesourcery.com>
12401
12402         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12403         "localeinfo.h".
12404         (obstack_chunk_alloc): New macro.
12405         (obstack_chunk_free): Likewise.
12406         (record_offset): New function.
12407         (init_locale_data): Likewise.
12408         (align_locale_data): Likewise.
12409         (add_locale_empty): Likewise.
12410         (add_locale_raw_data): Likewise.
12411         (add_locale_raw_obstack): Likewise.
12412         (add_locale_string): Likewise.
12413         (add_locale_wstring): Likewise.
12414         (add_locale_uint32): Likewise.
12415         (add_locale_uint32_array): Likewise.
12416         (add_locale_char): Likewise.
12417         (start_locale_structure): Likewise.
12418         (end_locale_structure): Likewise.
12419         (start_locale_prelude): Likewise.
12420         (end_locale_prelude): Likewise.
12421         (write_locale_data): Take locale_file structure rather than an
12422         iovec.
12423         * locale/programs/locfile.h: Include "obstack.h".
12424         (struct locale_file): Change to store locale file contents instead
12425         of header.
12426         (init_locale_data): New prototype.
12427         (align_locale_data): Likewise.
12428         (add_locale_empty): Likewise.
12429         (add_locale_raw_data): Likewise.
12430         (add_locale_raw_obstack): Likewise.
12431         (add_locale_string): Likewise.
12432         (add_locale_wstring): Likewise.
12433         (add_locale_uint32): Likewise.
12434         (add_locale_uint32_array): Likewise.
12435         (add_locale_char): Likewise.
12436         (start_locale_structure): Likewise.
12437         (end_locale_structure): Likewise.
12438         (start_locale_prelude): Likewise.
12439         (end_locale_prelude): Likewise.
12440         (write_locale_data): Update prototype.
12441         * locale/programs/3level.h (struct TABLE): Remove result field.
12442         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12443         Use new locale_file interface.
12444         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12445         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12446         * locale/programs/ld-address.c (address_output): Use new
12447         locale_file interface.
12448         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12449         NO_ADD_LOCALE.
12450         (collate_finish): Don't call collseq_table_finalize.
12451         (collate_output): Use new locale_file interface.
12452         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12453         in file.
12454         (NO_FINALIZE): Change to NO_ADD_LOCALE.
12455         (TABLE): Move defines earlier in file.
12456         (ELEMENT): Likewise.
12457         (DEFAULT): Likewise.
12458         (wctrans_table_add): Move macro and inline function earlier in
12459         file.
12460         (struct wctype_table): Move type earlier in file.
12461         (add_locale_wctype_table): New static prototype.
12462         (struct locale_ctype_t): Use logical types instead of struct iovec
12463         pointers for members.
12464         (ctype_output): Use new locale_file interface.
12465         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
12466         new locale_file interface.
12467         (allocate_arrays): Update for use of new locale_file interface.
12468         * locale/programs/ld-identification.c (identification_output): Use
12469         new locale_file interface.
12470         * locale/programs/ld-measurement.c (measurement_output): Likewise.
12471         * locale/programs/ld-messages.c (messages_output): Likewise.
12472         * locale/programs/ld-monetary.c (monetary_output): Likewise.
12473         * locale/programs/ld-name.c (name_output): Likewise.
12474         * locale/programs/ld-numeric.c (numeric_output): Likewise.
12475         * locale/programs/ld-paper.c (paper_output): Likewise.
12476         * locale/programs/ld-telephone.c (telephone_output): Likewise.
12477         * locale/programs/ld-time.c (time_output): Likewise.
12478
12479 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12480
12481         * benchtests/Makefile: Add memrchr benchmark.
12482         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12483         benchmark as memrchr.
12484         * benchtests/bench-memrchr-ifunc.c: New file.
12485         * benchtests/bench-memrchr.c: New file.
12486
12487 2013-09-06   Will Newton  <will.newton@linaro.org>
12488
12489         * benchtests/Makefile (string-bench): Add memcpy.
12490
12491 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
12492             Cong Wang  <amwang@redhat.com>
12493
12494         [BZ #15850]
12495         * sysdeps/unix/sysv/linux/bits/in.h
12496         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12497         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12498         before __USE_KERNEL_IPV6_DEFS uses.
12499         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12500         IPPROTO_BEETPH.
12501         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12502         sockaddr_in6, or ipv6_mreq.
12503
12504 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12505
12506         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12507         memory access for final bytes in some large inputs.
12508         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12509
12510 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12511
12512         * string/test-memrchr.c: New file.
12513         * string/test-memrchr-ifunc.c: New file.
12514         * string/Makefile: Add new memrchr testcase.
12515
12516 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
12517
12518         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12519         fanotify_init returns EPERM.
12520
12521 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
12522
12523         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12524         errors.
12525         (top level): Treat second token from macro or constant entries for
12526         allowed headers as allowed.
12527         * include/complex.h: Condition internal declarations on
12528         [!_ISOMAC].
12529         * include/fenv.h: Condition include of <stdbool.h> and internal
12530         declarations on [!_ISOMAC].
12531
12532 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
12533
12534         [BZ #15923]
12535         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12536
12537 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
12538
12539         * configure.in (--enable-versioning): Remove configure option.
12540         (libc_cv_asm_symver_directive): Remove configure test.
12541         (libc_cv_ld_version_script_option): Likewise.
12542         (VERSIONING): Remove variable and AC_SUBST.
12543         (DO_VERSIONING): Remove AC_DEFINE.
12544         * configure: Regenerated.
12545         * config.h.in (DO_VERSIONING): Remove macro.
12546         * Makerules [$(versioning) = yes]: Change conditionals to
12547         [$(build-shared) = yes].
12548         * config.make.in (versioning): Remove variable.
12549         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12550         [$(build-shared) = yes].
12551         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12552         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12553         * elf/Makefile [$(versioning) = yes]: Change conditionals to
12554         [$(build-shared) = yes].
12555         * extra-lib.mk [$(versioning) = yes]: Likewise.
12556         * hurd/Makefile [$(versioning) = yes]: Likewise.
12557         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12558         [SHARED].
12559         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12560         [SHARED].
12561         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12562         [SHARED && !NO_HIDDEN].
12563         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12564         [SHARED].
12565         [SHARED && DO_VERSIONING]: Likewise..
12566         * libio/Makefile [$(versioning) = yes]: Change conditionals to
12567         [$(build-shared) = yes].
12568         * manual/install.texi (--disable-versioning): Remove
12569         documentation.
12570         * INSTALL: Regenerated.
12571         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12572         to [SHARED].
12573         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12574         [$(build-shared) = yes].
12575         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12576         * sysdeps/i386/i686/multiarch/strstr-c.c
12577         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12578         [SHARED && !NO_HIDDEN].
12579         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12580         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12581         * sysdeps/powerpc/powerpc32/dl-machine.c
12582         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12583         * sysdeps/powerpc/powerpc32/sysdep.h
12584         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12585         to [SHARED && PIC && !NO_HIDDEN].
12586         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12587         conditional to [SHARED].
12588
12589 2013-09-04   Will Newton  <will.newton@linaro.org>
12590
12591         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12592         * benchtests/bench-string.h: Include bench-timing.h instead
12593         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12594         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12595         call to HP_TIMING_DIFF_INIT.
12596         * benchtests/bench-memccpy.c: Use bench-timing.h macros
12597         instead of hp-timing.h macros.
12598         * benchtests/bench-memchr.c: Likewise.
12599         * benchtests/bench-memcmp.c: Likewise.
12600         * benchtests/bench-memcpy.c: Likewise.
12601         * benchtests/bench-memmem.c: Likewise.
12602         * benchtests/bench-memmove.c: Likewise.
12603         * benchtests/bench-memset.c: Likewise.
12604         * benchtests/bench-rawmemchr.c: Likewise.
12605         * benchtests/bench-strcasecmp.c: Likewise.
12606         * benchtests/bench-strcasestr.c: Likewise.
12607         * benchtests/bench-strcat.c: Likewise.
12608         * benchtests/bench-strchr.c: Likewise.
12609         * benchtests/bench-strcmp.c: Likewise.
12610         * benchtests/bench-strcpy.c: Likewise.
12611         * benchtests/bench-strcpy_chk.c: Likewise.
12612         * benchtests/bench-strlen.c: Likewise.
12613         * benchtests/bench-strncasecmp.c: Likewise.
12614         * benchtests/bench-strncat.c: Likewise.
12615         * benchtests/bench-strncmp.c: Likewise.
12616         * benchtests/bench-strncpy.c: Likewise.
12617         * benchtests/bench-strnlen.c: Likewise.
12618         * benchtests/bench-strpbrk.c: Likewise.
12619         * benchtests/bench-strrchr.c: Likewise.
12620         * benchtests/bench-strspn.c: Likewise.
12621         * benchtests/bench-strstr.c: Likewise.
12622
12623 2013-09-04  Will Newton  <will.newton@linaro.org>
12624
12625         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12626
12627 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
12628
12629         [BZ #15427]
12630         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12631         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12632         * math/libm-test.inc (lgamma_test_data): Add more tests.
12633         * sysdeps/i386/fpu/libm-test-ulps: Update.
12634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12635
12636 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
12637
12638         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12639         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12640         Add ifunc.
12641         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12642         Add strcmp-sse2-unaligned
12643         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12644
12645 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
12646
12647         * Versions.def (libc): Add GLIBC_2.19.
12648
12649 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
12650
12651         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12652         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12653
12654 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
12655
12656         [BZ #14155]
12657         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12658         intermediate calculations in recurrence.
12659         (__ieee754_ynf): Likewise.
12660         * math/libm-test.inc (jn_test_data): Do not allow spurious
12661         underflow exception.  Add more tests.
12662         (yn_test_data): Add more tests.
12663         * sysdeps/i386/fpu/libm-test-ulps: Update.
12664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12665
12666 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
12667
12668         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12669
12670 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
12671
12672         * csu/init-first.c: Fix then/than typos.
12673         * locale/programs/ld-collate.c: Likewise.
12674         * locale/programs/linereader.h: Likewise.
12675         * manual/charset.texi: Likewise.
12676         * manual/filesys.texi: Likewise.
12677         * manual/stdio.texi: Likewise.
12678         * manual/string.texi: Likewise.
12679         * stdlib/fmtmsg.c: Likewise.
12680         * sysdeps/i386/stpncpy.S: Likewise.
12681         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12682         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12683         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12684         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12685
12686 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
12687
12688         * elf/dl-open.c: Fix typos.
12689         * iconvdata/gbbig5.c: Likewise.
12690         * iconvdata/iso-2022-jp.c: Likewise.
12691         * iconv/gconv_int.h: Likewise.
12692         * iconv/loop.c: Likewise.
12693         * nis/rpcsvc/nis.h: Likewise.
12694         * resolv/ns_name.c: Likewise.
12695         * stdio-common/vfscanf.c: Likewise.
12696         * streams/stropts.h: Likewise.
12697         * sunrpc/rpc_thread.c: Likewise.
12698         * sysdeps/i386/strpbrk.S: Likewise.
12699         * sysdeps/ieee754/k_standard.c: Likewise.
12700         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12701         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12702         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12703         * sysdeps/mach/hurd/profil.c: Likewise.
12704         * sysdeps/s390/dl-procinfo.h: Likewise.
12705         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12706         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12707         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12708         * sysdeps/x86_64/dl-trampoline.S: Likewise.
12709         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12710
12711 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
12712
12713         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12714         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12715
12716 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
12717
12718         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12719         aix specific files.
12720         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12721         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12722         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12723         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12724         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12725         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12726         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12727         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12728
12729 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
12730             Roland McGrath  <roland@hack.frob.com>
12731
12732         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12733         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12734
12735 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12736
12737         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12738         __executable_start symbol instead of _start.
12739
12740 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
12741
12742         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12743         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12744         Move macros to...
12745         * sysdeps/gnu/ldsodefs.h: ... this new file.
12746
12747         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12748         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12749         instead of ELFOSABI_LINUX.
12750
12751         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12752         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12753         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12754         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12755         Likewise.
12756         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12757         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12758         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12759         Likewise.
12760         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12761         (ibm_extended_long_double): Add ieee_nan member.
12762         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12763         (do_test): New function.
12764
12765         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12766         TEST_TRUNC.
12767         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12768         functions, renamed from truncdfsf_test, trunctfsf_test,
12769         trunctfdf_test.
12770         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12771         functions.
12772         (do_test): Run all these.
12773
12774 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
12775
12776         * argp/argp-help.c: Fix typos.
12777         * argp/argp-parse.c: Likewise.
12778         * debug/backtracesyms.c: Likewise.
12779         * elf/elf.h: Likewise.
12780         * malloc/malloc.c: Likewise.
12781         * nis/nis_print.c: Likewise.
12782         * resolv/res_comp.c: Likewise.
12783         * stdlib/stdlib.h: Likewise.
12784         * sunrpc/clnt_tcp.c: Likewise.
12785         * sunrpc/clnt_udp.c: Likewise.
12786         * sunrpc/clnt_unix.c: Likewise.
12787         * sysdeps/unix/bsd/ptsname.c: Likewise.
12788         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12789         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12791         Likewise.
12792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12793         Likewise.
12794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12795         Likewise.
12796         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12797
12798 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12799
12800         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12801         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12802
12803 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
12804
12805         [BZ #15897]
12806         * dlfcn/Makefile (tests): Add bug-dl-leaf.
12807         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12808         ($(objpfx)bug-dl-leaf): New rule.
12809         ($(objpfx)bug-dl-leaf.so): Likewise.
12810         ($(objpfx)bug-dl-leaf.out): Likewise.
12811         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12812         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12813         * dlfcn/bug-dl-leaf.c: New test.
12814         * dlfcn/bug-dl-leaf-lib.c: Likewise.
12815         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12816         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12817         (dlclose): Likewise.
12818         (dlmopen): Likewise.
12819
12820 2013-08-27  Roland McGrath  <roland@hack.frob.com>
12821
12822         * include/netdb.h [!_ISOMAC]:
12823         Don't include <tls.h>.
12824         (h_errno, __libc_h_errno): Move declaration and macros out of
12825         [_LIBC_REENTRANT].
12826
12827         * include/resolv.h [_RESOLV_H_]:
12828         Don't include <tls.h>.
12829         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12830         * resolv/res_libc.c: Don't include <tls.h>.
12831         (_res): Use __attribute__ ((nocommon)) in place of
12832         __attribute__ ((section (".bss"))).
12833
12834         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12835         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12836
12837         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12838
12839         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12840         only under [SIOCGIFCONF && SIOCGIFNETMASK].
12841
12842         * resolv/res_mkquery.c: Include <sys/time.h>.
12843
12844         * inet/ifreq.c: Moved to ...
12845         * sysdeps/unix/ifreq.c: ... here.
12846         * inet/ifreq.c: New file, true stub version.
12847
12848         * socket/sa_len.c: New file.
12849         * socket/Makefile (aux): Add it.
12850         * sysdeps/unix/sysv/linux/Makefile
12851         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12852         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12853         and #include <socket/sa_len.c>.
12854         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12855         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12856
12857         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12858         * bits/socket.h: ... here.
12859
12860         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12861         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12862         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12863
12864 2013-08-27  Andreas Schwab  <schwab@suse.de>
12865
12866         [BZ #15736]
12867         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12868         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12869         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12870         * string/test-strcasecmp.c (test_main): Run tests in several
12871         locales.
12872         * string/test-strncasecmp.c (test_main): Likewise.
12873
12874         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12875         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12876         to __strcasecmp_nonascii and __strncasecmp_nonascii.
12877         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12878         (__strncasecmp_ssse3) [PIC]: Likewise.
12879
12880 2013-08-26  Roland McGrath  <roland@hack.frob.com>
12881
12882         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12883
12884         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12885         instead of explicitly declaring xdecrypt.
12886         * nis/nss_nis/nis-publickey.c: Likewise.
12887
12888 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12889
12890         [BZ #15890]
12891         * nscd/aicache.c: Include res_hconf.h.
12892         (addhstaiX): Initialize res_hconf.
12893
12894 2013-08-26  Andreas Schwab  <schwab@suse.de>
12895
12896         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12897         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12898
12899 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12900
12901         * nscd/aicache.c (addhstaiX): Fix indentation.
12902
12903 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
12904
12905         * configure.ac: Quote $build_pt_chown test.
12906         * configure: Regenerated.
12907
12908 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
12909
12910         [BZ #15532]
12911         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12912         * math/s_cexpf.c (__cexpf): Likewise.
12913         * math/s_cexpl.c (__cexpl): Likewise.
12914         * math/libm-test.inc (cexp_test_data): Correct expected return
12915         value for NaN + i0.  Add another test.
12916
12917 2013-08-22  David S. Miller  <davem@davemloft.net>
12918
12919         * po/ca.po: Update Catalan translation from translation project.
12920         * po/uk.po: Add Ukrainian translations from translation project.
12921
12922 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
12923
12924         [BZ #15797]
12925         * math/s_fdim.c (__fdim): Check for infinite arguments if result
12926         is infinite, not alongside NaN test.
12927         * math/s_fdimf.c (__fdimf): Likewise.
12928         * math/s_fdiml.c (__fdiml): Likewise.
12929         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
12930         errno is unchanged.
12931
12932 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
12933
12934         * argp/argp-help.c: Fix typos.
12935         * crypt/speeds.c: Likewise.
12936         * csu/check_fds.c: Likewise.
12937         * elf/dl-load.c: Likewise.
12938         * elf/dl-open.c: Likewise.
12939         * elf/reldep3.c: Likewise.
12940         * elf/reldep.c: Likewise.
12941         * elf/sprof.c: Likewise.
12942         * iconv/iconv_charmap.c: Likewise.
12943         * iconv/skeleton.c: Likewise.
12944         * iconv/strtab.c: Likewise.
12945         * io/lockf64.c: Likewise.
12946         * libio/libioP.h: Likewise.
12947         * resolv/gai_notify.c: Likewise.
12948         * resolv/ns_name.c: Likewise.
12949         * resolv/ns_samedomain.c: Likewise.
12950         * resolv/res_send.c: Likewise.
12951         * stdlib/random.c: Likewise.
12952         * sunrpc/rpc/xdr.h: Likewise.
12953         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12954         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12955         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12956         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12957         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12958         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12959         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12960         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12961         * sysdeps/mach/hurd/check_fds.c: Likewise.
12962         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12963         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12964         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12965         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12966         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12967         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12968         * sysdeps/pthread/aio_notify.c: Likewise.
12969         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12970         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12971         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12972         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12973         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12974
12975 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12976
12977         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12978         version if bit_Slow_SSE4_2 is set.
12979         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12980         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12981
12982 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12983
12984         [BZ #15867]
12985         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12986         trampoline stack frame information.
12987         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12988         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12989         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12990         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12991         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12992         * sysdeps/unix/sysv/linux/powerpc/init-first.c
12993         (_libc_vdso_platform_setup): Initialize the signal trampolines.
12994         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12995         sa_flags value.
12996         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12997         interrupting a syscall and set with option SA_SIGINFO.
12998
12999 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
13000
13001         [BZ #15531]
13002         * math/s_cproj.c (__cproj): Only return an infinity if one part of
13003         argument is infinite.
13004         * math/s_cprojf.c (__cprojf): Likewise.
13005         * math/s_cprojl.c (__cprojl): Likewise.
13006         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13007         * math/libm-test.inc (cproj_test_data): Add more tests.
13008
13009         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13010
13011         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13012         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13013         size.  Use __ffs to determine corresponding shift.
13014
13015 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
13016             Roland McGrath  <roland@hack.frob.com>
13017
13018         * Makefile (INSTALL): Remove trailing blank lines from output of
13019         makeinfo.
13020
13021 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13022
13023         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13024         Align 32 bit compat elf_greg to 8 bytes.
13025
13026 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13027
13028         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13029
13030 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13031
13032         * string/strcoll_l.c (coll_seq): New structure.
13033         (get_next_seq_cached): New function.
13034         (get_next_seq): New function.
13035         (do_compare): New function.
13036         (STRCOLL): Use GNU style definition.  Simplify implementation
13037         by using get_next_seq, get_next_seq_cached and do_compare.
13038
13039 2013-08-16  Florian Weimer  <fweimer@redhat.com>
13040
13041         [BZ #14699]
13042         CVE-2013-4237
13043         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13044         member.
13045         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13046         member.
13047         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13048         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13049         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
13050         conditional.
13051         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13052         GETDENTS_64BIT_ALIGNED.
13053         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13054         * manual/filesys.texi (Reading/Closing Directory): Document
13055         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
13056         strongly.
13057         * manual/conf.texi (Limits for Files): Add portability note to
13058         NAME_MAX, PATH_MAX.
13059         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13060
13061 2013-08-13  Andreas Schwab  <schwab@suse.de>
13062
13063         [BZ #15749]
13064         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13065         of fabs.
13066         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13067         LDBL_MAX_EXP >= 16384]: Add tests for it.
13068
13069 2013-08-12  David S. Miller  <davem@davemloft.net>
13070
13071         * version.h (RELEASE): Set to "development".
13072         (VERSION): Set to "2.18.90".
13073         * NEWS: Add 2.19 section.
13074
13075 2013-08-03  David S. Miller  <davem@davemloft.net>
13076
13077         * po/ko.po: Update Korean translation from translation project.
13078
13079 2013-08-01  David S. Miller  <davem@davemloft.net>
13080
13081         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
13082         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13083         Bilka.
13084
13085 2013-07-30  David S. Miller  <davem@davemloft.net>
13086
13087         * po/fr.po: Update French translation from translation project.
13088
13089 2013-07-28  David S. Miller  <davem@davemloft.net>
13090
13091         * po/cs.po: Update Czech translation from translation project.
13092
13093         * po/sv.po: Update Swedish translation from translation project.
13094
13095 2013-07-27  David S. Miller  <davem@davemloft.net>
13096
13097         * po/eo.po: Update Esperanto translation from translation project.
13098
13099         * po/vi.po: Update Vietnamese translation from translation project.
13100
13101         * po/de.po: Update German translation from translation project.
13102
13103 2013-07-26  David S. Miller  <davem@davemloft.net>
13104
13105         * po/bg.po: Update Bulgarian translation from translation project.
13106
13107         * po/nl.po: Update Dutch translation from translation project.
13108         * po/pl.po: Update Polish translation from translation project.
13109         * po/ru.po: Update Russian translation from translation project.
13110
13111 2013-07-24  David S. Miller  <davem@davemloft.net>
13112
13113         * po/libc.pot: Update.
13114
13115 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13116
13117         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13118         variable page size.
13119         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13120         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13121         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13122
13123 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13124
13125         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13126
13127 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13128             Andreas Schwab  <schwab@suse.de>
13129             Roland McGrath  <roland@hack.frob.com>
13130             Joseph Myers  <joseph@codesourcery.com>
13131             Carlos O'Donell  <carlos@redhat.com>
13132
13133         [BZ #15755]
13134         * config.h.in: Define HAVE_PT_CHOWN.
13135         * config.make.in (build-pt-chown): New variable.
13136         * configure.in (--enable-pt_chown): New configure option.
13137         * configure: Regenerate.
13138         * login/Makefile: Include Makeconfig.  Build pt_chown only if
13139         build-pt-chown is enabled.
13140         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13141         pt_chown to fix pty ownership.
13142         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13143         CLOSE_ALL_FDS.
13144         * manual/install.texi (Configuring and compiling): Mention
13145         --enable-pt_chown. Add @findex for grantpt.
13146         * INSTALL: Regenerate.
13147
13148 2013-07-20  David S. Miller  <davem@davemloft.net>
13149
13150         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13151         difference between 32-bit and 64-bit.
13152
13153 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
13154
13155         [BZ #15711]
13156         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13157         Avoid system header dependency with -ffreestanding.
13158         ($(objpfx)bits/syscall%d): Likewise.
13159
13160 2013-07-13  David S. Miller  <davem@davemloft.net>
13161
13162         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13163         underflows from atanl/atan2l due to bug 15319.
13164         (casinh_test_data): Likewise.
13165
13166 2013-07-07  David S. Miller  <davem@davemloft.net>
13167
13168         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13169
13170 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
13171
13172         * sysdeps/i386/fpu/libm-test-ulps: Update.
13173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13174
13175 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13176
13177         * configure.in (--enable-lock-elision): Fix message text.
13178         * INSTALL: Regenerate.
13179         * configure: Regenerate.
13180
13181 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13182
13183         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13184
13185 2013-07-03  Andreas Jaeger  <aj@suse.de>
13186
13187         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13188         define.
13189         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13190         (ptrace_peeksiginfo_args): Add.
13191         (__ptrace_peeksiginfo_flags): Add.
13192         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13193         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13194         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13195
13196 2013-07-03  Allan McRae  <allan@archlinux.org>
13197
13198         * sysdeps/i386/fpu/libm-test-ulps: Update.
13199
13200 2013-07-02  David S. Miller  <davem@davemloft.net>
13201
13202         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13203
13204 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
13205
13206         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13207
13208 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
13209
13210         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13212
13213 2013-07-02  Andi Kleen <ak@linux.intel.com>
13214
13215         * config.h.in (ENABLE_LOCK_ELISION): Add.
13216         * configure.in (--enable-lock-elision): Add option.
13217         * manual/install.texi: Document --enable lock elision.
13218         * configure: Regenerate
13219         * INSTALL: Regenerate.
13220
13221 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
13222
13223         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13224         SSE4.2 strcasecmp for libc.a.
13225         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13226
13227 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
13228
13229         [BZ #13304]
13230         * soft-fp/op-common.h (_FP_FMA): New macro.
13231         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13232         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
13233         (_FP_MUL_MEAT_1_imm): ... here.
13234         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
13235         (_FP_MUL_MEAT_1_wide): ... here.
13236         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
13237         (_FP_MUL_MEAT_1_hard): ... here.
13238         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13239         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
13240         (_FP_MUL_MEAT_2_wide): ... here.
13241         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
13242         (_FP_MUL_MEAT_2_wide_3mul): ... here.
13243         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
13244         (_FP_MUL_MEAT_2_gmp): ... here.
13245         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13246         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
13247         (_FP_MUL_MEAT_4_wide): ... here.
13248         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
13249         (_FP_MUL_MEAT_4_gmp): ... here.
13250         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13251         (_FP_WFRACBITS_DW_S): Likewise.
13252         (_FP_WFRACXBITS_DW_S): Likewise.
13253         (_FP_HIGHBIT_DW_S): Likewise.
13254         (FP_FMA_S): Likewise.
13255         (_FP_FRAC_HIGH_DW_S): Likewise.
13256         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13257         (_FP_WFRACBITS_DW_D): Likewise.
13258         (_FP_WFRACXBITS_DW_D): Likewise.
13259         (_FP_HIGHBIT_DW_D): Likewise.
13260         (FP_FMA_D): Likewise.
13261         (_FP_FRAC_HIGH_DW_D): Likewise.
13262         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13263         (_FP_WFRACBITS_DW_E): Likewise.
13264         (_FP_WFRACXBITS_DW_E): Likewise.
13265         (_FP_HIGHBIT_DW_E): Likewise.
13266         (FP_FMA_E): Likewise.
13267         (_FP_FRAC_HIGH_DW_E): Likewise.
13268         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13269         (_FP_WFRACBITS_DW_Q): Likewise.
13270         (_FP_WFRACXBITS_DW_Q): Likewise.
13271         (_FP_HIGHBIT_DW_Q): Likewise.
13272         (FP_FMA_Q): Likewise.
13273         (_FP_FRAC_HIGH_DW_Q): Likewise.
13274         * soft-fp/fmasf4.c: New file.
13275         * soft-fp/fmadf4.c: Likewise.
13276         * soft-fp/fmatf4.c: Likewise.
13277
13278 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13279
13280         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13281         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13282         Silvermont.
13283         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13284         macro.
13285         (index_Slow_SSE4_2): Likewise.
13286         (index_Prefer_PMINUB_for_stringop): Likewise.
13287         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13288         bit_Slow_SSE4_2 is set.
13289         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13290         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13291
13292 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13293
13294         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13295         rtld_global._dl_hwcap2.
13296         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13297         POWER8.
13298         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13299         POWER8 feature descriptions defined in _dl_hwcap2.
13300         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13301         string handling for POWER8 feature bits.
13302         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13303         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13304         _dl_powerpc_cap_flags.
13305         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13306         * sysdeps/powerpc/rtld-global-offsets.sym
13307         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13308         _dl_hwcap2 in the rtld_global_ro structure.
13309
13310 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13311
13312         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13313         hardware capabilities in support of AT_HWCAP2.
13314         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13315         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13316         GLRO(dl_hwcap2).
13317         (_dl_show_auxv): Add support for calling _dl_procinfo to display
13318         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
13319         explicitly the unknown a_type display mechanism is used.
13320         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13321         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13322         struct member.
13323         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13324         to macro prototype for AT_HWCAP2 support.
13325         * sysdeps/i386/dl-procinfo.h: Likewise.
13326         * sysdeps/s390/dl-procinfo.h: Likewise.
13327         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13328         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
13329         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
13330         return -1 for unknown a_type display fallback.
13331         * sysdeps/sparc/dl-procinfo.h: Likewise.
13332         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13333         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13334
13335 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
13336
13337         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13338         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13339
13340 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
13341
13342         [BZ #12492]
13343         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13344         mprotect making __stack_prot writable.
13345
13346 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
13347             Joseph Myers  <joseph@codesourcery.com>
13348
13349         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13350         as being properly aligned.
13351
13352 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
13353
13354         * dlfcn/modstatic5.c: New file.
13355         * dlfcn/tststatic5.c: New file.
13356         * dlfcn/Makefile (tests): Add tststatic5.
13357         (tests-static): Likewise.
13358         (modules-names): Add modstatic5.
13359         (tststatic5-ENV): New variable.
13360         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13361
13362         [BZ #15022]
13363         * elf/dl-support.c (_dl_main_map): New variable.
13364         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13365         (_dl_nns, _dl_load_adds): Set to 1.
13366         (_dl_initial_searchlist): Refer to _dl_main_map.
13367         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13368         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13369         call to _dl_get_origin.
13370         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13371         around call_map.
13372         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13373         * dlfcn/modstatic3.c: New file.
13374         * dlfcn/tststatic3.c: New file.
13375         * dlfcn/tststatic4.c: New file.
13376         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13377         (tests-static): Likewise.
13378         (modules-names): Add modstatic3.
13379         (tststatic3-ENV, tststatic4-ENV): New variables.
13380         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13381         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13382
13383 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
13384
13385         * configure.in (CC): Require GCC version 4.4 or later.
13386         * configure: Regenerated.
13387         * manual/install.texi (Tools for Compilation): Update GCC version
13388         requirement.
13389         * INSTALL: Regenerated.
13390
13391 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13392
13393         [BZ #15674]
13394         * string/test-memcmp.c (check2): New.
13395         (main): Call check2.
13396
13397         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13398
13399 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
13400
13401         [BZ #15022]
13402         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13403         over to...
13404         (dl_open_worker) [!SHARED]: ... here.
13405
13406 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13407
13408         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13409
13410 2013-06-25  Richard Henderson  <rth@redhat.com>
13411
13412         * locale/programs/locarchive.c: Include <libc-internal.h>
13413
13414 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
13415
13416         * manual/texinfo.tex: Update to version 2013-06-21.17, with
13417         trailing whitespace removed.
13418
13419 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
13420
13421         [BZ #10283]
13422         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13423         * locale/programs/locarchive.c: Include libc-mmap.h.
13424         (prepare_address_space): Take two new outputs (the mmap base and len).
13425         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
13426         values.
13427         (create_archive): Declare new mmap base and len values for
13428         prepare_address_space, and store the result in ah.
13429         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13430         (enlarge_archive): If ah->mmap_base is not NULL, use that and
13431         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13432         Declare new mmap base and len values for
13433         prepare_address_space, and store the result in new_ah.
13434         (open_archive): Declare new mmap base and len values for
13435         prepare_address_space, and store the result in ah.
13436         (close_archive): If ah->mmap_base is not NULL, use that and
13437         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13438         * sysdeps/generic/libc-mmap.h: New file.
13439
13440 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
13441
13442         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13443         (ALIGN_UP): Likewise.
13444         (PTR_ALIGN_DOWN): Likewise.
13445         (PTR_ALIGN_UP): Likewise.
13446
13447 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13448
13449         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13450         entry mapped to PPC_PLATFORM_POWER8.
13451         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13452         POWER8.
13453         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13454         (_dl_string_platform): Add case for exporting platform position for
13455         POWER8.
13456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13457         search path to sysdeps/powerpc/powerpc32/power8 directory.
13458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13459         search path to sysdeps/powerpc/powerpc64/power8 directory.
13460         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13461         power7 directories.
13462         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13463         power7 directories.
13464
13465 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13466
13467         * INSTALL: Regenerate.
13468
13469         * nscd/connections.c (nscd_init): Fix comment.
13470
13471 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
13472
13473         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13474
13475         [BZ #15667]
13476         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13477         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13478
13479 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
13480
13481         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13482         DL_DST_REQ_STATIC.
13483         (DL_DST_REQ_STATIC): Remove macro.
13484
13485 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
13486
13487         [BZ #7006]
13488         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13489         with a shift of 0 bits.
13490
13491 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
13492
13493         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13494         $(tststatic-ENV).
13495
13496 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13497
13498         [BZ #15655]
13499         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13500
13501 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13502
13503         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13504         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13505         accepts -fno-tree-loop-distribute-patterns.
13506         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13507         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13508         recursive call.
13509         * string/memset.c (memset): Likewise.
13510         * string/test-memmove.c (simple_memmove): Disable loop transformation
13511         to library calls.
13512         * string/test-memset.c (simple_memset): Likewise.
13513         * benchtests/bench-memmove.c (simple_memmove): Likewise.
13514         * benchtests/bench-memset.c (simple_memset): Likewise.
13515         * configure: Regenerated.
13516
13517 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
13518
13519         * math/test-misc.c (main): Ignore fesetround failure when failures
13520         of subsequent rounding tests would be ignored.
13521
13522         [BZ #15654]
13523         * math/fedisblxcpt.c (fedisableexcept): Return 0.
13524         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13525         * math/fegetenv.c (__fegetenv): Return 0.
13526         * math/fegetexcept.c (fegetexcept): Return 0.
13527         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13528         FE_TONEAREST.
13529         * math/feholdexcpt.c (feholdexcept): Return 0.
13530         * math/fesetenv.c (__fesetenv): Return 0.
13531         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13532         argument FE_TONEAREST.
13533         * math/feupdateenv.c (__feupdateenv): Return 0.
13534         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13535
13536 2013-06-18  Roland McGrath  <roland@hack.frob.com>
13537
13538         * elf/rtld-Rules (rtld-compile-command.S): New variable.
13539         (rtld-compile-command.s, rtld-compile-command.c): New variables.
13540         ($(objpfx)rtld-%.os rules): Use them.
13541
13542 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13543
13544         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13545         fields.
13546
13547 2013-06-17  Roland McGrath  <roland@hack.frob.com>
13548
13549         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13550         length of target pattern, then descending length of dependency pattern.
13551         * configure.in (AWK): Require gawk 3.1.2 or newer.
13552         * manual/install.texi (Tools for Compilation): Say that we do.
13553         * configure: Regenerated.
13554
13555         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13556         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13557         * scripts/sysd-rules.awk: ... this new script.
13558         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13559         than a glob-style pattern.
13560
13561 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
13562
13563         * math/test-misc.c (main): Do not treat incorrectly rounded
13564         conversions as failure unless ROUNDING_TESTS passes.
13565
13566 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
13567
13568         [BZ #15631]
13569         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13570         restore exception state around main square root computation, then
13571         check for inexactness explicitly.
13572
13573         * math/libm-test.inc (fma_test_data): Add another test.
13574
13575 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13576
13577         * manual/threads.texi (Non-POSIX Extensions): New document
13578         node.  Document pthread_getattr_default_np and
13579         pthread_setattr_default_np.
13580
13581         * Versions.def (libpthread): Add GLIBC_2.18.
13582         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13584         Likewise.
13585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13586         Likewise.
13587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13588         Likewise.
13589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13590         Likewise.
13591         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13592         Likewise.
13593         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13594         Likewise.
13595         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13596         Likewise.
13597         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13598         Likewise.
13599         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13600         Likewise.
13601
13602 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13603
13604         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13605         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13606
13607 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13608             H.J. Lu  <hjl.tools@gmail.com>
13609
13610         [BZ #15627]
13611         * sysdeps/x86_64/rtld-memset.c: Remove file.
13612         * sysdeps/x86_64/rtld-memset.S: New file.
13613
13614 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
13615
13616         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13617         (test_in_one_mode): Take arguments for whether the rounding mode
13618         is supported for each floating-point type.
13619         (do_test): Pass new arguments to test_in_one_mode using
13620         ROUNDING_TESTS.
13621
13622 2013-06-13  Roland McGrath  <roland@hack.frob.com>
13623
13624         * posix/tst-waitid.c (do_test): Distinguish different instances of
13625         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
13626         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13627         before entering the kernel for waitpid.
13628
13629 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13630
13631         * NEWS: Fix note on clock function precision.  Text by Roland
13632         McGrath.
13633
13634 2013-06-13  Roland McGrath  <roland@hack.frob.com>
13635
13636         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13637         it into place only when and if the sanity check passes.
13638
13639 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
13640
13641         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13642         output for whether conversion result is exact.  Take argument
13643         indicating whether type is IBM long double.
13644         (round_for_all): Change need_exact field to ibm_ld.
13645         * stdlib/tst-strtod-round.c (struct exactness): New type.
13646         (struct test): Change bool ld_ok field to struct exactness exact.
13647         (TEST): Update all definitions for change to field.
13648         (tests): Regenerate array contents.
13649         (test_in_one_mode): Take pointer to new field instead of old ld_ok
13650         field value.  Check for IBM long double here.
13651         (do_test): Update calls to test_in_one_mode.
13652
13653 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13654
13655         [BZ #12515]
13656         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13657         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13658
13659 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13660
13661         [BZ #15605]
13662         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13663         generated by the compiler on loop optimizations.
13664         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13665         general definitions.
13666
13667 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
13668
13669         * math/bug-nextafter.c: Include <math-tests.h>.
13670         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13671         the relevant type.
13672         * math/bug-nexttoward.c: Include <math-tests.h>.
13673         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13674         the relevant type.
13675         * math/test-misc.c: Include <math-tests.h>.
13676         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13677         the relevant type.
13678
13679 2013-06-12  Andreas Jaeger  <aj@suse.de>
13680
13681         * po/ia.po: Update Interlingua translation from translation
13682         project.
13683
13684 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13685
13686         * include/fenv.h: Include stdbool.h.
13687         (struct rm_ctx): New structure.
13688         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13689         Define macro.
13690         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13691         (SET_RESTORE_ROUNDF): Likewise.
13692         (SET_RESTORE_ROUNDL): Likewise.
13693         (SET_RESTORE_ROUND_NOEX): Likewise.
13694         (SET_RESTORE_ROUND_NOEXF): Likewise.
13695         (SET_RESTORE_ROUND_NOEXL): Likewise.
13696         (SET_RESTORE_ROUND_53BIT): Likewise.
13697         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13698         (libc_feresetround_noexf_ctx): Likewise.
13699         (libc_feresetround_noexl_ctx): Likewise.
13700         (libc_feholdsetround_53bit_ctx): Likewise.
13701         (libc_feresetround_53bit_ctx): Likewise.
13702         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13703         (libc_feholdexcept_setround_sse_ctx): New function.
13704         (libc_fesetenv_sse_ctx): Likewise.
13705         (libc_feupdateenv_sse_ctx): Likewise.
13706         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13707         (libc_feholdexcept_setround_387_ctx): Likewise.
13708         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13709         (libc_feholdsetround_387_prec_ctx): Likewise.
13710         (libc_feholdsetround_387_ctx): Likewise.
13711         (libc_feholdsetround_387_53bit_ctx): Likewise.
13712         (libc_feholdsetround_sse_ctx): Likewise.
13713         (libc_feresetround_sse_ctx): Likewise.
13714         (libc_feresetround_387_ctx): Likewise.
13715         (libc_feupdateenv_387_ctx): Likewise.
13716         (libc_feholdexcept_setroundf_ctx): Define macro.
13717         (libc_fesetenvf_ctx): Likewise.
13718         (libc_feupdateenvf_ctx): Likewise.
13719         (libc_feholdsetroundf_ctx): Likewise.
13720         (libc_feresetroundf_ctx): Likewise.
13721         (libc_feholdexcept_setround_ctx): Likewise.
13722         (libc_fesetenv_ctx): Likewise.
13723         (libc_feupdateenv_ctx): Likewise.
13724         (libc_feholdsetround_ctx): Likewise.
13725         (libc_feresetround_ctx): Likewise.
13726         (libc_feholdexcept_setroundl_ctx): Likewise.
13727         (libc_feupdateenvl_ctx): Likewise.
13728         (libc_feholdsetroundl_ctx): Likewise.
13729         (libc_feresetroundl_ctx): Likewise.
13730         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13731         (libc_feresetround_53bit_ctx): Likewise.
13732
13733 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13734
13735         * locale/iso-639.def: Convert to UTF-8.
13736
13737 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
13738
13739         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13740         (EXCEPTION_TESTS_double): Likewise.
13741         (EXCEPTION_TESTS_long_double): Likewise.
13742         (EXCEPTION_TESTS): Likewise.
13743         * math/libm-test.inc (test_exceptions): Only test exceptions if
13744         EXCEPTION_TESTS (FLOAT).
13745
13746 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13747
13748         * benchtests/Makefile (string-bench): Add strcpy_chk and
13749         stpcpy_chk.
13750         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13751         * benchtests/bench-stpcpy_chk.c: New file.
13752         * benchtests/bench-strcpy_chk-ifunc.c: New file.
13753         * benchtests/bench-strcpy_chk.c: New file.
13754         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13755         code.
13756         (do_test): Likewise.
13757
13758 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13759
13760         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13761         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13762         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13763         with tabs where appropriate.
13764         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13765         dl-procinfo.h.
13766         [PPC_PLATFORM_PPC440]: Likewise.
13767         [PPC_PLATFORM_PPC464]: Likewise.
13768         [PPC_PLATFORM_PPC476]: Likewise.
13769         (_dl_string_platform): Add support for detecting ppc405, ppc440,
13770         ppc464, and ppc476 platform strings merging from ports/
13771         dl-procinfo.h.
13772
13773 2013-06-11  Andreas Schwab  <schwab@suse.de>
13774
13775         [BZ #14991]
13776         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13777         (from_ucs4_idx): Regenerate.
13778         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13779         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13780         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13781         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13782         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13783         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13784         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13785         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13786         from FROM_LOOP and TO_LOOP specific macros.
13787         (BODY): Handle combining characters.
13788         * iconvdata/BIG5HKSCS.irreversible: Update.
13789         * iconvdata/BIG5HKSCS.precomposed: New file.
13790         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13791         characters.
13792         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13793
13794 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13795
13796         * include/sys/time.h: Fix indentation and add copyright header.
13797
13798         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13799         (do_test): Likewise.
13800         * string/test-memchr.c (do_one_test): Likewise.
13801         (do_test): Likewise.
13802         * string/test-memcmp.c (do_one_test): Likewise.
13803         (do_test): Likewise.
13804         * string/test-memcpy.c (do_one_test): Likewise.
13805         (do_test): Likewise.
13806         * string/test-memmem.c (do_one_test): Likewise.
13807         (do_test): Likewise.
13808         (do_random_tests): Likewise.
13809         * string/test-memmove.c (do_one_test): Likewise.
13810         (do_test): Likewise.
13811         * string/test-memset.c (do_one_test): Likewise.
13812         (do_test): Likewise.
13813         * string/test-rawmemchr.c (do_one_test): Likewise.
13814         (do_test): Likewise.
13815         * string/test-strcasecmp.c (do_one_test): Likewise.
13816         (do_test): Likewise.
13817         * string/test-strcasestr.c (do_one_test): Likewise.
13818         (do_test): Likewise.
13819         * string/test-strcat.c (do_one_test): Likewise.
13820         (do_test): Likewise.
13821         * string/test-strchr.c (do_one_test): Likewise.
13822         (do_test): Likewise.
13823         * string/test-strcmp.c (do_one_test): Likewise.
13824         (do_test): Likewise.
13825         * string/test-strcpy.c (do_one_test): Likewise.
13826         (do_test): Likewise.
13827         * string/test-string.h: Likewise.
13828         (test_init): Likewise.
13829         * string/test-strlen.c (do_one_test): Likewise.
13830         (do_test): Likewise.
13831         * string/test-strncasecmp.c (do_one_test): Likewise.
13832         (do_test): Likewise.
13833         * string/test-strncat.c (do_one_test): Likewise.
13834         (do_test): Likewise.
13835         * string/test-strncmp.c (do_one_test): Likewise.
13836         (do_test_limit): Likewise.
13837         (do_test): Likewise.
13838         * string/test-strncpy.c (do_one_test): Likewise.
13839         (do_test): Likewise.
13840         * string/test-strnlen.c (do_one_test): Likewise.
13841         (do_test): Likewise.
13842         * string/test-strpbrk.c (do_one_test): Likewise.
13843         (do_test): Likewise.
13844         * string/test-strrchr.c (do_one_test): Likewise.
13845         (do_test): Likewise.
13846         * string/test-strspn.c (do_one_test): Likewise.
13847         (do_test): Likewise.
13848         * string/test-strstr.c (do_one_test): Likewise.
13849         (do_test): Likewise.
13850
13851         * benchtests/Makefile (string-bench): Add string benchmarks.
13852         * benchtests/bench-bcopy-ifunc.c: New file.
13853         * benchtests/bench-bcopy.c: New file.
13854         * benchtests/bench-bzero-ifunc.c: New file.
13855         * benchtests/bench-bzero.c: New file.
13856         * benchtests/bench-memccpy-ifunc.c: New file.
13857         * benchtests/bench-memccpy.c: New file.
13858         * benchtests/bench-memchr-ifunc.c: New file.
13859         * benchtests/bench-memchr.c: New file.
13860         * benchtests/bench-memcmp-ifunc.c: New file.
13861         * benchtests/bench-memcmp.c: New file.
13862         * benchtests/bench-memmem-ifunc.c: New file.
13863         * benchtests/bench-memmem.c: New file.
13864         * benchtests/bench-memmove-ifunc.c: New file.
13865         * benchtests/bench-memmove.c: New file.
13866         * benchtests/bench-mempcpy-ifunc.c: New file.
13867         * benchtests/bench-mempcpy.c: New file.
13868         * benchtests/bench-memset-ifunc.c: New file.
13869         * benchtests/bench-memset.c: New file.
13870         * benchtests/bench-rawmemchr-ifunc.c: New file.
13871         * benchtests/bench-rawmemchr.c: New file.
13872         * benchtests/bench-stpcpy-ifunc.c: New file.
13873         * benchtests/bench-stpcpy.c: New file.
13874         * benchtests/bench-stpncpy-ifunc.c: New file.
13875         * benchtests/bench-stpncpy.c: New file.
13876         * benchtests/bench-strcasecmp-ifunc.c: New file.
13877         * benchtests/bench-strcasecmp.c: New file.
13878         * benchtests/bench-strcasestr-ifunc.c: New file.
13879         * benchtests/bench-strcasestr.c: New file.
13880         * benchtests/bench-strcat-ifunc.c: New file.
13881         * benchtests/bench-strcat.c: New file.
13882         * benchtests/bench-strchr-ifunc.c: New file.
13883         * benchtests/bench-strchr.c: New file.
13884         * benchtests/bench-strchrnul-ifunc.c: New file.
13885         * benchtests/bench-strchrnul.c: New file.
13886         * benchtests/bench-strcmp-ifunc.c: New file.
13887         * benchtests/bench-strcmp.c: New file.
13888         * benchtests/bench-strcpy-ifunc.c: New file.
13889         * benchtests/bench-strcpy.c: New file.
13890         * benchtests/bench-strcspn-ifunc.c: New file.
13891         * benchtests/bench-strcspn.c: New file.
13892         * benchtests/bench-strlen-ifunc.c: New file.
13893         * benchtests/bench-strlen.c: New file.
13894         * benchtests/bench-strncasecmp-ifunc.c: New file.
13895         * benchtests/bench-strncasecmp.c: New file.
13896         * benchtests/bench-strncat-ifunc.c: New file.
13897         * benchtests/bench-strncat.c: New file.
13898         * benchtests/bench-strncmp-ifunc.c: New file.
13899         * benchtests/bench-strncmp.c: New file.
13900         * benchtests/bench-strncpy-ifunc.c: New file.
13901         * benchtests/bench-strncpy.c: New file.
13902         * benchtests/bench-strnlen-ifunc.c: New file.
13903         * benchtests/bench-strnlen.c: New file.
13904         * benchtests/bench-strpbrk-ifunc.c: New file.
13905         * benchtests/bench-strpbrk.c: New file.
13906         * benchtests/bench-strrchr-ifunc.c: New file.
13907         * benchtests/bench-strrchr.c: New file.
13908         * benchtests/bench-strspn-ifunc.c: New file.
13909         * benchtests/bench-strspn.c: New file.
13910         * benchtests/bench-strstr-ifunc.c: New file.
13911         * benchtests/bench-strstr.c: New file.
13912
13913         * benchtests/Makefile: Disable parallel execution of targets.
13914         (string-bench): Add memcpy.
13915         (benchset): New variable to store a list of benchmark sets.
13916         (bench-func): Renamed from bench.
13917         (bench-set): New target.
13918         (bench): Depend on bench-func and bench-set.
13919         * benchtests/README: Add section on benchmark sets.
13920         * benchtests/bench-memcpy-ifunc.c: New file.
13921         * benchtests/bench-memcpy.c: New file.
13922         * benchtests/bench-string.h: New file.
13923
13924 2013-06-11  Andreas Schwab  <schwab@suse.de>
13925
13926         [BZ #15577]
13927         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13928         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13929         values in the triple.
13930         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13931         terminator in the group key.
13932
13933 2013-06-11  Andreas Jaeger  <aj@suse.de>
13934
13935         * po/zh_TW.po: Update Chinese (traditional) translation from
13936         translation project.
13937
13938 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13939
13940         * include/time.h (__clock_gettime): Add libc_hidden_proto.
13941         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13942         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
13943         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13944         (clock_getcpuclockid): Likewise.
13945         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13946         Add weak_alias and libc_hidden_def.
13947         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13948         * rt/clock_gettime.c (clock_gettime): Rename to
13949         __clock_gettime.  Add weak_alias and libc_hidden_def.
13950         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13951         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13952         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
13953         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13954         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13955         Likewise.
13956         * rt/clock_settime.c (clock_settime): Rename to
13957         __clock_settime.  Add weak_alias and libc_hidden_def.
13958         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13959
13960 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
13961
13962         * mach/err_boot.sub: Remove trailing whitespace.
13963         * mach/err_ipc.sub: Likewise.
13964         * mach/err_mach.sub: Likewise.
13965
13966         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13967         (ROUNDING_TESTS_double): Likewise.
13968         (ROUNDING_TESTS_long_double): Likewise.
13969         (ROUNDING_TESTS): Likewise.
13970         * math/libm-test.inc: Include <math-tests.h>.
13971         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13972         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13973         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13974         (IF_ROUND_INIT_FE_UPWARD): Likewise.
13975
13976 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13977
13978         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13979         of assigning.
13980
13981 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
13982
13983         * sysdeps/gnu/errlist.awk: Do not generate space at end of
13984         otherwise empty TRANS lines.
13985         * sysdeps/gnu/errlist.c: Regenerated.
13986
13987         * catgets/gencat.c (error_print): Use (void) in function
13988         definition.
13989         * crypt/crypt_util.c (__init_des): Likewise.
13990         * crypt/speeds.c (Stop): Likewise.
13991         (main): Likewise.
13992         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13993         * inet/ruserpass.c (token): Likewise.
13994         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13995         * intl/localealias.c (extend_alias_table): Likewise.
13996         * intl/plural-exp.c (init_germanic_plural): Likewise.
13997         * libio/fcloseall.c (__fcloseall): Likewise.
13998         * libio/genops.c (_IO_flush_all): Likewise.
13999         (_IO_flush_all_linebuffered): Likewise.
14000         (_IO_cleanup): Likewise.
14001         (_IO_iter_begin): Likewise.
14002         (_IO_iter_end): Likewise.
14003         (_IO_list_lock): Likewise.
14004         (_IO_list_unlock): Likewise.
14005         (_IO_list_resetlock): Likewise.
14006         * libio/getchar.c (getchar): Likewise.
14007         * libio/getchar_u.c (getchar_unlocked): Likewise.
14008         * libio/getwchar.c (getwchar): Likewise.
14009         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14010         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14011         * login/getpt.c (__getpt): Likewise.
14012         * login/tst-utmp.c (main): Likewise.
14013         * malloc/hooks.c (__malloc_check_init): Likewise.
14014         * malloc/malloc.c (__malloc_stats): Likewise.
14015         * malloc/mtrace.c (tr_break): Likewise.
14016         (mtrace): Likewise.
14017         (muntrace): Likewise.
14018         * misc/fstab.c (endfsent): Likewise.
14019         * misc/getclktck.c (__getclktck): Likewise.
14020         * misc/getdtsz.c (__getdtablesize): Likewise.
14021         * misc/gethostid.c (gethostid): Likewise.
14022         * misc/getpagesize.c (__getpagesize): Likewise.
14023         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14024         (__get_nprocs): Likewise.
14025         (__get_phys_pages): Likewise.
14026         (__get_avphys_pages): Likewise.
14027         * misc/getttyent.c (getttyent): Likewise.
14028         (setttyent): Likewise.
14029         (endttyent): Likewise.
14030         * misc/getusershell.c (getusershell): Likewise.
14031         (endusershell): Likewise.
14032         (setusershell): Likewise.
14033         (initshells): Likewise.
14034         * misc/hsearch.c (__hdestroy): Likewise.
14035         * misc/sync.c (sync): Likewise.
14036         * misc/syslog.c (closelog_internal): Likewise.
14037         (closelog): Likewise.
14038         * misc/ttyslot.c (ttyslot): Likewise.
14039         * misc/vhangup.c (vhangup): Likewise.
14040         * posix/fork.c (__fork): Likewise.
14041         * posix/getegid.c (__getegid): Likewise.
14042         * posix/geteuid.c (__geteuid): Likewise.
14043         * posix/getgid.c (__getgid): Likewise.
14044         * posix/getpid.c (__getpid): Likewise.
14045         * posix/getppid.c (__getppid): Likewise.
14046         * posix/getuid.c (__getuid): Likewise.
14047         * posix/pause.c (pause): Likewise.
14048         * posix/setpgrp.c (setpgrp): Likewise.
14049         * posix/setsid.c (__setsid): Likewise.
14050         * posix/test-vfork.c (noop): Likewise.
14051         * resolv/gethnamaddr.c (_endhtent): Likewise.
14052         (_gethtent): Likewise.
14053         (ht_endhostent): Likewise.
14054         (gethostent): Likewise.
14055         (dns_service): Likewise.
14056         * stdlib/drand48.c (drand48): Likewise.
14057         * stdlib/lrand48.c (lrand48): Likewise.
14058         * stdlib/mrand48.c (mrand48): Likewise.
14059         * stdlib/rand.c (rand): Likewise.
14060         * stdlib/random.c (__random): Likewise.
14061         * stdlib/setenv.c (clearenv): Likewise.
14062         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14063         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14064         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14065         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14066         (__get_nprocs): Likewise.
14067         (__get_phys_pages): Likewise.
14068         (__get_avphys_pages): Likewise.
14069         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14070         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14071         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14072         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14073         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14074         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14075         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14076         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14077         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14078         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14079         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14080         * sysdeps/mach/hurd/sync.c (sync): Likewise.
14081         * sysdeps/posix/clock.c (clock): Likewise.
14082         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14083         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14084         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14085         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14086         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14087         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14088         (__get_nprocs_conf): Likewise.
14089         (__get_phys_pages): Likewise.
14090         (__get_avphys_pages): Likewise.
14091         * time/clock.c (clock): Likewise.
14092         * time/tzset.c (__tzname_max): Likewise.
14093
14094 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
14095
14096         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14097         (__bswap_32): Do not use "register".
14098         * crypt/crypt.c (_ufc_doit_r): Likewise.
14099         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14100         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14101         * gmon/gmon.c (__monstartup): Likewise.
14102         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14103         * hurd/hurdmalloc.c (more_memory): Likewise.
14104         (malloc): Likewise.
14105         (free): Likewise.
14106         (realloc): Likewise.
14107         (malloc_fork_prepare): Likewise.
14108         (malloc_fork_parent): Likewise.
14109         (malloc_fork_child): Likewise.
14110         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14111         (_svcauth_des): Likewise.
14112         * inet/inet_lnaof.c (inet_lnaof): Likewise.
14113         * inet/inet_net.c (inet_network): Likewise.
14114         * inet/inet_netof.c (inet_netof): Likewise.
14115         * inet/rcmd.c (__validuser2_sa): Likewise.
14116         * io/fts.c (fts_open): Likewise.
14117         (fts_load): Likewise.
14118         (fts_close): Likewise.
14119         (fts_read): Likewise.
14120         (fts_children): Likewise.
14121         (fts_build): Likewise.
14122         (fts_stat): Likewise.
14123         (fts_sort): Likewise.
14124         (fts_alloc): Likewise.
14125         (fts_lfree): Likewise.
14126         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14127         (_IO_file_xsgetn): Likewise.
14128         (_IO_file_xsgetn_mmap): Likewise.
14129         * libio/iofopncook.c (_IO_cookie_read): Likewise.
14130         (_IO_cookie_write): Likewise.
14131         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14132         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14133         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14134         * malloc/obstack.c (_obstack_begin): Likewise.
14135         (_obstack_begin_1): Likewise.
14136         (_obstack_newchunk): Likewise.
14137         (_obstack_allocated_p): Likewise.
14138         (obstack_free): Likewise.
14139         (_obstack_memory_used): Likewise.
14140         * misc/getttyent.c (getttynam): Likewise.
14141         (getttyent): Likewise.
14142         (skip): Likewise.
14143         (value): Likewise.
14144         * misc/getusershell.c (initshells): Likewise.
14145         * misc/syslog.c (__vsyslog_chk): Likewise.
14146         * misc/ttyslot.c (ttyslot): Likewise.
14147         * nis/nis_hash.c (__nis_hash): Likewise.
14148         * posix/fnmatch_loop.c (FCT): Likewise.
14149         * posix/getconf.c (print_all): Likewise.
14150         (main): Likewise.
14151         * posix/getopt.c (exchange): Likewise.
14152         * posix/glob.c (globfree): Likewise.
14153         (prefix_array): Likewise.
14154         (__glob_pattern_type): Likewise.
14155         * resolv/arpa/nameser.h (NS_GET16): Likewise.
14156         (NS_GET32): Likewise.
14157         (NS_PUT16): Likewise.
14158         (NS_PUT32): Likewise.
14159         * resolv/gethnamaddr.c (getanswer): Likewise.
14160         (gethostbyname2): Likewise.
14161         (gethostbyaddr): Likewise.
14162         (_gethtent): Likewise.
14163         (_gethtbyname2): Likewise.
14164         (_gethtbyaddr): Likewise.
14165         * resolv/ns_print.c (dst_s_get_int16): Likewise.
14166         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14167         * resolv/res_init.c (__res_vinit): Likewise.
14168         (net_mask): Likewise.
14169         * resolv/res_mkquery.c (outchar): Likewise.
14170         (PRINT): Likewise.
14171         * stdio-common/printf_fp.c (outchar): Likewise.
14172         (PRINT): Likewise.
14173         * stdio-common/printf_fphex.c (outchar): Likewise.
14174         (PRINT): Likewise.
14175         * stdio-common/printf_size.c (outchar): Likewise.
14176         (PRINT): Likewise.
14177         * stdio-common/test_rdwr.c (main): Likewise.
14178         * stdio-common/tfformat.c (matches): Likewise.
14179         * stdio-common/vfprintf.c (outchar): Likewise.
14180         (printf_unknown): Likewise.
14181         (buffered_vfprintf): Likewise.
14182         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14183         * stdio-common/xbug.c (AppendToBuffer): Likewise.
14184         (ReadFile): Likewise.
14185         * stdlib/qsort.c (SWAP): Likewise.
14186         (_quicksort): Likewise.
14187         * stdlib/setenv.c (__add_to_environ): Likewise.
14188         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14189         * stdlib/strtol_l.c (__strtol_l): Likewise.
14190         * stdlib/tst-strtod.c (main): Likewise.
14191         * stdlib/tst-strtol.c (main): Likewise.
14192         * stdlib/tst-strtoll.c (main): Likewise.
14193         * string/bits/string2.h (__strcmp_cc): Likewise.
14194         (__strcmp_cg): Likewise.
14195         (__strcspn_c1): Likewise.
14196         (__strcspn_c2): Likewise.
14197         (__strcspn_c3): Likewise.
14198         (__strspn_c1): Likewise.
14199         (__strspn_c2): Likewise.
14200         (__strspn_c3): Likewise.
14201         (__strsep_1c): Likewise.
14202         (__strsep_2c): Likewise.
14203         (__strsep_3c): Likewise.
14204         * string/memccpy.c (__memccpy): Likewise.
14205         * string/stpcpy.c (__stpcpy): Likewise.
14206         * string/strcmp.c (strcmp): Likewise.
14207         * string/strrchr.c (strrchr): Likewise.
14208         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14209         Likewise.
14210         * sysdeps/mach/hurd/getcwd.c
14211         (_hurd_canonicalize_directory_name_internal): Likewise.
14212         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14213         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14214         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14215         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14216         Likewise, in both definitions.
14217         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14218         definitions.
14219         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14220         64] (__bswap_64): Likewise.
14221         * time/test_time.c (main): Likewise.
14222         * time/tzfile.c (__tzfile_read): Likewise.
14223         (__tzfile_compute): Likewise.
14224         * time/tzset.c (__tzset_parse_tz): Likewise.
14225         (tzset_internal): Likewise.
14226         (compute_change): Likewise.
14227         * wcsmbs/wcscat.c (__wcscat): Likewise.
14228         * wcsmbs/wcschr.c (wcschr): Likewise.
14229         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14230         * wcsmbs/wcscspn.c (wcscspn): Likewise.
14231         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14232         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14233         * wcsmbs/wcsspn.c (wcsspn): Likewise.
14234         * wcsmbs/wcsstr.c (wcsstr): Likewise.
14235         * wcsmbs/wmemchr.c (wmemchr): Likewise.
14236         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14237         * wcsmbs/wmemset.c (wmemset): Likewise.
14238
14239 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
14240
14241         * scripts/config.guess: Update to version 2013-05-16.
14242         * scripts/config.sub: Update to version 2013-04-24.
14243         * scripts/install-sh: Update to version 2011-11-20.07.
14244         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14245         * scripts/move-if-change: Update to version 2012-01-06 07:23.
14246
14247 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
14248
14249         * debug/fgetws_u_chk.c: Fix leading whitespaces.
14250         * elf/sln.c: Likewise.
14251         * hurd/hurd/ioctl.h: Likewise.
14252         * hurd/hurdmalloc.c: Likewise.
14253         * hurd/xattr.c: Likewise.
14254         * include/shlib-compat.h: Likewise.
14255         * inet/ruserpass.c: Likewise.
14256         * libio/iofgets_u.c: Likewise.
14257         * libio/iofgetws_u.c: Likewise.
14258         * locale/programs/ld-identification.c: Likewise.
14259         * locale/programs/ld-time.c: Likewise.
14260         * mach/msg-destroy.c: Likewise.
14261         * nss/nss_files/files-netgrp.c: Likewise.
14262         * resolv/res_data.c: Likewise.
14263         * soft-fp/op-1.h: Likewise.
14264         * soft-fp/op-2.h: Likewise.
14265         * soft-fp/op-4.h: Likewise.
14266         * soft-fp/op-common.h: Likewise.
14267         * stdio-common/printf_fphex.c: Likewise.
14268         * stdlib/strtod_l.c: Likewise.
14269         * sunrpc/rpc/clnt.h: Likewise.
14270         * sysdeps/generic/framestate.c: Likewise.
14271         * sysdeps/i386/bsd-_setjmp.S: Likewise.
14272         * sysdeps/i386/bsd-setjmp.S: Likewise.
14273         * sysdeps/i386/__longjmp.S: Likewise.
14274         * sysdeps/i386/setjmp.S: Likewise.
14275         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14276         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14277         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14278         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14279         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14280         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14281         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14282         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14283         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14284         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14285         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14286         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14287         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14288         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14289         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14290         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14291         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14292         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14293         * sysdeps/ieee754/support.c: Likewise.
14294         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14295         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14296         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14297         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14298         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14299         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14300         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14301         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14302         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14303         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14304         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14305         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14306         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14307         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14308         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14309         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14310         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14312
14313 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
14314
14315         * posix/transbug.c: Remove executable mode.
14316
14317 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
14318
14319         * crypt/speeds.c: Remove trailing whitespace.
14320         * dlfcn/default.c: Likewise.
14321         * elf/ifuncdep2.c: Likewise.
14322         * elf/ifuncmain1.c: Likewise.
14323         * elf/ifuncmain1vis.c: Likewise.
14324         * elf/testobj.h: Likewise.
14325         * elf/tst-stackguard1.c: Likewise.
14326         * gmon/sys/gmon.h: Likewise.
14327         * hurd/hurdmsg.c: Likewise.
14328         * hurd/new-fd.c: Likewise.
14329         * hurd/ports-get.c: Likewise.
14330         * iconvdata/ibm1008_420.c: Likewise.
14331         * inet/tst-getni1.c: Likewise.
14332         * inet/tst-getni2.c: Likewise.
14333         * libio/ioungetc.c: Likewise.
14334         * libio/wfiledoalloc.c: Likewise.
14335         * manual/libm-err-tab.pl: Likewise.
14336         * math/w_dremf.c: Likewise.
14337         * misc/ftruncate.c: Likewise.
14338         * posix/bug-glob2.c: Likewise.
14339         * posix/tst-pcre.c: Likewise.
14340         * posix/wait4.c: Likewise.
14341         * resolv/README: Likewise.
14342         * resolv/res_debug.h: Likewise.
14343         * resolv/tst-inet_ntop.c: Likewise.
14344         * setjmp/bug269-setjmp.c: Likewise.
14345         * soft-fp/extended.h: Likewise.
14346         * soft-fp/op-1.h: Likewise.
14347         * soft-fp/op-2.h: Likewise.
14348         * soft-fp/op-4.h: Likewise.
14349         * soft-fp/op-8.h: Likewise.
14350         * soft-fp/testit.c: Likewise.
14351         * stdio-common/bug16.c: Likewise.
14352         * stdlib/random.c: Likewise.
14353         * sunrpc/rpcsvc/rquota.x: Likewise.
14354         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14355         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14356         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14357         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14358         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14359         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14360         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14361         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14362         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14363         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14364         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14365         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14366         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14367         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14368         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14369         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14370         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14371         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14372         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14373         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14374         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14375         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14376         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14377         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14378         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14379         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14380         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14381         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14382         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14383         * sysdeps/ieee754/s_lib_version.c: Likewise.
14384         * sysdeps/mach/hurd/check_fds.c: Likewise.
14385         * sysdeps/mach/hurd/getsockname.c: Likewise.
14386         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14387         * sysdeps/mach/hurd/recvfrom.c: Likewise.
14388         * sysdeps/powerpc/bits/link.h: Likewise.
14389         * sysdeps/powerpc/dl-procinfo.c: Likewise.
14390         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14391         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14392         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14393         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14394         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14395         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14396         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14397         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14398         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14399         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14400         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14401         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14402         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14403         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14404         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14405         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14406         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14407         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14408         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14409         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14410         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14411         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14412         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14413         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14414         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14415         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14416         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14417         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14418         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14419         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14420         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14421         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14422         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14423         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14424         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14425         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14426         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14427         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14428         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14429         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14430         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14431         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14432         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14433         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14434         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14435         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14436         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14437         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14438         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14439         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14440         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14441         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14442         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14443         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14444         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14445         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14446         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14447         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14448         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14449         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14450         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14451         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14452         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14453         * sysdeps/powerpc/sysdep.h: Likewise.
14454         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14455         * sysdeps/s390/s390-64/sub_n.S: Likewise.
14456         * sysdeps/sh/dl-trampoline.S: Likewise.
14457         * sysdeps/sh/memset.S: Likewise.
14458         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14459         * sysdeps/sh/strlen.S: Likewise.
14460         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14461         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14462         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14463         * sysdeps/sparc/sparc32/rem.S: Likewise.
14464         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14465         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14466         * sysdeps/sparc/sparc32/strchr.S: Likewise.
14467         * sysdeps/sparc/sparc32/udiv.S: Likewise.
14468         * sysdeps/sparc/sparc32/urem.S: Likewise.
14469         * sysdeps/sparc/sparc64/add_n.S: Likewise.
14470         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14471         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14472         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14473         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14474         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14475         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14476         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14477         * sysdeps/unix/bsd/times.c: Likewise.
14478         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14479         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14483         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14484         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14485         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14486         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14487         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14488         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14489         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14490         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14491         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14492         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14493         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14494         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14495         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14496         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14497         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14498         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14499         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14500         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14501         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14502         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14503         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14504         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14505         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14506         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14507         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14508         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14509         * sysdeps/x86_64/strcspn.S: Likewise.
14510
14511 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14512
14513         * locale/C-translit.h: Revert #include <stdint.h> because this is a
14514         generated file.  Regenerate properly from gen-translit.pl.
14515         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
14516         locale/C-translit.h.
14517
14518 2013-06-05  Andreas Schwab  <schwab@suse.de>
14519
14520         [BZ #15100]
14521         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14522         week as 6 instead of -1.
14523         * time/tst-strptime.c (day_tests): Add test case.
14524
14525 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14526
14527         * sysdeps/generic/math_private.h
14528         (libc_feholdexcept_setround_53bit): Replace with
14529         libc_feholdsetround_53bit.
14530         (libc_feupdateenv_53bit): Replace with
14531         libc_feresetround_53bit.
14532         (SET_RESTORE_ROUND_53BIT): Adjust.
14533
14534 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14535
14536         * string/test-strchrnul.c: Add copyright header.
14537
14538         * posix/tst-getaddrinfo4.c: Increase test timeout.
14539
14540 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
14541
14542         [BZ #15536]
14543         * math/libm-test.inc (MAX_EXP): Remove
14544         (MIN_EXP): Define.
14545         (ulp): Use MIN_EXP - MANT_DIG.
14546         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14547
14548 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
14549
14550         * po/be.po: Revert last change.
14551         * po/zh_CN.po: Likewise.
14552         * po/header.pot: Likewise.
14553
14554 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
14555
14556         * Makefile ($(common-objpfx)linkobj/libc.so): Define
14557         link-libc-deps to empty as target-specific variable.
14558         * Makerules (link-libc-args): New variable.
14559         (libc-for-link): Likewise.
14560         (link-libc-deps): Likewise.
14561         (lib%.so): Depend on $(link-libc-deps).  Link with
14562         $(link-libc-args).
14563         (build-module): Link with $(link-libc-args).
14564         (build-module-asneeded): Likewise.
14565         (build-module-helper-objlist): Filter out $(link-libc-deps) from
14566         list of objects.
14567         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14568         target-specific variable.
14569         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14570         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14571         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14572         libc.
14573         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14574         libc and ld.so.
14575         ($(objpfx)libpcprofile.so): Likewise.
14576         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14577         libc_nonshared.a.
14578         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14579         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14580         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14581         $(link-libc-deps).
14582         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14583         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14584         * login/Makefile ($(objpfx)libutil.so): Likewise.
14585         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14586         * math/Makefile ($(objpfx)libm.so): Likewise.
14587         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14588         $(objpfx)libnsl.so): Define libc-for-link as target-specific
14589         variable instead of depending directly on libc.
14590         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14591         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14592         $(link-libc-deps).
14593         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14594         libc.
14595         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14596         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14597         ($(objpfx)libanl.so): Likewise.
14598         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14599         ld.so.
14600         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14601         $(link-libc-deps).
14602         * sysdeps/i386/fpu/Makefile: Remove file.
14603         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14604         ($(objpfx)libm.so): Remove dependency on ld.so.
14605
14606 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
14607
14608         [BZ # 15553]
14609         * nis/yp_xdr.c (XDRMAXNAME): Define.
14610         (XDRMAXRECORD): Define.
14611         (xdr_domainname): Use XDRMAXNAME.
14612         (xdr_mapname): Likewise.
14613         (xdr_peername): Likewise.
14614         (xdr_keydat): Use XDRMAXRECORD.
14615         (xdr_valdat): Likewise.
14616
14617 2013-05-30  Jeff Law  <law@redhat.com>
14618
14619         [BZ #14256]
14620         * manual/errno.texi (ESTALE): Update to account for more than
14621         just NFS file systems.
14622         * sysdeps/gnu/errlist.c: Regenerated.
14623
14624 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14625
14626         [BZ #15465]
14627         * elf/Makefile (tests): Add tst-null-argv.
14628         (modules-names):  Add tst-null-argv-lib.
14629         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14630         (tst-null-argv-ENV): Set environment for tst-null-argv.
14631         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14632         (RTLD_PROGNAME): New macro.
14633         * elf/tst-null-argv.c: New test case.
14634         * elf/tst-null-argv-lib.c: Library for test case.
14635         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14636         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14637         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14638         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14639         * elf/dl-init.c (call_init): Likewise.
14640         (_dl_init): Likewise.
14641         * elf/dl-load.c (print_search_path): Likewise.
14642         (_dl_map_object): Likewise.
14643         * elf/dl-lookup.c (do_lookup_x): Likewise.
14644         (add_dependency): Likewise.
14645         (_dl_lookup_symbol_x): Likewise.
14646         (_dl_debug_bindings): Likewise.
14647         * elf/dl-open.c (_dl_show_scope): Likewise.
14648         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14649         * elf/dl-version.c (match_symbol): Likewise.
14650         (_dl_check_map_versions): Likewise.
14651         * elf/rtld.c (dl_main): Likewise.
14652         (print_unresolved): Use RTLD_PROGNAME.
14653         (print_missing_version): Likewise.
14654         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14655         (elf_machine_rela): Likewise.
14656         * sysdeps/powerpc/powerpc32/dl-machine.c
14657         (__process_machine_rela): Likewise.
14658         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14659         Likewise.
14660         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14661         Likewise.
14662         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14663         Likewise.
14664         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14665         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14666         Likewise.
14667         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14668         Likewise.
14669         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14670
14671 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
14672
14673         * po/be.po: Add descriptive title.
14674         * po/zh_CN.po: Likewise.
14675         * po/header.pot: Likewise.
14676
14677 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
14678
14679         * locale/programs/locarchive.c (create_archive): Inlucde fname in
14680         error message.
14681         (enlarge_archive): Likewise.
14682
14683 2013-05-28  Ben North  <ben@redfrontdoor.org>
14684
14685         * manual/arith.texi (frexp): It is the magnitude of the return
14686         value which lies in [0.5, 1), not the return value itself.
14687
14688 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14689
14690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14691
14692 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
14693
14694         * stdio-common/bug26.c (main): Correct fscanf template.
14695
14696         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14697         declare _dl_skip_args.
14698
14699         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14700         Don't declare.
14701
14702         * manual/platform.texi: Add missing @end deftypefun.
14703
14704 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
14705
14706         [BZ #15529]
14707         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14708         bit of mantissa of 2^16382.
14709         * math/libm-test.inc (hypot_test_data): Add more tests.
14710
14711         * math/libm-test.inc: Add drem and pow10 to list of tested
14712         functions.
14713         (pow10_test): New function.
14714         (drem_test): Likewise.
14715         (drem_test_tonearest): Likewise.
14716         (drem_test_towardzero): Likewise.
14717         (drem_test_downward): Likewise.
14718         (drem_test_upward): Likewise.
14719         (main): Call the new functions.
14720
14721         * math/libm-test.inc (finite_test_data): Remove.
14722         (finite_test): Run tests from isfinite_test_data.
14723         (gamma_test_data): Remove.
14724         (gamma_test): Run tests from lgamma_test_data.
14725         * sysdeps/i386/fpu/libm-test-ulps: Update.
14726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14727
14728 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14729
14730         * manual/platform.texi: Add PowerPC PPR function set documentation.
14731         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14732         implementation.
14733
14734 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
14735
14736         * math/libm-test.inc (MAX_EXP): Define.
14737         (ULPDIFF): Define.
14738         (ulp): New function.
14739         (check_float_internal): Use ULPDIFF.
14740         (cpow_test): Disable failing test.
14741         (check_ulp): Test ulp() implemetnation.
14742         (main): Call check_ulp before starting tests.
14743
14744 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
14745
14746         * math/gen-libm-test.pl (generate_testfile): Do not handle
14747         START_DATA and END_DATA.
14748         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14749         END_DATA.
14750         (acos_tonearest_test_data): Likewise.
14751         (acos_towardzero_test_data): Likewise.
14752         (acos_downward_test_data): Likewise.
14753         (acos_upward_test_data): Likewise.
14754         (acosh_test_data): Likewise.
14755         (asin_test_data): Likewise.
14756         (asin_tonearest_test_data): Likewise.
14757         (asin_towardzero_test_data): Likewise.
14758         (asin_downward_test_data): Likewise.
14759         (asin_upward_test_data): Likewise.
14760         (asinh_test_data): Likewise.
14761         (atan_test_data): Likewise.
14762         (atanh_test_data): Likewise.
14763         (atan2_test_data): Likewise.
14764         (cabs_test_data): Likewise.
14765         (cacos_test_data): Likewise.
14766         (cacosh_test_data): Likewise.
14767         (carg_test_data): Likewise.
14768         (casin_test_data): Likewise.
14769         (casinh_test_data): Likewise.
14770         (catan_test_data): Likewise.
14771         (catanh_test_data): Likewise.
14772         (cbrt_test_data): Likewise.
14773         (ccos_test_data): Likewise.
14774         (ccosh_test_data): Likewise.
14775         (ceil_test_data): Likewise.
14776         (cexp_test_data): Likewise.
14777         (cimag_test_data): Likewise.
14778         (clog_test_data): Likewise.
14779         (clog10_test_data): Likewise.
14780         (conj_test_data): Likewise.
14781         (copysign_test_data): Likewise.
14782         (cos_test_data): Likewise.
14783         (cos_tonearest_test_data): Likewise.
14784         (cos_towardzero_test_data): Likewise.
14785         (cos_downward_test_data): Likewise.
14786         (cos_upward_test_data): Likewise.
14787         (cosh_test_data): Likewise.
14788         (cosh_tonearest_test_data): Likewise.
14789         (cosh_towardzero_test_data): Likewise.
14790         (cosh_downward_test_data): Likewise.
14791         (cosh_upward_test_data): Likewise.
14792         (cpow_test_data): Likewise.
14793         (cproj_test_data): Likewise.
14794         (creal_test_data): Likewise.
14795         (csin_test_data): Likewise.
14796         (csinh_test_data): Likewise.
14797         (csqrt_test_data): Likewise.
14798         (ctan_test_data): Likewise.
14799         (ctan_tonearest_test_data): Likewise.
14800         (ctan_towardzero_test_data): Likewise.
14801         (ctan_downward_test_data): Likewise.
14802         (ctan_upward_test_data): Likewise.
14803         (ctanh_test_data): Likewise.
14804         (ctanh_tonearest_test_data): Likewise.
14805         (ctanh_towardzero_test_data): Likewise.
14806         (ctanh_downward_test_data): Likewise.
14807         (ctanh_upward_test_data): Likewise.
14808         (erf_test_data): Likewise.
14809         (erfc_test_data): Likewise.
14810         (exp_test_data): Likewise.
14811         (exp_tonearest_test_data): Likewise.
14812         (exp_towardzero_test_data): Likewise.
14813         (exp_downward_test_data): Likewise.
14814         (exp_upward_test_data): Likewise.
14815         (exp10_test_data): Likewise.
14816         (exp2_test_data): Likewise.
14817         (expm1_test_data): Likewise.
14818         (fabs_test_data): Likewise.
14819         (fdim_test_data): Likewise.
14820         (finite_test_data): Likewise.
14821         (floor_test_data): Likewise.
14822         (fma_test_data): Likewise.
14823         (fma_towardzero_test_data): Likewise.
14824         (fma_downward_test_data): Likewise.
14825         (fma_upward_test_data): Likewise.
14826         (fmax_test_data): Likewise.
14827         (fmin_test_data): Likewise.
14828         (fmod_test_data): Likewise.
14829         (fpclassify_test_data): Likewise.
14830         (frexp_test_data): Likewise.
14831         (gamma_test_data): Likewise.
14832         (hypot_test_data): Likewise.
14833         (ilogb_test_data): Likewise.
14834         (isfinite_test_data): Likewise.
14835         (isgreater_test_data): Likewise.
14836         (isgreaterequal_test_data): Likewise.
14837         (isinf_test_data): Likewise.
14838         (isless_test_data): Likewise.
14839         (islessequal_test_data): Likewise.
14840         (islessgreater_test_data): Likewise.
14841         (isnan_test_data): Likewise.
14842         (isnormal_test_data): Likewise.
14843         (issignaling_test_data): Likewise.
14844         (isunordered_test_data): Likewise.
14845         (j0_test_data): Likewise.
14846         (j1_test_data): Likewise.
14847         (jn_test_data): Likewise.
14848         (ldexp_test_data): Likewise.
14849         (lgamma_test_data): Likewise.
14850         (lrint_test_data): Likewise.
14851         (lrint_tonearest_test_data): Likewise.
14852         (lrint_towardzero_test_data): Likewise.
14853         (lrint_downward_test_data): Likewise.
14854         (lrint_upward_test_data): Likewise.
14855         (llrint_test_data): Likewise.
14856         (llrint_tonearest_test_data): Likewise.
14857         (llrint_towardzero_test_data): Likewise.
14858         (llrint_downward_test_data): Likewise.
14859         (llrint_upward_test_data): Likewise.
14860         (log_test_data): Likewise.
14861         (log10_test_data): Likewise.
14862         (log1p_test_data): Likewise.
14863         (log2_test_data): Likewise.
14864         (logb_test_data): Likewise.
14865         (logb_downward_test_data): Likewise.
14866         (lround_test_data): Likewise.
14867         (llround_test_data): Likewise.
14868         (modf_test_data): Likewise.
14869         (nearbyint_test_data): Likewise.
14870         (nextafter_test_data): Likewise.
14871         (nexttoward_test_data): Likewise.
14872         (pow_test_data): Likewise.
14873         (pow_tonearest_test_data): Likewise.
14874         (pow_towardzero_test_data): Likewise.
14875         (pow_downward_test_data): Likewise.
14876         (pow_upward_test_data): Likewise.
14877         (remainder_test_data): Likewise.
14878         (remainder_tonearest_test_data): Likewise.
14879         (remainder_towardzero_test_data): Likewise.
14880         (remainder_downward_test_data): Likewise.
14881         (remainder_upward_test_data): Likewise.
14882         (remquo_test_data): Likewise.
14883         (rint_test_data): Likewise.
14884         (rint_tonearest_test_data): Likewise.
14885         (rint_towardzero_test_data): Likewise.
14886         (rint_downward_test_data): Likewise.
14887         (rint_upward_test_data): Likewise.
14888         (round_test_data): Likewise.
14889         (scalb_test_data): Likewise.
14890         (scalbn_test_data): Likewise.
14891         (scalbln_test_data): Likewise.
14892         (signbit_test_data): Likewise.
14893         (sin_test_data): Likewise.
14894         (sin_tonearest_test_data): Likewise.
14895         (sin_towardzero_test_data): Likewise.
14896         (sin_downward_test_data): Likewise.
14897         (sin_upward_test_data): Likewise.
14898         (sincos_test_data): Likewise.
14899         (sinh_test_data): Likewise.
14900         (sinh_tonearest_test_data): Likewise.
14901         (sinh_towardzero_test_data): Likewise.
14902         (sinh_downward_test_data): Likewise.
14903         (sinh_upward_test_data): Likewise.
14904         (sqrt_test_data): Likewise.
14905         (tan_test_data): Likewise.
14906         (tan_tonearest_test_data): Likewise.
14907         (tan_towardzero_test_data): Likewise.
14908         (tan_downward_test_data): Likewise.
14909         (tan_upward_test_data): Likewise.
14910         (tanh_test_data): Likewise.
14911         (tgamma_test_data): Likewise.
14912         (trunc_test_data): Likewise.
14913         (y0_test_data): Likewise.
14914         (y1_test_data): Likewise.
14915         (yn_test_data): Likewise.
14916         (significand_test_data): Likewise.
14917
14918         * math/gen-libm-test.pl (@functions): Remove variable.
14919         (generate_testfile): Don't handle START and END lines.
14920         * math/libm-test.inc (START): New macro.
14921         (END): Likewise.
14922         (END_COMPLEX): Likewise.
14923         (acos_test): Use END macro without arguments.
14924         (acos_test_tonearest): Likewise.
14925         (acos_test_towardzero): Likewise.
14926         (acos_test_downward): Likewise.
14927         (acos_test_upward): Likewise.
14928         (acosh_test): Likewise.
14929         (asin_test): Likewise.
14930         (asin_test_tonearest): Likewise.
14931         (asin_test_towardzero): Likewise.
14932         (asin_test_downward): Likewise.
14933         (asin_test_upward): Likewise.
14934         (asinh_test): Likewise.
14935         (atan_test): Likewise.
14936         (atanh_test): Likewise.
14937         (atan2_test): Likewise.
14938         (cabs_test): Likewise.
14939         (cacos_test): Use END_COMPLEX macro without arguments.
14940         (cacosh_test): Likewise.
14941         (carg_test): Use END macro without arguments.
14942         (casin_test): Use END_COMPLEX macro without arguments.
14943         (casinh_test): Likewise.
14944         (catan_test): Likewise.
14945         (catanh_test): Likewise.
14946         (cbrt_test): Use END macro without arguments.
14947         (ccos_test): Use END_COMPLEX macro without arguments.
14948         (ccosh_test): Likewise.
14949         (ceil_test): Use END macro without arguments.
14950         (cexp_test): Use END_COMPLEX macro without arguments.
14951         (cimag_test): Use END macro without arguments.
14952         (clog_test): Use END_COMPLEX macro without arguments.
14953         (clog10_test): Likewise.
14954         (conj_test): Likewise.
14955         (copysign_test): Use END macro without arguments.
14956         (cos_test): Likewise.
14957         (cos_test_tonearest): Likewise.
14958         (cos_test_towardzero): Likewise.
14959         (cos_test_downward): Likewise.
14960         (cos_test_upward): Likewise.
14961         (cosh_test): Likewise.
14962         (cosh_test_tonearest): Likewise.
14963         (cosh_test_towardzero): Likewise.
14964         (cosh_test_downward): Likewise.
14965         (cosh_test_upward): Likewise.
14966         (cpow_test): Use END_COMPLEX macro without arguments.
14967         (cproj_test): Likewise.
14968         (creal_test): Use END macro without arguments.
14969         (csin_test): Use END_COMPLEX macro without arguments.
14970         (csinh_test): Likewise.
14971         (csqrt_test): Likewise.
14972         (ctan_test): Likewise.
14973         (ctan_test_tonearest): Likewise.
14974         (ctan_test_towardzero): Likewise.
14975         (ctan_test_downward): Likewise.
14976         (ctan_test_upward): Likewise.
14977         (ctanh_test): Likewise.
14978         (ctanh_test_tonearest): Likewise.
14979         (ctanh_test_towardzero): Likewise.
14980         (ctanh_test_downward): Likewise.
14981         (ctanh_test_upward): Likewise.
14982         (erf_test): Use END macro without arguments.
14983         (erfc_test): Likewise.
14984         (exp_test): Likewise.
14985         (exp_test_tonearest): Likewise.
14986         (exp_test_towardzero): Likewise.
14987         (exp_test_downward): Likewise.
14988         (exp_test_upward): Likewise.
14989         (exp10_test): Likewise.
14990         (exp2_test): Likewise.
14991         (expm1_test): Likewise.
14992         (fabs_test): Likewise.
14993         (fdim_test): Likewise.
14994         (finite_test): Likewise.
14995         (floor_test): Likewise.
14996         (fma_test): Likewise.
14997         (fma_test_towardzero): Likewise.
14998         (fma_test_downward): Likewise.
14999         (fma_test_upward): Likewise.
15000         (fmax_test): Likewise.
15001         (fmin_test): Likewise.
15002         (fmod_test): Likewise.
15003         (fpclassify_test): Likewise.
15004         (frexp_test): Likewise.
15005         (gamma_test): Likewise.
15006         (hypot_test): Likewise.
15007         (ilogb_test): Likewise.
15008         (isfinite_test): Likewise.
15009         (isgreater_test): Likewise.
15010         (isgreaterequal_test): Likewise.
15011         (isinf_test): Likewise.
15012         (isless_test): Likewise.
15013         (islessequal_test): Likewise.
15014         (islessgreater_test): Likewise.
15015         (isnan_test): Likewise.
15016         (isnormal_test): Likewise.
15017         (issignaling_test): Likewise.
15018         (isunordered_test): Likewise.
15019         (j0_test): Likewise.
15020         (j1_test): Likewise.
15021         (jn_test): Likewise.
15022         (ldexp_test): Likewise.
15023         (lgamma_test): Likewise.
15024         (lrint_test): Likewise.
15025         (lrint_test_tonearest): Likewise.
15026         (lrint_test_towardzero): Likewise.
15027         (lrint_test_downward): Likewise.
15028         (lrint_test_upward): Likewise.
15029         (llrint_test): Likewise.
15030         (llrint_test_tonearest): Likewise.
15031         (llrint_test_towardzero): Likewise.
15032         (llrint_test_downward): Likewise.
15033         (llrint_test_upward): Likewise.
15034         (log_test): Likewise.
15035         (log10_test): Likewise.
15036         (log1p_test): Likewise.
15037         (log2_test): Likewise.
15038         (logb_test): Likewise.
15039         (logb_test_downward): Likewise.
15040         (lround_test): Likewise.
15041         (llround_test): Likewise.
15042         (modf_test): Likewise.
15043         (nearbyint_test): Likewise.
15044         (nextafter_test): Likewise.
15045         (nexttoward_test): Likewise.
15046         (pow_test): Likewise.
15047         (pow_test_tonearest): Likewise.
15048         (pow_test_towardzero): Likewise.
15049         (pow_test_downward): Likewise.
15050         (pow_test_upward): Likewise.
15051         (remainder_test): Likewise.
15052         (remainder_test_tonearest): Likewise.
15053         (remainder_test_towardzero): Likewise.
15054         (remainder_test_downward): Likewise.
15055         (remainder_test_upward): Likewise.
15056         (remquo_test): Likewise.
15057         (rint_test): Likewise.
15058         (rint_test_tonearest): Likewise.
15059         (rint_test_towardzero): Likewise.
15060         (rint_test_downward): Likewise.
15061         (rint_test_upward): Likewise.
15062         (round_test): Likewise.
15063         (scalb_test): Likewise.
15064         (scalbn_test): Likewise.
15065         (scalbln_test): Likewise.
15066         (signbit_test): Likewise.
15067         (sin_test): Likewise.
15068         (sin_test_tonearest): Likewise.
15069         (sin_test_towardzero): Likewise.
15070         (sin_test_downward): Likewise.
15071         (sin_test_upward): Likewise.
15072         (sincos_test): Likewise.
15073         (sinh_test): Likewise.
15074         (sinh_test_tonearest): Likewise.
15075         (sinh_test_towardzero): Likewise.
15076         (sinh_test_downward): Likewise.
15077         (sinh_test_upward): Likewise.
15078         (sqrt_test): Likewise.
15079         (tan_test): Likewise.
15080         (tan_test_tonearest): Likewise.
15081         (tan_test_towardzero): Likewise.
15082         (tan_test_downward): Likewise.
15083         (tan_test_upward): Likewise.
15084         (tanh_test): Likewise.
15085         (tgamma_test): Likewise.
15086         (trunc_test): Likewise.
15087         (y0_test): Likewise.
15088         (y1_test): Likewise.
15089         (yn_test): Likewise.
15090         (significand_test): Likewise.
15091
15092 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
15093
15094         [BZ #15381]
15095         * libio/genops.c (_IO_no_init): Initialize wide struct info.
15096
15097 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
15098
15099         [BZ #14894]
15100         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15101         __ppc_mdoio and __ppc_mdoom.
15102         * manual/platform.texi: Document new functions __ppc_yield,
15103         __ppc_mdoio and __ppc_mdoom.
15104
15105 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
15106
15107         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15108         (main): Mention "tls" pseudo-hwcap is legacy.
15109         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15110
15111 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
15112
15113         * math/gen-libm-test.pl (parse_args): Output only string of
15114         arguments as text for test name, not full call or descriptions of
15115         tests for extra outputs.
15116         (generate_testfile): Do not pass function name to parse_args.
15117         Generate this_func variable from START.
15118         * math/libm-test.inc (struct test_f_f_data): Rename test_name
15119         field to arg_str.
15120         (struct test_ff_f_data): Likewise.
15121         (test_ff_f_data_nexttoward): Likewise.
15122         (struct test_fi_f_data): Likewise.
15123         (struct test_fl_f_data): Likewise.
15124         (struct test_if_f_data): Likewise.
15125         (struct test_fff_f_data): Likewise.
15126         (struct test_c_f_data): Likewise.
15127         (struct test_f_f1_data): Likewise.  Remove field extra_name.
15128         (struct test_fF_f1_data): Likewise.
15129         (struct test_ffI_f1_data): Likewise.
15130         (struct test_c_c_data): Rename test_name field to arg_str.
15131         (struct test_cc_c_data): Likewise.
15132         (struct test_f_i_data): Likewise.
15133         (struct test_ff_i_data): Likewise.
15134         (struct test_f_l_data): Likewise.
15135         (struct test_f_L_data): Likewise.
15136         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
15137         and extra2_name.
15138         (COMMON_TEST_SETUP): New macro.
15139         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15140         (COMMON_TEST_CLEANUP): Likewise.
15141         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15142         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
15143         macros.
15144         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15145         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
15146         macros.
15147         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15148         (RUN_TEST_fff_f): Take argument string.  Call new setup and
15149         cleanup macros.
15150         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15151         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
15152         macros.
15153         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15154         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
15155         macros.
15156         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15157         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
15158         cleanup macros.
15159         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15160         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
15161         cleanup macros.
15162         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15163         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
15164         cleanup macros.
15165         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15166         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
15167         macros.
15168         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15169         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
15170         macros.
15171         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15172         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
15173         macros.
15174         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15175         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
15176         cleanup macros.
15177         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15178         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
15179         cleanup macros.
15180         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15181         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
15182         macros.
15183         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15184         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
15185         cleanup macros.
15186         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15187         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
15188         macros.
15189         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15190         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
15191         macros.
15192         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15193         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
15194         cleanup macros.
15195         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15196
15197 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
15198
15199         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15200         to _sifields.sigfault.
15201         (si_addr_lsb): Define new macro.
15202         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15203         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15204         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15205
15206 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
15207
15208         [BZ #15441]
15209         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15210         returns -1.
15211         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15212         null return -1.
15213         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15214         loading the domain.
15215
15216 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
15217
15218         * math/gen-libm-test.pl (parse_args): Do not include expected
15219         result in test name.
15220         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15221         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15222         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15223         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15224         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15226
15227 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15228
15229         * benchtests/Makefile: Sort function entries.
15230
15231         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15232         tanh, asinh, acosh, atanh.
15233         * benchtests/acos-inputs: New file.
15234         * benchtests/acosh-inputs: New file.
15235         * benchtests/asin-inputs: New file.
15236         * benchtests/asinh-inputs: New file.
15237         * benchtests/atanh-inputs: New file.
15238         * benchtests/cosh-inputs: New file.
15239         * benchtests/log-inputs: New file.
15240         * benchtests/sinh-inputs: New file.
15241         * benchtests/tanh-inputs: New file.
15242
15243 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
15244
15245         [BZ #15339]
15246         * posix/tst-getaddrinfo4.c: New test.
15247         * posix/Makefile (tests): Add it.
15248
15249 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15250
15251         [BZ #15339]
15252         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15253         when no services were used.
15254         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15255         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15256
15257 2013-05-21  Andreas Schwab  <schwab@suse.de>
15258
15259         [BZ #15014]
15260         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15261         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15262         successful.
15263         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15264         redundant variable declarations and reallocation of buffer when
15265         parsing as IPv6 address.  Always set NSS status when called from
15266         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
15267         buffer too small.  Correct computation of needed size.
15268         * nss/Makefile (tests): Add test-digits-dots.
15269         * nss/test-digits-dots.c: New test.
15270
15271 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15272
15273         * benchtests/Makefile: Remove instructions for adding
15274         benchmark tests.
15275         * benchtests/README: New file to explain how to execute and
15276         enhance the benchmark tests.
15277
15278 2013-05-21  Andreas Schwab  <schwab@suse.de>
15279
15280         [BZ #15493]
15281         * setjmp/Makefile (tests): Add tst-sigsetjmp.
15282         * setjmp/tst-sigsetjmp.c: New test.
15283
15284 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
15285
15286         * sysdeps/x86_64/memset.S (memset): New implementation.
15287         (__bzero): Likewise.
15288         (__memset_tail): New function.
15289
15290 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
15291
15292         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15293         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15294         __memcpy_sse2_unaligned ifunc selection.
15295         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15296         Add memcpy-sse2-unaligned.S.
15297         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15298         Add: __memcpy_sse2_unaligned.
15299
15300 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
15301
15302         [BZ #15490]
15303         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15304         math_force_eval before restoring floating-point envrionment.
15305         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15306         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15307         Likewise.
15308         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15309         <math_private.h>.
15310         (__nearbyintl): Use math_force_eval before restoring
15311         floating-point environment.
15312         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15313
15314         * math/gen-libm-test.pl (special_functions): Remove.
15315         (parse_args): Don't handle TEST_extra.  Handle functions with no
15316         return value.
15317         * math/libm-test.inc (struct test_sincos_data): Replace with
15318         struct test_fFF_11_data.
15319         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15320         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15321         (sincos_test_data): Change element type to struct
15322         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
15323         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15324         RUN_TEST_LOOP_sincos.
15325         * math/README.libm-test: Don't mention special handling of
15326         individual functions.
15327         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15328         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15329         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15330         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15331         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15333
15334         * math/gen-libm-test.pl (get_variable): Remove function.
15335         (parse_args): Don't show pointer parameters to call in test
15336         names.  Use "extra output N" in test names for extra outputs
15337         rather than naming variables.
15338
15339 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
15340
15341         [BZ #15488]
15342         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15343         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15344         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15345         double tests.
15346         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15347         disable.
15348         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15349         check_long_double.
15350
15351         * math/gen-libm-test.pl (@tests): Remove variable.
15352         ($count): Likewise.
15353         (new_test): Remove function.
15354         (show_exceptions): New function.
15355         (special_functions): Use show_exceptions instead of new_test.
15356         (parse_args): Likewise.
15357         (generate_testfile): Pass only function name in generated call to
15358         print_max_error or print_complex_max_error.
15359         (get_ulps): Do not handle complex tests specially.
15360         (output_test): Rename to ...
15361         (get_all_ulps_for_test): ... this.  Return a string rather than
15362         printing to a file.  Require ulps to be present.
15363         (output_ulps): Generate arrays rather than #defines.
15364         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15365         (struct ulp_data): New type.
15366         (BUILD_COMPLEX_ULP): Remove macro.
15367         (compare_ulp_data): New function.
15368         (find_ulps): Likewise.
15369         (find_test_ulps): Likewise.
15370         (find_function_ulps): Likewise.
15371         (find_complex_function_ulps): Likewise.
15372         (print_max_error): Determine allowed ulps using
15373         find_function_ulps.
15374         (print_complex_max_error): Determine allowed ulps using
15375         find_complex_function_ulps.
15376         (check_float_internal): Determine max ulps using find_test_ulps.
15377         (check_float): Do not take max_ulp parameter.  Update call to
15378         check_float_internal.
15379         (check_complex): Likewise.
15380         (check_int): Do not take max_ulp parameter.
15381         (check_long): Likewise.
15382         (check_bool): Likewise.
15383         (check_longlong): Likewise.
15384         (struct test_f_f_data): Remove max_ulp field.
15385         (struct test_ff_f_data): Likewise.
15386         (struct test_ff_f_data_nexttoward): Likewise.
15387         (struct test_fi_f_data): Likewise.
15388         (struct test_fl_f_data): Likewise.
15389         (struct test_if_f_data): Likewise.
15390         (struct test_fff_f_data): Likewise.
15391         (struct test_c_f_data): Likewise.
15392         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15393         (struct test_fF_f1_data): Likewise.
15394         (struct test_ffI_f1_data): Likewise.
15395         (struct test_c_c_data): Remove max_ulp field.
15396         (struct test_cc_c_data): Likewise.
15397         (struct test_f_i_data): Likewise.
15398         (struct test_ff_i_data): Likewise.
15399         (struct test_f_l_data): Likewise.
15400         (struct test_f_L_data): Likewise.
15401         (struct test_sincos_data): Likewise.
15402         (RUN_TEST_f_f): Do not handle ulps.
15403         (RUN_TEST_LOOP_f_f): Likewise.
15404         (RUN_TEST_2_f): Likewise.
15405         (RUN_TEST_LOOP_2_f): Likewise.
15406         (RUN_TEST_fff_f): Likewise.
15407         (RUN_TEST_LOOP_fff_f): Likewise.
15408         (RUN_TEST_c_f): Likewise.
15409         (RUN_TEST_LOOP_c_f): Likewise.
15410         (RUN_TEST_f_f1): Likewise.
15411         (RUN_TEST_LOOP_f_f1): Likewise.
15412         (RUN_TEST_fF_f1): Likewise.
15413         (RUN_TEST_LOOP_fF_f1): Likewise.
15414         (RUN_TEST_fI_f1): Likewise.
15415         (RUN_TEST_LOOP_fI_f1): Likewise.
15416         (RUN_TEST_ffI_f1): Likewise.
15417         (RUN_TEST_LOOP_ffI_f1): Likewise.
15418         (RUN_TEST_c_c): Likewise.
15419         (RUN_TEST_LOOP_c_c): Likewise.
15420         (RUN_TEST_cc_c): Likewise.
15421         (RUN_TEST_LOOP_cc_c): Likewise.
15422         (RUN_TEST_f_i): Likewise.
15423         (RUN_TEST_LOOP_f_i): Likewise.
15424         (RUN_TEST_f_i_tg): Likewise.
15425         (RUN_TEST_LOOP_f_i_tg): Likewise.
15426         (RUN_TEST_ff_i_tg): Likewise.
15427         (RUN_TEST_LOOP_ff_i_tg): Likewise.
15428         (RUN_TEST_f_b): Likewise.
15429         (RUN_TEST_LOOP_f_b): Likewise.
15430         (RUN_TEST_f_b_tg): Likewise.
15431         (RUN_TEST_LOOP_f_b_tg): Likewise.
15432         (RUN_TEST_f_l): Likewise.
15433         (RUN_TEST_LOOP_f_l): Likewise.
15434         (RUN_TEST_f_L): Likewise.
15435         (RUN_TEST_LOOP_f_L): Likewise.
15436         (RUN_TEST_sincos): Likewise.
15437         (RUN_TEST_LOOP_sincos): Likewise.
15438
15439 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
15440
15441         [BZ #15480]
15442         [BZ #15485]
15443         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15444         main case of finite arguments, set rounding mode to FE_TONEAREST
15445         and discard exceptions.
15446         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15447         exceptions.
15448         (remainder_tonearest_test_data): New variable.
15449         (remainder_test_tonearest): New function.
15450         (remainder_towardzero_test_data): New variable.
15451         (remainder_test_towardzero): New function.
15452         (remainder_downward_test_data): New variable.
15453         (remainder_test_downward): New function.
15454         (remainder_upward_test_data): New variable.
15455         (remainder_test_upward): New function.
15456         (main): Call the new test functions.
15457
15458         * math/libm-test.inc (struct test_f_f1_data): Remove field
15459         extra_init.
15460         (struct test_fF_f1_data): Likewise.
15461         (struct test_ffI_f1_data): Likewise.
15462         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
15463         based on value of EXTRA_EXPECTED.
15464         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15465         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
15466         EXTRA_VAR based on value of EXTRA_EXPECTED.
15467         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15468         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
15469         EXTRA_VAR based on value of EXTRA_EXPECTED.
15470         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15471         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
15472         EXTRA_VAR based on value of EXTRA_EXPECTED.
15473         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15474         * math/gen-libm-test.pl (parse_args): Don't output initializers
15475         for extra output values.
15476
15477         * math/libm-test.inc (check_int): Expect result to be exactly
15478         equal to expected value and do not handle ulps.
15479         (check_long): Likewise.
15480         (check_longlong): Likewise.
15481
15482         * math/libm-test.inc (ceil_test_data): Test for "inexact"
15483         exceptions.
15484         (cimag_test_data): Likewise.
15485         (conj_test_data): Likewise.
15486         (copysign_test_data): Likewise.
15487         (cproj_test_data): Likewise.
15488         (creal_test_data): Likewise.
15489         (fabs_test_data): Likewise.
15490         (fdim_test_data): Likewise.
15491         (finite_test_data): Likewise.
15492         (floor_test_data): Likewise.
15493         (fmax_test_data): Likewise.
15494         (fmin_test_data): Likewise.
15495         (fmod_test_data): Likewise.
15496         (fpclassify_test_data): Likewise.
15497         (frexp_test_data): Likewise.
15498         (ilogb_test_data): Likewise.
15499         (isfinite_test_data): Likewise.
15500         (isgreater_test_data): Likewise.
15501         (isgreaterequal_test_data): Likewise.
15502         (isinf_test_data): Likewise.
15503         (isless_test_data): Likewise.
15504         (islessequal_test_data): Likewise.
15505         (islessgreater_test_data): Likewise.
15506         (isnan_test_data): Likewise.
15507         (isnormal_test_data): Likewise.
15508         (issignaling_test_data): Likewise.
15509         (isunordered_test_data): Likewise.
15510         (ldexp_test_data): Likewise.
15511         (lrint_test_data): Likewise.
15512         (lrint_test_data) [TEST_FLOAT]: Disable one test.
15513         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15514         (lrint_tonearest_test_data): Test for "inexact" exceptions.
15515         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15516         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15517         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15518         test input.
15519         (lrint_towardzero_test_data): Test for "inexact" exceptions.
15520         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15521         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15522         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15523         that test input.
15524         (lrint_downward_test_data): Test for "inexact" exceptions.
15525         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15526         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15527         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15528         test input.
15529         (lrint_upward_test_data): Test for "inexact" exceptions.
15530         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15531         test input.
15532         (llrint_test_data): Test for "inexact" exceptions.
15533         (llrint_test_data) [TEST_FLOAT]: Disable one test.
15534         (llrint_tonearest_test_data): Test for "inexact" exceptions.
15535         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15536         (llrint_towardzero_test_data): Test for "inexact" exceptions.
15537         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15538         (llrint_downward_test_data): Test for "inexact" exceptions.
15539         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15540         (llrint_upward_test_data): Test for "inexact" exceptions.
15541         (logb_test_data): Likewise.
15542         (logb_downward_test_data): Likewise.
15543         (nextafter_test_data): Likewise.
15544         (nexttoward_test_data): Likewise.
15545         (remainder_test_data): Likewise.
15546         (remquo_test_data): Likewise.
15547         (scalbn_test_data): Likewise.
15548         (scalbln_test_data): Likewise.
15549         (signbit_test_data): Likewise.
15550         (sqrt_test_data): Likewise.
15551         (significand_test_data): Likewise.
15552
15553 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15554
15555         [BZ #15424]
15556         * benchtests/bench-modf.c (struct args): Mark arg0 as
15557         volatile.
15558         * scripts/bench.pl: Mark members of struct args as volatile.
15559
15560 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15561
15562         [BZ # 15497]
15563         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15564         negative infinity on POWER6 or lower.
15565         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15566
15567 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
15568
15569         [BZ #15442]
15570         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15571         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15572         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15573         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15574         (_FP_SETQNAN): New macro.
15575         (_FP_SETQNAN_SEMIRAW): Likewise.
15576         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15577         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15578         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15579         (FP_EXTEND): Use _FP_FRAC_SNANP.
15580         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15581         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15582         into account.
15583         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15584         New macro.
15585         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15586         Likewise.
15587
15588 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15589
15590         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15591         with DIVIDE_BY_ZERO_EXCEPTION.
15592         (gamma_test_data): Likewise.
15593         (lgamma_test_data): Likewise.
15594         (log_test_data): Likewise.
15595         (log10_test_data): Likewise.
15596         (log2_test_data): Likewise.
15597         (tgamma_test_data): Likewise.
15598
15599         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15600         (acos_test_tonearest): Likewise.
15601         (acos_test_towardzero): Likewise.
15602         (acos_test_downward): Likewise.
15603         (acos_test_upward): Likewise.
15604         (acosh_test): Likewise.
15605         (asin_test): Likewise.
15606         (asin_test_tonearest): Likewise.
15607         (asin_test_towardzero): Likewise.
15608         (asin_test_downward): Likewise.
15609         (asin_test_upward): Likewise.
15610         (asinh_test): Likewise.
15611         (atan_test): Likewise.
15612         (atanh_test): Likewise.
15613         (atan2_test): Likewise.
15614         (cabs_test): Likewise.
15615         (cacos_test): Likewise.
15616         (cacosh_test): Likewise.
15617         (casin_test): Likewise.
15618         (casinh_test): Likewise.
15619         (catan_test): Likewise.
15620         (catanh_test): Likewise.
15621         (cbrt_test): Likewise.
15622         (ccos_test): Likewise.
15623         (ccosh_test): Likewise.
15624         (cexp_test): Likewise.
15625         (clog_test): Likewise.
15626         (clog10_test): Likewise.
15627         (cos_test): Likewise.
15628         (cos_test_tonearest): Likewise.
15629         (cos_test_towardzero): Likewise.
15630         (cos_test_downward): Likewise.
15631         (cos_test_upward): Likewise.
15632         (cosh_test): Likewise.
15633         (cosh_test_tonearest): Likewise.
15634         (cosh_test_towardzero): Likewise.
15635         (cosh_test_downward): Likewise.
15636         (cosh_test_upward): Likewise.
15637         (cpow_test): Likewise.
15638         (csin_test): Likewise.
15639         (csinh_test): Likewise.
15640         (csqrt_test): Likewise.
15641         (ctan_test): Likewise.
15642         (ctan_test_tonearest): Likewise.
15643         (ctan_test_towardzero): Likewise.
15644         (ctan_test_downward): Likewise.
15645         (ctan_test_upward): Likewise.
15646         (ctanh_test): Likewise.
15647         (ctanh_test_tonearest): Likewise.
15648         (ctanh_test_towardzero): Likewise.
15649         (ctanh_test_downward): Likewise.
15650         (ctanh_test_upward): Likewise.
15651         (erf_test): Likewise.
15652         (erfc_test): Likewise.
15653         (exp_test): Likewise.
15654         (exp_test_tonearest): Likewise.
15655         (exp_test_towardzero): Likewise.
15656         (exp_test_downward): Likewise.
15657         (exp_test_upward): Likewise.
15658         (exp10_test): Likewise.
15659         (exp2_test): Likewise.
15660         (expm1_test): Likewise.
15661         (fmod_test): Likewise.
15662         (gamma_test): Likewise.
15663         (hypot_test): Likewise.
15664         (j0_test): Likewise.
15665         (j1_test): Likewise.
15666         (jn_test): Likewise.
15667         (lgamma_test): Likewise.
15668         (log_test): Likewise.
15669         (log10_test): Likewise.
15670         (log1p_test): Likewise.
15671         (log2_test): Likewise.
15672         (logb_test_downward): Likewise.
15673         (pow_test): Likewise.
15674         (pow_test_tonearest): Likewise.
15675         (pow_test_towardzero): Likewise.
15676         (pow_test_downward): Likewise.
15677         (pow_test_upward): Likewise.
15678         (remainder_test): Likewise.
15679         (remquo_test): Likewise.
15680         (sin_test): Likewise.
15681         (sin_test_tonearest): Likewise.
15682         (sin_test_towardzero): Likewise.
15683         (sin_test_downward): Likewise.
15684         (sin_test_upward): Likewise.
15685         (sincos_test): Likewise.
15686         (sinh_test): Likewise.
15687         (sinh_test_tonearest): Likewise.
15688         (sinh_test_towardzero): Likewise.
15689         (sinh_test_downward): Likewise.
15690         (sinh_test_upward): Likewise.
15691         (sqrt_test): Likewise.
15692         (tan_test): Likewise.
15693         (tan_test_tonearest): Likewise.
15694         (tan_test_towardzero): Likewise.
15695         (tan_test_downward): Likewise.
15696         (tan_test_upward): Likewise.
15697         (tanh_test): Likewise.
15698         (tgamma_test): Likewise.
15699         (y0_test): Likewise.
15700         (y1_test): Likewise.
15701         (yn_test): Likewise.
15702
15703         * math/gen-libm-test.pl (adjust_arg): Remove function.
15704         (special_function): Remove argument $in_func.  Only handle
15705         generating output for tables of tests, not inside functions.
15706         (parse_args): Likewise.
15707         (generate_testfile): Remove variable $in_func.  Update call to
15708         parse_args.
15709         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15710         (MINUS_ZERO_INIT): Rename macro to minus_zero.
15711         (PLUS_INFTY_INIT): Rename macro to plus_infty.
15712         (MINUS_INFTY_INIT): Rename macro to minus_infty.
15713         (QNAN_VALUE_INIT): Rename macro to qnan_value.
15714         (MAX_VALUE_INIT): Rename macro to max_value.
15715         (MIN_VALUE_INIT): Rename macro to min_value.
15716         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15717         (plus_zero): Remove variable.
15718         (minus_zero): Likewise.
15719         (plus_infty): Likewise.
15720         (minus_infty): Likewise.
15721         (qnan_value): Likewise.
15722         (max_value): Likewise.
15723         (min_value): Likewise.
15724         (min_subnorm_value): Likewise.
15725
15726 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15727
15728         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15729         uint64_t or uint32_t usage.
15730         * crypt/sha256-block.c: Likewise.
15731         * crypt/sha256-crypt.c: Likewise.
15732         * crypt/sha256.c: Likewise.
15733         * crypt/sha512-block.c: Likewise.
15734         * crypt/sha512-crypt.c: Likewise.
15735         * crypt/sha512.c: Likewise.
15736         * debug/backtrace-tst.c: Likewise.
15737         * debug/pcprofiledump.c: Likewise.
15738         * elf/cache.c: Likewise.
15739         * elf/dl-cache.c: Likewise.
15740         * elf/dl-misc.c: Likewise.
15741         * elf/dl-profile.c: Likewise.
15742         * elf/dl-support.c: Likewise.
15743         * elf/ldconfig.c: Likewise.
15744         * elf/sprof.c: Likewise.
15745         * iconv/dummy-repertoire.c: Likewise.
15746         * iconv/iconv_charmap.c: Likewise.
15747         * iconv/skeleton.c: Likewise.
15748         * iconvdata/8bit-generic.c: Likewise.
15749         * iconvdata/cp737.h: Likewise.
15750         * iconvdata/cp775.h: Likewise.
15751         * iconvdata/ibm1008.h: Likewise.
15752         * iconvdata/ibm1025.h: Likewise.
15753         * iconvdata/ibm1046.h: Likewise.
15754         * iconvdata/ibm1097.h: Likewise.
15755         * iconvdata/ibm1112.h: Likewise.
15756         * iconvdata/ibm1122.h: Likewise.
15757         * iconvdata/ibm1123.h: Likewise.
15758         * iconvdata/ibm1124.h: Likewise.
15759         * iconvdata/ibm1129.h: Likewise.
15760         * iconvdata/ibm1130.h: Likewise.
15761         * iconvdata/ibm1132.h: Likewise.
15762         * iconvdata/ibm1133.h: Likewise.
15763         * iconvdata/ibm1137.h: Likewise.
15764         * iconvdata/ibm1140.h: Likewise.
15765         * iconvdata/ibm1141.h: Likewise.
15766         * iconvdata/ibm1142.h: Likewise.
15767         * iconvdata/ibm1143.h: Likewise.
15768         * iconvdata/ibm1144.h: Likewise.
15769         * iconvdata/ibm1145.h: Likewise.
15770         * iconvdata/ibm1146.h: Likewise.
15771         * iconvdata/ibm1147.h: Likewise.
15772         * iconvdata/ibm1148.h: Likewise.
15773         * iconvdata/ibm1149.h: Likewise.
15774         * iconvdata/ibm1153.h: Likewise.
15775         * iconvdata/ibm1154.h: Likewise.
15776         * iconvdata/ibm1155.h: Likewise.
15777         * iconvdata/ibm1156.h: Likewise.
15778         * iconvdata/ibm1157.h: Likewise.
15779         * iconvdata/ibm1158.h: Likewise.
15780         * iconvdata/ibm1160.h: Likewise.
15781         * iconvdata/ibm1161.h: Likewise.
15782         * iconvdata/ibm1162.h: Likewise.
15783         * iconvdata/ibm1163.h: Likewise.
15784         * iconvdata/ibm1164.h: Likewise.
15785         * iconvdata/ibm1166.h: Likewise.
15786         * iconvdata/ibm1167.h: Likewise.
15787         * iconvdata/ibm12712.h: Likewise.
15788         * iconvdata/ibm1390.h: Likewise.
15789         * iconvdata/ibm1399.h: Likewise.
15790         * iconvdata/ibm16804.h: Likewise.
15791         * iconvdata/ibm4517.h: Likewise.
15792         * iconvdata/ibm4899.h: Likewise.
15793         * iconvdata/ibm4909.h: Likewise.
15794         * iconvdata/ibm4971.h: Likewise.
15795         * iconvdata/ibm5347.h: Likewise.
15796         * iconvdata/ibm803.h: Likewise.
15797         * iconvdata/ibm856.h: Likewise.
15798         * iconvdata/ibm901.h: Likewise.
15799         * iconvdata/ibm902.h: Likewise.
15800         * iconvdata/ibm9030.h: Likewise.
15801         * iconvdata/ibm9066.h: Likewise.
15802         * iconvdata/ibm921.h: Likewise.
15803         * iconvdata/ibm922.h: Likewise.
15804         * iconvdata/ibm9448.h: Likewise.
15805         * iconvdata/isiri-3342.h: Likewise.
15806         * iconvdata/jis0201.h: Likewise.
15807         * include/link.h: Likewise.
15808         * include/netdb.h: Likewise.
15809         * inet/check_native.c: Likewise.
15810         * inet/check_pf.c: Likewise.
15811         * inet/getipv4sourcefilter.c: Likewise.
15812         * inet/getnameinfo.c: Likewise.
15813         * inet/getsourcefilter.c: Likewise.
15814         * inet/htonl.c: Likewise.
15815         * inet/setipv4sourcefilter.c: Likewise.
15816         * inet/setsourcefilter.c: Likewise.
15817         * inet/test-inet6_opt.c: Likewise.
15818         * inet/tst-network.c: Likewise.
15819         * locale/C-collate.c: Likewise.
15820         * locale/C-ctype.c: Likewise.
15821         * locale/C-time.c: Likewise.
15822         * locale/C-translit.h: Likewise.
15823         * locale/loadarchive.c: Likewise.
15824         * locale/programs/3level.h: Likewise.
15825         * locale/programs/charmap.c: Likewise.
15826         * locale/programs/charmap.h: Likewise.
15827         * locale/programs/ld-address.c: Likewise.
15828         * locale/programs/ld-collate.c: Likewise.
15829         * locale/programs/ld-ctype.c: Likewise.
15830         * locale/programs/ld-identification.c: Likewise.
15831         * locale/programs/ld-measurement.c: Likewise.
15832         * locale/programs/ld-messages.c: Likewise.
15833         * locale/programs/ld-monetary.c: Likewise.
15834         * locale/programs/ld-name.c: Likewise.
15835         * locale/programs/ld-numeric.c: Likewise.
15836         * locale/programs/ld-paper.c: Likewise.
15837         * locale/programs/ld-telephone.c: Likewise.
15838         * locale/programs/ld-time.c: Likewise.
15839         * locale/programs/linereader.c: Likewise.
15840         * locale/programs/locale.c: Likewise.
15841         * locale/programs/locarchive.c: Likewise.
15842         * locale/programs/locfile.h: Likewise.
15843         * locale/programs/repertoire.c: Likewise.
15844         * locale/programs/simple-hash.c: Likewise.
15845         * locale/programs/simple-hash.h: Likewise.
15846         * malloc/memusage.c: Likewise.
15847         * malloc/memusagestat.c: Likewise.
15848         * nis/nis_defaults.c: Likewise.
15849         * nis/nis_hash.c: Likewise.
15850         * nis/nis_print.c: Likewise.
15851         * nis/nis_xdr.c: Likewise.
15852         * nscd/connections.c: Likewise.
15853         * nscd/hstcache.c: Likewise.
15854         * nscd/nscd_gethst_r.c: Likewise.
15855         * nscd/nscd_getserv_r.c: Likewise.
15856         * nscd/nscd_helper.c: Likewise.
15857         * nscd/servicescache.c: Likewise.
15858         * nss/makedb.c: Likewise.
15859         * nss/nss_db/db-XXX.c: Likewise.
15860         * nss/nss_db/db-initgroups.c: Likewise.
15861         * nss/nss_db/db-netgrp.c: Likewise.
15862         * nss/nss_files/files-network.c: Likewise.
15863         * nss/nss_files/files-parse.c: Likewise.
15864         * posix/bug-regex5.c: Likewise.
15865         * posix/fnmatch_loop.c: Likewise.
15866         * posix/regcomp.c: Likewise.
15867         * posix/regexec.c: Likewise.
15868         * posix/tst-rfc3484-2.c: Likewise.
15869         * posix/tst-rfc3484-3.c: Likewise.
15870         * posix/tst-rfc3484.c: Likewise.
15871         * resolv/nss_dns/dns-canon.c: Likewise.
15872         * resolv/nss_dns/dns-network.c: Likewise.
15873         * resolv/res_init.c: Likewise.
15874         * resolv/res_mkquery.c: Likewise.
15875         * resolv/tst-aton.c: Likewise.
15876         * stdlib/cxa_atexit.c: Likewise.
15877         * stdlib/cxa_finalize.c: Likewise.
15878         * stdlib/gen-fpioconst.c: Likewise.
15879         * stdlib/strtol_l.c: Likewise.
15880         * string/tst-endian.c: Likewise.
15881         * sunrpc/auth_des.c: Likewise.
15882         * sunrpc/clnt_udp.c: Likewise.
15883         * sunrpc/rtime.c: Likewise.
15884         * sunrpc/svcauth_des.c: Likewise.
15885         * sunrpc/xdr.c: Likewise.
15886         * sunrpc/xdr_intXX_t.c: Likewise.
15887         * sunrpc/xdr_rec.c: Likewise.
15888         * sysdeps/generic/ldconfig.h: Likewise.
15889         * sysdeps/generic/ldsodefs.h: Likewise.
15890         * sysdeps/generic/memusage.h: Likewise.
15891         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15892         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15893         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15894         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15895         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15896         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15897         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15898         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15899         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15900         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15901         * sysdeps/posix/getaddrinfo.c: Likewise.
15902         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15903         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15904         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15905         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15906         * sysdeps/powerpc/test-gettimebase.c: Likewise.
15907         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15908         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15909         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15910         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15911         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15912         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15913         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15914         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15915         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15916         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15917         * sysdeps/x86_64/dl-tls.h: Likewise.
15918         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15919         * time/alt_digit.c: Likewise.
15920         * time/era.c: Likewise.
15921         * wcsmbs/tst-c16c32-1.c: Likewise.
15922
15923 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15924
15925         * math/libm-test.inc (struct test_sincos_data): New type.
15926         (RUN_TEST_LOOP_sincos): New macro.
15927         (sincos_test_data): New variable.
15928         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15929
15930 2013-05-16  Richard Henderson  <rth@redhat.com>
15931
15932         * math/atest-exp2.c (LIMB64): New macro.
15933         (CONSTSZ): New macro.
15934         (mp_exp1, mp_exp_m1, mp_log2): New variables.
15935         (hexdig): Move ...
15936         (print_mpn_fp): ... to function scope.
15937         (read_mpn_hex): Remove.
15938         (get_log2): Remove.
15939         (exp2_mpn): Use mp_log2.
15940         (main): Use mp_exp1.
15941
15942 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15943
15944         * math/libm-test.inc: Remove comment about not testing "inexact"
15945         exceptions.
15946         (INEXACT_EXCEPTION): New macro.
15947         (NO_INEXACT_EXCEPTION): Likewise.
15948         (INVALID_EXCEPTION_OK): Update value.
15949         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15950         (OVERFLOW_EXCEPTION_OK): Likewise.
15951         (UNDERFLOW_EXCEPTION_OK): Likewise.
15952         (IGNORE_ZERO_INF_SIGN): Likewise.
15953         (ERRNO_UNCHANGED): Likewise.
15954         (ERRNO_EDOM): Likewise.
15955         (ERRNO_ERANGE): Likewise.
15956         (test_exceptions): Handle testing "inexact" exceptions.
15957         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15958         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15959         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15960         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15961         INEXACT_EXCEPTION.
15962         (rint_towardzero_test_data): Likewise.
15963         (rint_downward_test_data): Likewise.
15964         (rint_upward_test_data): Likewise.
15965
15966         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15967         with OVERFLOW_EXCEPTION.
15968         (exp10_test_data): Likewise.
15969         (exp2_test_data): Likewise.
15970         (expm1_test_data): Likewise.
15971         (lgamma_test_data): Likewise.
15972         (pow_test_data): Likewise.
15973         (tgamma_test_data): Likewise.
15974         (yn_test_data): Remove duplicate test of overflow.
15975
15976         * math/libm-test.inc (struct test_cc_c_data): New type.
15977         (RUN_TEST_LOOP_cc_c): New macro.
15978         (cpow_test_data): New variable.
15979         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15980
15981         * math/libm-test.inc (struct test_f_L_data): New type.
15982         (RUN_TEST_LOOP_f_L): New macro.
15983         (llrint_test_data): New variable.
15984         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15985         (llrint_tonearest_test_data): New variable.
15986         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15987         (llrint_towardzero_test_data): New variable.
15988         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15989         (llrint_downward_test_data): New variable.
15990         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15991         (llrint_upward_test_data): New variable.
15992         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15993         (llround_test_data): New variable.
15994         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15995
15996 2013-05-13  Peter Collingbourne  <pcc@google.com>
15997
15998         * math/atest-exp2.c (get_log2): Remove const attribute.
15999
16000 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
16001
16002         * math/libm-test.inc (struct test_f_l_data): New type.
16003         (RUN_TEST_LOOP_f_l): New macro.
16004         (lrint_test_data): New variable.
16005         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16006         (lrint_tonearest_test_data): New variable.
16007         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16008         (lrint_towardzero_test_data): New variable.
16009         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16010         (lrint_downward_test_data): New variable.
16011         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16012         (lrint_upward_test_data): New variable.
16013         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16014         (lround_test_data): New variable.
16015         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16016
16017 2013-05-15  Peter Collingbourne  <pcc@google.com>
16018
16019         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16020         (EXTRACT_WORDS64) Use where appropriate.
16021         (INSERT_WORDS64) Likewise.
16022
16023         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16024         constraints with x constraints.
16025         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16026
16027         * malloc/obstack.c (_obstack_compat): Add initializer.
16028
16029 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
16030
16031         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16032         si_trapno and add si_addr_lsb to _sifields.sigfault.
16033         (si_trapno): Remove macro.
16034         (si_addr_lsb): Define new macro.
16035         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16036
16037 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
16038
16039         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16040         instead of TEST_f_l.
16041         (llrint_test_tonearest): Likewise.
16042         (llrint_test_towardzero): Likewise.
16043         (llrint_test_downward): Likewise.
16044         (llrint_test_upward): Likewise.
16045         (llround_test): Likewise.
16046
16047         * math/libm-test.inc (struct test_f_i_data): Add comment.
16048         (RUN_TEST_LOOP_f_b): New macro.
16049         (RUN_TEST_LOOP_f_b_tg): Likewise.
16050         (finite_test_data): New variable.
16051         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16052         (isfinite_test_data): New variable.
16053         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16054         (isinf_test_data): New variable.
16055         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16056         (isnan_test_data): New variable.
16057         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16058         (isnormal_test_data): New variable.
16059         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16060         (issignaling_test_data): New variable.
16061         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16062         (signbit_test_data): New variable.
16063         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16064
16065         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16066         with INVALID_EXCEPTION.
16067         (acosh_test_data): Likewise.
16068         (asin_test_data): Likewise.
16069         (atanh_test_data): Likewise.
16070         (fmod_test_data): Likewise.
16071         (log_test_data): Likewise.
16072         (log10_test_data): Likewise.
16073         (log2_test_data): Likewise.
16074         (pow_test_data): Likewise.
16075         (sqrt_test_data): Likewise.
16076         (y0_test_data): Likewise.
16077         (y1_test_data): Likewise.
16078         (yn_test_data): Likewise.
16079
16080         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16081         function contents.
16082
16083         * math/libm-test.inc (struct test_ff_i_data): New type.
16084         (RUN_TEST_LOOP_ff_i_tg): New macro.
16085         (isgreater_test_data): New variable.
16086         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16087         (isgreaterequal_test_data): New variable.
16088         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16089         (isless_test_data): New variable.
16090         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16091         (islessequal_test_data): New variable.
16092         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16093         (islessgreater_test_data): New variable.
16094         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16095         (isunordered_test_data): New variable.
16096         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16097
16098 2013-05-14  David S. Miller  <davem@davemloft.net>
16099
16100         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16101
16102 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
16103
16104         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16105
16106         * math/libm-test.inc (struct test_fF_f1_data): Change type of
16107         extra_test to int.
16108         (struct test_f_i_data): Change type of max_ulp to int.
16109
16110         * math/libm-test.inc (test_ffI_f1_data): New type.
16111         (RUN_TEST_LOOP_ffI_f1): New macro.
16112         (remquo_test_data): New variable.
16113         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16114
16115         * setjmp/tst-setjmp-fp.c: New file.
16116         * setjmp/Makefile (tests): Add tst-setjmp-fp.
16117         (link-libm): New variable.
16118         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16119
16120         * math/libm-test.inc (struct test_f_i_data): New type.
16121         (RUN_TEST_LOOP_f_i): New macro.
16122         (RUN_TEST_LOOP_f_i_tg): Likewise.
16123         (fpclassify_test_data): New variable.
16124         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16125         (ilogb_test_data): New variable.
16126         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16127
16128         * math/libm-test.inc (scalbln_test): Correct function name in END
16129         call.
16130
16131         * math/libm-test.inc (struct test_f_f1_data): Add comment.
16132         (RUN_TEST_LOOP_fI_f1): New macro.
16133         (frexp_test_data): New variable.
16134         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16135
16136         * math/libm-test.inc (struct test_fF_f1_data): New type.
16137         (RUN_TEST_LOOP_fF_f1): New macro.
16138         (modf_test_data): New variable.
16139         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16140
16141         * math/libm-test.inc (struct test_f_f1_data): New type.
16142         (RUN_TEST_LOOP_f_f1): New macro.
16143         (gamma_test_data): New variable.
16144         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16145         (lgamma_test_data): New variable.
16146         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16147
16148 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
16149
16150         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16151         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16152         (main): Comment "tls" pseudo-hwcap.
16153
16154 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
16155
16156         * math/libm-test.inc (struct test_fl_f_data): New type.
16157         (RUN_TEST_LOOP_fl_f): New variable.
16158         (scalbln_test_data): New variable.
16159         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16160
16161         * math/libm-test.inc (struct test_fi_f_data): New type.
16162         (RUN_TEST_LOOP_fi_f): New macro.
16163         (ldexp_test_data): New variable.
16164         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16165         (scalbn_test_data): New variable.
16166         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16167
16168         * math/libm-test.inc (struct test_c_f_data): New type.
16169         (RUN_TEST_LOOP_c_f): New macro.
16170         (cabs_test_data): New variable.
16171         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16172         (carg_test_data): New variable.
16173         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16174         (cimag_test_data): New variable.
16175         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16176         (creal_test_data): New variable.
16177         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16178
16179         * math/libm-test.inc (struct test_if_f_data): New type.
16180         (RUN_TEST_LOOP_if_f): New macro.
16181         (jn_test_data): New variable.
16182         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16183         (yn_test_data): New variable.
16184         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16185
16186         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16187
16188 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16189
16190         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16191         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16192
16193 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16194
16195         * benchtests/Makefile (CPPFLAGS-nonlib): Add
16196         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16197         (bench-deps): Add bench-timing.h.
16198         * benchtests-bench-skeleton.c: Include bench-timing.h.
16199         (main): Use TIMING_* macros instead of clock_gettime.
16200         * benchtests/bench-timing.h: New file.
16201
16202         [BZ #14582]
16203         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16204         Renamed from _LIB_VERSION.
16205         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16206
16207 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
16208
16209         * math/libm-test.inc (struct test_fff_f_data): New type.
16210         (RUN_TEST_LOOP_fff_f): New macro.
16211         (fma_test_data): New variable.
16212         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16213         (fma_towardzero_test_data): New variable.
16214         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16215         (fma_downward_test_data): New variable.
16216         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16217         (fma_upward_test_data): New variable.
16218         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16219
16220         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16221         (struct test_c_c_data): New type.
16222         (RUN_TEST_LOOP_c_c): New macro.
16223         (cacos_test_data): New variable.
16224         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16225         (cacosh_test_data): New variable.
16226         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16227         (casin_test_data): New variable.
16228         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16229         (casinh_test_data): New variable.
16230         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16231         (catan_test_data): New variable.
16232         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16233         (catanh_test_data): New variable.
16234         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16235         (ccos_test_data): New variable.
16236         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16237         (ccosh_test_data): New variable.
16238         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16239         (cexp_test_data): New variable.
16240         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16241         (clog_test_data): New variable.
16242         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16243         (clog10_test_data): New variable.
16244         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16245         (conj_test_data): New variable.
16246         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16247         (cproj_test_data): New variable.
16248         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16249         (csin_test_data): New variable.
16250         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16251         (csinh_test_data): New variable.
16252         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16253         (csqrt_test_data): New variable.
16254         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16255         (ctan_test_data): New variable.
16256         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16257         (ctan_tonearest_test_data): New variable.
16258         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16259         (ctan_towardzero_test_data): New variable.
16260         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16261         (ctan_downward_test_data): New variable.
16262         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16263         (ctan_upward_test_data): New variable.
16264         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16265         (ctanh_test_data): New variable.
16266         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16267         (ctanh_tonearest_test_data): New variable.
16268         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16269         (ctanh_towardzero_test_data): New variable.
16270         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16271         (ctanh_downward_test_data): New variable.
16272         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16273         (ctanh_upward_test_data): New variable.
16274         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16275         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16276         of BUILD_COMPLEX.
16277
16278         * math/libm-test.inc (struct test_ff_f_data): New type.
16279         (struct test_ff_f_data_nexttoward): Likewise.
16280         (RUN_TEST_LOOP_2_f): New macro.
16281         (RUN_TEST_LOOP_ff_f): Likewise.
16282         (atan2_test_data): New variable.
16283         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16284         (copysign_test_data): New variable.
16285         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16286         (fdim_test_data): New variable.
16287         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16288         (fmax_test_data): New variable.
16289         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16290         (fmin_test_data): New variable.
16291         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16292         (fmod_test_data): New variable.
16293         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16294         (hypot_test_data): New variable.
16295         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16296         (nextafter_test_data): New variable.
16297         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16298         (nexttoward_test_data): New variable.
16299         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16300         (pow_test_data): New variable.
16301         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16302         (pow_tonearest_test_data): New variable.
16303         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16304         (pow_towardzero_test_data): New variable.
16305         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16306         (pow_downward_test_data): New variable.
16307         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16308         (pow_upward_test_data): New variable.
16309         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16310         (remainder_test_data): New variable.
16311         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16312         (scalb_test_data): New variable.
16313         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16314         * sysdeps/i386/fpu/libm-test-ulps: Update.
16315
16316 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
16317
16318         * math/libm-test.inc (fma_test): Use max_value instead of local
16319         variable fltmax.
16320         (nextafter_test): Likewise.
16321
16322         * math/libm-test.inc (acos_towardzero_test_data): New variable.
16323         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16324         (acos_downward_test_data): New variable.
16325         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16326         (acos_upward_test_data): New variable.
16327         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16328         (acosh_test_data): New variable.
16329         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16330         (asin_test_data): New variable.
16331         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16332         (asin_tonearest_test_data): New variable.
16333         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16334         (asin_towardzero_test_data): New variable.
16335         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16336         (asin_downward_test_data): New variable.
16337         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16338         (asin_upward_test_data): New variable.
16339         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16340         (asinh_test_data): New variable.
16341         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16342         (atan_test_data): New variable.
16343         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16344         (atanh_test_data): New variable.
16345         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16346         (cbrt_test_data): New variable.
16347         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16348         (ceil_test_data): New variable.
16349         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16350         (cos_test_data): New variable.
16351         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16352         (cos_tonearest_test_data): New variable.
16353         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16354         (cos_towardzero_test_data): New variable.
16355         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16356         (cos_downward_test_data): New variable.
16357         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16358         (cos_upward_test_data): New variable.
16359         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16360         (cosh_test_data): New variable.
16361         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16362         (cosh_tonearest_test_data): New variable.
16363         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16364         (cosh_towardzero_test_data): New variable.
16365         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16366         (cosh_downward_test_data): New variable.
16367         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16368         (cosh_upward_test_data): New variable.
16369         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16370         (erf_test_data): New variable.
16371         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16372         (erfc_test_data): New variable.
16373         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16374         (exp_test_data): New variable.
16375         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16376         (exp_tonearest_test_data): New variable.
16377         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16378         (exp_towardzero_test_data): New variable.
16379         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16380         (exp_downward_test_data): New variable.
16381         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16382         (exp_upward_test_data): New variable.
16383         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16384         (exp10_test_data): New variable.
16385         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16386         (exp2_test_data): New variable.
16387         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16388         (expm1_test_data): New variable.
16389         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16390         (fabs_test_data): New variable.
16391         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16392         (floor_test_data): New variable.
16393         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16394         (j0_test_data): New variable.
16395         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16396         (j1_test_data): New variable.
16397         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16398         (log_test_data): New variable.
16399         (log_test): Run tests with RUN_TEST_LOOP_f_f.
16400         (log10_test_data): New variable.
16401         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16402         (log1p_test_data): New variable.
16403         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16404         (log2_test_data): New variable.
16405         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16406         (logb_test_data): New variable.
16407         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16408         (logb_downward_test_data): New variable.
16409         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16410         (nearbyint_test_data): New variable.
16411         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16412         (rint_test_data): New variable.
16413         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16414         (rint_tonearest_test_data): New variable.
16415         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16416         (rint_towardzero_test_data): New variable.
16417         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16418         (rint_downward_test_data): New variable.
16419         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16420         (rint_upward_test_data): New variable.
16421         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16422         (round_test_data): New variable.
16423         (round_test): Run tests with RUN_TEST_LOOP_f_f.
16424         (sin_test_data): New variable.
16425         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16426         (sin_tonearest_test_data): New variable.
16427         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16428         (sin_towardzero_test_data): New variable.
16429         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16430         (sin_downward_test_data): New variable.
16431         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16432         (sin_upward_test_data): New variable.
16433         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16434         (sinh_test_data): New variable.
16435         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16436         (sinh_tonearest_test_data): New variable.
16437         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16438         (sinh_towardzero_test_data): New variable.
16439         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16440         (sinh_downward_test_data): New variable.
16441         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16442         (sinh_upward_test_data): New variable.
16443         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16444         (sqrt_test_data): New variable.
16445         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16446         (tan_test_data): New variable.
16447         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16448         (tan_tonearest_test_data): New variable.
16449         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16450         (tan_towardzero_test_data): New variable.
16451         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16452         (tan_downward_test_data): New variable.
16453         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16454         (tan_upward_test_data): New variable.
16455         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16456         (tanh_test_data): New variable.
16457         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16458         (tgamma_test_data): New variable.
16459         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16460         (trunc_test_data): New variable.
16461         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16462         (y0_test_data): New variable.
16463         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16464         (y1_test_data): New variable.
16465         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16466         (significand_test_data): New variable.
16467         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16468
16469 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
16470
16471         [BZ #12387]
16472         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16473
16474 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
16475
16476         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16477
16478 2013-05-10  Andreas Jaeger  <aj@suse.de>
16479
16480         [BZ #15448]
16481         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16482         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16483
16484 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
16485
16486         * math/gen-libm-test.pl (adjust_arg): New function.
16487         (special_functions): Handle generating output in both functions
16488         and arrays.
16489         (parse_args): Likewise.
16490         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
16491         $in_func argument to parse_args.
16492         * math/libm-test.inc (struct test_f_f_data): New type.
16493         (IF_ROUND_INIT_): New macro.
16494         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16495         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16496         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16497         (IF_ROUND_INIT_FE_UPWARD): Likewise.
16498         (ROUND_RESTORE_): Likewise.
16499         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16500         (ROUND_RESTORE_FE_TONEAREST): Likewise.
16501         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16502         (ROUND_RESTORE_FE_UPWARD): Likewise.
16503         (RUN_TEST_LOOP_f_f): New macro.
16504         (acos_test_data): New variable.
16505         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16506         (acos_tonearest_test_data): New variable.
16507         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16508
16509 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16510
16511         * benchtests/bench-skeleton.c (startup): Fix coding style.
16512
16513 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
16514
16515         [BZ #6809]
16516         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16517         negative infinity argument.
16518         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16519         negative infinity argument.
16520         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16521         negative infinity argument.
16522         * math/libm-test.inc (tgamma_test): Expect errno to be set for
16523         domain errors.
16524
16525 2013-05-10  Florian Weimer  <fweimer@redhat.com>
16526
16527         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16528         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16529         * iconv/iconv_prog.c (main): Likewise.
16530         * locale/programs/charmap-dir.c (charmap_readdir)
16531         (fopen_uncompressed): Likewise.
16532         * locale/programs/locfile.c (siblings_uncached)
16533         (write_locale_data): Use lstat64 instead of lstat.
16534         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16535         stat.
16536
16537 2013-05-10  Andreas Jaeger  <aj@suse.de>
16538
16539         [BZ #15395]
16540         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16541         localization.
16542         Include <locale.h>.
16543
16544 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
16545
16546         * elf/dl-close.c (_dl_close_worker): Add comments.
16547
16548 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
16549
16550         [BZ #15359]
16551         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16552         high part of pi/2.
16553         (__ieee754_rem_pio2l): Update comments.
16554
16555         [BZ #15429]
16556         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16557         high part of pi/2.
16558         (__ieee754_rem_pio2l): Update comments.
16559
16560         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16561         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16562
16563         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16564         M_PI_4l.
16565
16566         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16567         (M_PI_34_LOG10El): Likewise.
16568         (M_PI2_LOG10El): Likewise.
16569         (M_PI4_LOG10El): Likewise.
16570         (M_PI_LOG10El): Likewise.
16571
16572 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16573
16574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16575
16576 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
16577
16578         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16579         (MINUS_ZERO_INIT): Likewise.
16580         (PLUS_INFTY_INIT): Likewise.
16581         (MINUS_INFTY_INIT): Likewise.
16582         (QNAN_VALUE_INIT): Likewise.
16583         (MAX_VALUE_INIT): Likewise.
16584         (MIN_VALUE_INIT): Likewise.
16585         (MIN_SUBNORM_VALUE_INIT): Likewise.
16586         (plus_zero): Initialize with PLUS_ZERO_INIT.
16587         (minus_zero): Initialize with MINUS_ZERO_INIT.
16588         (plus_infty): Initialize with PLUS_INFTY_INIT.
16589         (minus_infty): Initialize with MINUS_INFTY_INIT.
16590         (qnan_value): Initialize with QNAN_VALUE_INIT.
16591         (max_value): Initialize with MAX_VALUE_INIT.
16592         (min_value): Initialize with MIN_VALUE_INIT.
16593         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16594
16595         * math/libm-test.inc (RUN_TEST_if_f): New macro.
16596         (jn_test): Use TEST_if_f instead of TEST_ff_f.
16597         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16598         (yn_test): Use TEST_if_f instead of TEST_ff_f.
16599
16600         * math/libm-test.inc (RUN_TEST_f_f): New macro.
16601         (RUN_TEST_2_f): Likewise.
16602         (RUN_TEST_ff_f): Likewise.
16603         (RUN_TEST_fi_f): Likewise.
16604         (RUN_TEST_fl_f): Likewise.
16605         (RUN_TEST_fff_f): Likewise.
16606         (RUN_TEST_c_f): Likewise.
16607         (RUN_TEST_f_f1): Likewise.
16608         (RUN_TEST_fF_f1): Likewise.
16609         (RUN_TEST_fI_f1): Likewise.
16610         (RUN_TEST_ffI_f1): Likewise.
16611         (RUN_TEST_c_c): Likewise.
16612         (RUN_TEST_cc_c): Likewise.
16613         (RUN_TEST_f_i): Likewise.
16614         (RUN_TEST_f_i_tg): Likewise.
16615         (RUN_TEST_ff_i_tg): Likewise.
16616         (RUN_TEST_f_b): Likewise.
16617         (RUN_TEST_f_b_tg): Likewise.
16618         (RUN_TEST_f_l): Likewise.
16619         (RUN_TEST_f_L): Likewise.
16620         (RUN_TEST_sincos): Likewise.
16621         * math/gen-libm-test.pl (new_test): Take new argument to indicate
16622         whether to show exceptions.  Do not include ");\n" in return
16623         value.
16624         (special_functions): Output call to RUN_TEST_sincos instead of
16625         check_float calls.  Update calls to new_test.
16626         (parse_args): Output call to single RUN_TEST_* macro instead of
16627         check_* calls and other assignments.  Update calls to new_test.
16628
16629         [BZ #2546]
16630         [BZ #2560]
16631         [BZ #5159]
16632         [BZ #15426]
16633         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16634         input to result for tgamma overflow.
16635         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16636         (gamma_coeff): New variable.
16637         (NCOEFF): New macro.
16638         (gamma_positive): New function.
16639         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16640         underflow here.  Use gamma_positive instead of exp (lgamma) for
16641         other arguments.
16642         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16643         (gamma_coeff): New variable.
16644         (NCOEFF): New macro.
16645         (gammaf_positive): New function.
16646         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16647         underflow here.  Use gamma_positive instead of exp (lgamma) for
16648         other arguments.
16649         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16650         (gamma_coeff): New variable.
16651         (NCOEFF): New macro.
16652         (gammal_positive): New function.
16653         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16654         underflow here.  Use gamma_positive instead of exp (lgamma) for
16655         other arguments.
16656         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16657         (gamma_coeff): New variable.
16658         (NCOEFF): New macro.
16659         (gammal_positive): New function.
16660         (__ieee754_gammal_r): Handle positive infinity, overflow and
16661         underflow here.  Handle NaN the same as positive infinity.  Remove
16662         check x < 0xffffffff for negative integers.  Use gamma_positive
16663         instead of exp (lgamma) for other arguments.
16664         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16665         (gamma_coeff): New variable.
16666         (NCOEFF): New macro.
16667         (gammal_positive): New function.
16668         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16669         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16670         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16671         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16672         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16673         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16674         * sysdeps/generic/math_private.h (__gamma_productf): New
16675         prototype.
16676         (__gamma_product): Likewise.
16677         (__gamma_productl): Likewise.
16678         * math/Makefile (libm-calls): Add gamma_product.
16679         * math/libm-test.inc (tgamma_test): Add more tests.
16680         * sysdeps/i386/fpu/libm-test-ulps: Update.
16681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16682
16683 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
16684
16685         * benchtests/bench-skeleton.c (main): Preheat CPU.
16686
16687 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
16688
16689         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16690
16691 2013-05-07  Roland McGrath  <roland@hack.frob.com>
16692
16693         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16694         and _dl_skip_args_internal.
16695
16696 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
16697
16698         * manual/message.texi (Message Translation): Talk about users.
16699         Message to key mapping impacts design.
16700
16701 2013-05-06  Roland McGrath  <roland@hack.frob.com>
16702
16703         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16704
16705         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16706
16707         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16708         * sysdeps/wordsize-64/glob64.c: ... here.
16709
16710         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16711         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16712         New macros.
16713
16714         * debug/getlogin_r_chk.c: Moved to ...
16715         * login/getlogin_r_chk.c: ... here.
16716         * debug/Makefile (routines): Move getlogin_r_chk to ...
16717         * login/Makefile (routines): ... here.
16718         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16719         * login/Versions (libc: GLIBC_2.4): ... here.
16720
16721         * io/poll.c (__poll): Renamed from poll.
16722         Add libc_hidden_def.
16723         (poll): Define as weak alias.
16724
16725         * debug/ptsname_r_chk.c: Moved to ...
16726         * login/ptsname_r_chk.c: ... here.
16727         * debug/Makefile (routines): Move ptsname_r_chk to ...
16728         * login/Makefile (routines): ... here.
16729         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16730         * login/Versions (libc: GLIBC_2.4): ... here.
16731
16732         * posix/getlogin.c: Moved to ...
16733         * login/getlogin.c: ... here.
16734         * posix/getlogin_r.c: Moved to ...
16735         * login/getlogin_r.c: ... here.
16736         * posix/getlogin_r.c: Moved to ...
16737         * login/getlogin_r.c: ... here.
16738         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16739         * login/Makefile (routines): ... here.
16740         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16741         * login/Versions (libc: GLIBC_2.0): ... here.
16742
16743         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16744         (setrlimit): Define as weak alias.
16745
16746         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16747         Call __ names for open, ftruncate, and close.
16748         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16749         (truncate): Define as weak alias.
16750
16751 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
16752
16753         * math/gen-libm-test.pl (parse_args): Initialize x before each
16754         test of frexp, modf and remquo.
16755
16756         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16757         test signgam value.
16758
16759 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16760
16761         [BZ #15418]
16762         [BZ #15419]
16763         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16764         internal tests.
16765         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16766
16767 2013-05-06  Roland McGrath  <roland@hack.frob.com>
16768
16769         * elf/dl-writev.h: New file.
16770         * elf/dl-misc.c: Include it.
16771         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16772         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16773
16774 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
16775
16776         * math/libm-test.inc (noXFails): Remove variable.
16777         (noXPasses): Likewise.
16778         (BUILD_COMPLEX_INT): Remove macro.
16779         (print_screen): Remove xfail argument.
16780         (print_screen_max_error): Likewise.
16781         (update_stats): Likewise.
16782         (print_max_error): Likewise.  Update calls to other affected
16783         functions.
16784         (print_complex_max_error): Likewise.
16785         (test_single_exception): Update calls to print_screen.
16786         (test_single_errno): Likewise.
16787         (check_float_internal): Remove xfail argument.  Update calls to
16788         other affected functions.
16789         (check_float): Likewise.
16790         (check_complex): Likewise.
16791         (check_int): Likewise.
16792         (check_long): Likewise.
16793         (check_bool): Likewise.
16794         (check_longlong): Likewise.
16795         (main): Don't print noXFails and noXPasses.
16796         * math/gen-libm-test.pl (top level): Don't mention expected
16797         failure handling in comment.
16798         (new_test): Don't handle expected failures.
16799         (parse_args): Don't mention expected failure handling in comment.
16800         (generate_testfile): Don't handle expected failures.
16801         (parse_ulps): Likewise.
16802         (print_ulps_file): Likewise.
16803         (get_failure): Remove function.
16804         (output_test): Don't handle expected failures.
16805         * make/README.libm-test: Don't mention expected failure handling.
16806
16807         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
16808         (minus_zero): Likewise.
16809         (plus_infty): Likewise.
16810         (minus_infty): Likewise.
16811         (qnan_value): Likewise.
16812         (max_value): Likewise.
16813         (min_value): Likewise.
16814         (min_subnorm_value): Likewise.
16815         (initialize): Do not initialize those variables dynamically.
16816
16817 2013-05-03  Roland McGrath  <roland@hack.frob.com>
16818
16819         * io/open.c (__open_2): Moved to ...
16820         * io/open_2.c: ... this new file.
16821         * io/open64.c (__open64_2): Moved to ...
16822         * io/open64_2.c: ... this new file.
16823         * io/openat.c (__openat_2): Moved to ...
16824         * io/openat_2.c: ... this new file.
16825         * io/openat64.c (__openat64_2): Moved to ...
16826         * io/openat64_2.c: ... this new file.
16827         * io/Makefile (routines): Add them.
16828         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16829         * sysdeps/unix/sysv/linux/open_2.c: File removed.
16830         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16831         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16832         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16833         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16834         (__openat64): Add hidden_ver.
16835         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16836         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16837
16838         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16839         Separately conditionalize setting of GLRO(dl_sysinfo) so
16840         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16841         as well, but the actual setting is only under [NEED_DL_SYSINFO].
16842
16843 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16844
16845         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16846         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16847         definition.
16848         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16849         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16850         (_libc_vdso_platform_setup): Add __vdso_time initialization.
16851         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16852         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16853
16854 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
16855
16856         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16857         test signgam value.
16858
16859         * math/libm-test.inc (hypot_test): Do not use
16860         IGNORE_ZERO_INF_SIGN.
16861
16862 2013-05-03  Andreas Jaeger  <aj@suse.de>
16863
16864         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16865         Linux 3.9.
16866         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16867         (PF_MAX): Adjust for VSOCK change.
16868
16869 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16870
16871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16872
16873 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
16874
16875         [BZ #15264]
16876         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16877         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16878         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16879
16880 2013-05-02  David S. Miller  <davem@davemloft.net>
16881
16882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16883
16884 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
16885
16886         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16887
16888 2013-05-01  Roland McGrath  <roland@hack.frob.com>
16889
16890         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16891
16892 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
16893
16894         [BZ #14952]
16895         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16896         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16897         Use __attribute__ ((__gnu_inline__)).
16898         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16899         Don't use __attribute__ ((__gnu_inline__)).
16900
16901 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
16902
16903         [BZ #15423]
16904         * math/s_catan.c (__catan): Handle small real or imaginary part of
16905         input specially to avoid spurious underflow.
16906         * math/s_catanf.c (__catanf): Likewise.
16907         * math/s_catanh.c (__catanh): Likewise.
16908         * math/s_catanhf.c (__catanhf): Likewise.
16909         * math/s_catanhl.c (__catanhl): Likewise.
16910         * math/s_catanl.c (__catanl): Likewise.
16911         * math/libm-test.inc (catan_test): Add more tests.
16912         (catanh_test): Likewise.
16913         * sysdeps/i386/fpu/libm-test-ulps: Update.
16914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16915
16916 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16917
16918         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16919
16920 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
16921
16922         [BZ #15416]
16923         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16924         accurately for denominator in atan2.
16925         * math/s_catanf.c (__catanf): Likewise.
16926         * math/s_catanh.c (__catanh): Likewise.
16927         * math/s_catanhf.c (__catanhf): Likewise.
16928         * math/s_catanhl.c (__catanhl): Likewise.
16929         * math/s_catanl.c (__catanl): Likewise.
16930         * math/libm-test.inc (catan_test): Add more tests.
16931         (catanh_test): Likewise.
16932         * sysdeps/i386/fpu/libm-test-ulps: Update.
16933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16934
16935 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16936
16937         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16938
16939         * benchtests/Makefile (bench): Remove slow benchmarks.
16940         * benchtests/atan-inputs: Add slow benchmark inputs.
16941         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16942         (BENCH_FUNC): Accept variant offset.
16943         (VARIANT): Define.
16944         * benchtests/bench-skeleton.c (main): Run benchmark for each
16945         variant.
16946         * benchtests/cos-inputs: Add slow benchmark inputs.
16947         * benchtests/exp-inputs: Likewise.
16948         * benchtests/pow-inputs: Likewise.
16949         * benchtests/sin-inputs: Likewise.
16950         * benchtests/slowatan-inputs: Remove.
16951         * benchtests/slowatan.c: Remove.
16952         * benchtests/slowcos-inputs: Remove.
16953         * benchtests/slowcos.c: Remove.
16954         * benchtests/slowexp-inputs: Remove.
16955         * benchtests/slowexp.c: Remove.
16956         * benchtests/slowpow-inputs: Remove.
16957         * benchtests/slowpow.c: Remove.
16958         * benchtests/slowsin-inputs: Remove.
16959         * benchtests/slowsin.c: Remove.
16960         * benchtests/slowtan-inputs: Remove.
16961         * benchtests/slowtan.c: Remove.
16962         * benchtests/tan-inputs: Add slow benchmark inputs.
16963         * scripts/bench.pl: Parse comments and directives.
16964
16965         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
16966         in CPPFLAGS.
16967         ($(objpfx)bench-%.c): Remove *-ITER.
16968         * benchtests/bench-modf.c: Remove definition of ITER.
16969         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16970         (main): Loop for DURATION seconds instead of fixed number of
16971         iterations.
16972         * scripts/bench.pl: Don't expect iterations in parameters.
16973
16974 2013-04-29  Roland McGrath  <roland@hack.frob.com>
16975
16976         * io/fchdir.c (__fchdir): Renamed from fchdir.
16977         (fchdir): Define as weak alias.
16978
16979 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
16980
16981         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16982         (ERRNO_EDOM): Likewise.
16983         (ERRNO_ERANGE): Likewise.
16984         (noErrnoTests): New variable.
16985         (init_max_error): Set errno to 0.
16986         (test_single_errno): New function.
16987         (test_errno): Likewise.
16988         (check_float_internal): Call test_errno.  Set errno to 0.
16989         (check_complex): Refer to errno tests in comment.
16990         (check_int): Call test_errno.  Set errno to 0.
16991         (check_long): Likewise.
16992         (check_bool): Likewise.
16993         (check_longlong): Likewise.
16994         (cos_test): Use ERRNO_* flags for errno tests instead of
16995         check_int.
16996         (expm1_test): Likewise.
16997         (fmod_test): Likewise.
16998         (ilogb_test): Likewise.
16999         (lgamma_test): Likewise.
17000         (pow_test): Likewise.
17001         (remainder_test): Likewise.
17002         (sin_test): Likewise.
17003         (tan_test): Likewise.
17004         (yn_test): Likewise.
17005         (initialize): Set errno to 0.
17006         (main): Print number of errno tests.
17007         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17008
17009 2013-04-29  Andreas Jaeger  <aj@suse.de>
17010
17011         [BZ #15084]
17012         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17013         and RES_USEVC.
17014
17015         [BZ #15085]
17016         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17017         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17018         unimplemented.
17019
17020         [BZ #15380]
17021         * stdlib/random.c (__initstate): Return NULL if
17022         __initstate fails.
17023
17024         [BZ #15086]
17025         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17026         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17027         RES_SNGLKUPREOP.
17028
17029 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17030
17031         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17032
17033 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
17034
17035         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17036         of individual tests.
17037         (casin_test): Likewise.
17038         (casinh_test): Likewise.
17039
17040 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
17041
17042         [BZ #15409]
17043         * math/s_catan.c (__catan): Handle arguments with large real or
17044         imaginary part separately without squaring.
17045         * math/s_catanf.c (__catanf): Likewise.
17046         * math/s_catanh.c (__catanh): Likewise.
17047         * math/s_catanhf.c (__catanhf): Likewise.
17048         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17049         and redefine.
17050         (__catanhl): Handle arguments with large real or imaginary part
17051         separately without squaring.
17052         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17053         and redefine.
17054         (__catanl): Handle arguments with large real or imaginary part
17055         separately without squaring.
17056         * math/libm-test.inc (catan_test): Add more tests.
17057         (catanh_test): Likewise.
17058         * sysdeps/i386/fpu/libm-test-ulps: Update.
17059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17060
17061 2013-04-27  Andreas Jaeger  <aj@suse.de>
17062
17063         [BZ #15007]
17064         * stdlib/stdlib.h: Update guards for qecvt.
17065         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17066         <stdlib.h>.
17067
17068 2013-04-27  Allan McRae  <allan@archlinux.org>
17069
17070         * sysdeps/i386/fpu/libm-test-ulps: Update.
17071
17072 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
17073
17074         [BZ #15406]
17075         * math/s_catan.c: Include <float.h>.
17076         (__catan): Ensure underflow exception occurs for underflowed
17077         result.
17078         * math/s_catanf.c: Include <float.h>.
17079         (__catanf): Ensure underflow exception occurs for underflowed
17080         result.
17081         * math/s_catanh.c: Include <float.h>.
17082         (__catanh): Ensure underflow exception occurs for underflowed
17083         result.
17084         * math/s_catanhf.c: Include <float.h>.
17085         (__catanhf): Ensure underflow exception occurs for underflowed
17086         result.
17087         * math/s_catanhl.c: Include <float.h>.
17088         (__catanhl): Ensure underflow exception occurs for underflowed
17089         result.
17090         * math/s_catanl.c: Include <float.h>.
17091         (__catanl): Ensure underflow exception occurs for underflowed
17092         result.
17093         * math/libm-test.inc (catan_test): Add more tests.
17094         (catanh_test): Likewise.
17095
17096         [BZ #15405]
17097         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17098         underflowed result.
17099         * math/s_ccoshf.c (__ccoshf): Likewise.
17100         * math/s_ccoshl.c (__ccoshl): Likewise.
17101         * math/s_csin.c (__csin): Likewise.
17102         * math/s_csinf.c (__csinf): Likewise.
17103         * math/s_csinh.c (__csinh): Likewise.
17104         * math/s_csinhf.c (__csinhf): Likewise.
17105         * math/s_csinhl.c (__csinhl): Likewise.
17106         * math/s_csinl.c (__csinl): Likewise.
17107         * math/libm-test.inc (ccos_test): Add more tests.
17108         (ccosh_test): Likewise.
17109         (csin_test): Likewise.
17110         (csinh_test): Likewise.
17111
17112 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17113
17114         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17115         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17116         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17117         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17118         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17119         powerpc/power5+/fpu folders.
17120         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17121
17122
17123 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
17124
17125         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17126
17127 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
17128
17129         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17130         additions to variable.
17131         [$(config-machine) = x86_64] (modules-names): Likewise.
17132         ($(objpfx)tst-audit3): Remove dependency.
17133         ($(objpfx)tst-audit3.out): Likewise.
17134         ($(objpfx)tst-audit4): Likewise.
17135         ($(objpfx)tst-audit4.out): Likewise.
17136         ($(objpfx)tst-audit5): Likewise.
17137         ($(objpfx)tst-audit5.out): Likewise.
17138         ($(objpfx)tst-audit6): Likewise.
17139         ($(objpfx)tst-audit6.out): Likewise.
17140         ($(objpfx)tst-audit7): Likewise.
17141         ($(objpfx)tst-audit7.out): Likewise.
17142         (tst-audit3-ENV): Remove variable.
17143         (tst-audit4-ENV): Likewise.
17144         (tst-audit5-ENV): Likewise.
17145         (tst-audit6-ENV): Likewise.
17146         (tst-audit7-ENV): Likewise.
17147         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17148         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17149         addition to variable.
17150         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17151         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17152         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17153         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17154         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17155         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17156         tst-audit3, tst-audit4 and tst-audit5.
17157         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17158         tst-audit6 and tst-audit7.
17159         [$(subdir) = elf] (modules-names): Add audit modules for those
17160         tests.
17161         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17162         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17163         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17164         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17165         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17166         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17167         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17168         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17169         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17170         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17171         [$(subdir) = elf] (tst-audit3-ENV): New variable.
17172         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17173         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17174         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17175         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17176         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17177         Likewise.
17178         [$(subdir) = elf && $(config-cflags-avx) = yes]
17179         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17180         [$(subdir) = elf && $(config-cflags-avx) = yes]
17181         (CFLAGS-tst-auditmod4a.c): Likewise.
17182         [$(subdir) = elf && $(config-cflags-avx) = yes]
17183         (CFLAGS-tst-auditmod4b.c): Likewise.
17184         [$(subdir) = elf && $(config-cflags-avx) = yes]
17185         (CFLAGS-tst-auditmod6b.c): Likewise.
17186         [$(subdir) = elf && $(config-cflags-avx) = yes]
17187         (CFLAGS-tst-auditmod6c.c): Likewise.
17188         [$(subdir) = elf && $(config-cflags-avx) = yes]
17189         (CFLAGS-tst-auditmod7b.c): Likewise.
17190         * elf/tst-audit3.c: Move to ...
17191         * sysdeps/x86_64/tst-audit3.c: ... here.
17192         * elf/tst-audit4.c: Move to ...
17193         * sysdeps/x86_64/tst-audit4.c: ... here.
17194         * elf/tst-audit5.c: Move to ...
17195         * sysdeps/x86_64/tst-audit5.c: ... here.
17196         * elf/tst-audit6.c: Move to ...
17197         * sysdeps/x86_64/tst-audit6.c: ... here.
17198         * elf/tst-audit7.c: Move to ...
17199         * sysdeps/x86_64/tst-audit7.c: ... here.
17200         * elf/tst-auditmod3a.c: Move to ...
17201         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17202         * elf/tst-auditmod3b.c: Move to ...
17203         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17204         * elf/tst-auditmod4a.c: Move to ...
17205         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17206         * elf/tst-auditmod4b.c: Move to ...
17207         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17208         * elf/tst-auditmod5a.c: Move to ...
17209         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17210         * elf/tst-auditmod5b.c: Move to ...
17211         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17212         * elf/tst-auditmod6a.c: Move to ...
17213         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17214         * elf/tst-auditmod6b.c: Move to ...
17215         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17216         * elf/tst-auditmod6c.c: Move to ...
17217         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17218         * elf/tst-auditmod7a.c: Move to ...
17219         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17220         * elf/tst-auditmod7b.c: Move to ...
17221         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17222
17223 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
17224
17225         [BZ #15366]
17226         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17227         define unconditionally.
17228         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17229         define unconditionally.
17230         (INT8_C, INT16_C, etc.): Likewise.
17231
17232 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
17233
17234         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17235         __ehdr_start with hidden visibility.
17236
17237         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17238
17239 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
17240
17241         * math/libm-test.inc (cos_test): Use accurate hex constants.
17242         (sincost_test): Likewise.
17243
17244 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
17245
17246         * math/libm-test.inc (catan_test): Add more tests.
17247         (catanh_test): Likewise.
17248
17249         * math/s_catanf.c (__catanf): Use suffixed floating-point
17250         constants.
17251         * math/s_catanhf.c (__catanhf): Likewise.
17252         * math/s_catanhl.c (__catanhl): Likewise.
17253         * math/s_catanl.c (__catanl): Likewise.
17254
17255         [BZ #15394]
17256         * math/s_catan.c (__catan): Calculate imaginary part of result
17257         with log1p not log unless computing log of number close to 0.
17258         * math/s_catanf.c (__catanf): Likewise.
17259         * math/s_catanl.c (__catanl): Likewise.
17260         * math/s_catanh.c (__catanh): Calculate real part of result with
17261         log1p not log unless computing log of number close to 0.
17262         * math/s_catanhf.c (__catanhf): Likewise.
17263         * math/s_catanhl.c (__catanhl): Likewise.
17264         * math/libm-test.inc (catan_test): Add more tests.
17265         (catanh_test): Likewise.
17266         * sysdeps/i386/fpu/libm-test-ulps: Update.
17267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17268
17269 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17270
17271         * benchtests/Makefile: Mention files in which fast and slow
17272         paths of math functions are implemented.
17273
17274 2013-04-23  Roland McGrath  <roland@hack.frob.com>
17275
17276         * sysdeps/posix/timespec_get.c: New file.
17277
17278 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17279
17280         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17281         POWER.
17282         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17283         for POWER.
17284         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17285         powerpc/power5/fpu folders.
17286         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17287         * benchtests/Makefile: Add modf testcase.
17288         * benchtests/bench-modf.c: New file: Benchmark test for mo
17289
17290 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17291
17292         [BZ #14888]
17293         * time/Makefile (tests): Add tst-strptime-whitespace.
17294         * time/strptime_l.c (get_number): Use ISSPACE.
17295         (__strptime_internal): Likewise.
17296         * time/tst-strptime-whitespace.c: New test case.
17297
17298 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
17299
17300         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17301         member.
17302         (_nss_files_init): Set it here.
17303
17304 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
17305
17306         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17307         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17308         unsigned.
17309
17310 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
17311
17312         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17313
17314 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17315
17316         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17317         size just once.
17318
17319 2013-04-21  David S. Miller  <davem@davemloft.net>
17320
17321         * po/ru.po: Update Russion translation from translation project.
17322
17323 2013-04-17  Adam Conrad  <adconrad@0c3.net>
17324
17325         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17326         and setfsgid.
17327
17328 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
17329
17330         * configure.in: Remove i386 configure warning. Remove i386 case.
17331         * configure: Regenerate.
17332         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
17333         Add example to error message.
17334         * sysdeps/i386/configure: Regenerate.
17335
17336 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17337
17338         * benchtests/Makefile (bench): Add cos, tan, slowcos and
17339         slowtan.
17340         * benchtests/cos-inputs: New file.
17341         * benchtests/slowcos-inputs: New file.
17342         * benchtests/slowcos.c: New file.
17343         * benchtests/slowtan-inputs: New file.
17344         * benchtests/slowtan.c: New file.
17345         * benchtests/tan-inputs: New file.
17346
17347 2013-04-16  Roland McGrath  <roland@hack.frob.com>
17348
17349         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17350         considered kosher.
17351
17352 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17353
17354         * benchtests/Makefile: Include cppflags-iterator.mk to add
17355         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17356
17357         * Makefile.in (bench-clean): New target.
17358         * benchtests/Makefile (bench-clean): Likewise.
17359
17360 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
17361
17362         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17363
17364 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
17365
17366         * stdio-common/tstdiomisc.c: Fix coding-style violation.
17367
17368 2013-04-15  Andreas Schwab  <schwab@suse.de>
17369
17370         * nscd/grpcache.c (cache_addgr): Properly check for short write.
17371         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17372         * nscd/pwdcache.c (cache_addpw): Likewise.
17373         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
17374         more than recsize.
17375
17376 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17377
17378         * benchtests/Makefile (bench): Write all output to
17379         bench-out.tmp together.
17380
17381 2013-04-15  Andreas Schwab  <schwab@suse.de>
17382
17383         * nscd/nscd.c (main): Don't fork again after closing files.
17384
17385 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17386
17387         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17388
17389         * benchtests/Rules (bench-deps): Collect dependencies into a
17390         single variable.  Add Makefile to dependencies.
17391         ($(objpfx)bench-%.c): Depend on bench-deps.
17392
17393 2013-04-12  Roland McGrath  <roland@hack.frob.com>
17394             Xavier Roche  <roche+kml2@exalead.com>
17395
17396         [BZ #15361]
17397         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17398         just that it's a file descriptor.
17399         * manual/llio.texi (Synchronizing AIO Operations): Update description
17400         for EBADF error from aio_fsync.
17401
17402 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17403
17404         * Rules (bench): Move target definition...
17405         * benchtests/Makefile: ... here.
17406
17407 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
17408
17409         * math/libm-test.inc (cos_test): Fix PI/2 test.
17410         (sincos_test): Likewise.
17411         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17412         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17413
17414 2013-04-11  Andreas Schwab  <schwab@suse.de>
17415
17416         [BZ #13988]
17417         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17418         accept exponent character only when digits were seen.
17419         * stdio-common/Makefile (tests): Add bug26.
17420         * stdio-common/bug26.c: New file.
17421
17422         [BZ #14293]
17423         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17424         non-freeable.
17425
17426 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17427
17428         * Makeconfig (rtld-prefix): Define built linker prefix.
17429         * Rules (run-bench): Use it.
17430         * math/Makefile (run-regen-ulps): Likewise.
17431
17432         * Rules (bench): Remove eval.
17433
17434 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17435             Roland McGrath  <roland@hack.frob.com>
17436             Ondrej Bilka  <neleai@seznam.cz>
17437
17438         [BZ #15346]
17439         * time/getdate.c: Include ctype.h and alloca.h.
17440         (__getdate_r): Trim leading and trailing spaces of input.
17441         * time/tst-getdate.c (tests): Add tests with leading and
17442         trailing spaces.
17443
17444 2013-04-08  Roland McGrath  <roland@hack.frob.com>
17445
17446         [BZ #14280]
17447         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17448         when computing value.
17449
17450 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17451
17452         * math/README.libm-test (How can I generate "libm-test-ulps"?):
17453         Use testrun.sh to run libm tests.
17454
17455         [BZ #15309]
17456         * elf/dl-open.c (dl_open_worker): memset all of seen array.
17457
17458 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
17459
17460         [BZ #15264]
17461         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17462
17463 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17464
17465         * Makefile.in (regen-ulps): New target.
17466         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17467         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17468         [ifneq (no,$(PERL)] (regen-ulps): New target.
17469         [ifeq (no,$(PERL)] (regen-ulps): New target.
17470         * math/libm-test.inc (ulps_file_name): Define.
17471         (output_dir): New variable.
17472         (options): Add "output-dir" option.
17473         (parse_opt): Handle 'o' case.
17474         (main): If output_dir is non-NULL use it as a prefix
17475         otherwise use "".
17476         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17477
17478 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17479
17480         [BZ #10060, #10062]
17481         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17482         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17483         fail configure if __sync_val_compare_and_swap is not inlined.
17484         * sysdeps/i386/configure: Regenerate.
17485         * configure.in: Build for i686 when configured for i386.
17486         * configure: Regenerate.
17487         * README: Remove i386 reference.
17488
17489 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17490
17491         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17492         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17493
17494 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
17495
17496         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17497         (lmsnanval): New variables.
17498         (F): Add conversion tests.
17499         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17500         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17501
17502         * stdio-common/tstdiomisc.c (F): Properly collect individual
17503         tests' results.
17504
17505         [BZ #14686, #15336]
17506         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17507         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17508         Instead, use input NaN values or generate a qNaN by arithmetic
17509         operation.  Also fix bugs to comply with the standard.
17510         * math/libm-test.inc (remainder_test): Add more tests.
17511
17512         [BZ #15335, #15342]
17513         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17514         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17515         input NaN values or generate a qNaN by arithmetic operation.
17516
17517         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17518         unreachable code.
17519
17520         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17521         definitions.
17522
17523 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
17524
17525         [BZ #14478]
17526         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17527         underflowed result.
17528         * math/s_cexpf.c (__cexpf): Likewise.
17529         * math/s_cexpl.c (__cexpl): Likewise.
17530         * math/libm-test.inc (cexp_test): Add more tests.
17531
17532 2013-04-03  Andreas Schwab  <schwab@suse.de>
17533
17534         [BZ #15330]
17535         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17536         order arrays from heap if bigger than alloca cutoff.
17537
17538 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
17539
17540         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17541         (SNAN_TESTS_double): Refer to GCC PR56831.
17542         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17543         GCC PR56828.
17544
17545 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17546
17547         * Rules (bench): Move bench.out after the run is complete.
17548
17549         * Rules (bench): Echo currently running benchmark.
17550
17551         * benchtests/Makefile (bench): Add atan and slowatan.
17552         * benchtests/atan-inputs: New file.
17553         * benchtests/slowatan-inputs: New file.
17554         * benchtests/slowatan.c: New file.
17555
17556         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17557         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17558         its value.
17559
17560         [BZ #15305]
17561         * sysdeps/unix/sysv/linux/kernel-features.h
17562         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17563         __ASSUME_XFS_RESTRICTED_CHOWN.
17564         * sysdeps/unix/sysv/linux/pathconf.c
17565         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17566         Save and restore errno.
17567
17568 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
17569
17570         [BZ #15327]
17571         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17572         arguments using __kernel_casinh.
17573         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17574         arguments using __kernel_casinhf.
17575         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17576         arguments using __kernel_casinhl.
17577         * math/libm-test.inc (cacosh_test): Add more tests.
17578         * sysdeps/i386/fpu/libm-test-ulps: Update.
17579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17580
17581 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17582
17583         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17584         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17585
17586         * bench/Makefile (bench): Add sin and slowsin.
17587         * benchtests/sin-inputs: New file.
17588         * benchtests/slowsin-inputs: New file.
17589         * benchtests/slowsin.c: New file.
17590
17591         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17592         (bench): Add slowexp and slowpow.
17593         (exp-ITER): Increase iterations.
17594         (pow-ITER): Likewise.
17595         * benchtests/exp-inputs: Change input.
17596         * benchtests/pow-inputs: Likewise.
17597         * benchtests/slowexp-inputs: New file.
17598         * benchtests/slowexp.c: New file.
17599         * benchtests/slowpow-inputs: New file.
17600         * benchtests/slowpow.c: New file.
17601
17602 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17603
17604         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17605         instructions.
17606         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17607         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17608         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17609         * benchtests/Makefile: Add rint benchtest.
17610         * benchtests/rint-inputs: Input for rint benchtest.
17611
17612 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
17613
17614         * Versions.def (libm): Add GLIBC_2.18.
17615         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17616         hidden libm prototypes.
17617         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17618         * math/Makefile (libm-calls): Add s_issignaling.
17619         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17620         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
17621         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17622         declaration.
17623         * math/math.h [__USE_GNU] (issignaling): New macro.
17624         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17625         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17626         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17627         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17628         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17629         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17630         * manual/arith.texi (issignaling): New section.
17631         * manual/libm-err-tab.pl (@all_functions): Update comment.
17632         * math/gen-libm-test.pl (parse_args): Apply special handling for
17633         issignaling.
17634         * math/libm-test.inc (print_float, issignaling_test): New
17635         functions.
17636         (check_float_internal): Add issignaling checks.
17637         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17638         default definition.
17639         * sysdeps/powerpc/math-tests.h: New file.
17640         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17641         tests.
17642         * math/test-snan.c (TEST_FUNC): Likewise.
17643
17644 2013-03-30  David S. Miller  <davem@davemloft.net>
17645
17646         * po/de.po: Update from translation team.
17647
17648 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
17649
17650         [BZ #10357]
17651         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17652         imaginary part less than 1.0 and real part less than 0.5
17653         specially.
17654         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17655         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17656         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17657         (cacos_test): Add more tests.
17658         (casin_test): Likewise.
17659         (casinh_test): Likewise.
17660         * sysdeps/i386/fpu/libm-test-ulps: Update.
17661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17662
17663 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17664
17665         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17666         ONE with its value.
17667
17668         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17669         (__pow_mp): Replace ONE and MONE with their values.
17670         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17671         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17672         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17673         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17674         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17675         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17676
17677         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17678
17679         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17680         (__pow_mp): Replace ZERO and MZERO with their values.
17681         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17682         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17683         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17684         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17685         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17686         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17687         (__sqr): Likewise.
17688
17689         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17690
17691         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17692
17693 2013-03-28  Roland McGrath  <roland@hack.frob.com>
17694
17695         * include/stdlib.h [!SHARED] (__call_tls_dtors):
17696         Declare with __attribute__ ((weak)).
17697         * stdlib/exit.c (__libc_atexit) [!SHARED]:
17698         Call __call_tls_dtors only if it's not NULL.
17699
17700 2013-03-28  Roland McGrath  <roland@hack.frob.com>
17701
17702         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17703         didn't do it already, then set _dl_phdr and _dl_phnum based on the
17704         magic __ehdr_start linker symbol if it's defined.
17705         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17706         them up here if it was already done.
17707
17708         * elf/dl-support.c (_dl_phdr): Make pointer to const.
17709         (_dl_aux_init): Use const in cast when setting it.
17710         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17711         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17712         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17713
17714         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17715         Declare them here.
17716         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17717         * csu/libc-tls.c: Nor here.
17718         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17719
17720         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17721         (__libc_message): Never call vsyslog.
17722
17723 2013-03-28  Alan Modra  <amodra@gmail.com>
17724
17725         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17726         Define as empty.
17727         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17728         Likewise.
17729
17730 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17731
17732         [BZ #15214]
17733         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17734         underflow.
17735         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17736
17737 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17738
17739         [BZ #15304]
17740         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17741         Don't add gid passed as argument.
17742
17743         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17744
17745 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
17746
17747         [BZ #15307]
17748         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17749         imaginary part between 1.0 and 1.5 and real part less than 0.5
17750         specially.
17751         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17752         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17753         * math/libm-test.inc (cacos_test): Add more tests.
17754         (casin_test): Likewise.
17755         (casinh_test): Likewise.
17756         * sysdeps/i386/fpu/libm-test-ulps: Update.
17757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17758
17759 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17760
17761         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17762         constants.
17763         (norm): Likewise.
17764         (denorm): Likewise.
17765         (__dbl_mp): Likewise.
17766         (add_magnitudes): Likewise.
17767         (sub_magnitudes): Likewise.
17768         (__add): Likewise.
17769         (__sub): Likewise.
17770         (__mul): Likewise.
17771         (__sqr): Likewise.
17772         (__inv): Likewise.
17773         (__dvd): Likewise.
17774
17775         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17776         commented code.
17777         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17778         (__dubcos): Likewise.
17779         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17780         (__ieee754_acos): Likewise.
17781         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17782         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17783         (__exp1): Likewise.
17784         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17785         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17786         (log1): Likewise.
17787         (my_log2): Likewise.
17788         (checkint): Likewise.
17789         * sysdeps/ieee754/dbl-64/e_remainder.c
17790         (__ieee754_remainder): Likewise.
17791         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17792         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17793         (bsloww): Likewise.
17794         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17795
17796         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17797         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17798         MANTISSA_STORE_T to store computations on mantissa.  Use
17799         macros for rounding and division.
17800         (denorm): Likewise.
17801         (__dbl_mp): Likewise.
17802         (add_magnitudes): Likewise.
17803         (sub_magnitudes): Likewise.
17804         (__mul): Likewise.
17805         (__sqr): Likewise.
17806         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
17807         powers of two in terms of TWOPOW macro.
17808         (mp_no): Make type of mantissa as MANTISSA_T.
17809         [!RADIXI]: Define RADIXI.
17810         [!TWO52]: Define TWO52.
17811         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17812
17813 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17814
17815         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17816         llroundl symbol when building for PPC32.
17817
17818 2013-03-24  Mark H Weaver  <mhw@netris.org>
17819
17820         * manual/arith.texi (Normalization Functions): Fix prototypes for
17821         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17822
17823 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17824
17825         [BZ #13889]
17826         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17827         high value to check if expl overflow.
17828         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17829         to check for underflow and overflow.
17830         * math/libm-test.inc: Add exp test.
17831
17832 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
17833
17834         [BZ #11120]
17835         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17836         with NOT_IN_libc.
17837
17838 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17839
17840         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17841         symbol.
17842
17843 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17844
17845         * math/gen-libm-test.pl (parse_args, special_functions): Properly
17846         wrap blocks consisting of several statements.
17847
17848         * sysdeps/generic/math-tests.h: New file.
17849         * sysdeps/i386/fpu/math-tests.h: Likewise.
17850         * math/test-snan.c: Include it.
17851         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17852
17853 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
17854
17855         [BZ #15285]
17856         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17857         (__ieee754_j0l): Do not improve calculations using cos of twice
17858         input for inputs above LDBL_MAX / 2.0L.
17859         (__ieee754_y0l): Likewise.
17860         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17861         (__ieee754_j1l): Do not improve calculations using cos of twice
17862         input for inputs above LDBL_MAX / 2.0L.
17863         (__ieee754_y1l): Likewise.
17864         * math/libm-test.inc (j0_test): Add another test.
17865         (j1_test): Likewise.
17866         (y0_test): Likewise.
17867         (y1_test): Likewise.
17868         * sysdeps/i386/fpu/libm-test-ulps: Update.
17869
17870 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17871
17872         * Rules ($(objpfx)bench-%.c): Include code from a C source
17873         file.
17874
17875 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
17876
17877         [BZ #15287]
17878         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17879         imaginary part 1.0 and real part less than 0.5 specially.
17880         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17881         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17882         * math/libm-test.inc (cacos_test): Add more tests.
17883         (casin_test): Likewise.
17884         (casinh_test): Likewise.
17885         * sysdeps/i386/fpu/libm-test-ulps: Update.
17886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17887
17888 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17889
17890         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17891         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17892
17893 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
17894
17895         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17896         * config.make.in (config-cflags-sse4): Remove variable.
17897         (config-cflags-avx): Likewise.
17898         (config-cflags-sse2avx): Likewise.
17899         (config-cflags-novzeroupper): Likewise.
17900         (config-asflags-i686): Likewise.
17901         (have-mfma4): Likewise.
17902         (have-as-vis3): Likewise.
17903         (MIG): Likewise.
17904         * configure.in (MIG): Do not AC_SUBST.
17905         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17906         (libc_cv_cc_sse4): Do not AC_SUBST.
17907         (libc_cv_cc_avx): Likewise.
17908         (libc_cv_cc_sse2avx): Likewise.
17909         (libc_cv_cc_novzeroupper): Likewise.
17910         (libc_cv_cc_fma4): Likewise.
17911         (libc_cv_as_i686): Likewise.
17912         (libc_cv_sparc_as_vis3): Likewise.
17913         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17914         LIBC_CONFIG_VAR.
17915         (config-asflags-i686): Likewise.
17916         (config-cflags-avx): Likewise.
17917         (config-cflags-sse2avx): Likewise.
17918         (have-mfma4): Likewise.
17919         (config-cflags-novzeroupper): Likewise.
17920         * sysdeps/mach/configure.in (MIG): Likewise.
17921         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17922         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17923         LIBC_CONFIG_VAR.
17924         (config-cflags-avx): Likewise.
17925         (config-cflags-sse2avx): Likewise.
17926         (have-mfma4): Likewise.
17927         (config-cflags-novzeroupper): Likewise.
17928         * configure: Regenerated.
17929         * sysdeps/i386/configure: Likewise.
17930         * sysdeps/mach/configure: Likewise.
17931         * sysdeps/sparc/configure: Likewise.
17932         * sysdeps/x86_64/configure: Likewise.
17933
17934 2013-03-20  Roland McGrath  <roland@hack.frob.com>
17935
17936         [BZ #14812]
17937         * locale/programs/localedef.c (options): Put N_ translation marker
17938         on argument names, not just descriptions.
17939
17940 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17941
17942         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17943
17944 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
17945
17946         [BZ #14176]
17947         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17948
17949 2013-03-19  Roland McGrath  <roland@hack.frob.com>
17950
17951         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17952         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17953         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17954         [!BEFORE_ABORT] (before_abort): New function.
17955         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17956         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17957         (writev_for_fatal): New function.
17958         (WRITEV_FOR_FATAL): New macro; call that.
17959         (backtrace_and_maps): New function.
17960         (BEFORE_ABORT): New macro; call that.
17961         (struct str_list): Type removed.
17962         (__libc_message, __libc_fatal): Functions removed.
17963         Include <sysdeps/posix/libc_fatal.c> instead.
17964
17965 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
17966
17967         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17968         constants.
17969         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17970         double constants.
17971
17972 2013-03-19  Andreas Schwab  <schwab@suse.de>
17973
17974         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17975         * sysdeps/gnu/configure: Regenerate.
17976
17977         * configure.in: Substitute libc_cv_rtlddir.
17978         * configure: Regenerate.
17979         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17980         * Makeconfig (rtlddir, inst_rtlddir): New variables.
17981         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17982         * elf/Makefile (install-others, CFLAGS-interp.c)
17983         (ldso_install, common-ldd-rewrite): Likewise.
17984         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17985         $(inst_slibdir)/$(rtld-installed-name).
17986         * scripts/rellns-sh: Add -p option.
17987         * Makerules (make-shlib-link): Use rellns-sh to get relative name
17988         for source.
17989
17990 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17991
17992         * manual/nptl.texi: Renamed to ...
17993         * manual/threads.texi: ... this.
17994         * manual/Makefile (chapters): Update.
17995
17996 2013-03-18  Roland McGrath  <roland@hack.frob.com>
17997
17998         [BZ #14812]
17999         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18000         on argument names, not just descriptions.
18001         * malloc/memusagestat.c (options): Likewise.
18002         * nss/getent.c (options): Likewise.
18003
18004 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
18005
18006         [BZ #14812]
18007         * iconv/iconv_prog.c (options): Put N_ translation marker
18008         on argument names, not just descriptions.
18009         * iconv/iconvconfig.c (options): Likewise.
18010
18011 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
18012
18013         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18014         implementation which is faster on all x86_64 architectures.
18015         Tested on AMD, Intel Nehalem, SNB, IVB.
18016         * sysdeps/x86_64/strnlen.S: Likewise.
18017
18018         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18019         Remove all multiarch strlen and strnlen versions.
18020         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18021         Remove strlen and strnlen related parts.
18022
18023         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18024         Inline strlen part.
18025         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18026
18027         * sysdeps/x86_64/multiarch/strlen.S: Remove.
18028         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18029         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18030         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18031         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18032         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18033
18034 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
18035
18036         * manual/memory.texi (Malloc Tunable Parameters):
18037         Sort parameters alphabetically. Add comments for missing entries.
18038
18039 2013-03-17  David S. Miller  <davem@davemloft.net>
18040
18041         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18042
18043 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
18044
18045         [BZ #15283]
18046         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18047         for arguments at most half maximum finite value.
18048         * math/libm-test.inc (j0_test): Add more tests.
18049         (j1_test): Likewise.
18050         (y0_test): Likewise.
18051         (y1_test): Likewise.
18052         * sysdeps/i386/fpu/libm-test-ulps: Update.
18053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18054
18055         [BZ #14155]
18056         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18057         1 / x and functions P and Q for arguments above 0x1p256L.
18058         (__ieee754_y0l): Likewise.
18059         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18060         (__ieee754_y1l): Likewise.
18061         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18062         (j1_test): Likewise.
18063         (y0_test): Likewise.
18064         (y1_test): Likewise.
18065
18066 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
18067
18068         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18069         variable.
18070
18071 2013-03-15  Roland McGrath  <roland@hack.frob.com>
18072
18073         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18074         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18075         zero since it's initialized to EXEC_PAGESIZE.
18076
18077         * sysdeps/unix/sysv/linux/ldsodefs.h
18078         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18079         * sysdeps/generic/ldsodefs.h: ... here.
18080
18081 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
18082
18083         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18084
18085         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18086         math/test-snan.c.
18087         * math/test-snan.c: Renamed from
18088         sysdeps/powerpc/fpu/test-powerpc-snan.c.
18089         * math/Makefile (tests): Add test-snan.
18090         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18091         test-powerpc-snan.
18092
18093         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18094         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
18095         functions.
18096         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
18097         __builtin_nan family of functions.
18098         * math/libm-test.inc (initialize): Initialize qnan_value with
18099         __builtin_nan family of functions.
18100         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18101         Remove variables.
18102         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18103         Remove functions.
18104         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
18105         storage class.  Initialize qNaN_var and sNaN_var with
18106         __builtin_nan and __builtin_nans families of functions,
18107         respectively.
18108
18109         * math/libm-test.inc (acosh_test): Also test with qNaN input.
18110         (sqrt_test): Remove duplicate test with qNaN input.
18111         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18112         (round_test, signbit_test, significand_test): Note missing +/-Inf
18113         as well as qNaN tests.
18114
18115         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18116         qNaN_var.  Fix a few strings, too.
18117         * math/libm-test.inc (nan_value): Rename to qnan_value.
18118         * math/gen-libm-test.pl (%beautify): Adjust to that.
18119         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18120         * math/test-misc.c (main): Likewise.
18121         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18122         to __qnan_bytes, and __qnan_union, respectively.
18123         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18124         Likewise.
18125         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18126         and lqnanval, respectively.
18127         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18128         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18129         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18130         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18131
18132         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18133         * math/test-misc.c (main) [__x86_64__]: Enable test for long
18134         doubles.
18135
18136         * math/test-misc.c (main): Fix copy'n'pastos.
18137         * misc/tst-efgcvt.c (special): Likewise.
18138
18139         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18140         Remove declarations.
18141
18142 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18143
18144         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18145         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18146         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18147         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18148
18149 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18150
18151         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18152         macro to return vdso values correctly in IFUNC implementations.
18153         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18154         Optimization by using IFUNC.
18155
18156 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18157             Richard Henderson  <rth@redhat.com>
18158             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18159
18160         * Makefile.in (bench): New target.
18161         * NEWS: Mention the benchmark framework.
18162         * Rules (bench): Likewise.
18163         (binaries-bench): Generate binaries for functions to
18164         benchmark.
18165         * benchtests/Makefile: New makefile for benchmark tests.
18166         * benchtests/bench-skeleton.c: New skeleton file for benchmark
18167         programs.
18168         * benchtests/exp-inputs: New input file for EXP function.
18169         * benchtests/pow-inputs: New input file for POW function.
18170         * scripts/bench.pl: New script to generate source files for
18171         benchmark programs.
18172
18173 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18174
18175         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18176         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18177         computations on mantissa.  Use macros for rounding and
18178         division.
18179         (denorm): Likewise.
18180         (__dbl_mp): Likewise.
18181         (add_magnitudes): Likewise.
18182         (sub_magnitudes): Likewise.
18183         (__mul): Likewise.
18184         (__sqr): Likewise.
18185         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
18186         powers of two in terms of TWOPOW macro.
18187         (mp_no): Make type of mantissa as MANTISSA_T.
18188         [!RADIXI]: Define RADIXI.
18189         [!TWO52]: Define TWO52.
18190         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18191
18192         * manual/nptl.texi (cindex): Modify threads to pthreads.
18193
18194 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
18195
18196         * sysdeps/x86_64/preconfigure: Regenerated.
18197
18198 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
18199
18200         [BZ #14155]
18201         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18202         0x1p28 and above.
18203         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18204         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18205         0x1p28 and above.
18206         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18207         * math/libm-test.inc (j0_test): Do not allow one spurious
18208         underflow exception.
18209         (y1_test): Likewise.
18210
18211 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18212
18213         * manual/Makefile (chapters): Add nptl.
18214         * manual/debug.texi (Debugging Support): Add link to Threads
18215         chapter.
18216         * manual/nptl.texi: New file.
18217
18218         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18219
18220 2013-03-14  Petr Baudis  <pasky@ucw.cz>
18221
18222         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18223         for non-NULL pointer before the memory validity test. Pointed
18224         out by Holger Brunck <holger.brunck@keymile.com>.
18225
18226 2013-03-13  Andreas Schwab  <schwab@suse.de>
18227
18228         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18229         instead of .os.
18230
18231 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
18232
18233         * timezone/zic.c: Update from tzcode 2013b.
18234
18235 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
18236
18237         * manual/install.texi (Configuring and compiling):
18238         Mention i686 and i586.
18239         * INSTALL: Regenerate.
18240
18241 2013-03-12  Roland McGrath  <roland@hack.frob.com>
18242
18243         * sysdeps/init_array/elf-init.c: New file.
18244         * csu/elf-init.c
18245         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18246         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18247
18248         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18249         __gmon_start__ as global, but as static with a .preinit_array pointer.
18250         * sysdeps/init_array/gmon-start.c: New file.  Use that.
18251         * sysdeps/init_array/crti.S: New file, empty except for comments.
18252         * sysdeps/init_array/crtn.S: Likewise.
18253
18254 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
18255
18256         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18257         definining bcopy.
18258         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18259         Remove Prefer_SSE_for_memop.
18260         * sysdeps/x86_64/multiarch/init-arch.h: Remove
18261         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18262         HAS_PREFER_SSE_FOR_MEMOP.
18263         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18264         memset-x86-64.
18265         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18266         Remove bzero, memset ifunc support.
18267         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18268         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18269         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18270         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18271
18272 2013-03-11  Andreas Schwab  <schwab@suse.de>
18273
18274         [BZ #15234]
18275         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18276         by SHLIB_COMPAT.
18277         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18278         (GLIBC_2.16): Remove pthread_atfork.
18279
18280 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18281
18282         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18283         (ptestcases.h): Likewise.
18284
18285 2013-03-08  Roland McGrath  <roland@hack.frob.com>
18286
18287         * Makeconfig ($(common-objpfx)config.status): Depend on
18288         sysdeps/*/preconfigure{,.in} too.
18289
18290 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
18291
18292         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18293         (__free_hook): Use void * instead of __malloc_ptr_t.
18294         (__malloc_hook): Likewise.
18295         (__realloc_hook): Likewise.
18296         (__memalign_hook): Likewise.
18297         (__after_morecore_hook): Likewise.
18298         * malloc/arena.c (save_malloc_hook): Likewise.
18299         (save_free_hook): Likewise.
18300         * malloc/hooks.c (malloc_hook_ini): Likewise.
18301         (realloc_hook_ini): Likewise.
18302         (memalign_hook_ini): Likewise.
18303         * malloc/malloc.c (malloc_hook_ini): Likewise.
18304         (realloc_hook_ini): Likewise.
18305         (memalign_hook_ini): Likewise.
18306         (__free_hook): Likewise.
18307         (__malloc_hook): Likewise.
18308         (__realloc_hook): Likewise.
18309         (__memalign_hook): Likewise.
18310         (__libc_malloc): Likewise.
18311         (__libc_free): Likewise.
18312         (__libc_realloc): Likewise.
18313         (__libc_memalign): Likewise.
18314         (__libc_valloc): Likewise.
18315         (__libc_pvalloc): Likewise.
18316         (__libc_calloc): Likewise.
18317         (__posix_memalign): Likewise.
18318         * malloc/morecore.c (__sbrk): Likewise.
18319         (__default_morecore): Likewise.
18320
18321         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18322
18323         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18324         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18325         __malloc_ptrdiff_t.
18326
18327         * malloc/malloc.h (__malloc_size_t): Remove macro.
18328         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18329         __malloc_size_t.
18330         (old_memalign_hook): Likewise.
18331         (old_realloc_hook): Likewise.
18332         (struct hdr): Likewise.
18333         (flood): Likewise.
18334         (mallochook): Likewise.
18335         (memalignhook): Likewise.
18336         (reallochook): Likewise.
18337         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18338         (tr_old_realloc_hook): Likewise.
18339         (tr_old_memalign_hook): Likewise.
18340         (tr_mallochook): Likewise.
18341         (tr_reallochook): Likewise.
18342         (tr_memalignhook): Likewise.
18343
18344 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18345
18346         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18347         default_ldbl_pack and using as default implementation.
18348         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18349         implementation.
18350         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18351         redundant definition.
18352         (ldbl_insert_mantissa): Likewise.
18353         (ldbl_canonicalize): Likewise.
18354         (ldbl_nearbyint): Likewise.
18355         (ldbl_pack): Rename to ldbl_pack_ppc.
18356         (ldbl_unpack): Rename to ldbl_unpack_ppc.
18357         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18358         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18359
18360 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18361
18362         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18363         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18364         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18365         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18366         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18367         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18368         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18369         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18370
18371 2013-03-07  Andreas Jaeger  <aj@suse.de>
18372
18373         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18374         bits/mman-linux.h.
18375
18376 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18377
18378         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18379         Include mpa.h and declare __MPEXP.
18380         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18381         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18382         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18383         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18384         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18385         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18386         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18387
18388         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18389         (__slowpow): Use long double EXPL and LOGL functions to
18390         compute POW.
18391         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18392         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18393         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18394         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18395         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18396         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18397
18398         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18399         intermediate variable to calculate exponent.
18400         (__sqr): Likewise.
18401         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18402         Likewise.
18403         (__sqr): Likewise.
18404
18405         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18406         [!NO__SQR]: Define __sqr.
18407         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18408         and NO__SQR.  Remove all code except __mul and __sqr.  Include
18409         sysdeps/ieee754/dbl-64/mpa.c.
18410         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18411
18412         [BZ #12723]
18413         * posix/Makefile (tests): Add tst-pathconf.
18414         * posix/tst-pathconf.c: New test case.
18415         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18416         _PC_PIPE_BUF.
18417         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18418
18419 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
18420
18421         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18422
18423 2013-03-06  Andreas Jaeger  <aj@suse.de>
18424
18425         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18426         definition via __MAP_ANONYMOUS.
18427
18428         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18429         it's not part of Linux headers.
18430
18431         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18432         (MAP_HUGE_MASK): Define.
18433
18434         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18435         Define.
18436         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18437         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18438         Define.
18439         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18440         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18441         Define.
18442         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18443         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18444         Define.
18445         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18446
18447         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18448         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18449         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18450         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18451         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18452         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18453
18454         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18455         Handle f2fs.
18456
18457         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18458         Handle f2fs and efivarfs.
18459
18460         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18461         f2fs.
18462
18463         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18464         (EFIVARFS_MAGIC): Add.
18465         (F2FS_LINK_MAX): Add.
18466
18467 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18468
18469         * stdio-common/vfprintf.c: Replace __builtin_expect with
18470         __glibc_unlikely.
18471
18472 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
18473
18474         [BZ #13550]
18475         * sysdeps/generic/bp-sym.h: Remove file.
18476         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18477         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18478         <bp-sym.h> and <bp-asm.h>.
18479         (__longjmp): Don't use BP_SYM.
18480         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18481         and <bp-asm.h>.
18482         (memcpy): Don't use BP_SYM.
18483         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18484         <bp-sym.h> and <bp-asm.h>.
18485         (memcpy): Don't use BP_SYM.
18486         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18487         <bp-asm.h>.
18488         (memcpy): Don't use BP_SYM.
18489         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18490         <bp-asm.h>.
18491         (memset): Don't use BP_SYM.
18492         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18493         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18494         (__bzero): Don't use BP_SYM.
18495         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18496         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18497         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18498         <bp-sym.h> and <bp-asm.h>.
18499         (memcmp): Don't use BP_SYM.  Remove comment about bounded
18500         pointers.
18501         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18502         <bp-sym.h> and <bp-asm.h>.
18503         (memcpy): Don't use BP_SYM.
18504         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18505         <bp-sym.h> and <bp-asm.h>.
18506         (memset): Don't use BP_SYM.
18507         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18508         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18509         (__bzero): Don't use BP_SYM.
18510         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18511         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18512         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18513         <bp-sym.h> and <bp-asm.h>.
18514         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18515         pointers.
18516         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18517         <bp-sym.h> and <bp-asm.h>.
18518         (memcpy): Don't use BP_SYM.
18519         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18520         <bp-sym.h> and <bp-asm.h>.
18521         (memset): Don't use BP_SYM.
18522         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18523         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18524         (__bzero): Don't use BP_SYM.
18525         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18526         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18527         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18528         <bp-sym.h> and <bp-asm.h>.
18529         (__memchr): Don't use BP_SYM.
18530         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18531         <bp-sym.h> and <bp-asm.h>.
18532         (memcmp): Don't use BP_SYM.  Remove comment about bounded
18533         pointers.
18534         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18535         <bp-sym.h> and <bp-asm.h>.
18536         (memcpy): Don't use BP_SYM.
18537         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18538         <bp-sym.h> and <bp-asm.h>.
18539         (__mempcpy): Don't use BP_SYM.
18540         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18541         <bp-sym.h> and <bp-asm.h>.
18542         (__memrchr): Don't use BP_SYM.
18543         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18544         <bp-sym.h> and <bp-asm.h>.
18545         (memset): Don't use BP_SYM.
18546         (__bzero): Likewise.
18547         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18548         <bp-sym.h> and <bp-asm.h>.
18549         (__rawmemchr): Don't use BP_SYM.
18550         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18551         <bp-sym.h> and <bp-asm.h>.
18552         (__STRCMP): Don't use BP_SYM.
18553         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18554         <bp-sym.h> and <bp-asm.h>.
18555         (strchr): Don't use BP_SYM.
18556         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18557         <bp-sym.h> and <bp-asm.h>.
18558         (__strchrnul): Don't use BP_SYM.
18559         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18560         <bp-sym.h> and <bp-asm.h>.
18561         (strlen): Don't use BP_SYM.
18562         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18563         <bp-sym.h> and <bp-asm.h>.
18564         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18565         pointers.
18566         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18567         <bp-sym.h> and <bp-asm.h>.
18568         (__strnlen): Don't use BP_SYM.
18569         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18570         <bp-sym.h> and <bp-asm.h>.
18571         (__GI__setjmp): Don't use BP_SYM.
18572         (_setjmp): Likewise.
18573         (__sigsetjmp): Likewise.
18574         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18575         (L(start_addresses)): Don't use BP_SYM.
18576         (_start): Likewise.
18577         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18578         <bp-asm.h>.
18579         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18580         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18581         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18582         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18583         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18584         <bp-asm.h>.
18585         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18586         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
18587         about bounded pointers.
18588         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18589         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18590         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18591         <bp-asm.h>.
18592         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
18593         about bounded pointers.  Remove GKM FIXME comments.
18594         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18595         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18596         <bp-asm.h>.
18597         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18598         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
18599         Remove GKM FIXME comments.
18600         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18601         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18602         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18603         <bp-asm.h>.
18604         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
18605         about bounded pointers.  Remove GKM FIXME comment.
18606         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18607         and <bp-asm.h>.
18608         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18609         pointers.
18610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18611         <bp-sym.h> and <bp-asm.h>.
18612         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18614         <bp-sym.h> and <bp-asm.h>.
18615         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
18616         comment.
18617
18618 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18619
18620         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18621         call free(NULL).
18622
18623 2013-03-05  David S. Miller  <davem@davemloft.net>
18624
18625         * po/es.po: Update from translation team.
18626
18627 2013-03-05  Andreas Jaeger  <aj@suse.de>
18628
18629         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18630         <bits/mman-linux.h>.
18631         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18632         is fine.
18633         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18634         <bits/mman-linux.h> to end of file.
18635         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18636         is fine.
18637         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18638         <bits/mman-linux.h> to end of file.
18639         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18640         is fine.
18641         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18642         <bits/mman-linux.h> to end of file.
18643
18644         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18645         (MCL_CURRENT, MCL_FUTURE): Define here.
18646
18647 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18648
18649         [BZ #15232]
18650         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18651         attribute_hidden.
18652         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18653
18654 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18655
18656         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18657         fourth parameter needed for rt_sigprocmask syscall.
18658         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18659         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18660         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18661         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18662         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18663         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18664
18665 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
18666
18667         [BZ #13550]
18668         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18669         comment about bounded pointers.
18670         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18671         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18672
18673 2013-03-04  Andreas Jaeger  <aj@suse.de>
18674
18675         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18676         common definitions.
18677
18678         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18679         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18680         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18681         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18682         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18683         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18684
18685 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18686
18687         [BZ #15055]
18688         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18689         __ieee754_sqrl instead of __sqrl.
18690
18691 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
18692
18693         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18694         * sysdeps/powerpc/fpu_control.h: ... here.
18695         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18696         * sysdeps/powerpc/bits/fenvinline.h: ... here.
18697         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18698         * sysdeps/powerpc/bits/mathinline.h: ... here.
18699
18700 2013-03-01  Roland McGrath  <roland@hack.frob.com>
18701
18702         * elf/dl-hwcaps.c (_dl_important_hwcaps):
18703         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18704         to just [NEED_DL_SYSINFO_DSO].
18705         * elf/dl-support.c: Likewise.
18706         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18707         * elf/rtld.c (dl_main): Likewise.
18708         * elf/setup-vdso.h (setup_vdso): Likewise.
18709         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18710         * sysdeps/unix/sysv/linux/dl-sysdep.c
18711         (_dl_discover_osversion): Likewise.
18712
18713 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
18714
18715         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18716         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18717
18718 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18719
18720         * NEWS: Mention libm performance improvements and non-x86 PI
18721         futex support.
18722
18723         * csu/libc-start.c (__pthread_initialize_minimal): Change
18724         function arguments.
18725         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18726
18727 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
18728
18729         [BZ #13550]
18730         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18731         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18732         <bp-sym.h> and <bp-asm.h>.
18733         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18734         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18735         and <bp-asm.h>.
18736         (memcpy): Don't use BP_SYM.
18737         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18738         <bp-asm.h>.
18739         (__mpn_add_n): Don't use BP_SYM.
18740         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18741         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18742         and <bp-asm.h>.
18743         (__mpn_addmul_1): Don't use BP_SYM.
18744         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18745         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18746         <bp-sym.h>.
18747         (_setjmp): Don't use BP_SYM.
18748         (__novmx_setjmp): Likewise.
18749         (__GI__setjmp): Likewise.
18750         (__vmx_setjmp): Likewise.
18751         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18752         <bp-sym.h>.
18753         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18754         (__bzero): Don't use BP_SYM.
18755         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18756         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18757         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18758         <bp-sym.h> and <bp-asm.h>.
18759         (memcpy): Don't use BP_SYM.
18760         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18761         <bp-sym.h> and <bp-asm.h>.
18762         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18763         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18764         <bp-sym.h> and <bp-asm.h>.
18765         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18766         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18767         <bp-asm.h>.
18768         (__mpn_lshift): Don't use BP_SYM.
18769         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18770         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18771         <bp-asm.h>.
18772         (memset): Don't use BP_SYM.
18773         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18774         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18775         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18776         <bp-asm.h>.
18777         (__mpn_mul_1): Don't use BP_SYM.
18778         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18779         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18780         <bp-sym.h> and <bp-asm.h>.
18781         (memcmp): Don't use BP_SYM.
18782         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18783         <bp-sym.h> and <bp-asm.h>.
18784         (memcpy): Don't use BP_SYM.
18785         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18786         <bp-sym.h> and <bp-asm.h>.
18787         (memset): Don't use BP_SYM.
18788         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18789         <bp-sym.h> and <bp-asm.h>.
18790         (strncmp): Don't use BP_SYM.
18791         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18792         <bp-sym.h> and <bp-asm.h>.
18793         (memcpy): Don't use BP_SYM.
18794         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18795         <bp-sym.h> and <bp-asm.h>.
18796         (memset): Don't use BP_SYM.
18797         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18798         <bp-sym.h> and <bp-asm.h>.
18799         (__memchr): Don't use BP_SYM.
18800         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18801         <bp-sym.h> and <bp-asm.h>.
18802         (memcmp): Don't use BP_SYM.
18803         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18804         <bp-sym.h> and <bp-asm.h>.
18805         (memcpy): Don't use BP_SYM.
18806         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18807         <bp-sym.h> and <bp-asm.h>.
18808         (__mempcpy): Don't use BP_SYM.
18809         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18810         <bp-sym.h> and <bp-asm.h>.
18811         (__memrchr): Don't use BP_SYM.
18812         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18813         <bp-sym.h> and <bp-asm.h>.
18814         (memset): Don't use BP_SYM.
18815         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18816         <bp-sym.h> and <bp-asm.h>.
18817         (__rawmemchr): Don't use BP_SYM.
18818         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18819         <bp-sym.h> and <bp-asm.h>.
18820         (__STRCMP): Don't use BP_SYM.
18821         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18822         <bp-sym.h> and <bp-asm.h>.
18823         (strchr): Don't use BP_SYM.
18824         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18825         <bp-sym.h> and <bp-asm.h>.
18826         (__strchrnul): Don't use BP_SYM.
18827         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18828         <bp-sym.h> and <bp-asm.h>.
18829         (strlen): Don't use BP_SYM.
18830         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18831         <bp-sym.h> and <bp-asm.h>.
18832         (strncmp): Don't use BP_SYM.
18833         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18834         <bp-sym.h> and <bp-asm.h>.
18835         (__strnlen): Don't use BP_SYM.
18836         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18837         <bp-asm.h>.
18838         (__mpn_rshift): Don't use BP_SYM.
18839         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18840         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18841         <bp-sym.h> and <bp-asm.h>.
18842         (__sigsetjmp): Don't use BP_SYM.
18843         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18844         (L(start_addresses)): Don't use BP_SYM.
18845         (_start): Likewise.
18846         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18847         <bp-asm.h>.
18848         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18849         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18850         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18851         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18852         <bp-asm.h>.
18853         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18854         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18855         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18856         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18857         <bp-asm.h>.
18858         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
18859         comments.
18860         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18861         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18862         <bp-asm.h>.
18863         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
18864         FIXME comments.
18865         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18866         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18867         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18868         <bp-asm.h>.
18869         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
18870         comment.
18871         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18872         and <bp-asm.h>.
18873         (strncmp): Don't use BP_SYM,
18874         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18875         <bp-asm.h>.
18876         (__mpn_sub_n): Don't use BP_SYM.
18877         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18878         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18879         and <bp-asm.h>.
18880         (__mpn_submul_1): Don't use BP_SYM.
18881         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18883         <bp-sym.h> and <bp-asm.h>.
18884         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18886         <bp-sym.h> and <bp-asm.h>.
18887         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
18888         comment.
18889
18890 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18891
18892         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18893         Use ZK to minimize writes to Z.
18894         (sub_magnitudes): Simplify code a bit.
18895         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18896         Use ZK to minimize writes to Z.
18897         (sub_magnitudes): Simplify code a bit.
18898
18899 2013-02-27  Roland McGrath  <roland@hack.frob.com>
18900
18901         * csu/gmon-start.c: Add special exception to license text.
18902
18903 2013-02-27  Richard Henderson  <rth@redhat.com>
18904
18905         * scripts/config.guess: Update from config.git.
18906         * scripts/config.sub: Likewise.
18907
18908 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18909
18910         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18911
18912         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18913
18914         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18915
18916         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18917
18918         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18919
18920 2013-02-26  Roland McGrath  <roland@hack.frob.com>
18921
18922         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18923         [$(build-shared = yes].
18924
18925 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18926
18927         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18928         (__mul): Reduce iterations for calculating mantissa.
18929
18930         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18931         MPTWO.
18932         (__mpranred): Likewise.
18933
18934         [BZ #15160]
18935         * malloc/memusagestat.c (main): Draw graphs for heap and stack
18936         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18937
18938 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
18939
18940         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18941         Define __attribute__.
18942
18943 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18944
18945         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18946         unused.
18947         * posix/regex_internal.h (__attribute): Remove.
18948         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18949         (re_string_context_at): Likewise.
18950         (bitset_not): Use __attribute__ and mark function as possibly
18951         unused.
18952         (bitset_merge): Likewise.
18953         (bitset_mask): Likewise.
18954         (re_string_char_size_at): Likewise.
18955         (re_string_wchar_at): Likewise.
18956         (re_string_elem_size_at): Likewise.
18957
18958 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18959
18960         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18961         code.
18962         (cc32): Likewise.
18963
18964         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18965         (__acr): Likewise.
18966         (__cpy): Likewise.
18967         (norm): Likewise.
18968         (denorm): Likewise.
18969         (__dbl_mp): Likewise.
18970         (add_magnitudes): Likewise.
18971         (sub_magnitudes): Likewise.
18972         (__mul): Likewise.
18973         (__inv): Likewise.
18974
18975         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18976         style.
18977
18978         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18979         style.
18980
18981         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18982         code.
18983
18984         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18985         up changes with default code.
18986         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18987         Likewise.
18988
18989 2013-02-24  Allan McRae  <allan@archlinux.org>
18990
18991         * manual/socket.texi (The Internet Namespace): Order menu items
18992         to match that in the file.
18993
18994         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18995         node listing of the info page menu.
18996
18997 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
18998
18999         [BZ #13550]
19000         * sysdeps/i386/bp-asm.h: Remove file.
19001         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19002         (PARMS): Do not use macros from bp-asm.h.
19003         (S1): Likewise.
19004         (S2): Likewise.
19005         (SIZE): Likewise.
19006         (__mpn_add_n): Do not use BP_SYM
19007         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19008         "bp-asm.h".
19009         (PARMS): Do not use macros from bp-asm.h.
19010         (S1): Likewise.
19011         (SIZE): Likewise.
19012         (__mpn_addmul_1): Do not use BP_SYM
19013         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19014         "bp-asm.h".
19015         (PARMS): Do not use macros from bp-asm.h.
19016         (SIGMSK): Likewise.
19017         (_setjmp): Likewise.  Do not use BP_SYM.
19018         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19019         "bp-asm.h".
19020         (PARMS): Do not use macros from bp-asm.h.
19021         (SIGMSK): Likewise.
19022         (setjmp): Likewise.  Do not use BP_SYM.
19023         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19024         "bp-asm.h".
19025         (PARMS): Do not use macros from bp-asm.h.
19026         (__frexp): Do not use BP_SYM.
19027         (frexp): Likewise.
19028         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19029         "bp-asm.h".
19030         (PARMS): Do not use macros from bp-asm.h.
19031         (__frexpf): Do not use BP_SYM.
19032         (frexpf): Likewise.
19033         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19034         "bp-asm.h".
19035         (PARMS): Do not use macros from bp-asm.h.
19036         (__frexpl): Do not use BP_SYM.
19037         (frexpl): Likewise.
19038         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19039         "bp-asm.h".
19040         (PARMS): Do not use macros from bp-asm.h.
19041         (__remquo): Do not use BP_SYM.
19042         (remquo): Likewise.
19043         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19044         "bp-asm.h".
19045         (PARMS): Do not use macros from bp-asm.h.
19046         (__remquof): Do not use BP_SYM.
19047         (remquof): Likewise.
19048         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19049         "bp-asm.h".
19050         (PARMS): Do not use macros from bp-asm.h.
19051         (__remquol): Do not use BP_SYM.
19052         (remquol): Likewise.
19053         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19054         "bp-asm.h".
19055         (PARMS): Do not use macros from bp-asm.h.
19056         (DEST): Likewise.
19057         (SRC): Likewise.
19058         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
19059         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19060         "bp-asm.h".
19061         (PARMS): Do not use macros from bp-asm.h.
19062         (strlen): Do not use BP_SYM.
19063         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19064         "bp-asm.h".
19065         (PARMS): Do not use macros from bp-asm.h.
19066         (S1): Likewise.
19067         (S2): Likewise.
19068         (SIZE): Likewise.
19069         (__mpn_add_n): Do not use BP_SYM.
19070         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19071         "bp-asm.h".
19072         (PARMS): Do not use macros from bp-asm.h.
19073         (S1): Likewise.
19074         (SIZE): Likewise.
19075         (__mpn_addmul_1): Do not use BP_SYM.
19076         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19077         weak_alias.
19078         (bzero): Likewise.
19079         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19080         "bp-asm.h".
19081         (PARMS): Do not use macros from bp-asm.h.
19082         (S): Likewise.
19083         (SIZE): Likewise.
19084         (__mpn_lshift): Do not use BP_SYM.
19085         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19086         "bp-asm.h".
19087         (PARMS): Do not use macros from bp-asm.h.
19088         (DEST): Likewise.
19089         (SRC): Likewise.
19090         (LEN): Likewise.
19091         (memcpy): Likewise.  Do not use BP_SYM.
19092         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19093         libc_hidden_def and weak_alias.
19094         (mempcpy): Do not use BP_SYM in weak_alias.
19095         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19096         "bp-asm.h".
19097         (PARMS): Do not use macros from bp-asm.h.
19098         (DEST): Likewise.
19099         (LEN): Likewise.
19100         [!BZERO_P] (CHR): Likewise.
19101         (memset): Likewise.  Do not use BP_SYM.
19102         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19103         "bp-asm.h".
19104         (PARMS): Do not use macros from bp-asm.h.
19105         (S1): Likewise.
19106         (SIZE): Likewise.
19107         (__mpn_mul_1): Do not use BP_SYM.
19108         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19109         "bp-asm.h".
19110         (PARMS): Do not use macros from bp-asm.h.
19111         (S): Likewise.
19112         (SIZE): Likewise.
19113         (__mpn_rshift): Do not use BP_SYM.
19114         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19115         "bp-asm.h".
19116         (PARMS): Do not use macros from bp-asm.h.
19117         (STR): Likewise.
19118         (CHR): Likewise.
19119         (strchr): Likewise.  Do not use BP_SYM.
19120         (index): Do not use BP_SYM in weak_alias.
19121         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19122         "bp-asm.h".
19123         (PARMS): Do not use macros from bp-asm.h.
19124         (DEST): Likewise.
19125         (SRC): Likewise.
19126         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
19127         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19128         "bp-asm.h".
19129         (PARMS): Do not use macros from bp-asm.h.
19130         (strlen): Do not use BP_SYM.
19131         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19132         "bp-asm.h".
19133         (PARMS): Do not use macros from bp-asm.h.
19134         (S1): Likewise.
19135         (S2): Likewise.
19136         (SIZE): Likewise.
19137         (__mpn_sub_n): Do not use BP_SYM.
19138         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19139         "bp-asm.h".
19140         (PARMS): Do not use macros from bp-asm.h.
19141         (S1): Likewise.
19142         (SIZE): Likewise.
19143         (__mpn_submul_1): Do not use BP_SYM.
19144         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19145         "bp-asm.h".
19146         (PARMS): Do not use macros from bp-asm.h.
19147         (S1): Likewise.
19148         (S2): Likewise.
19149         (SIZE): Likewise.
19150         (__mpn_add_n): Do not use BP_SYM.
19151         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19152         weak_alias.
19153         (bzero): Likewise.
19154         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19155         "bp-asm.h".
19156         (PARMS): Do not use macros from bp-asm.h.
19157         (BLK2): Likewise.
19158         (LEN): Likewise.
19159         (memcmp): Do not use BP_SYM.
19160         (bcmp): Do not use BP_SYM in weak_alias.
19161         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19162         "bp-asm.h".
19163         (PARMS): Do not use macros from bp-asm.h.
19164         (DEST): Likewise.
19165         (SRC): Likewise.
19166         (LEN): Likewise.
19167         (memcpy): Likewise.  Do not use BP_SYM.
19168         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19169         "bp-asm.h".
19170         (PARMS): Do not use macros from bp-asm.h.
19171         (DEST): Likewise.
19172         (SRC): Likewise.
19173         (LEN): Likewise.
19174         (memmove): Likewise.  Do not use BP_SYM.
19175         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19176         "bp-asm.h".
19177         (PARMS): Do not use macros from bp-asm.h.
19178         (DEST): Likewise.
19179         (SRC): Likewise.
19180         (LEN): Likewise.
19181         (__mempcpy): Likewise.  Do not use BP_SYM.
19182         (mempcpy): Do not use BP_SYM in weak_alias.
19183         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19184         "bp-asm.h".
19185         (PARMS): Do not use macros from bp-asm.h.
19186         (DEST): Likewise.
19187         (LEN): Likewise.
19188         [!BZERO_P] (CHR): Likewise.
19189         (memset): Likewise.  Do not use BP_SYM.
19190         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19191         "bp-asm.h".
19192         (PARMS): Do not use macros from bp-asm.h.
19193         (STR2): Likewise.
19194         (strcmp): Do not use BP_SYM.
19195         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19196         "bp-asm.h".
19197         (PARMS): Do not use macros from bp-asm.h.
19198         (STR): Likewise.
19199         (DELIM): Likewise.
19200         [USE_AS_STRTOK_R] (SAVE): Likewise.
19201         (FUNCTION): Likewise.  Do not use BP_SYM.
19202         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19203         aliases.
19204         (strtok_r): Likewise.
19205         (__GI___strtok_r): Likewise.
19206         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19207         (PARMS): Do not use macros from bp-asm.h.
19208         (S): Likewise.
19209         (SIZE): Likewise.
19210         (__mpn_lshift): Do not use BP_SYM.
19211         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19212         (PARMS): Do not use macros from bp-asm.h.
19213         (STR): Likewise.
19214         (CHR): Likewise.
19215         (__memchr): Do not use BP_SYM.
19216         (memchr): Do not use BP_SYM in weak_alias.
19217         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19218         (PARMS): Do not use macros from bp-asm.h.
19219         (BLK2): Likewise.
19220         (LEN): Likewise.
19221         (memcmp): Do not use BP_SYM.
19222         (bcmp): Do not use BP_SYM in weak_alias.
19223         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19224         (PARMS): Do not use macros from bp-asm.h.
19225         (S1): Likewise.
19226         (SIZE): Likewise.
19227         (__mpn_mul_1): Do not use BP_SYM.
19228         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19229         "bp-asm.h".
19230         (PARMS): Do not use macros from bp-asm.h.
19231         (STR): Likewise.
19232         (CHR): Likewise.
19233         (__rawmemchr): Do not use BP_SYM.
19234         (rawmemchr): Do not use BP_SYM in weak_alias.
19235         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19236         (PARMS): Do not use macros from bp-asm.h.
19237         (S): Likewise.
19238         (SIZE): Likewise.
19239         (__mpn_rshift): Do not use BP_SYM.
19240         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19241         (PARMS): Do not use macros from bp-asm.h.
19242         (SIGMSK): Likewise.
19243         (__sigsetjmp): Likewise.  Do not use BP_SYM.
19244         * sysdeps/i386/start.S: Do not include "bp-sym.h".
19245         (_start): Do not use BP_SYM.
19246         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19247         (PARMS): Do not use macros from bp-asm.h.
19248         (DEST): Likewise.
19249         (SRC): Likewise.
19250         (__stpcpy): Likewise.  Do not use BP_SYM.
19251         (stpcpy): Do not use BP_SYM in weak_alias.
19252         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19253         "bp-asm.h".
19254         (PARMS): Do not use macros from bp-asm.h.
19255         (DEST): Likewise.
19256         (SRC): Likewise.
19257         (LEN): Likewise.
19258         (__stpncpy): Likewise.  Do not use BP_SYM.
19259         (stpncpy): Do not use BP_SYM in weak_alias.
19260         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19261         (PARMS): Do not use macros from bp-asm.h.
19262         (STR): Likewise.
19263         (CHR): Likewise.
19264         (strchr): Likewise.  Do not use BP_SYM.
19265         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19266         "bp-asm.h".
19267         (PARMS): Do not use macros from bp-asm.h.
19268         (STR): Likewise.
19269         (CHR): Likewise.
19270         (__strchrnul): Likewise.  Do not use BP_SYM.
19271         (strchrnul): Do not use BP_SYM in weak_alias.
19272         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19273         "bp-asm.h".
19274         (PARMS): Do not use macros from bp-asm.h.
19275         (STOP): Likewise.
19276         (strcspn): Do not use BP_SYM.
19277         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19278         "bp-asm.h".
19279         (PARMS): Do not use macros from bp-asm.h.
19280         (STR): Likewise.
19281         (STOP): Likewise.
19282         (strpbrk): Likewise.  Do not use BP_SYM.
19283         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19284         "bp-asm.h".
19285         (PARMS): Do not use macros from bp-asm.h.
19286         (STR): Likewise.
19287         (CHR): Likewise.
19288         (strrchr): Likewise.  Do not use BP_SYM.
19289         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19290         (PARMS): Do not use macros from bp-asm.h.
19291         (SKIP): Likewise.
19292         (strspn): Do not use BP_SYM.
19293         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19294         (PARMS): Do not use macros from bp-asm.h.
19295         (STR): Likewise.
19296         (DELIM): Likewise.
19297         (SAVE): Likewise.
19298         (FUNCTION): Likewise.  Do not use BP_SYM.
19299         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19300         aliases.
19301         (strtok_r): Likewise.
19302         (__GI___strtok_r): Likewise.
19303         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19304         (PARMS): Do not use macros from bp-asm.h.
19305         (S1): Likewise.
19306         (S2): Likewise.
19307         (SIZE): Likewise.
19308         (__mpn_sub_n): Do not use BP_SYM.
19309         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19310         "bp-asm.h".
19311         (PARMS): Do not use macros from bp-asm.h.
19312         (S1): Likewise.
19313         (SIZE): Likewise.
19314         (__mpn_submul_1): Do not use BP_SYM.
19315         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19316         <bp-sym.h>.
19317         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19318         and <bp-asm.h>.
19319         (PARMS): Do not use macros from bp-asm.h.
19320         (FLAGS): Likewise.
19321         (PTID): Likewise.
19322         (TLS): Likewise.
19323         (CTID): Likewise.
19324         (__clone): Do not use BP_SYM.
19325         (clone): Do not use BP_SYM in weak_alias.
19326         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19327         and <bp-asm.h>.
19328         (PARMS): Do not use macros from bp-asm.h.
19329         (LEN): Likewise.
19330         (__mmap64): Do not use BP_SYM.
19331         (mmap64): Do not use BP_SYM in weak_alias.
19332         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19333         <bp-sym.h> and <bp-asm.h>.
19334         (PARMS): Do not use macros from bp-asm.h.
19335         (__posix_fadvise64_l64): Do not use BP_SYM.
19336         * sysdeps/unix/sysv/linux/i386/semtimedop.S
19337         (PARMS): Do not use macros from bp-asm.h.
19338         (NSOPS): Likewise.
19339         (semtimedop): Do not use BP_SYM.
19340         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19341         and <bp-asm.h>.
19342
19343 2013-02-21  Allan McRae  <allan@archlinux.org>
19344
19345         * manual/message.texi (Charset conversion in gettext):
19346         Move @end statement to beginning of line.
19347
19348 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19349
19350         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19351         static.
19352         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19353         Likewise.
19354
19355         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19356         (denorm): Likewise.
19357         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19358         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19359
19360 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19361
19362         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19363         tail-call to the resolved function if pltexit isn't needed.
19364
19365 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19366
19367         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19368         or Y being zero as being unlikely.
19369         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19370         Likewise.
19371
19372 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
19373
19374         * manual/nss.texi (System Databases and Name Service Switch):
19375         Remove frobnicate @pxref.
19376
19377 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
19378
19379         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19380         __attribute__ ((unused)) to __attribute__ ((__unused__)).
19381
19382 2013-02-20  Petr Machata  <pmachata@redhat.com>
19383
19384         * elf/elf.h (R_ARM_TARGET1): New macro.
19385         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19386         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19387         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19388         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19389         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19390         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19391         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19392         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19393         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19394         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19395         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19396         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19397         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19398         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19399         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19400         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19401         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19402         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19403         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19404         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19405         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19406         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19407         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19408         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19409         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19410         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19411         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19412         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19413         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19414         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19415         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19416         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19417         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19418         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19419         (R_ARM_THM_GOT_BREL12): Likewise.
19420         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19421         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19422         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19423         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19424         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19425         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19426         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19427         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19428         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19429
19430 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
19431
19432         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19433         __attribute_used__ to __attribute__ ((unused)).
19434
19435 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19436
19437         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19438         powerpc mpa.c.
19439         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19440         comment formatting.
19441         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19442
19443 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
19444
19445         [BZ #13550]
19446         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19447         Remove macro.
19448         (ENTER): Remove both macro definitions.
19449         (LEAVE): Likewise.
19450         (CHECK_BOUNDS_LOW): Likewise.
19451         (CHECK_BOUNDS_HIGH): Likewise.
19452         (CHECK_BOUNDS_BOTH): Likewise.
19453         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19454         (RETURN_BOUNDED_POINTER): Likewise.
19455         (RETURN_NULL_BOUNDED_POINTER): Likewise.
19456         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19457         (POP_ERRNO_LOCATION_RETURN): Likewise.
19458         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19459         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19460         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19461         macros.
19462         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19463         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19464         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19465         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19466         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19467         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19468         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19469         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19470         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19471         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19472         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19473         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19474         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19475         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19476         removed macros.
19477         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19478         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19479         macros.
19480         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19481         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19482         * sysdeps/i386/i586/memset.S (memset): Likewise.
19483         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19484         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19485         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19486         macros.
19487         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19488         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19489         Change uses of L(2) to L(out).
19490         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19491         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19492         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19493         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19494         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19495         removed macros.
19496         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19497         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19498         macros.
19499         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19500         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19501         (RETURN): Do not use macro LEAVE.
19502         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19503         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19504         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19505         * sysdeps/i386/i686/memset.S (memset): Likewise.
19506         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19507         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19508         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19509         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19510         Likewise.
19511         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19512         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
19513         L(1_2) and L(1_3) into L(1).
19514         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19515         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19516         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19517         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19518         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19519         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19520         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19521         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19522         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19523         macros.
19524         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19525         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19526         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19527         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19528         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19529         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19530         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19531         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19532         * sysdeps/i386/strcspn.S (strcspn): Likewise.
19533         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19534         * sysdeps/i386/strrchr.S (strrchr): Likewise.
19535         * sysdeps/i386/strspn.S (strspn): Likewise.
19536         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19537         conditional code.
19538         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19539         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19540         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19541         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
19542         L(1_3) into L(1_1).
19543         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19544         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19545         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19546         macros.
19547         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19548
19549 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
19550
19551         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19552         macro.
19553
19554 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19555
19556         * math/atest-exp.c (exp_mpn): Remove ROUND.
19557         * math/atest-exp2.c (exp_mpn): Likewise.
19558         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19559
19560         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19561         * stdlib/tst-tls-atexit-lib.c: Likewise.
19562         * stdlib/tst-tls-atexit.c: Likewise.
19563
19564 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19565
19566         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19567         and __attribute_alloc_size__.
19568
19569 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19570
19571         * include/programs/xmalloc.h: Change __attribute_alloc_size to
19572         __attribute_alloc_size__.
19573         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19574         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19575
19576 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19577
19578         * include/programs/xmalloc.h: New file.
19579         * catgets/gencat.c: Include it.
19580         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19581         * elf/pldd.c: Likewise.
19582         * iconv/iconv_charmap.c: Likewise.
19583         * iconv/iconvconfig.c: Likewise.
19584         * iconv/strtab.c: Likewise.
19585         * locale/programs/locale.c: Likewise.
19586         * locale/programs/localedef.h: Likewise.
19587         * locale/programs/simple-hash.c: Likewise.
19588         * nscd/nscd.h: Likewise.
19589         * nss/makedb.c: Likewise.
19590         * sysdeps/generic/ldconfig.h: Likewise.
19591
19592 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19593
19594         * Versions.def: Add GLIBC_2.18.
19595         * include/link.h (struct link_map): New member l_tls_dtor_count.
19596         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19597         (__call_tls_dtors): Likewise.
19598         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19599         __cxa_thread_atexit_impl.
19600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19601         Likewise.
19602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19603         Likewise.
19604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19605         Likewise.
19606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19607         Likewise.
19608         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19610         Likewise.
19611         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19612         Likewise.
19613         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19614         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19615         Likewise.
19616         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19617         (tests): Add test case tst-tls-atexit.
19618         (modules-names): Add shared library for tst-tls-atexit.
19619         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19620         (GLIBC_PRIVATE): Add __call_tls_dtors.
19621         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19622         for libstdc++.
19623         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19624         * stdlib/tst-tls-atexit.c: New test case.
19625         * stdlib/tst-tls-atexit-lib.c: New test case.
19626
19627         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19628
19629         * elf/Versions (ld): Add _dl_find_dso_for_object.
19630         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19631         * elf/dl-open.c (_dl_find_dso_for_object): New function.
19632         (dl_open_worker): Use _dl_find_dso_for_object.
19633         * elf/dl-sym.c (do_sym): Likewise.
19634         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19635
19636 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19637
19638         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19639         Syntactic changes only.
19640         (_dl_runtime_profile): Do a tail-call to the resolved function.
19641
19642 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
19643
19644         [BZ #13550]
19645         * sysdeps/x86_64/bp-asm.h: Remove file.
19646         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19647         <bp-sym.h> and <bp-asm.h>.
19648         (__clone): Do not use BP_SYM.
19649         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19650         <bp-sym.h> and <bp-asm.h>.
19651         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19652         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19653         "bp-asm.h".
19654         (_setjmp): Do not use BP_SYM.
19655         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19656         "bp-asm.h".
19657         (setjmp): Do not use BP_SYM.
19658         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19659         libc_hidden_def.
19660         (mempcpy): Do not use BP_SYM in weak_alias.
19661         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19662         "bp-asm.h".
19663         (strchr): Do not use BP_SYM.
19664         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19665         "bp-asm.h".
19666         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19667         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19668         (_start): Do not use BP_SYM.
19669         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19670         "bp-asm.h".
19671         (strcat): Do not use BP_SYM.
19672         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19673         "bp-asm.h".
19674         (STRCMP): Do not use BP_SYM.
19675         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19676         "bp-asm.h".
19677         (STRCPY): Do not use BP_SYM.
19678         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19679         "bp-asm.h".
19680         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19681         "bp-asm.h".
19682         (FUNCTION): Do not use BP_SYM.
19683         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19684         weak_alias.
19685         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19686
19687 2013-02-17  Andreas Jaeger  <aj@suse.de>
19688
19689         * time/Versions: Sort entries.
19690         * string/Versions: Likewise.
19691         * resolv/Versions: Likewise.
19692         * posix/Versions: Likewise.
19693         * iconv/Versions: Likewise.
19694         * elf/Versions: Likewise.
19695         * wcsmbs/Versions: Likewise.
19696
19697 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19698
19699         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19700         loop termination condition.
19701
19702         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19703         variable to calculate EZ.
19704         (__sqr): Likewise.
19705
19706         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19707         the lower precision input.
19708
19709 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
19710
19711         [BZ #13550]
19712         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19713         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19714         (run-via-rtld-prefix): Do not handle %-bp tests.
19715         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19716         (all-object-suffixes): Remove .ob.
19717         (bppfx): Remove variable.
19718         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19719         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19720         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19721         [$(build-bounded) = yes] (libtype.ob): Likewise.
19722         * Makerules (elide-routines.ob): Remove variable.
19723         (do-tests-clean): Do not handle *-bp.out.
19724         (common-mostlyclean): Do not handle *-bp and *-bp.out.
19725         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19726         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19727         (tests): Do not include $(tests-bp.out).
19728         (xtests): Do not include $(xtests-bp.out).
19729         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19730         [$(build-bounded) = yes] ($(addprefix
19731         $(objpfx),$(binaries-bounded))): Remove rule.
19732         ($(objpfx)%-bp.out): Remove rule.
19733         * config.make.in (build-bounded): Remove variable.
19734         * crypt/Makefile [$(build-bounded) = yes]
19735         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19736         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19737         append to variable.
19738         [$(build-bounded) = yes] (install-lib): Likewise.
19739         [$(build-bounded) = yes] (generated): Likewise.
19740         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19741         Remove rule.
19742         * intl/Makefile [$(build-bounded) = yes]
19743         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19744         * math/Makefile [$(build-bounded) = yes]
19745         ($(tests:%=$(objpfx)%-bp): Likewise.
19746         * misc/Makefile [$(build-bounded) = yes]
19747         ($(objpfx)tst-tsearch-bp): Likewise.
19748         * nptl/Makeconfig (bounded-thread-library): Remove variable.
19749         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19750         Remove dependency.
19751         * string/Makefile (o-objects.ob): Remove variable.
19752         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19753         (CFLAGS-.ob): Remove variable.
19754         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19755         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19756         both definitions of variable.
19757         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19758         (ASFLAGS-.ob): Remove variable.
19759
19760 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
19761
19762         [BZ #13550]
19763         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19764         Remove __BOUNDED_POINTERS__ from condition.
19765         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19766         * string/bits/string2.h [!__NO_STRING_INLINES &&
19767         !__BOUNDED_POINTERS__]: Likewise.
19768         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19769         Likewise.
19770         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19771         Remove conditional code.
19772         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19773         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19774         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19775         condition.
19776
19777         [BZ #13550]
19778         * csu/libc-start.c: Do not include <bp-sym.h>.
19779         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19780         * elf/dl-open.c: Do not include <bp-sym.h>.
19781         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19782         * math/fegetenv.c: Do not include <bp-sym.h>.
19783         (fegetenv): Do not use BP_SYM in versioned symbols.
19784         * nptl/sysdeps/pthread/bits/libc-lockP.h
19785         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19786         <bp-sym.h>.
19787         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19788         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19789         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19790         (__pthread_mutex_destroy): Likewise.
19791         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19792         (__pthread_mutex_lock): Likewise.
19793         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19794         (__pthread_mutex_trylock): Likewise.
19795         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19796         (__pthread_mutex_unlock): Likewise.
19797         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19798         (__pthread_mutexattr_init): Likewise.
19799         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19800         (__pthread_mutexattr_destroy): Likewise.
19801         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19802         (__pthread_mutexattr_settype): Likewise.
19803         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19804         (__pthread_rwlock_init): Likewise.
19805         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19806         (__pthread_rwlock_destroy): Likewise.
19807         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19808         (__pthread_rwlock_rdlock): Likewise.
19809         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19810         (__pthread_rwlock_tryrdlock): Likewise.
19811         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19812         (__pthread_rwlock_wrlock): Likewise.
19813         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19814         (__pthread_rwlock_trywrlock): Likewise.
19815         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19816         (__pthread_rwlock_unlock): Likewise.
19817         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19818         (__pthread_key_create): Likewise.
19819         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19820         (__pthread_setspecific): Likewise.
19821         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19822         (__pthread_getspecific): Likewise.
19823         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19824         Likewise.
19825         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19826         (_pthread_cleanup_push_defer): Likewise.
19827         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19828         (_pthread_cleanup_pop_restore): Likewise.
19829         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19830         (pthread_setcancelstate): Likewise.
19831         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19832         <bp-sym.h>.
19833         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19834         (memchr): Do not use BP_SYM in weak_alias.
19835         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19836         (fegetenv): Do not use BP_SYM in versioned symbols.
19837         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19838         (fesetenv): Do not use BP_SYM in versioned symbols.
19839         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19840         (feupdateenv): Do not use BP_SYM in versioned symbols.
19841         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19842         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19843         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19844         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19845         (open64): Do not use BP_SYM in weak_alias.
19846         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19847         (fegetenv): Do not use BP_SYM in versioned symbols.
19848         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19849         (fesetenv): Do not use BP_SYM in versioned symbols.
19850         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19851         (feupdateenv): Do not use BP_SYM in versioned symbols.
19852         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19853         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19854         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19855         (feraiseexcept): Do not use BP_SYM in versioned symbols.
19856         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19857         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19858         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19859         <bp-sym.h>.
19860         (__libc_start_main): Do not use BP_SYM.
19861
19862 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19863
19864         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19865         redundant return line.
19866         (norm): Likewise.
19867         (denorm): Likewise.
19868         (dbl_mp): Likewise.
19869         (sub_magnitudes): Likewise.
19870         (__add): Likewise.
19871         (__sub): Likewise.
19872         (__mul): Likewise.
19873         (__inv): Likewise.
19874         (__dvd): Likewise.
19875         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19876         (norm): Likewise.
19877         (denorm): Likewise.
19878         (dbl_mp): Likewise.
19879         (sub_magnitudes): Likewise.
19880         (__add): Likewise.
19881         (__sub): Likewise.
19882         (__mul): Likewise.
19883         (__inv): Likewise.
19884         (__dvd): Likewise.
19885
19886         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19887         instead of __mul.
19888         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19889         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19890         (cc32): Likewise.
19891
19892         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19893         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19894         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19895         of __mul for squares.
19896         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19897         function
19898         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19899         Likewise.
19900         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19901         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19902
19903 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
19904
19905         [BZ #13550]
19906         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19907         code.
19908         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19909         prototype or function definition.  Rename ubp_* variables and
19910         parameters.  Remove argv definitions conditional on
19911         [__BOUNDED_POINTERS__].
19912         * debug/backtrace.c (__backtrace): Do not use __unbounded.
19913         * elf/dl-runtime.c (_dl_fixup): Likewise.
19914         * include/set-hooks.h (RUN_HOOK): Likewise.
19915         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19916         definition.
19917         * string/strcpy.c (strcpy): Do not use __unbounded.
19918         * sysdeps/generic/frame.h (struct layout): Likewise.
19919         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19920         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19921         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19922         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19923         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19924         (__backtrace): Likewise.
19925         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19926         use __ptrvalue.
19927         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19928         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19929         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19930         Likewise.
19931         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19932         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19933         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19934         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19935         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19936         Do not use __unbounded.
19937         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19938         Rename __unboundedrlimits parameter to rlimits in prototype.
19939         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19940         Do not use __unbounded.
19941         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19942         not use __ptrvalue.
19943         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19944         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19945         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19946         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19947         __ptrvalue or __unbounded.
19948         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19949         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19950         use __unbounded.
19951         (__new_msgctl): Do not use __ptrvalue.
19952         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19953         __unbounded.
19954         (__libc_msgrcv): Do not use __ptrvalue.
19955         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19956         startup_info): Do not use __unbounded.
19957         (__libc_start_main): Likewise.  Rename ubp_* variables and
19958         parameters.  Remove argv definitions conditional on
19959         [__BOUNDED_POINTERS__].
19960         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19961         __ptrvalue.
19962         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19963         use __unbounded.
19964         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19965         or __ptrvalue.
19966         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19967         use __unbounded.
19968         (__new_shmctl): Do not use __ptrvalue.
19969         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19970         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19971         Likewise.
19972         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19973         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19974         (__libc_sigaction): Likewise.
19975         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19976         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19977         Likewise.
19978         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19979
19980 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
19981
19982         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19983
19984         * string/mempcpy.c: Implement by calling memcpy.
19985
19986 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19987
19988         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19989
19990         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19991         evaluation.
19992
19993         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19994         values in the mantissa.
19995
19996         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19997         minimize writes to Z.
19998         (sub_magnitudes): Simplify code a bit.
19999
20000 2013-02-12  Roland McGrath  <roland@hack.frob.com>
20001
20002         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20003         from the message.  The linker prefixes all warnings with that already.
20004
20005 2013-02-12  Andreas Schwab  <schwab@suse.de>
20006
20007         [BZ #15078]
20008         * posix/regexec.c (extend_buffers): Add parameter min_len.
20009         (check_matching): Pass minimum needed length.
20010         (clean_state_log_if_needed): Likewise.
20011         (get_subexp): Likewise.
20012         * posix/Makefile (tests): Add bug-regex34.
20013         (bug-regex34-ENV): Define.
20014         * posix/bug-regex34.c: New file.
20015
20016         [BZ #11561]
20017         * posix/regcomp.c (parse_bracket_exp): When looking up collating
20018         elements compare against the byte sequence of it, not its name.
20019         * posix/Makefile (tests): Add bug-regex35.
20020         (bug-regex35-ENV): Define.
20021         * posix/bug-regex35.c: New file.
20022
20023 2013-02-11  Tom de Vries  <tom@codesourcery.com>
20024
20025         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
20026         comment.
20027         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20028         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20029         (CHECK_EOL): Add undef.
20030
20031 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
20032
20033         * bits/stdlib-bsearch.h: New file.
20034         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
20035         * stdlib/stdlib.h: Likewise.
20036
20037 2013-02-11  Roland McGrath  <roland@hack.frob.com>
20038
20039         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20040         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20041         declaration.
20042         * manual/search.texi (Array Search Function): Add missing const in
20043         lfind prototype.
20044         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20045         declaration to use rlim_t.
20046         (Basic Scheduling Functions): Remove erroneous const from
20047         sched_getparam prototype.  Remove erroneous * from
20048         sched_get_priority_max and sched_get_priority_min prototypes.
20049         (Resource Usage): Fix summary @comment on vtimes to refer to
20050         sys/vtimes.h rather than vtimes.h.
20051         Add missing *s in vtimes prototype.
20052         (Limits on Resources): Fix ulimit prototype to return long int.
20053         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20054         prototypes to use long int rather than double.
20055         (BSD Random): Fix initstate and setstate to use char *, not void *.
20056         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20057         prototype to make second argument 'struct aiocb64 *const[]'.
20058         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20059         (Status of AIO Operations): Remove erroneous const in aio_return and
20060         aio_return64 prototypes.
20061         (Synchronizing I/O): Fix sync prototype to return void.
20062         * manual/startup.texi (Suboptions): Remove an erroneous const in
20063         getsubopt prototype.
20064         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20065         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20066         use size_t rather than int.
20067         (Scanning All Users): Likewise for getpwent_r.
20068         (Setting Groups): Add missing const to setgroups prototype.
20069         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20070         * manual/socket.texi (Host Names): Fix gethostbyaddr and
20071         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20072         'const void *' rather than 'const char *'.
20073         (Host Address Functions): Likewise for inet_ntop.
20074         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20075         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20076         ssize_t for return value.
20077         (Sending Data): Likewise for send, sendto, sendmsg.
20078         (Socket Option Functions): Add a missing const in setsockopt prototype.
20079         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20080         use wchar_t for the argument.
20081         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20082         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20083         take no arguments.
20084         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20085         double/float/long double for second argument.
20086         Fix return types of significand, significandf, significandl.
20087         * manual/filesys.texi (Setting Permissions): Use mode_t for second
20088         argument in fchmod prototype.
20089         (File Owner): Use uid_t and gid_t in fchown prototype.
20090         (File Times): Add const to utimes, futimes, and lutimes prototypes.
20091         (Making Special Files): Use mode_t and dev_t in mknod prototype.
20092         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20093         use 'const struct dirent **' as argument types to CMP function pointer
20094         argument.
20095         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20096         (File Times): Fix summary magic @comment for struct utimbuf and utime
20097         to refer to utime.h, not time.h.
20098         * manual/string.texi (Argz Functions): Add missing const in
20099         argz_extract and argz_next prototypes.
20100         (Finding Tokens in a String): Likewise for basename.
20101         (String/Array Comparison): Fix typo in wcscasecmp prototype.
20102         (Copying and Concatenation): Fix typo in wmemmove prototype.
20103         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20104         (Signal Stack): Remove erroneous const in sigstack prototype.
20105         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20106         prototype.
20107         (Simple Calendar Time): Likewise for stime.
20108         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20109         prototype.
20110         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20111         say sys/sysctl.h instead.
20112         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20113         and vsyslog prototypes.
20114
20115 2013-02-11  Tom de Vries  <tom@codesourcery.com>
20116
20117         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20118         Remove.
20119
20120 2013-02-11  Roland McGrath  <roland@hack.frob.com>
20121
20122         * misc/sys/mman.h: Fix typo in mremap comment.
20123
20124 2013-02-08  Roland McGrath  <roland@hack.frob.com>
20125
20126         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20127         the '\0' terminator.
20128
20129 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
20130
20131         [BZ #13550]
20132         * debug/segfault.c: Don't include <bp-checks.h>.
20133         * sysdeps/generic/bp-checks.h: Remove file.
20134         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20135         (__GETDENTS): Don't use CHECK_N.
20136         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20137         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20138         (__getgroups): Don't use CHECK_N.
20139         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20140         (setgroups): Don't use CHECK_N.
20141         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20142         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20143         (__libc_msgrcv): Don't use CHECK_N.
20144         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20145         (__libc_msgsnd): Don't use CHECK_N.
20146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20147         <bp-checks.h>.
20148         (__libc_pread): Don't use CHECK_N.
20149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20150         include <bp-checks.h>.
20151         (__libc_pread64): Don't use CHECK_N.
20152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20153         include <bp-checks.h>.
20154         (__libc_pwrite): Don't use CHECK_N.
20155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20156         include <bp-checks.h>.
20157         (__libc_pwrite64): Don't use CHECK_N.
20158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20159         <bp-checks.h>.
20160         (__libc_pread): Don't use CHECK_N.
20161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20162         include <bp-checks.h>.
20163         (__libc_pread64): Don't use CHECK_N.
20164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20165         include <bp-checks.h>.
20166         (__libc_pwrite): Don't use CHECK_N.
20167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20168         include <bp-checks.h>.
20169         (__libc_pwrite64): Don't use CHECK_N.
20170         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20171         (do_pread): Don't use CHECK_N.
20172         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20173         (do_pread64): Don't use CHECK_N.
20174         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20175         (do_pwrite): Don't use CHECK_N.
20176         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20177         (do_pwrite64): Don't use CHECK_N.
20178         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20179         (__libc_readv): Don't use CHECK_N.
20180         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20181         (semop): Don't use CHECK_N.
20182         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20183         <bp-checks.h>.
20184         (semtimedop): Don't use CHECK_N.
20185         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20186         (__libc_pread): Don't use CHECK_N.
20187         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20188         <bp-checks.h>.
20189         (__libc_pread64): Don't use CHECK_N.
20190         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20191         <bp-checks.h>.
20192         (__libc_pwrite): Don't use CHECK_N.
20193         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20194         <bp-checks.h>.
20195         (__libc_pwrite64): Don't use CHECK_N.
20196         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20197         <bp-checks.h>.
20198         (__libc_msgrcv): Don't use CHECK_N.
20199         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20200         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
20201         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20202         (__libc_writev): Don't use CHECK_N.
20203
20204 2013-02-08  Roland McGrath  <roland@hack.frob.com>
20205
20206         * string/strcpy.c: Removed unused variable.
20207
20208         * Makeconfig (+sysdep-includes): Define with := rather than =.
20209         Use an existing include/ subdir of each sysdeps dir before it.
20210
20211 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
20212
20213         * nscd/connection.c (register_traced_file): Comment function.
20214         [HAVE_INOTIFY] (union __inev): Define.
20215         [HAVE_INOTIFY] (inotify_check_files): New function.
20216         [HAVE_INOTIFY] (clear_db_cache): Likewise.
20217         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20218         clear_db_cache.
20219         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20220
20221 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
20222
20223         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20224         loaded if not already and that a failure is permanent.
20225
20226 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
20227
20228         [BZ #15006]
20229         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20230         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20231
20232 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
20233
20234         [BZ #13550]
20235         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20236         (CHECK_1_NULL_OK): Likewise.
20237         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20238         (__fxstat): Do not use CHECK_1.
20239         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20240         <bp-checks.h>.
20241         (___fxstat64): Do not use CHECK_1.
20242         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20243         <bp-checks.h>.
20244         (__fxstatat): Do not use CHECK_1.
20245         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20246         <bp-checks.h>.
20247         (__fxstatat64): Do not use CHECK_1.
20248         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20249         <bp-checks.h>.
20250         (__fxstat): Do not use CHECK_1.
20251         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20252         <bp-checks.h>.
20253         (__fxstatat): Do not use CHECK_1.
20254         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20255         <bp-checks.h>.
20256         (__getresgid): Do not use CHECK_1.
20257         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20258         <bp-checks.h>.
20259         (__getresuid): Do not use CHECK_1.
20260         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20261         <bp-checks.h>.
20262         (__lxstat): Do not use CHECK_1.
20263         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20264         <bp-checks.h>.
20265         (__old_msgctl): Do not use CHECK_1.
20266         (__new_msgctl): Likewise.
20267         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20268         <bp-checks.h>.
20269         (__new_setrlimit): Do not use CHECK_1.
20270         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20271         <bp-checks.h>.
20272         (__old_shmctl): Do not use CHECK_1.
20273         (__new_shmctl): Likewise.
20274         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20275         <bp-checks.h>.
20276         (__xstat): Do not use CHECK_1.
20277         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20278         (__lxstat): Do not use CHECK_1.
20279         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20280         <bp-checks.h>.
20281         (___lxstat64): Do not use CHECK_1.
20282         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20283         (__old_msgctl): Do not use CHECK_1.
20284         (__new_msgctl): Likewise.
20285         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20286         <bp-checks.h>.
20287         (__gettimeofday): Do not use CHECK_1.
20288         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20289         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20290         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20291         <bp-checks.h>.
20292         (__gettimeofday): Do not use CHECK_1.
20293         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20294         (__old_shmctl): Do not use CHECK_1_NULL_OK.
20295         (__new_shmctl): Do not use CHECK_1.
20296         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20297         <bp-checks.h>.
20298         (do_sigtimedwait): Do not use CHECK_1.
20299         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20300         <bp-checks.h>.
20301         (do_sigwaitinfo): Do not use CHECK_1.
20302         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20303         <bp-checks.h>.
20304         (msgctl): Do not use CHECK_1.
20305         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20306         <bp-checks.h>.
20307         (shmctl): Do not use CHECK_1.
20308         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20309         (ustat): Do not use CHECK_1.
20310         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20311         <bp-checks.h>.
20312         (__fxstat): Do not use CHECK_1.
20313         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20314         <bp-checks.h>.
20315         (__fxstatat): Do not use CHECK_1.
20316         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20317         <bp-checks.h>.
20318         (__lxstat): Do not use CHECK_1.
20319         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20320         <bp-checks.h>.
20321         (__xstat): Do not use CHECK_1.
20322         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20323         (__xstat): Do not use CHECK_1.
20324         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20325         (___xstat64): Do not use CHECK_1.
20326
20327         [BZ #13550]
20328         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20329         definitions.
20330         (CHECK_BOUNDS_HIGH): Likewise.
20331         * string/strcpy.c: Do not include <bp-checks.h>.
20332         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20333
20334 2013-02-07  Roland McGrath  <roland@hack.frob.com>
20335
20336         * nscd/nscd-client.h (__nscd_drop_map_ref):
20337         Add __attribute__ ((unused)).
20338         * nis/nss-nisplus.h (niserr2nss): Likewise.
20339
20340         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20341         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20342
20343         * csu/libc-tls.c (init_static_tls, init_slotinfo):
20344         Remove inline keyword.
20345         * include/rounding-mode.h (round_away): Likewise.
20346         * libio/wfileops.c (adjust_wide_data): Likewise.
20347         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20348         (__m128i_strloadu_tolower): Likewise.
20349         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20350         (__m128i_strloadu_tolower): Likewise.
20351         * time/mktime.c (ydhms_diff): Likewise.
20352         * locale/elem-hash.h (elem_hash): Likewise.
20353         * locale/setlocale.c (setdata): Likewise.
20354         * posix/regex_internal.h (re_string_char_size_at): Likewise.
20355         (re_string_wchar_at): Likewise.
20356         (bitset_not, bitset_merge, bitset_mask): Likewise.
20357         [!(__GNUC__ > 3)] (inline): Remove macro.
20358         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20359         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20360         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20361         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20362         * string/memcmp.c (memcmp_bytes): Likewise.
20363         * locale/programs/locarchive.c (compute_hashval): Likewise.
20364         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20365         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20366         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20367         * nss/getent.c (print_rpc, print_protocols): Likewise.
20368         (print_passwd, print_group, print_aliases): Likewise.
20369         * nis/nss-nisplus.h (niserr2nss): Likewise.
20370         * nscd/connections.c (restart_p): Likewise.
20371         Change return type to bool.
20372
20373 2013-02-05  Roland McGrath  <roland@hack.frob.com>
20374
20375         * Makeconfig (all-Depend-files): Add existing
20376         $(sorted-subdirs:=/Depend) files.
20377         (all-subdirs): Remove nss.
20378         * sysdeps/unix/inet/Subdirs: Add it here instead.
20379         * hesiod/Depend: New file.
20380
20381         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20382         instead of calling alloca.
20383
20384         * io/lseek.c (__lseek): Rename to __libc_lseek.
20385         Define __lseek as an alias.
20386
20387         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20388
20389 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
20390
20391         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20392         else clause and remove check for non-standard endianness.
20393
20394 2013-02-04  David S. Miller  <davem@davemloft.net>
20395
20396         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20397
20398 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
20399
20400         [BZ #13550]
20401         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20402         (__ubp_memchr): Remove prototype.
20403         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20404         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20405         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20406         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20407         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20408         Remove alias.
20409         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20410         (__ubp_memchr): Likewise.
20411         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20412         (__ubp_memchr): Likewise.
20413         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20414         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20415         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20416         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20417         CHECK_STRING.
20418         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20419         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20420         (__getcwd): Do not use CHECK_STRING.
20421         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20422         <bp-checks.h>.
20423         (__real_chown): Do not use CHECK_STRING.
20424         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20425         <bp-checks.h>.
20426         (fchownat): Do not use CHECK_STRING.
20427         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20428         CHECK_STRING.
20429         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20430         <bp-checks.h>.
20431         (__lchown): Do not use CHECK_STRING.
20432         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20433         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20434         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20435         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20437         include <bp-checks.h>.
20438         (truncate64): Do not use CHECK_STRING.
20439         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20440         <bp-checks.h>.
20441         (__real_chown): Do not use CHECK_STRING.
20442         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20443         <bp-checks.h>.
20444         (__lchown): Do not use CHECK_STRING.
20445         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20446         <bp-checks.h>.
20447         (__chown): Do not use CHECK_STRING.
20448         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20449         <bp-checks.h>.
20450         (truncate64): Do not use CHECK_STRING.
20451         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20452         Likewise.
20453         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20454         (__xmknod): Do not use CHECK_STRING.
20455         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20456         <bp-checks.h>.
20457         (__xmknodat): Do not use CHECK_STRING.
20458         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20459         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20460
20461 2013-02-04  Andreas Schwab  <schwab@suse.de>
20462
20463         [BZ #14142]
20464         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20465         * include/netdb.h: Likewise for h_errno.
20466         * elf/tst-stackguard1.c: Include <tls.h>.
20467
20468 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
20469
20470         * elf/link.h (struct link_map): Extend the l_addr comment.
20471         * include/link.h (struct link_map): Likewise.
20472
20473 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
20474
20475         [BZ #13550]
20476         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20477         (BOUNDED_1): Remove macro.
20478         * debug/backtrace.c: Don't include <bp-checks.h>.
20479         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20480         (__backtrace): Likewise.
20481         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20482         <bp-checks.h>.
20483         (__backtrace): Don't use BOUNDED_1.
20484         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20485         <bp-checks.h>.
20486         (__backtrace): Don't use BOUNDED_1.
20487         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20488         (__backtrace): Don't use BOUNDED_1.
20489         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20490         (shmat): Don't use BOUNDED_N.
20491
20492 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
20493
20494         [BZ #13550]
20495         * sysdeps/generic/bp-start.h: Remove file.
20496         * csu/libc-start.c: Don't include <bp-start.h>.
20497         (LIBC_START_MAIN): Set up __environ directly instead of using
20498         INIT_ARGV_and_ENVIRON.
20499         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20500         <bp-start.h>.
20501
20502         [BZ #13550]
20503         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20504         definitions.
20505         (CHECK_FCNTL): Likewise.
20506         (CHECK_N_PAGES): Likewise.
20507
20508         [BZ #13550]
20509         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20510         definitions.
20511         (CHECK_SIGSET_NULL_OK): Likewise.
20512         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20513         <bp-checks.h>.
20514         (sigpending): Don't use CHECK_SIGSET.
20515         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20516         <bp-checks.h>.
20517         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20518         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20519         <bp-checks.h>.
20520         (do_sigsuspend): Don't use CHECK_SIGSET.
20521         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20522         use CHECK_SIGSET.
20523         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20524         (do_sigwait): Don't use CHECK_SIGSET.
20525         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20526         use CHECK_SIGSET.
20527         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20528         include <bp-checks.h>.
20529         (sigpending): Don't use CHECK_SIGSET.
20530         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20531         include <bp-checks.h>.
20532         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20533         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20534         <bp-checks.h>.
20535         (sigpending): Don't use CHECK_SIGSET.
20536         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20537         <bp-checks.h>.
20538         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20539
20540         [BZ #13550]
20541         * sysdeps/generic/bp-semctl.h: Remove file.
20542         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20543         <bp-checks.h> and <bp-semctl.h>.
20544         (__old_semctl): Don't use CHECK_SEMCTL.
20545         (__new_semctl): Likewise.
20546         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20547         and <bp-semctl.h>.
20548         (__old_semctl): Don't use CHECK_SEMCTL.
20549         (__new_semctl): Likewise.
20550         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20551         <bp-checks.h> and <bp-semctl.h>.
20552         (__old_semctl): Don't use CHECK_SEMCTL.
20553         (__new_semctl): Likewise.
20554         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20555         <bp-checks.h> and <bp-semctl.h>.
20556         (semctl): Don't use CHECK_SEMCTL.
20557
20558         [BZ #13550]
20559         * Makerules (elide-bp-thunks): Remove variable.
20560         (elide-routines.oS): Don't use $(elide-bp-thunks).
20561         (elide-routines.os): Likewise.
20562         (elide-routines.o): Likewise.
20563         (elide-routines.op): Likewise.
20564         (elide-routines.og): Likewise.
20565         (objects): Don't use $(bp-thunks).
20566         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20567         include.
20568         (common-generated): Do not add s-proto-bp.d.
20569         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20570         (int): Likewise.
20571         (typ): Likewise.
20572         Do not generate makefile rules for bounded-pointer thunks.
20573         * sysdeps/generic/bp-thunks.h: Remove file.
20574         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20575         * sysdeps/unix/s-proto-bp.S: Likewise.
20576
20577         [BZ #15062]
20578         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20579         parts of result separately when argument is not close to line from
20580         -i to i and one part of argument is small.
20581         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20582         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20583         * math/libm-test.inc (cacos_test): Add more tests.
20584         (casin_test): Likewise.
20585         (casinh_test): Likewise.
20586         * sysdeps/i386/fpu/libm-test-ulps: Update.
20587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20588
20589 2013-01-31  David S. Miller  <davem@davemloft.net>
20590
20591         * po/de.po: Update from translation team.
20592
20593 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
20594
20595         * time/tzfile.c: Include stdint.h for SIZE_MAX.
20596
20597 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
20598
20599         * configure.in (_AC_PROG_CC_C89): New definition.
20600         * configure: Regenerate.
20601
20602         * configure.in (AC_PROG_CPP): New definition.
20603         * configure: Regenerate.
20604
20605 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
20606
20607         * debug/tst-backtrace.h: New file.
20608         * debug/tst-backtrace2.c: Include tst-backtrace.h.
20609         (ret): Remove variable.
20610         (x): Likewise.
20611         (FAIL): Remove macro.
20612         (NO_INLINE): Likewise.
20613         (fn1): Use match function instead of strstr.
20614         * debug/tst-backtrace3.c: Include tst-backtrace.h.
20615         (ret): Remove variable.
20616         (x): Likewise.
20617         (FAIL): Remove macro.
20618         (NO_INLINE): Likewise.
20619         (fn): Use match function instead of strstr.
20620         * debug/tst-backtrace4.c: Include tst-backtrace.h.
20621         (ret): Remove variable.
20622         (x): Likewise.
20623         (FAIL): Remove macro.
20624         (NO_INLINE): Likewise.
20625         (handle_signal): Use match function instead of strstr.
20626         * debug/tst-backtrace5.c: Include tst-backtrace.h.
20627         (ret): Remove variable.
20628         (x): Likewise.
20629         (FAIL): Remove macro.
20630         (NO_INLINE): Likewise.
20631         (handle_signal): Use match function instead of strstr.
20632
20633 2013-01-23  Roland McGrath  <roland@hack.frob.com>
20634
20635         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20636
20637 2013-01-23  David S. Miller  <davem@davemloft.net>
20638
20639         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20640         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20641         argument of CAS if possible.
20642         * sysdeps/sparc/sparc64/bits/atomic.h
20643         (__arch_compare_and_exchange_val_32_acq): Likewise.
20644         (__arch_compare_and_exchange_val_64_acq): Likewise.
20645
20646 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
20647
20648         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20649         * sysdeps/posix/ulimit.c: ... this.
20650         Include <limits.h>.
20651         * sysdeps/unix/bsd/ulimit.c: Remove file.
20652
20653 2013-01-23  Adam Conrad  <adconrad@0c3.net>
20654
20655         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20656         (LDFLAGS-tst-array5): Likewise.
20657
20658 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
20659
20660         [BZ #15036]
20661         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20662         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20663         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20664         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20665
20666 2013-01-21  David S. Miller  <davem@davemloft.net>
20667
20668         * sysdeps/sparc/backtrace.c: New file.
20669         * sysdeps/sparc/sparc32/backtrace.h: New file.
20670         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20671         * sysdeps/sparc/sparc64/backtrace.h: New file.
20672         * sysdeps/sparc/sparc64/backtrace.c: Delete.
20673         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20674         -funwind-tables.
20675
20676 2013-01-21  Andreas Schwab  <schwab@suse.de>
20677
20678         [BZ #15020]
20679         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20680         closed its stdout.
20681
20682 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
20683
20684         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20685         "mpa2.h".
20686         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20687
20688 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
20689             Mark Mitchell  <mark@codesourcery.com>
20690             Tom de Vries  <tom@codesourcery.com>
20691             Paul Pluzhnikov  <ppluzhnikov@google.com>
20692
20693         * debug/tst-backtrace2.c: New file.
20694         * debug/tst-backtrace3.c: Likewise.
20695         * debug/tst-backtrace4.c: Likewise.
20696         * debug/tst-backtrace5.c: Likewise.
20697         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20698         (CFLAGS-tst-backtrace3.c): Likewise.
20699         (CFLAGS-tst-backtrace4.c): Likewise.
20700         (CFLAGS-tst-backtrace5.c): Likewise.
20701         (LDFLAGS-tst-backtrace2): Likewise.
20702         (LDFLAGS-tst-backtrace3): Likewise.
20703         (LDFLAGS-tst-backtrace4): Likewise.
20704         (LDFLAGS-tst-backtrace5): Likewise.
20705         (tests): Add new tests tst-backtrace2, tst-backtrace3,
20706         tst-backtrace4 and tst-backtrace5.
20707
20708 2013-01-18  Anton Blanchard  <anton@samba.org>
20709             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20710
20711         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20712         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20713         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20714         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20716         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20717         "+r" and remove output regs list as redundant.  Add explicit inline
20718         asm to specify register of return val to work around compiler codegen
20719         bug.  Remove (int) cast on return value.  Add return type parameter to
20720         use in macro so that this macro does not truncate return value for
20721         64-bit values.
20722         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20723         pass to INTERNAL_VSYSCALL_NCS.
20724         (INLINE_VSYSCALL): Add 'long int' as return type to
20725         INTERNAL_VSYSCALL_NCS macro invocation.
20726         (INTERNAL_VSYSCALL): Add 'long int' as return type to
20727         INTERNAL_VSYSCALL_NCS macro invocation.
20728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20729
20730 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20731
20732         [BZ #14496]
20733         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20734         Fix application of SIMD FP exception mask.
20735
20736         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20737         mp_no from a power of two.
20738         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20739         __mpexp_twomm1.  Use __pow_mp.
20740
20741         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20742         multiplication.
20743
20744 2013-01-17  David S. Miller  <davem@davemloft.net>
20745
20746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20747
20748 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
20749
20750         [BZ #15023]
20751         * include/complex.h: Condition contents on [!_COMPLEX_H].
20752         (__kernel_casinhf): New prototype.
20753         (__kernel_casinh): Likewise.
20754         (__kernel_casinhl): Likewise.
20755         * math/Makefile (libm_calls): Add k_casinh.
20756         * math/k_casinh.c: New file.
20757         * math/k_casinhf.c: Likewise.
20758         * math/k_casinhl.c: Likewise.
20759         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20760         finite nonzero arguments.
20761         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20762         finite nonzero arguments.
20763         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20764         finite nonzero arguments.
20765         * math/s_casinh.c: Do not include <float.h>.
20766         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20767         * math/s_casinhf.c: Do not include <float.h>.
20768         (__casinhf): Move code for finite nonzero arguments to
20769         k_casinhf.c.
20770         * math/s_casinhl.c: Do not include <float.h>.
20771         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20772         redefine.
20773         (__casinhl): Move code for finite nonzero arguments to
20774         k_casinhl.c.
20775         * math/libm-test.inc (cacos_test): Add more tests.
20776         * sysdeps/i386/fpu/libm-test-ulps: Update.
20777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20778
20779 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
20780
20781         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20782         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20783         [!HAVE_MREMAP]: Remove [defined linux] case.
20784         * malloc/arena.c: Do not include <malloc-sysdep.h>.
20785
20786 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20787
20788         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20789
20790 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
20791
20792         * elf/elf.h (R_386_SIZE32): New relocation.
20793         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20794         R_386_SIZE32.
20795         (elf_machine_rela): Likewise.
20796         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20797         R_X86_64_SIZE64 and R_X86_64_SIZE32.
20798
20799 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
20800
20801         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20802         (FP_FAST_FMA): Do not define.
20803         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20804         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20805         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20806         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20807         !_SOFT_FLOAT]: Likewise.
20808         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20809         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20810         value.
20811         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20812         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20813         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20814         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20815         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20816         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20817         file.
20818
20819 2013-01-16  Andreas Schwab  <schwab@suse.de>
20820
20821         [BZ #14327]
20822         * include/stdlib.h (__mktemp): Add declaration.
20823         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20824         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20825
20826 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20827
20828         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20829         definitions.
20830         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20831         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20832         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20833         definitions here.
20834         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20835         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20836         definitions.
20837         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20838         and ONE.
20839         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20840         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20841         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20842         definitions.
20843         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20844         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20845         definitions.
20846         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20847
20848         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20849
20850 2013-01-15  David S. Miller  <davem@davemloft.net>
20851
20852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20853         trunc{,f} to libm-sysdep_routes.
20854         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20856         file.
20857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20859         file.
20860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20861         file.
20862         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20864         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20865         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20866         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20867         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20868         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20869         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20870
20871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20872         nearbyint{,f} to libm-sysdep_routes.
20873         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20875         New file.
20876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20877         file.
20878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20879         New file.
20880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20881         file.
20882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20884         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20885         file.
20886         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20887         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20888         file.
20889         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20890         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20891         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20892
20893         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20894         libc_feholdexcept and libc_fesetenv.
20895
20896 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
20897
20898         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20899
20900 2013-01-14  David S. Miller  <davem@davemloft.net>
20901
20902         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20903         (SPARC_ASM_VIS2_IFUNC): Likewise.
20904         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20906         use of 'siam' instruction.
20907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20908         Likewise.
20909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20910         Likewise.
20911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20912         Likewise.
20913         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20914         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20915         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20916         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20918         file.
20919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20920         file.
20921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20922         file.
20923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20924         file.
20925         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20926         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20927         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20928         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20930         new VIS2 routines.
20931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20934         Likewise.
20935         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20936         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20937         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20938         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20940         routines to libm-sysdep_routines.
20941         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20942
20943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20944         fdim/fdimf to libm-sysdep_routines.
20945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20946         file.
20947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20949         file.
20950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20953         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20954         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20955         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20956         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20957
20958 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20959
20960         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20961         to optimize copies.
20962
20963         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20964         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20965         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20966
20967         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20968         local variable MPTWO.
20969         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20970         Likewise.
20971
20972 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
20973
20974         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20975         GLOB_NOESCAPE.
20976
20977 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
20978
20979         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20980
20981 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
20982
20983         * manual/pattern.texi (glob_t): Document gl_flags.
20984         (glob64_t): Likewise.
20985
20986 2013-01-11  David S. Miller  <davem@davemloft.net>
20987
20988         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20989         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20990         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
20991         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20992         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20993         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20994         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20995         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20996         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20997         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20998         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20999         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21000         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21001
21002         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21003         sparc V9 rather than using V8 code.
21004         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21005         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21006
21007         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21008         Move to...
21009         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21010         Here.
21011
21012 2013-01-11  Roland McGrath  <roland@hack.frob.com>
21013
21014         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21015         not in the main loop.
21016         * configure: Regenerated.
21017
21018 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
21019
21020         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21021         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21022         to just #else.
21023         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
21024         [!__GLIBC_HAVE_LONG_LONG] case.
21025         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21026         condition to just #else.
21027         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21028         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21029         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21030         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21031         unconditional.
21032         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21033         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21034         #elif condition to just #else.
21035         * sysdeps/unix/sysv/linux/sys/sysmacros.h
21036         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21037         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21038         #elif condition to just #else.
21039
21040 2013-01-11  Steve Ellcey  <sellcey@mips.com>
21041
21042         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21043         (EF_MIPS_ARCH_64): Fix value.
21044         (EF_MIPS_ARCH_32R2): New.
21045         (EF_MIPS_ARCH_64R2): New.
21046
21047 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
21048
21049         * Makeconfig (+link-pie-before-libc): New.
21050         (+link-pie-after-libc): Likewise.
21051         (+link-pie-tests): Likewise.
21052         (+link-pie): Rewritten.
21053         (link-before-libc): Remove $(config-LDFLAGS).
21054         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21055         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21056         (config-LDFLAGS): Renamed to ...
21057         (rtld-LDFLAGS): This.
21058         (rtld-tests-LDFLAGS): New macro.
21059         (link-libc-rpath-link): Likewise.
21060         (link-libc-tests-rpath-link): Likewise.
21061         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21062         (link-libc): Prepand $(link-libc-rpath-link).
21063         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21064         (test-program-prefix): New macro.
21065         (test-via-rtld-prefix): Likewise.
21066         (test-program-cmd): Likewise.
21067         (host-test-program-cmd): Likewise.
21068         * Makefile ($(common-objpfx)testrun.sh): Replace
21069         $(run-program-prefix) with $(test-program-prefix).
21070         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21071         $(rtld-LDFLAGS).
21072         ($(common-objpfx)shlib.lds): Likewise.
21073         (build-module-helper): Likewise.
21074         ($(common-objpfx)format.lds): Likewise.
21075         * Rules (binaries-pie-tests): New.
21076         (binaries-pie-notests): Likewise.
21077         (binaries-pie): Rewritten.
21078         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21079         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21080         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21081         (make-test-out): Replace $(host-built-program-cmd) with
21082         $(host-test-program-cmd).
21083         * config.make.in (build-hardcoded-path-in-tests): New variable.
21084         * configure.in (--enable-hardcoded-path-in-tests): New configure
21085         option.
21086         (hardcoded_path_in_tests): New AC_SUBST.
21087         * configure: Regenerated.
21088         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21089         $(built-program-cmd) with $(test-program-cmd).
21090         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21091         (test_program_cmd): This.
21092         * elf/Makefile ($(objpfx)order.out): Run test with
21093         $(test-program-prefix).
21094         ($(objpfx)order2.out): Likewise.
21095         ($(objpfx)tst-initorder.out): Likewise.
21096         ($(objpfx)tst-initorder2.out): Likewise.
21097         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21098         $(test-program-cmd).
21099         ($(objpfx)tst-array1-static.out): Likewise.
21100         ($(objpfx)tst-array2.out): Likewise.
21101         ($(objpfx)tst-array3.out): Likewise.
21102         ($(objpfx)tst-array4.out): Likewise.
21103         ($(objpfx)tst-array5.out): Likewise.
21104         ($(objpfx)tst-array5-static.out): Likewise.
21105         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21106         $(test-program-cmd).
21107         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21108         $(run-program-prefix) with $(test-program-prefix).
21109         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21110         (test_program_prefix): This.
21111         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21112         $(run-program-prefix) with $(test-program-prefix).
21113         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21114         (test_program_prefix): This.
21115         * iconvdata/tst-tables.sh: Likewise.
21116         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21117         $(run-program-prefix) with $(test-program-prefix).
21118         ($(objpfx)tst-translit.out): Likewise.
21119         ($(objpfx)tst-gettext2.out): Likewise.
21120         ($(objpfx)tst-gettext4.out): Likewise.
21121         ($(objpfx)tst-gettext6.out): Likewise.
21122         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21123         (test_program_prefix): This.
21124         * intl/tst-gettext2.sh: Likewise.
21125         * intl/tst-gettext4.sh  Likewise.
21126         * intl/tst-gettext6.sh: Likewise.
21127         * intl/tst-translit.sh: Likewise.
21128         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21129         with $(test-program-cmd).
21130         * libio/Makefile ($(objpfx)test-freopen.out): Replace
21131         $(run-program-prefix) with $(test-program-prefix).
21132         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21133         (test_program_prefix): This.
21134         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21135         $(run-program-prefix) with $(test-program-prefix).
21136         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21137         (test_program_prefix): This.
21138         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21139         * posix/Makefile ($(objpfx)globtest.out): Replace
21140         $(run-via-rtld-prefix) and $(test-wrapper) with
21141         $(test-program-prefix) and $(test-via-rtld-prefix).
21142         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21143         $(test-program-prefix).
21144         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21145         $(host-test-program-cmd).
21146         (tst-spawn-ARGS): Likewise.
21147         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21148         $(test-program-prefix).
21149         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21150         (test_via_rtld_prefix): This.
21151         (test_wrapper): Renamed to ...
21152         (test_program_prefix): This.
21153         (run_program_prefix): Replaced by test_program_prefix.
21154         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21155         (test_program_prefix): This.
21156         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21157         with $(host-test-program-cmd).
21158         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21159         $(run-program-prefix) with $(test-program-prefix).
21160         ($(objpfx)tst-printf.out): Likewise.
21161         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21162         $(test-program-cmd).
21163         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21164         (test_program_prefix): This.
21165         * stdio-common/tst-unbputc.sh: Likewise.
21166         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21167         $(run-program-prefix) with $(test-program-prefix).
21168         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21169         (test_program_prefix): This.
21170         * string/Makefile ($(objpfx)tst-svc.out):  Replace
21171         $(built-program-cmd) with $(test-program-cmd).
21172
21173 2013-01-11  Andreas Jaeger  <aj@suse.de>
21174
21175         [BZ #15003]
21176         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21177         value. Sync with Linux 3.7.
21178
21179 2013-01-10  David S. Miller  <davem@davemloft.net>
21180
21181         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21182         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21183         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21184
21185 2013-01-10  Roland McGrath  <roland@hack.frob.com>
21186
21187         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21188         never set.
21189         * configure: Regenerated.
21190
21191 2013-01-10  David S. Miller  <davem@davemloft.net>
21192
21193         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21194         sparc V9 rather than using V8 code.
21195         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21196         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21197
21198 2013-01-10  Roland McGrath  <roland@hack.frob.com>
21199
21200         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21201         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21202         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21203         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21204         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21205         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21206         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21207         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21208         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21209         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21210         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21211         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21212         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21213         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21214         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21215         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21216         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21217         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21218         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21219         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21220         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21221         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21222         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21223         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21224         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21225         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21226         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21227
21228 2013-01-10  David S. Miller  <davem@davemloft.net>
21229
21230         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21231
21232 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
21233
21234         * posix/Makefile (tests-static): New variable.
21235         (tests): Add $(tests-static).
21236         (tst-exec-static-ARGS): New variable.
21237         (tst-spawn-static-ARGS): Likewise.
21238         * posix/tst-exec-static.c: New file.
21239         * posix/tst-spawn-static.c: Likewise.
21240         * posix/tst-exec.c: Support run directly.
21241         * posix/tst-spawn.c: Likewise.
21242
21243 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
21244
21245         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21246         long.
21247         * math/bits/mathcalls.h (llrint): Likewise.
21248         (llround): Likewise.
21249         * stdlib/stdlib.h (struct drand48_data): Likewise.
21250         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21251         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21252         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21253         Likewise.
21254         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21255         Likewise.
21256         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21257         (elf_greg_t): Likewise.
21258         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21259         (__jmp_buf): Likewise.
21260         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21261         definitions.
21262         (llrint): Likewise, for all definitions.
21263         (llrintl): Likewise.
21264
21265         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21266         Remove [__GNUC__] condition.
21267         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21268         condition to just [__USE_ISOC99].
21269         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21270
21271 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
21272
21273         [BZ #14200]
21274         * sysdeps/unix/sysv/linux/x86/bits/environments.h
21275         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21276         defined.
21277         (_POSIX_V6_ILP32_OFF32): Likewise.
21278         (_XBS5_ILP32_OFF32): Likewise.
21279         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21280         (__ILP32_OFFBIG_LDFLAGS): Likewise.
21281
21282 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21283
21284         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21285
21286         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21287         doubles __mpexp_twomm1.  Adjust usage.
21288         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21289         Remove.
21290
21291 2013-01-10  Andreas Schwab  <schwab@suse.de>
21292
21293         [BZ #14964]
21294         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21295         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21296
21297 2013-01-09  David S. Miller  <davem@davemloft.net>
21298
21299         [BZ #15003]
21300         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21301         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21302         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21303         (TCP_FASTOPEN): Define.
21304         (tcp_repair_opt): New structure.
21305         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21306         enum values.
21307         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21308         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21309         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
21310         (tcp_cookie_transactions): New structure.
21311
21312 2013-01-09  Anton Blanchard  <anton@samba.org>
21313
21314         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21315         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21316         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21317         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21318
21319 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
21320
21321         * include/features.h (__USE_ANSI): Remove.
21322
21323 2013-01-09  Roland McGrath  <roland@hack.frob.com>
21324
21325         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21326
21327         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21328
21329 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
21330
21331         * sysdeps/s390/fpu/libm-test-ulps: Update.
21332
21333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21334
21335         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21336         (__acr): Likewise.
21337         (__cpy): Likewise.
21338         (norm): Likewise.
21339         (denorm): Likewise.
21340         (__mp_dbl): Likewise.
21341         (__dbl_mp): Likewise.
21342         (add_magnitudes): Likewise.
21343         (sub_magnitudes): Likewise.
21344         (__add): Likewise.
21345         (__sub): Likewise.
21346         (__mul): Likewise.
21347         (__inv): Likewise.
21348         (__dvd): Likewise.
21349         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21350         (__acr): Likewise.
21351         (__cpy): Likewise.
21352         (norm): Likewise.
21353         (denorm): Likewise.
21354         (__mp_dbl): Likewise.
21355         (__dbl_mp): Likewise.
21356         (add_magnitudes): Likewise.
21357         (sub_magnitudes): Likewise.
21358         (__add): Likewise.
21359         (__sub): Likewise.
21360         (__mul): Likewise.
21361         (__inv): Likewise.
21362         (__dvd): Likewise.
21363         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21364         (__acr): Likewise.
21365         (__cpy): Likewise.
21366         (norm): Likewise.
21367         (denorm): Likewise.
21368         (__mp_dbl): Likewise.
21369         (__dbl_mp): Likewise.
21370         (add_magnitudes): Likewise.
21371         (sub_magnitudes): Likewise.
21372         (__add): Likewise.
21373         (__sub): Likewise.
21374         (__mul): Likewise.
21375         (__inv): Likewise.
21376         (__dvd): Likewise.
21377
21378 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
21379
21380         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21381         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21382         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21383         2 && __USE_EXTERN_INLINES]: Likewise.
21384
21385 2013-01-08  Andreas Jaeger  <aj@suse.de>
21386
21387         [BZ# 14985]
21388         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21389         Remove.
21390         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21391         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21392
21393 2013-01-07  Anton Blanchard  <anton@samba.org>
21394
21395         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21396         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21397         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21398         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21399         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21400         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21401         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21402         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21403         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21404         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21405         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21406         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21407         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21408         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21409         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21410         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21411         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21412         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21413         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21414         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21415         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21416         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21417         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21418         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21419         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21420         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21421         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21422         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21423         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21424         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21425         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21426         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21427         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21428         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21429         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21430         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21431         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21432         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21433         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21434         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21435         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21436         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21437         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21438
21439 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
21440
21441         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21442         (__MALLOC_PMT): Likewise.
21443         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21444         [__GNUC__], only on [_LIBC].
21445         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21446         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21447         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21448         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21449         forward declaration.
21450         (realloc_hook_ini): Likewise.
21451         (memalign_hook_ini): Likewise.
21452         (__libc_memalign): Do not use __MALLOC_PMT in variable
21453         declaration.
21454         (__libc_valloc): Likewise.
21455         (__libc_pvalloc): Likewise.
21456         (__libc_calloc): Likewise.
21457         (__posix_memalign): Likewise.
21458
21459         [BZ #14996]
21460         * math/s_casinh.c: Include <float.h>.
21461         (__casinh): Do not do computation with squaring and square root
21462         for large arguments.
21463         * math/s_casinhf.c: Include <float.h>.
21464         (__casinhf): Do not do computation with squaring and square root
21465         for large arguments.
21466         * math/s_casinhl.c: Include <float.h>.
21467         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21468         (__casinhl): Do not do computation with squaring and square root
21469         for large arguments.
21470         * math/libm-test.inc (casin_test): Add more tests.
21471         (casinh_test): Likewise.
21472         * sysdeps/i386/fpu/libm-test-ulps: Update.
21473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21474
21475 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
21476
21477         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21478         (__x86_64_raw_data_cache_size): Likewise.
21479         (__x86_64_data_cache_size_half): Likewise.
21480         (__x86_64_raw_data_cache_size_half): Likewise.
21481         (__x86_64_shared_cache_size): Likewise.
21482         (__x86_64_raw_shared_cache_size): Likewise.
21483         (__x86_64_shared_cache_size_half): Likewise.
21484         (__x86_64_raw_shared_cache_size_half): Likewise.
21485         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21486         to ...
21487         (__x86_data_cache_size): This.
21488         (__x86_64_raw_data_cache_size): Renamed to ...
21489         (__x86_raw_data_cache_size): This.
21490         (__x86_64_data_cache_size_half): Renamed to ...
21491         (__x86_data_cache_size_half): This.
21492         (__x86_64_raw_data_cache_size_half): Renamed to ...
21493         (__x86_raw_data_cache_size_half): This.
21494         (__x86_64_shared_cache_size): Renamed to ...
21495         (__x86_shared_cache_size): This.
21496         (__x86_64_raw_shared_cache_size): Renamed to ...
21497         (__x86_raw_shared_cache_size): This.
21498         (__x86_64_shared_cache_size_half): Renamed to ...
21499         (__x86_shared_cache_size_half): This.
21500         (__x86_64_raw_shared_cache_size_half): Renamed to ...
21501         (__x86_raw_shared_cache_size_half): This.
21502         * sysdeps/x86_64/memcpy.S: Updated.
21503         * sysdeps/x86_64/memset.S: Likewise.
21504         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21505         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21506         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21507
21508 2013-01-04  David S. Miller  <davem@davemloft.net>
21509
21510         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21511
21512 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
21513
21514         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21515         1 to avoid redefinition warning.
21516         (__USE_GNU): Don't define.
21517         (init_signaling_nan): Protoize.
21518
21519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21520
21521 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21522
21523         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21524         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21525         (__cpymn): Likewise.
21526         (norm): Remove commented code.
21527         (denorm): Likewise.
21528         (__mp_dbl): Likewise.
21529         (__inv): Likewise.
21530         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21531         (__cpymn): Likewise.
21532         (norm): Remove commented code.
21533         (denorm): Likewise.
21534         (__mp_dbl): Likewise.
21535         (__inv): Likewise.
21536
21537         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21538         mp_no value for 1.0 and 2.0.
21539         (norm): Use RADIXI instead of radixi.d.
21540         (denorm): Likewise.
21541         (__mul): Use 0.0 instead of zero.d.
21542         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21543         mp_no value for 1.0 and 2.0.
21544         (norm): Use RADIXI instead of radixi.d.
21545         (denorm): Likewise.
21546         (__mul): Use 0.0 instead of zero.d.
21547
21548 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
21549
21550         [BZ #14994]
21551         * math/s_casinh.c (__casinh): Reduce finite argument to first
21552         quadrant then set signs of results at the end.
21553         * math/s_casinhf.c (__casinhf): Likewise.
21554         * math/s_casinhl.c (__casinhl): Likewise.
21555         * math/libm-test.inc (casin_test): Add more tests.
21556         (casinh_test): Likewise.
21557         * sysdeps/i386/fpu/libm-test-ulps: Update.
21558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21559
21560 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21561
21562         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21563
21564         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21565
21566         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21567         declarations.
21568         (denorm): Likewise.
21569         (__mp_dbl): Likewise.
21570         (__inv): Likewise.
21571
21572         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21573         and adjust the header comment.
21574
21575         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21576         variable name from declaration.
21577
21578 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
21579
21580         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21581         Initialize COMMON_CPUID_INDEX_7 element.
21582         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21583         (CPUID_RTM): Likewise.
21584         (HAS_RTM): Likewise.
21585         (COMMON_CPUID_INDEX_7): New enum.
21586
21587 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
21588
21589         [BZ #14981]
21590         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21591         size is zero, record memory as freed.
21592
21593 2013-01-03  Andreas Jaeger  <aj@suse.de>
21594
21595         * po/ia.po: Add new Interlingua translation.
21596
21597 2012-01-03  Allan McRae  <allan@archlinux.org>
21598
21599         * locale/programs/localedef.c: Fix description of '--posix' flag.
21600
21601 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
21602
21603         * NEWS: Update dates in second copyright notice.
21604         * README: Update copyright dates in example.
21605         * manual/libc.texinfo: Update copyright dates.
21606         * scripts/test-installation.pl: Update copyright date in --version
21607         output.
21608
21609         * hurd/ctty-input.c: Fix copyright notice formatting.
21610         * hurd/ctty-output.c: Likewise.
21611         * hurd/dtable.c: Likewise.
21612         * hurd/hurd-raise.c: Likewise.
21613         * hurd/hurdprio.c: Likewise.
21614         * hurd/msgportdemux.c: Likewise.
21615         * misc/sys/file.h: Likewise.
21616         * misc/sys/ioctl.h: Likewise.
21617         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21618         * sysdeps/mach/hurd/chdir.c: Likewise.
21619         * sysdeps/mach/hurd/fchdir.c: Likewise.
21620         * sysdeps/mach/hurd/rename.c: Likewise.
21621         * sysdeps/mach/hurd/rmdir.c: Likewise.
21622         * sysdeps/mach/hurd/seekdir.c: Likewise.
21623         * sysdeps/mach/hurd/setsid.c: Likewise.
21624         * sysdeps/posix/wait3.c: Likewise.
21625
21626         * All files with FSF copyright notices: Update copyright dates
21627         using scripts/update-copyrights.
21628         * intl/plural.c: Regenerated.
21629         * locale/programs/charmap-kw.h: Likewise.
21630         * locale/programs/locfile-kw.h: Likewise.
21631
21632 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21633
21634         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21635         four values.
21636
21637         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21638         calculation loop and add branch prediction.
21639
21640         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21641         check access beyond bounds of m1np.
21642
21643         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21644         MPTWO.
21645         (__inv): Remove local variable MPTWO to use the global
21646         constant.
21647         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21648         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21649         variable MPTWO.
21650         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21651         MP3HALFS static const.
21652
21653 2013-01-01  David S. Miller  <davem@davemloft.net>
21654
21655         * po/ca.po: Update from translation team.
21656
21657 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
21658
21659         * scripts/update-copyrights: New file.
21660         * Makeconfig: Reformat copyright notice.
21661         * ctype/ctype.h: Likewise.
21662         * debug/swprintf_chk.c: Likewise.
21663         * elf/dl-cache.c: Likewise.
21664         * elf/dl-debug.c: Likewise.
21665         * elf/dl-object.c: Likewise.
21666         * grp/initgroups.c: Likewise.
21667         * hurd/Makefile: Likewise.
21668         * hurd/hurd/signal.h: Likewise.
21669         * hurd/hurdfault.c: Likewise.
21670         * hurd/hurdioctl.c: Likewise.
21671         * hurd/hurdlookup.c: Likewise.
21672         * hurd/intr-msg.c: Likewise.
21673         * iconv/gconv_open.c: Likewise.
21674         * libio/swprintf.c: Likewise.
21675         * locale/lc-ctype.c: Likewise.
21676         * locale/nl_langinfo.c: Likewise.
21677         * mach/Machrules: Likewise.
21678         * mach/Makefile: Likewise.
21679         * malloc/obstack.h: Likewise.
21680         * manual/Makefile: Likewise.
21681         * manual/tsort.awk: Likewise.
21682         * misc/bits/stab.def: Likewise.
21683         * nis/nis_print_group_entry.c: Likewise.
21684         * nis/nis_table.c: Likewise.
21685         * nis/nss_compat/compat-pwd.c: Likewise.
21686         * nis/nss_compat/compat-spwd.c: Likewise.
21687         * po/Makefile: Likewise.
21688         * posix/fnmatch.c: Likewise.
21689         * posix/regex.h: Likewise.
21690         * resolv/Makefile: Likewise.
21691         * resolv/nss_dns/dns-network.c: Likewise.
21692         * resolv/res_hconf.c: Likewise.
21693         * scripts/gen-sorted.awk: Likewise.
21694         * soft-fp/soft-fp.h: Likewise.
21695         * stdio-common/printf.h: Likewise.
21696         * stdlib/monetary.h: Likewise.
21697         * stdlib/random.c: Likewise.
21698         * stdlib/random_r.c: Likewise.
21699         * sysdeps/generic/Makefile: Likewise.
21700         * sysdeps/gnu/Makefile: Likewise.
21701         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21702         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21703         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21704         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21705         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21706         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21707         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21708         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21709         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21710         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21711         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21712         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21713         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21714         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21715         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21716         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21717         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21718         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21719         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21720         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21721         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21722         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21723         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21724         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21725         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21726         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21727         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21728         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21729         * sysdeps/mach/hurd/errnos.awk: Likewise.
21730         * sysdeps/mach/hurd/fork.c: Likewise.
21731         * sysdeps/mach/hurd/getcwd.c: Likewise.
21732         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21733         * sysdeps/mach/hurd/mmap.c: Likewise.
21734         * sysdeps/mach/hurd/utimes.c: Likewise.
21735         * sysdeps/mach/hurd/xmknod.c: Likewise.
21736         * sysdeps/posix/profil.c: Likewise.
21737         * sysdeps/posix/readdir_r.c: Likewise.
21738         * sysdeps/powerpc/bits/mathdef.h: Likewise.
21739         * sysdeps/powerpc/bits/setjmp.h: Likewise.
21740         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21741         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21742         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21743         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21744         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21745         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21746         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21747         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21748         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21749         * sysdeps/pthread/lio_listio.c: Likewise.
21750         * sysdeps/sparc/dl-procinfo.h: Likewise.
21751         * sysdeps/unix/i386/sysdep.S: Likewise.
21752         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21753         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21754         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21755         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21757         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21758         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21759         * sysdeps/unix/sysv/linux/speed.c: Likewise.
21760         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21761         * sysdeps/wordsize-32/divdi3.c: Likewise.
21762         * time/sys/time.h: Likewise.
21763         * wcsmbs/Makefile: Likewise.
21764
21765 2013-01-01  David S. Miller  <davem@davemloft.net>
21766
21767         * po/fr.po: Update from translation team.
21768
21769         * catgets/gencat.c: Update copyright year.
21770         * csu/version.c: Likewise.
21771         * debug/catchsegv.sh: Likewise.
21772         * debug/pcprofiledump.c: Likewise.
21773         * debug/xtrace.sh: Likewise.
21774         * elf/ldconfig.c: Likewise.
21775         * elf/ldd.bash.in: Likewise.
21776         * elf/pldd.c: Likewise.
21777         * elf/sotruss.ksh: Likewise.
21778         * elf/sprof.c: Likewise.
21779         * iconv/iconv_prog.c: Likewise.
21780         * iconv/iconvconfig.c: Likewise.
21781         * locale/programs/locale.c: Likewise.
21782         * locale/programs/localedef.c: Likewise.
21783         * login/programs/pt_chown.c: Likewise.
21784         * malloc/memusage.sh: Likewise.
21785         * malloc/memusagestat.c: Likewise.
21786         * malloc/mtrace.pl: Likewise.
21787         * nscd/nscd.c: Likewise.
21788         * nss/getent.c: Likewise.
21789         * nss/makedb.c: Likewise.
21790         * posix/getconf.c: Likewise.
21791
21792 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21793
21794         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21795         numbers.
21796
21797 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
21798
21799         * math/bits/mathcalls.h (modf): Use __nonnull.
21800
21801 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21802
21803         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21804         (split): Use macro CN instead of the bare value.
21805         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21806         could be used.
21807         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21808         instead of the bare value.
21809         (power1): Likewise.
21810
21811 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21812
21813         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21814         __ATAN_TWOM.
21815         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21816
21817         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21818         their values.
21819         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21820         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21821         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21822         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21823
21824 2012-12-28  Andreas Jaeger  <aj@suse.de>
21825
21826         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
21827         values are from Linux 3.7.
21828
21829         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21830         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
21831
21832 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21833
21834         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21835         TRUE case.
21836
21837         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21838         (norm): Likewise.
21839         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21840         variables with preprocessor constants.
21841         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21842         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21843         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21844
21845 2012-12-27  Bruno Haible  <bruno@clisp.org>
21846
21847         [BZ #14317]
21848         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21849         only if needed.
21850
21851 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21852
21853         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21854         and use variable directly.
21855         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21856
21857         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21858         MPONE.
21859         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21860         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21861         variable MPONE.
21862         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21863         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21864         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21865         include directive.  Remove local variable MPONE.
21866         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21867         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21868         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21869
21870 2012-12-25  David S. Miller  <davem@davemloft.net>
21871
21872         * version.h (RELEASE): Set to "development".
21873         (VERSION): Set to "2.17.90".
21874         * NEWS: Add 2.18 section.
21875
21876 2012-12-21  David S. Miller  <davem@davemloft.net>
21877
21878         * po/hr.po: Update from translation team.
21879
21880 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21881
21882         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21883
21884 2012-12-19  Steve Ellcey  <sellcey@mips.com>
21885
21886         * NEWS:  Mention new memcpy for MIPS.
21887
21888 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21889
21890         * manual/contrib.texi (Contributors): Spelling correction.
21891
21892 2012-12-15  David S. Miller  <davem@davemloft.net>
21893
21894         * po/ru.po: Update from translation team.
21895
21896 2012-12-13  David S. Miller  <davem@davemloft.net>
21897
21898         * NEWS: Mention IFUNC testsuite enhancements.
21899
21900         * po/pl.po: Update from translation team.
21901         * po/bg.po: Likewise.
21902
21903         * manual/contrib.texi (Contributors): Update entries for Hongjiu
21904         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
21905
21906 2012-12-11  David S. Miller  <davem@davemloft.net>
21907
21908         * po/sv.po: Update from translation team.
21909
21910         * po/vi.po: Update from translation team.
21911
21912         * po/cs.po: Update from translation team.
21913
21914         * po/de.po: Update from translation team.
21915         * po/eo.po: Likewise.
21916         * po/nl.po: Likewise.
21917
21918 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21919
21920         [BZ #14246]
21921         * manual/argp.texi (Argp Helper Functions): Move node to follow
21922         Argp Parsing State.
21923
21924         [BZ #14872]
21925         * manual/conf.texi (Limits on File System Capacity): Mention if
21926         terminating null is included in the max size.
21927
21928 2012-12-10  Andreas Jaeger  <aj@suse.de>
21929
21930         * po/cs.po: Update from translation team.
21931
21932 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21933
21934         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21935         void pointer and cast to uintptr_t.
21936         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21937         path.
21938         * sysdeps/s390/s390-64/memcpy.S: Likewise.
21939         * sysdeps/s390/s390-64/memset.S: Likewise.
21940
21941 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
21942
21943         [BZ #14833]
21944         * menual/message.texi (Message Translation): Fix typos.
21945         (Helper programs for gettext): Likewise.
21946
21947 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
21948
21949         [BZ #14898]
21950         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21951         Change to -1.
21952
21953 2012-12-07  David S. Miller  <davem@davemloft.net>
21954
21955         * po/libc.pot: Update.
21956
21957 2012-12-07  Richard Henderson  <rth@redhat.com>
21958
21959         [BZ #10114]
21960         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21961         normal/normal case to before the switch.
21962         (_FP_DIV): Likewise.
21963
21964 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
21965             Mike Frysinger  <vapier@gentoo.org>
21966
21967         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21968         check for __NR_fadvise64_64.
21969
21970 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
21971
21972         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21973         0, not just to plain "0" as a statement.
21974         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21975         with cw.
21976
21977 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
21978
21979         * NEWS: Use sourceware.org in Bugzilla URL.
21980
21981 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21982
21983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21984         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21985
21986         * stdio-common/tst-put-error.c (do_test): Add newline to the
21987         padded test to ensure flush.
21988
21989 2012-12-05  Jeff Law  <law@redhat.com>
21990
21991         * sunrpc/etc.rpc (fedfs_admin): Add entry.
21992
21993 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
21994
21995         * README: Don't refer to ports add-on as distributed separately.
21996         Mention AArch64 in list of systems supported in the ports add-on.
21997
21998         * LICENSES: Add more non-FSF copyright and license notices.
21999
22000         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22001         ((unused)).
22002
22003         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22004
22005         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22006         10000 as width of padded output.
22007
22008 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
22009
22010         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22011
22012         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22013         variable LX with __attribute__ ((unused)).
22014         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22015         Likewise.
22016         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22017         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22018         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22019         with __attribute__ ((unused)).
22020
22021 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
22022
22023         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22024
22025 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
22026
22027         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22028         (CFLAGS-nldbl-acos.c): New variable.
22029         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22030         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22031         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22032         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22033         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22034         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22035         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22036         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22037         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22038         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22039         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22040         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22041         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22042         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22043         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22044         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22045         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22046         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22047         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22048         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22049         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22050         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22051         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22052         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22053         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22054         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22055         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22056         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22057         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22058         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22059         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22060         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22061         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22062         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22063         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22064         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22065         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22066         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22067         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22068         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22069         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22070         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22071         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22072         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22073         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22074         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22075         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22076         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22077         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22078         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22079         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22080         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22081         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22082         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22083         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22084         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22085         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22086         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22087         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22088         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22089         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22090         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22091         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22092         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22093         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22094         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22095         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22096         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22097         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22098         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22099         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22100         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22101         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22102         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22103         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22104         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22105         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22106         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22107         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22108         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22109         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22110         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22111         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22112         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22113         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22114         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22115         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22116         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22117         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22118         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22119         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22120         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22121         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22122         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22123         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22124         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22125         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22126
22127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22128         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22129
22130         [BZ #14914]
22131         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22132         whole low double instead of just low 47 bits when splitting values
22133         into two parts.
22134
22135 2012-12-03  Allan McRae  <allan@archlinux.org>
22136
22137         * manual/stdio.texi (Predefined Printf Handlers): Remove
22138         @hsep and @vsep usage.
22139
22140 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
22141
22142         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22143         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22144
22145 2012-12-03  Jeff Law  <law@redhat.com>
22146
22147         * time/sys/time.h (settimeofday): Do not mark TV argument
22148         as __nonnull.
22149
22150 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
22151
22152         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22153         when currently writing and seek to current position when not.
22154         * libio/Makefile (tests): Remove bug-fclose1.
22155         * libio/bug-fclose1.c: Delete.
22156
22157 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
22158
22159         * manual/arith.texi (feenableexcept): Fix typo.
22160         (fedisableexcept): Likewise.
22161
22162 2012-11-30  Roland McGrath  <roland@hack.frob.com>
22163
22164         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22165         second, differently-typed declaration, rather than a cast.
22166
22167 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22168
22169         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22170         * include/rpc/svc.h: ... here.
22171
22172 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
22173
22174         [BZ #13013]
22175         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22176         depending n and resplen2 to catch cases where answer
22177         equals answerp2.
22178
22179 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
22180
22181         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22182         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22183
22184 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
22185
22186         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22187
22188 2012-11-29  Roland McGrath  <roland@hack.frob.com>
22189
22190         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22191
22192 2012-11-28  Jeff Law  <law@redhat.com>
22193
22194         [BZ #13761]
22195         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22196         dataset_temporary.  Track alloca usage into alloca_used.
22197         If dataset is large allocate and release it via malloc/free.
22198
22199 2012-06-04  Florian Weimer  <fweimer@redhat.com>
22200
22201         [BZ #14197]
22202         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22203
22204 2012-11-28  David S. Miller  <davem@davemloft.net>
22205
22206         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22207
22208 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
22209
22210         [BZ #14803]
22211         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22212         of pi/2 rounded to nearest to 64 bits.
22213         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22214         nearest to 64 bits.
22215         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22216         bits.
22217
22218 2012-11-28  Jeff Law <law@redhat.com>
22219             Martin Osvald <mosvald@redhat.com>
22220
22221         [BZ #14889]
22222         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22223         * sunrpc/svc.c: Include time.h.
22224         (__svc_accept_failed): New function.
22225         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22226         any reason other than EINTR, call __svc_accept_failed.
22227         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22228         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22229
22230 2012-11-28  Andreas Schwab  <schwab@suse.de>
22231
22232         * scripts/abilist.awk: Also handle indirect functions in .opd
22233         section.
22234
22235 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
22236
22237         [BZ #13881]
22238         * sysdeps/x86/fpu/powl_helper.c: New file.
22239         * sysdeps/x86/fpu/Makefile: Likewise.
22240         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22241         (p3): New object.
22242         (__ieee754_powl): Use __powl_helper for finite arguments except
22243         integer exponents below 8.
22244         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22245         (p3): New object.
22246         (__ieee754_powl): Use __powl_helper for finite arguments except
22247         integer exponents below 8.
22248         * math/libm-test.inc (pow_test): Add more tests and enable some
22249         previously disabled tests.
22250         * sysdeps/i386/fpu/libm-test-ulps: Update.
22251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22252
22253 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22254             Carlos O'Donell  <carlos_odonell@mentor.com>
22255
22256         * nss/makedb.c (is_prime): Assert that input is odd and greater
22257         than 4.  Note that fact in a comment too.
22258         (next_prime): Add 4 to input.
22259
22260 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22261
22262         [BZ #11741]
22263         * libio/Makefile (tests): Add test case tst-fwrite-error.
22264         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22265         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22266         * libio/tst-fwrite-error.c: New test case.
22267
22268 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
22269
22270         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22271         before casting to void *.
22272         * include/libc-internal.h (__pointer_type): New macro.
22273         (__integer_if_pointer_type_sub): Likewise.
22274         (__integer_if_pointer_type): Likewise.
22275         (cast_to_integer): Likewise.
22276         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22277         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22278         before casting to atomic64_t.
22279         (atomic_exchange_acq): Likewise.
22280         (__arch_exchange_and_add_body): Likewise.
22281         (__arch_add_body): Likewise.
22282         (atomic_add_negative): Likewise.
22283         (atomic_add_zero): Likewise.
22284
22285 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
22286
22287         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22288         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22289         (add_fdes): Likewise.
22290         (linear_search_fdes): Likewise.
22291         (binary_search_unencoded_fdes): Likewise.
22292
22293 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
22294
22295         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22296
22297 2012-11-24  Adam Conrad  <adconrad@0c3.net>
22298
22299         * configure.in: Autodetect C++ header directories.
22300         * configure: Regenerated.
22301
22302 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
22303
22304         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22305
22306 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
22307
22308         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22309
22310 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
22311
22312         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22313         LDBL_MANT_DIG == 106]: Disable some tests.
22314         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22315         Likewise.
22316         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22317         Likewise.
22318
22319         [BZ #14871]
22320         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22321         input for small inputs.  Return +/- pi/2 for large inputs.
22322         * math/libm-test.inc (atan_test): Add more tests.
22323
22324         * sysdeps/generic/unwind-dw2-fde-glibc.c
22325         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22326         __attribute__ ((unused)).
22327
22328         [BZ #14645]
22329         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22330         x * y if x and y are nonzero and z is zero.
22331
22332         [BZ #14811]
22333         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22334         nonzero exponents with absolute value below 0x1p-117 to +/-
22335         0x1p-117.
22336
22337         [BZ #14869]
22338         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22339         up arguments below 2**-450, not just those below 2**-500.
22340         * math/libm-test.inc (hypot_test): Add another test.
22341
22342         [BZ #14868]
22343         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22344         Return a+b for ratio over 2**120, not 2**60.
22345         * math/libm-test.inc (hypot_test): Add another test.
22346
22347         * math/libm-test.inc (clog_test): Use
22348         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22349         (clog10_test): Likewise.
22350
22351         [BZ #6778]
22352         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22353
22354 2012-11-22  Andreas Schwab  <schwab@suse.de>
22355
22356         * sysdeps/i386/fpu/libm-test-ulps: Update.
22357
22358 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
22359
22360         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22361         printf output with newline.
22362
22363 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
22364
22365         [BZ #14865]
22366         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22367         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22368         -z nodlopen, -z initfirst and -z execstack support.
22369         * configure: Regenerated.
22370
22371         * elf/elf.h (DF_1_NODIRECT): New macro.
22372         (DF_1_IGNMULDEF): Likewise.
22373         (DF_1_NOKSYMS): Likewise.
22374         (DF_1_NOHDR): Likewise.
22375         (DF_1_EDITED): Likewise.
22376         (DF_1_NORELOC): Likewise.
22377         (DF_1_SYMINTPOSE): Likewise.
22378         (DF_1_GLOBAUDIT): Likewise.
22379         (DF_1_SINGLETON): Likewise.
22380         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22381         DT_1_SUPPORTED_MASK bits.
22382         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22383
22384 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
22385
22386         * sysdeps/unix/make-syscalls.sh: Document prefixes.
22387
22388 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
22389
22390         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22391         macro.
22392
22393         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22394         (sendmmsg): Move declarations...
22395         * socket/sys/socket.h: ... here.
22396         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22397         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22398         include it from...
22399         * socket/recvmmsg.c: ... this new file.
22400         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22401         (sendmmsg): Rename to __sendmmsg, create weak alias and make
22402         definition of __sendmmsg hidden.
22403         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22404         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22405         Move ENOSYS stub into and include it from...
22406         * socket/sendmmsg.c: ... this new file.
22407         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22408         (sysdep_routines): Move recvmmsg and sendmmsg...
22409         * socket/Makefile (routines): ... here.
22410         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22411         (GLIBC_PRIVATE): Add __sendmmsg.
22412         * include/sys/socket.h (__sendmmsg): Add declarations.
22413         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22414         sendmmsg.
22415
22416 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
22417
22418         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22419         variable I1 with __attribute__ ((unused)).
22420         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22421
22422 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
22423
22424         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22425         DUMMY variables with __attribute__ ((unused)).
22426
22427         * bits/byteswap.h: Include <bits/types.h>.
22428         (__bswap_64): Use __uint64_t instead of unsigned long long int.
22429
22430 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
22431
22432         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22433         string_t.  Do not manually set errno.
22434         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22435         length with __strnlen.  Make sure to both set errno and return it on
22436         failure.
22437
22438 2012-11-19  David S. Miller  <davem@davemloft.net>
22439
22440         With help from Joseph Myers.
22441         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22442         very large arguments properly.
22443         * math/libm-test.inc (atan_test): New tests.
22444         (atan2_test): New tests.
22445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22446         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22447
22448 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
22449
22450         [BZ #14856]
22451         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22452         Define to 3.
22453
22454         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22455         [POSIX] (EADDRNOTAVAIL): Likewise.
22456         [POSIX] (EAFNOSUPPORT): Likewise.
22457         [POSIX] (EALREADY): Likewise.
22458         [POSIX] (ECONNABORTED): Likewise.
22459         [POSIX] (ECONNREFUSED): Likewise.
22460         [POSIX] (ECONNRESET): Likewise.
22461         [POSIX] (EDESTADDRREQ): Likewise.
22462         [POSIX] (EDQUOT): Likewise.
22463         [POSIX] (EHOSTUNREACH): Likewise.
22464         [POSIX] (EIDRM): Likewise.
22465         [POSIX] (EISCONN): Likewise.
22466         [POSIX] (ELOOP): Likewise.
22467         [POSIX] (EMULTIHOP): Likewise.
22468         [POSIX] (ENETDOWN): Likewise.
22469         [POSIX] (ENETUNREACH): Likewise.
22470         [POSIX] (ENOBUFS): Likewise.
22471         [POSIX] (ENODATA): Likewise.
22472         [POSIX] (ENOLINK): Likewise.
22473         [POSIX] (ENOMSG): Likewise.
22474         [POSIX] (ENOPROTOOPT): Likewise.
22475         [POSIX] (ENOSR): Likewise.
22476         [POSIX] (ENOSTR): Likewise.
22477         [POSIX] (ENOTCONN): Likewise.
22478         [POSIX] (ENOTSOCK): Likewise.
22479         [POSIX] (EOPNOTSUPP): Likewise.
22480         [POSIX] (EOVERFLOW): Likewise.
22481         [POSIX] (EPROTO): Likewise.
22482         [POSIX] (EPROTONOSUPPORT): Likewise.
22483         [POSIX] (EPROTOTYPE): Likewise.
22484         [POSIX] (ESTALE): Likewise.
22485         [POSIX] (ETIME): Likewise.
22486         [POSIX] (ETXTBSY): Likewise.
22487         [POSIX] (EWOULDBLOCK): Likewise.
22488         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22489         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22490         [POSIX] (SEEK_CUR): Likewise.
22491         [POSIX] (SEEK_END): Likewise.
22492         [POSIX || UNIX98] (mode_t): Do not require.
22493         [POSIX] (off_t): Likewise.
22494         [POSIX] (pid_t): Likewise.
22495         [POSIX] (sys/stat.h): Do not allow header.
22496         [POSIX] (unistd.h): Likewise.
22497         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22498         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22499         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22500         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22501         require.
22502         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22503         sigevent): Specify elements.
22504         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22505         entry.
22506         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22507         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22508
22509         * conform/data/cpio.h-data [POSIX]: Disable whole file.
22510         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22511         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22512         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22513         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22514         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22515         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22516         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22517         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22518         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22519         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22520         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22521         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22522         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22523         Likewise.
22524         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22525         Likewise.
22526         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22527         Likewise.
22528         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22529         Likewise.
22530         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22531         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22532         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22533         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22534         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22535         Specify lower bound on value.
22536         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22537         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22538         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22539         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22540         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22541         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22542         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22543         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22544         value.
22545         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22546         as optional.
22547         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22548         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22549         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22550         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22551         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22552         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22553         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22554         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22555         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22556         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22557         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22558         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22559         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22560         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22561         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22562         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22563         entry.
22564         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22565         optional.
22566         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22567         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22568         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22569         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22570         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22571         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22572         Likewise.
22573         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22574         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22575         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22576         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22577         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
22578         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22579         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22580         as optional.
22581         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22582         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22583         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22584         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22585         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22586         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22587         specify as optional.
22588         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22589         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22590         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22591         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22592         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22593         [XPG3] (NL_LANGMAX): Likewise.
22594         [POSIX || XPG3] (NL_MSGMAX): Likewise.
22595         [POSIX || XPG3] (NL_NMAX): Likewise.
22596         [POSIX || XPG3] (NL_SETMAX): Likewise.
22597         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22598         [XPG3] (NZERO): Likewise.
22599         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22600         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22601         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22602         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22603         (REG_ERANGE): Expect.
22604         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22605         optional-constant.
22606         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22607         Use (void) in prototype.
22608         [POSIX] (*_t): Allow.
22609         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22610         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22611         (WRDE_BADVAL): Expect.
22612
22613         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22614         expect.
22615         [XPG3 || XPG4] (O_RSYNC): Likewise.
22616         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22617         Likewise.
22618         [XPG3 || XPG4] (pthread_sigmask): Likewise.
22619         [XPG3 || XPG4] (sigqueue): Likewise.
22620         [XPG3 || XPG4] (sigtimedwait): Likewise.
22621         [XPG3 || XPG4] (sigwaitinfo): Likewise.
22622         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22623         [XPG3 || XPG4] (vsnprintf): Likewise.
22624         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22625         Likewise.
22626         [XPG3 || XPG4] (blksize_t): Likewise.
22627         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22628         Likewise.
22629         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22630         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22631         [XPG3 || XPG4] (struct itimerspec): Likewise.
22632         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22633         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22634         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22635         [XPG3 || XPG4] (clockid_t): Likewise.
22636         [XPG3 || XPG4] (timer_t): Likewise.
22637         [XPG3 || XPG4] (clock_getres): Likewise.
22638         [XPG3 || XPG4] (clock_gettime): Likewise.
22639         [XPG3 || XPG4] (clock_settime): Likewise.
22640         [XPG3 || XPG4] (nanosleep): Likewise.
22641         [XPG3 || XPG4] (timer_create): Likewise.
22642         [XPG3 || XPG4] (timer_delete): Likewise.
22643         [XPG3 || XPG4] (timer_gettime): Likewise.
22644         [XPG3 || XPG4] (timer_getoverrun): Likewise.
22645         [XPG3 || XPG4] (timer_settime): Likewise.
22646         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22647         [XPG3 || XPG4] (getlogin_r): Likewise.
22648         [XPG3 || XPG4] (pread): Likewise.
22649         [XPG3 || XPG4] (pthread_atfork): Likewise.
22650         [XPG3 || XPG4] (pwrite): Likewise.
22651
22652         [BZ #14835]
22653         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22654         <bits/siginfo.h>.
22655
22656 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
22657
22658         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22659         finalizing MALLSTREAM.
22660
22661         * sysdeps/mach/hurd/syncfs.c: New file.
22662
22663 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22664
22665         [BZ #14719]
22666         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22667         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22668         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22669         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22670         (_nss_dns_gethostbyname4_r): Likewise.
22671         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22672         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22673
22674 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
22675
22676         [BZ #13763]
22677         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22678
22679 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
22680
22681         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22682         * elf/cache.c (print_entry): Print ",AArch64" for
22683         FLAG_AARCH64_LIB64
22684
22685         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22686         * elf/cache.c (print_entry): Print ",hard-float" for
22687         FLAG_ARM_LIBHF.
22688
22689 2012-11-18  David S. Miller  <davem@davemloft.net>
22690
22691         With help from Joseph Myers.
22692         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22693         cutoff to 2**-13.
22694         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22695         cutoff to 2**-25.
22696         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22697         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22698         small.
22699         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22700         * math/libm-test.inc (y0_test): New tests.
22701         (y1_test): New tests.
22702         * sysdeps/i386/fpu/libm-test-ulps: Update.
22703         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22704         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22705
22706 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
22707
22708         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22709         64-bit targets.
22710         * configure: Regenerated.
22711
22712 2012-11-17  David S. Miller  <davem@davemloft.net>
22713
22714         [BZ #14811]
22715         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22716         nonzero exponents with absolute value below 0x1p-128 to +/-
22717         0x1p-128.
22718
22719 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
22720
22721         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22722
22723         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22724
22725         * posix/getconf-speclist.c: New file.
22726         * posix/posix-envs.def: Likewise.
22727         * posix/confstr.c (START_ENV_GROUP): New macro.
22728         (END_ENV_GROUP): Likewise.
22729         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22730         (KNOWN_PRESENT_ENV_STRING): Likewise.
22731         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22732         (UNKNOWN_ENVIRONMENT): Likewise.
22733         (confstr): Include posix-envs.def instead of handling
22734         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22735         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22736         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22737         (END_ENV_GROUP): Likewise.
22738         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22739         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22740         (UNKNOWN_ENVIRONMENT): Likewise.
22741         (__sysconf): Include posix-envs.def instead of handling associated
22742         cases directly here.
22743         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22744         preprocessing getconf-speclist.c rather than running getconf or
22745         generating empty file.
22746
22747 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
22748
22749         * scripts/check-local-headers.sh: Ignore 'mach' headers.
22750
22751 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
22752
22753         [BZ #14672]
22754         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22755
22756 2012-11-16  David S. Miller  <davem@davemloft.net>
22757
22758         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22759         smaller than LDBL_EPSILON/2.0L, just return xm1.
22760
22761 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
22762
22763         * elf/tst-array1.c (init): Set constructor priority to 1000.
22764         (fini): Set destructor priority to 1000.
22765         * elf/tst-array2dep.c: Likewise.
22766
22767 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22768
22769         [BZ #11741]
22770         * libio/fileops.c (_IO_new_file_write): Correctly return error.
22771         (_IO_new_file_xsputn): Also return EOF if none of the input
22772         data was written when overflow failed.
22773         * libio/iopadn.c (_IO_padn): Likewise.
22774         * libio/iowpadn.c (_IO_wpadn): Likewise.
22775         * stdio-common/tst-put-error.c: Add copyright notice.
22776         (do_test): Add case for printing padded string.
22777         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22778         _IO_padn returned error.
22779         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22780         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22781         return EOF.
22782
22783 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22784
22785         * libio/libioP.h: Add comment note that the references to C++
22786         bits are now obsolete.
22787
22788 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22789
22790         * math/libm-test.inc (check_complex): Use asprintf.
22791
22792 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
22793
22794         * debug/pcprofiledump.c (print_version): Update copyright year.
22795         * malloc/memusagestat.c (print_version): Likewise.
22796
22797 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
22798
22799         [BZ #14831]
22800         * elf/Makefile (tests): Add tst-audit8.
22801         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22802         ($(objpfx)tst-audit8.out): New target.
22803         (tst-audit8-ENV): New variable.
22804         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22805         audit if l_reloc_result is NULL.
22806         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22807         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22808         * elf/tst-audit8.c: New file.
22809
22810 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22811
22812         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22813         * misc/Makefile (CFLAGS-select.c): Define.
22814         * posix/Makefile (CFLAGS-pause.c): Define.
22815
22816 2012-11-13  David S. Miller  <davem@davemloft.net>
22817
22818         * crypt/Makefile: Move test targets after toplevel Rules
22819         inclusion.  Grab any necessary sysdep routines when linking.
22820         * crypt/md5.c (md5_process_block): Remove define, we will always
22821         name it __md5_process_block.
22822         (md5_finish_ctx): Update md5_process_block call.
22823         (md5_stream): Likewise.
22824         (md5_process_bytes): Likewise.
22825         (md5_process_block): Rename to __md5_process_block and move to ...
22826         * crypt/md5-block.c: ... here.
22827         * crypt/sha256.c (sha256_process_block): Move to ...
22828         * crypt/sha256-block.c: ... here.
22829         * crypt/sha512.c (sha512_process_block): Move to ...
22830         * crypt/sha512-block.c: ... here.
22831         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22832         path.
22833         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22834         * sysdeps/sparc/sparc64/multiarch/Makefile
22835         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22836         crypt subdir.
22837         (localedef-aux): Add md5 crypto assembler when in locale subdir.
22838         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22839         multiarch changes.
22840         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22841         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22842         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22843         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22844         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22845         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22846         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22847         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22848         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22849         file.
22850         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22851         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22852         file.
22853         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22854
22855 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
22856
22857         * timezone/tzselect.ksh: Update from tzcode git revision
22858         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22859         * timezone/zdump.c: Likewise.
22860         * timezone/zic.c: Likewise.
22861         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22862         in TZVERSION setting, not $(PKGVERSION).
22863         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
22864         REPORT_BUGS_TO settings.
22865
22866         [BZ #14838]
22867         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22868         macro.
22869
22870 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22871
22872         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22873         detection to immediately after _FP_ROUND().
22874         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22875         bits are 0.
22876
22877 2012-11-11  David S. Miller  <davem@davemloft.net>
22878
22879         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22880         inttypes.h
22881         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22882         __close rather than their public counterparts.
22883
22884 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
22885
22886         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22887         file.
22888         [UNIX98] (sem_timedwait): Do not expect.
22889         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22890         [XPG4 || UNIX98] (sockatmark): Do not expect.
22891         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22892         (clock_getcpuclockid): Do not expect.
22893         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22894         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22895         Do not expect.
22896         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22897         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22898         [UNIX98] (vwscanf): Likewise.
22899         [UNIX98] (vswscanf): Likewise.
22900
22901 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
22902
22903         * timezone/version.h: Remove file.
22904         * timezone/README: Do not refer to version.h.
22905         * timezone/Makefile ($(objpfx)zic.o): New dependency on
22906         $(objpfx)version.h.
22907         ($(objpfx)zdump.o): Likewise.
22908         ($(objpfx)version.h): New target.
22909
22910         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22911         2012i.
22912         * timezone/README: Don't mention modification to tzselect.ksh.
22913         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22914         work on unmodified tzselect.ksh.  Substitute version numbers in
22915         tzselect.ksh.
22916
22917         * Makefile (format-me): Remove.
22918         (INSTALL): Adjust indentation.  Use commands directly instead of
22919         using $(format-me).
22920
22921         * aclocal.m4 (ACX_PKGVERSION): New macro.
22922         (ACX_BUGURL): Likewise.
22923         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22924         (PKGVERSION): New AC_DEFINE_UNQUOTED.
22925         (REPORT_BUGS_TO): Likewise.
22926         * configure: Regenerated.
22927         * config.h.in (PKGVERSION): New macro.
22928         (REPORT_BUGS_TO): Likewise.
22929         * config.make.in (PKGVERSION): New variable.
22930         (PKGVERSION_TEXI): Likewise.
22931         (REPORT_BUGS_TO): Likewise.
22932         (REPORT_BUGS_TEXI): Likewise.
22933         * Makefile (format-me): Use -I$(common-objpfx)manual.
22934         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22935         ($(common-objpfx)manual/%): New target.
22936         (manual/%): Remove target.
22937         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22938         (print_version): Use PKGVERSION.
22939         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22940         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22941         and REPORT_BUGS_TO.
22942         ($(objpfx)xtrace): Likewise.
22943         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22944         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22945         (print_version): Use PKGVERSION.
22946         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22947         (do_version): Use PKGVERSION.
22948         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22949         REPORT_BUGS_TO.
22950         (common-ldd-rewrite): Likewise.
22951         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22952         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22953         (print_version): Use PKGVERSION.
22954         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22955         * elf/pldd.c (argp_program_bug_address): Remove variable.
22956         (more_help): New function.
22957         (argp): Use more_help.
22958         (print_version): Use PKGVERSION.
22959         * elf/sln.c (main): Use PKGVERSION.
22960         (usage): Use REPORT_BUGS_TO.
22961         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22962         (top level): Use PKGVERSION.
22963         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22964         (print_version): Use PKGVERSION.
22965         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22966         (print_version): Use PKGVERSION.
22967         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22968         (print_version): Use PKGVERSION.
22969         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22970         (print_version): Use PKGVERSION.
22971         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22972         (print_version): Use PKGVERSION.
22973         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22974         (print_version): Use PKGVERSION.
22975         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22976         and BUGURL.
22977         ($(objpfx)memusage): Likewise.
22978         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22979         (do_version): Use PKGVERSION.
22980         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22981         (print_version): Use PKGVERSION.
22982         * malloc/mtrace.pl ($PACKAGE): Remove variable.
22983         ($PKGVERSION): New variable.
22984         ($REPORT_BUGS_TO): Likewise.
22985         (usage): Use $REPORT_BUGS_TO.
22986         (top level): Use $PKGVERSION.
22987         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22988         ($(objpfx)pkgvers.texi): New rule.
22989         ($(objpfx)stamp-pkgvers): Likewise.
22990         * manual/install.texi: Include pkgvers.texi.
22991         (--with-pkgversion): Document new configure option.
22992         (--with-bugurl): Likewise.
22993         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22994         than necessarily for this particular distribution.  Use
22995         REPORT_BUGS_TO for where to report bugs.
22996         * INSTALL: Regenerated.
22997         * manual/libc.texinfo: Include pkgvers.texi.
22998         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22999         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23000         (print_version): Use PKGVERSION.
23001         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23002         (print_version): Use PKGVERSION.
23003         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23004         (print_version): Use PKGVERSION.
23005         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23006         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23007         macro.
23008         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23009         (print_version): Use PKGVERSION.
23010         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23011         (print_version): Use PKGVERSION.
23012         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23013         and PKGVERSION.
23014
23015         * timezone/checktab.awk: Update from tzcode 2012i.
23016         * timezone/ialloc.c: Likewise.
23017         * timezone/private.h: Likewise.
23018         * timezone/scheck.c: Likewise.
23019         * timezone/tzfile.h: Likewise.
23020         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23021         (TZVERSION): Hardcode tzcode version number.
23022         * timezone/zdump.c: Update from tzcode 2012i.
23023         * timezone/zic.c: Likewise.
23024         * timezone/version.h: New file.
23025         * timezone/README: Describe version.h.  Update upstream location.
23026
23027         [BZ #14824]
23028         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23029         (mktemp): Enable declaration.
23030         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23031         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23032         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23033         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23034         Likewise.
23035         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23036         Likewise.
23037         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23038         Likewise.
23039         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23040         Likewise.
23041         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23042         Likewise.
23043         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23044         Likewise.
23045
23046         [BZ #14821]
23047         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23048         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
23049         for copies of such integer values.
23050         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23051         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23052
23053 2012-11-09  Andreas Jaeger  <aj@suse.de>
23054
23055         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23056         definitions and declarations that are provided by
23057         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23058
23059 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23060
23061         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
23062         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23063         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23064         definition.
23065
23066 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23067
23068         * elf/elf.h: Update comment before AArch64 relocations.
23069
23070 2012-11-07  David S. Miller  <davem@davemloft.net>
23071
23072         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23073         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23074         (__start_context): Declare.
23075         (__makecontext_ret): Delete.
23076         (__makecontext): Hook up __start_context instead of
23077         __makecontext_ret.
23078         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23079         (sysdep_routines): Add __start_context when in stdlib.
23080
23081 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23082
23083         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23084         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23085         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
23086         hardcoded "nm".
23087         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
23088         (READELF): New variable.  Use it instead of hardcoded "readelf".
23089
23090 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
23091
23092         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23093         * sysdeps/x86/Makefile: Here.
23094         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23095         * sysdeps/x86/tst-xmmymm.sh: This.
23096
23097 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23098
23099         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23100         expectations.
23101         [UNIX98] (pthread_barrier_t): Do not expect.
23102         [UNIX98] (pthread_barrierattr_t): Likewise.
23103         [UNIX98] (pthread_spinlock_t): Likewise.
23104         [UNIX98] (pthread_barrier_destroy): Likewise.
23105         [UNIX98] (pthread_barrier_init): Likewise.
23106         [UNIX98] (pthread_barrier_wait): Likewise.
23107         [UNIX98] (pthread_barrierattr_destroy): Likewise.
23108         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23109         [UNIX98] (pthread_barrierattr_init): Likewise.
23110         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23111         [UNIX98] (pthread_getcpuclockid): Likewise.
23112         [UNIX98] (pthread_mutex_timedlock): Likewise.
23113         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23114         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23115         [UNIX98] (pthread_sigmask): Likewise.
23116         [UNIX98] (pthread_spin_destroy): Likewise.
23117         [UNIX98] (pthread_spin_init): Likewise.
23118         [UNIX98] (pthread_spin_lock): Likewise.
23119         [UNIX98] (pthread_spin_trylock): Likewise.
23120         [UNIX98] (pthread_spin_unlock): Likewise.
23121         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23122         Do not expect.
23123         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23124         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23125         [XPG3 || XPG4] (pthread_cond_t): Likewise.
23126         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23127         [XPG3 || XPG4] (pthread_key_t): Likewise.
23128         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23129         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23130         [XPG3 || XPG4] (pthread_once_t): Likewise.
23131         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23132         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23133         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23134         [XPG3 || XPG4] (pthread_t): Likewise.
23135
23136         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23137         not expect.
23138         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23139
23140         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23141         Change function return type to int.
23142
23143         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23144         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23145         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23146         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23147         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23148         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23149         [!POSIX] (posix_madvise): Likewise.
23150         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23151         && !UNIX98].
23152         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23153         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23154         (mode_t): Likewise.
23155         (posix_mem_offset): Likewise.
23156         (posix_typed_mem_get_info): Likewise.
23157         (posix_typed_mem_open): Likewise.
23158
23159         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23160         Change condition to [XOPEN2K8].
23161
23162         * conform/conformtest.pl: Preprocess allow-header data with -x c
23163         instead of from stdin.
23164         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23165         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23166         [C99-based standards] (cerfc): Likewise.
23167         [C99-based standards] (cexp2): Likewise.
23168         [C99-based standards] (cexpm1): Likewise.
23169         [C99-based standards] (clog10): Likewise.
23170         [C99-based standards] (clog1p): Likewise.
23171         [C99-based standards] (clog2): Likewise.
23172         [C99-based standards] (clgamma): Likewise.
23173         [C99-based standards] (ctgamma): Likewise.
23174         [C99-based standards] (cerff): Likewise.
23175         [C99-based standards] (cerfcf): Likewise.
23176         [C99-based standards] (cexp2f): Likewise.
23177         [C99-based standards] (cexpm1f): Likewise.
23178         [C99-based standards] (clog10f): Likewise.
23179         [C99-based standards] (clog1pf): Likewise.
23180         [C99-based standards] (clog2f): Likewise.
23181         [C99-based standards] (clgammaf): Likewise.
23182         [C99-based standards] (ctgammaf): Likewise.
23183         [C99-based standards] (cerfl): Likewise.
23184         [C99-based standards] (cerfcl): Likewise.
23185         [C99-based standards] (cexp2l): Likewise.
23186         [C99-based standards] (cexpm1l): Likewise.
23187         [C99-based standards] (clog10l): Likewise.
23188         [C99-based standards] (clog1pl): Likewise.
23189         [C99-based standards] (clog2l): Likewise.
23190         [C99-based standards] (clgammal): Likewise.
23191         [C99-based standards] (ctgammal): Likewise.
23192         * conform/data/inttypes.h-data [C99-based standards]: Include
23193         stdint.h-data.  Remove all expectations for stdint.h contents.
23194         [C99-based standards] (PRI*): Do not allow.
23195         [C99-based standards] (SCN*): Likewise.
23196         [C99-based standards] (*_t): Likewise.
23197         [C99-based-standards] (PRId8): Expect macro.
23198         [C99-based-standards] (PRIi8): Likewise.
23199         [C99-based-standards] (PRIo8): Likewise.
23200         [C99-based-standards] (PRIu8): Likewise.
23201         [C99-based-standards] (PRIx8): Likewise.
23202         [C99-based-standards] (PRIX8): Likewise.
23203         [C99-based-standards] (SCNd8): Likewise.
23204         [C99-based-standards] (SCNi8): Likewise.
23205         [C99-based-standards] (SCNo8): Likewise.
23206         [C99-based-standards] (SCNu8): Likewise.
23207         [C99-based-standards] (SCNx8): Likewise.
23208         [C99-based-standards] (PRIdLEAST8): Likewise.
23209         [C99-based-standards] (PRIiLEAST8): Likewise.
23210         [C99-based-standards] (PRIoLEAST8): Likewise.
23211         [C99-based-standards] (PRIuLEAST8): Likewise.
23212         [C99-based-standards] (PRIxLEAST8): Likewise.
23213         [C99-based-standards] (PRIXLEAST8): Likewise.
23214         [C99-based-standards] (SCNdLEAST8): Likewise.
23215         [C99-based-standards] (SCNiLEAST8): Likewise.
23216         [C99-based-standards] (SCNoLEAST8): Likewise.
23217         [C99-based-standards] (SCNuLEAST8): Likewise.
23218         [C99-based-standards] (SCNxLEAST8): Likewise.
23219         [C99-based-standards] (PRIdFAST8): Likewise.
23220         [C99-based-standards] (PRIiFAST8): Likewise.
23221         [C99-based-standards] (PRIoFAST8): Likewise.
23222         [C99-based-standards] (PRIuFAST8): Likewise.
23223         [C99-based-standards] (PRIxFAST8): Likewise.
23224         [C99-based-standards] (PRIXFAST8): Likewise.
23225         [C99-based-standards] (SCNdFAST8): Likewise.
23226         [C99-based-standards] (SCNiFAST8): Likewise.
23227         [C99-based-standards] (SCNoFAST8): Likewise.
23228         [C99-based-standards] (SCNuFAST8): Likewise.
23229         [C99-based-standards] (SCNxFAST8): Likewise.
23230         [C99-based-standards] (PRId16): Likewise.
23231         [C99-based-standards] (PRIi16): Likewise.
23232         [C99-based-standards] (PRIo16): Likewise.
23233         [C99-based-standards] (PRIu16): Likewise.
23234         [C99-based-standards] (PRIx16): Likewise.
23235         [C99-based-standards] (PRIX16): Likewise.
23236         [C99-based-standards] (SCNd16): Likewise.
23237         [C99-based-standards] (SCNi16): Likewise.
23238         [C99-based-standards] (SCNo16): Likewise.
23239         [C99-based-standards] (SCNu16): Likewise.
23240         [C99-based-standards] (SCNx16): Likewise.
23241         [C99-based-standards] (PRIdLEAST16): Likewise.
23242         [C99-based-standards] (PRIiLEAST16): Likewise.
23243         [C99-based-standards] (PRIoLEAST16): Likewise.
23244         [C99-based-standards] (PRIuLEAST16): Likewise.
23245         [C99-based-standards] (PRIxLEAST16): Likewise.
23246         [C99-based-standards] (PRIXLEAST16): Likewise.
23247         [C99-based-standards] (SCNdLEAST16): Likewise.
23248         [C99-based-standards] (SCNiLEAST16): Likewise.
23249         [C99-based-standards] (SCNoLEAST16): Likewise.
23250         [C99-based-standards] (SCNuLEAST16): Likewise.
23251         [C99-based-standards] (SCNxLEAST16): Likewise.
23252         [C99-based-standards] (PRIdFAST16): Likewise.
23253         [C99-based-standards] (PRIiFAST16): Likewise.
23254         [C99-based-standards] (PRIoFAST16): Likewise.
23255         [C99-based-standards] (PRIuFAST16): Likewise.
23256         [C99-based-standards] (PRIxFAST16): Likewise.
23257         [C99-based-standards] (PRIXFAST16): Likewise.
23258         [C99-based-standards] (SCNdFAST16): Likewise.
23259         [C99-based-standards] (SCNiFAST16): Likewise.
23260         [C99-based-standards] (SCNoFAST16): Likewise.
23261         [C99-based-standards] (SCNuFAST16): Likewise.
23262         [C99-based-standards] (SCNxFAST16): Likewise.
23263         [C99-based-standards] (PRId32): Likewise.
23264         [C99-based-standards] (PRIi32): Likewise.
23265         [C99-based-standards] (PRIo32): Likewise.
23266         [C99-based-standards] (PRIu32): Likewise.
23267         [C99-based-standards] (PRIx32): Likewise.
23268         [C99-based-standards] (PRIX32): Likewise.
23269         [C99-based-standards] (SCNd32): Likewise.
23270         [C99-based-standards] (SCNi32): Likewise.
23271         [C99-based-standards] (SCNo32): Likewise.
23272         [C99-based-standards] (SCNu32): Likewise.
23273         [C99-based-standards] (SCNx32): Likewise.
23274         [C99-based-standards] (PRIdLEAST32): Likewise.
23275         [C99-based-standards] (PRIiLEAST32): Likewise.
23276         [C99-based-standards] (PRIoLEAST32): Likewise.
23277         [C99-based-standards] (PRIuLEAST32): Likewise.
23278         [C99-based-standards] (PRIxLEAST32): Likewise.
23279         [C99-based-standards] (PRIXLEAST32): Likewise.
23280         [C99-based-standards] (SCNdLEAST32): Likewise.
23281         [C99-based-standards] (SCNiLEAST32): Likewise.
23282         [C99-based-standards] (SCNoLEAST32): Likewise.
23283         [C99-based-standards] (SCNuLEAST32): Likewise.
23284         [C99-based-standards] (SCNxLEAST32): Likewise.
23285         [C99-based-standards] (PRIdFAST32): Likewise.
23286         [C99-based-standards] (PRIiFAST32): Likewise.
23287         [C99-based-standards] (PRIoFAST32): Likewise.
23288         [C99-based-standards] (PRIuFAST32): Likewise.
23289         [C99-based-standards] (PRIxFAST32): Likewise.
23290         [C99-based-standards] (PRIXFAST32): Likewise.
23291         [C99-based-standards] (SCNdFAST32): Likewise.
23292         [C99-based-standards] (SCNiFAST32): Likewise.
23293         [C99-based-standards] (SCNoFAST32): Likewise.
23294         [C99-based-standards] (SCNuFAST32): Likewise.
23295         [C99-based-standards] (SCNxFAST32): Likewise.
23296         [C99-based-standards] (PRId64): Likewise.
23297         [C99-based-standards] (PRIi64): Likewise.
23298         [C99-based-standards] (PRIo64): Likewise.
23299         [C99-based-standards] (PRIu64): Likewise.
23300         [C99-based-standards] (PRIx64): Likewise.
23301         [C99-based-standards] (PRIX64): Likewise.
23302         [C99-based-standards] (SCNd64): Likewise.
23303         [C99-based-standards] (SCNi64): Likewise.
23304         [C99-based-standards] (SCNo64): Likewise.
23305         [C99-based-standards] (SCNu64): Likewise.
23306         [C99-based-standards] (SCNx64): Likewise.
23307         [C99-based-standards] (PRIdLEAST64): Likewise.
23308         [C99-based-standards] (PRIiLEAST64): Likewise.
23309         [C99-based-standards] (PRIoLEAST64): Likewise.
23310         [C99-based-standards] (PRIuLEAST64): Likewise.
23311         [C99-based-standards] (PRIxLEAST64): Likewise.
23312         [C99-based-standards] (PRIXLEAST64): Likewise.
23313         [C99-based-standards] (SCNdLEAST64): Likewise.
23314         [C99-based-standards] (SCNiLEAST64): Likewise.
23315         [C99-based-standards] (SCNoLEAST64): Likewise.
23316         [C99-based-standards] (SCNuLEAST64): Likewise.
23317         [C99-based-standards] (SCNxLEAST64): Likewise.
23318         [C99-based-standards] (PRIdFAST64): Likewise.
23319         [C99-based-standards] (PRIiFAST64): Likewise.
23320         [C99-based-standards] (PRIoFAST64): Likewise.
23321         [C99-based-standards] (PRIuFAST64): Likewise.
23322         [C99-based-standards] (PRIxFAST64): Likewise.
23323         [C99-based-standards] (PRIXFAST64): Likewise.
23324         [C99-based-standards] (SCNdFAST64): Likewise.
23325         [C99-based-standards] (SCNiFAST64): Likewise.
23326         [C99-based-standards] (SCNoFAST64): Likewise.
23327         [C99-based-standards] (SCNuFAST64): Likewise.
23328         [C99-based-standards] (SCNxFAST64): Likewise.
23329         [C99-based-standards] (PRIdMAX): Likewise.
23330         [C99-based-standards] (PRIiMAX): Likewise.
23331         [C99-based-standards] (PRIoMAX): Likewise.
23332         [C99-based-standards] (PRIuMAX): Likewise.
23333         [C99-based-standards] (PRIxMAX): Likewise.
23334         [C99-based-standards] (PRIXMAX): Likewise.
23335         [C99-based-standards] (SCNdMAX): Likewise.
23336         [C99-based-standards] (SCNiMAX): Likewise.
23337         [C99-based-standards] (SCNoMAX): Likewise.
23338         [C99-based-standards] (SCNuMAX): Likewise.
23339         [C99-based-standards] (SCNxMAX): Likewise.
23340         [C99-based-standards] (PRIdPTR): Likewise.
23341         [C99-based-standards] (PRIiPTR): Likewise.
23342         [C99-based-standards] (PRIoPTR): Likewise.
23343         [C99-based-standards] (PRIuPTR): Likewise.
23344         [C99-based-standards] (PRIxPTR): Likewise.
23345         [C99-based-standards] (PRIXPTR): Likewise.
23346         [C99-based-standards] (SCNdPTR): Likewise.
23347         [C99-based-standards] (SCNiPTR): Likewise.
23348         [C99-based-standards] (SCNoPTR): Likewise.
23349         [C99-based-standards] (SCNuPTR): Likewise.
23350         [C99-based-standards] (SCNxPTR): Likewise.
23351         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23352         allow.
23353         * conform/data/stdint.h-data: Update comments to clarify
23354         requirements.
23355         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
23356         type.
23357         [C99-based standards] (INT8_MAX): Likewise.
23358         [C99-based standards] (INT16_MIN): Likewise.
23359         [C99-based standards] (INT16_MAX): Likewise.
23360         [C99-based standards] (INT32_MIN): Likewise.
23361         [C99-based standards] (INT32_MAX): Likewise.
23362         [C99-based standards] (INT64_MIN): Likewise.
23363         [C99-based standards] (INT64_MAX): Likewise.
23364         [C99-based standards] (UINT8_MAX): Likewise.
23365         [C99-based standards] (UINT16_MAX): Likewise.
23366         [C99-based standards] (UINT32_MAX): Likewise.
23367         [C99-based standards] (UINT64_MAX): Likewise.
23368         [C99-based standards] (INT_LEAST8_MIN): Likewise.
23369         [C99-based standards] (INT_LEAST8_MAX): Likewise.
23370         [C99-based standards] (INT_LEAST16_MIN): Likewise.
23371         [C99-based standards] (INT_LEAST16_MAX): Likewise.
23372         [C99-based standards] (INT_LEAST32_MIN): Likewise.
23373         [C99-based standards] (INT_LEAST32_MAX): Likewise.
23374         [C99-based standards] (INT_LEAST64_MIN): Likewise.
23375         [C99-based standards] (INT_LEAST64_MAX): Likewise.
23376         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23377         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23378         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23379         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23380         [C99-based standards] (INT_FAST8_MIN): Likewise.
23381         [C99-based standards] (INT_FAST8_MAX): Likewise.
23382         [C99-based standards] (INT_FAST16_MIN): Likewise.
23383         [C99-based standards] (INT_FAST16_MAX): Likewise.
23384         [C99-based standards] (INT_FAST32_MIN): Likewise.
23385         [C99-based standards] (INT_FAST32_MAX): Likewise.
23386         [C99-based standards] (INT_FAST64_MIN): Likewise.
23387         [C99-based standards] (INT_FAST64_MAX): Likewise.
23388         [C99-based standards] (UINT_FAST8_MAX): Likewise.
23389         [C99-based standards] (UINT_FAST16_MAX): Likewise.
23390         [C99-based standards] (UINT_FAST32_MAX): Likewise.
23391         [C99-based standards] (UINT_FAST64_MAX): Likewise.
23392         [C99-based standards] (INTPTR_MIN): Likewise.
23393         [C99-based standards] (INTPTR_MAX): Likewise.
23394         [C99-based standards] (UINTPTR_MAX): Likewise.
23395         [C99-based standards] (INTMAX_MIN): Likewise.
23396         [C99-based standards] (INTMAX_MAX): Likewise.
23397         [C99-based standards] (UINTMAX_MAX): Likewise.
23398         [C99-based standards] (PTRDIFF_MIN): Likewise.
23399         [C99-based standards] (PTRDIFF_MAX): Likewise.
23400         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23401         [C99-based standards] (SIZE_MAX): Likewise.
23402         [C99-based standards] (WCHAR_MAX): Likewise.
23403         [C99-based standards] (WINT_MAX): Likewise.
23404         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
23405         constraint on value.
23406         [C99-based standards] (WCHAR_MIN): Likewise.
23407         [C99-based standards] (WINT_MIN): Likewise.
23408         [C99-based standards] (*_t): Allow.
23409         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23410         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23411         Include math.h-data and complex.h-data.  Remove all expectations
23412         of math.h and complex.h contents.
23413         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23414         at end of line.
23415         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23416         (struct tm): Expect tag.
23417         [C99-based-standards] (wcstof): Expect function.
23418         [C99-based-standards] (wcstold): Likewise.
23419         [C99-based-standards] (wcstoll): Likewise.
23420         [C99-based-standards] (wcstoull): Likewise.
23421         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23422         macro-int-constant.  Specify type.
23423         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
23424         constraint on value.
23425         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23426         Specify type.
23427         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23428         Specify value.
23429         [ISO C standards]: Do not allow headers.
23430         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23431         wcs[abcdefghijklmnopqrstuvwxyz]*.
23432         [ISO C standards] (*_t): Do not allow.
23433         * conform/data/wctype.h-data [C99-based standards] (iswblank):
23434         Expect function.
23435         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23436         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23437         Specify type.
23438         [ISO C standards]: Do not allow headers.
23439         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23440         is[abcdefghijklmnopqrstuvwxyz]*.
23441         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23442         to[abcdefghijklmnopqrstuvwxyz]*.
23443         [ISO C standards] (*_t): Do not allow.
23444         * conform/data/stdalign.h-data: New file.
23445         * conform/data/stdbool.h-data: Likewise.
23446         * conform/data/stdnoreturn.h-data: Likewise.
23447
23448 2012-11-07  Roland McGrath  <roland@hack.frob.com>
23449
23450         [BZ #14815]
23451         * manual/filesys.texi (Directory Entries): Typo fix.
23452         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23453
23454 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23455
23456         * elf/elf.h (EM_AARCH64): New macro.
23457         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23458         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23459         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23460         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23461         (R_AARCH64_TLSDESC): Likewise.
23462         (NT_ARM_TLS): Likewise.
23463         (NT_ARM_HW_BREAK): Likewise.
23464         (NT_ARM_HW_WATCH): Likewise.
23465
23466 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23467
23468         [BZ #14811]
23469         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23470         (__ieee754_powl): Saturate nonzero exponents with absolute value
23471         below 0x1p-79 to +/- 0x1p-79.
23472         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23473         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23474         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23475         nonzero exponents with absolute value below 0x1p-32 to +/-
23476         0x1p-32.
23477         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23478         (__ieee754_powl): Saturate nonzero exponents with absolute value
23479         below 0x1p-79 to +/- 0x1p-79.
23480         * math/libm-test.inc (pow_test): Add more tests.
23481
23482 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23483
23484         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23485         _dl_s390_cap_flags with kernel. Increase string length.
23486         (_dl_s390_platforms): Add z196 and zEC12.
23487
23488 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23489
23490         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23491         Change XOPEN21K to XOPEN2K.
23492
23493 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
23494
23495         * string/memmove.c: Use memcpy when possible.
23496
23497 2012-11-06  Andreas Jaeger  <aj@suse.de>
23498
23499         * po/eo.po: Update from translation team.
23500
23501 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
23502
23503         [BZ #14793]
23504         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23505         exponent and small x and y exponents, scale x or y up.  Increase
23506         by 2 the exponent used in scaling up.
23507         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23508         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23509         * math/libm-test.inc (fma_test): Add more tests.
23510         (fma_test_towardzero): Likewise.
23511         (fma_test_downward): Likewise.
23512         (fma_test_upward): Likewise.
23513
23514 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
23515
23516         [BZ #14805]
23517         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23518         fenv_t *.
23519
23520         [BZ #14801]
23521         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23522         namespace for names of struct fields.
23523         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23524         fenv_t fields.
23525         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23526         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23527
23528 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23529
23530         [BZ #3665]
23531         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23532
23533 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
23534
23535         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23536         PTR_DEMANGLE.
23537
23538         [BZ #5246]
23539         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23540         PTR_DEMANGLE.
23541
23542 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
23543
23544         [BZ #14797]
23545         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23546         definitely overflow as x * y not x * y + z.
23547         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23548         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23549         * math/libm-test.inc (fma_test): Add more tests.
23550         (fma_test_towardzero): Likewise.
23551         (fma_test_downward): Likewise.
23552         (fma_test_upward): Likewise.
23553
23554 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
23555
23556         [BZ #157]
23557
23558         * include/stub-tag.h: Remove file.
23559         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23560         '#include' of it.
23561         * manual/maint.texi (Porting): Don't reference it.
23562         * Makerules ($(objpfx)stubs): Likewise.
23563         * dirent/closedir.c: Don't include <stub-tag.h>.
23564         * dirent/dirfd.c: Likewise.
23565         * dirent/fdopendir.c: Likewise.
23566         * dirent/getdents.c: Likewise.
23567         * dirent/getdents64.c: Likewise.
23568         * dirent/opendir.c: Likewise.
23569         * dirent/readdir.c: Likewise.
23570         * dirent/readdir64.c: Likewise.
23571         * dirent/readdir64_r.c: Likewise.
23572         * dirent/readdir_r.c: Likewise.
23573         * dirent/rewinddir.c: Likewise.
23574         * dirent/seekdir.c: Likewise.
23575         * dirent/telldir.c: Likewise.
23576         * gmon/profil.c: Likewise.
23577         * grp/setgroups.c: Likewise.
23578         * inet/if_index.c: Likewise.
23579         * io/access.c: Likewise.
23580         * io/chdir.c: Likewise.
23581         * io/chmod.c: Likewise.
23582         * io/chown.c: Likewise.
23583         * io/close.c: Likewise.
23584         * io/dup.c: Likewise.
23585         * io/dup2.c: Likewise.
23586         * io/dup3.c: Likewise.
23587         * io/euidaccess.c: Likewise.
23588         * io/faccessat.c: Likewise.
23589         * io/fchdir.c: Likewise.
23590         * io/fchmod.c: Likewise.
23591         * io/fchmodat.c: Likewise.
23592         * io/fchown.c: Likewise.
23593         * io/fchownat.c: Likewise.
23594         * io/fcntl.c: Likewise.
23595         * io/flock.c: Likewise.
23596         * io/fstatfs.c: Likewise.
23597         * io/fstatfs64.c: Likewise.
23598         * io/fstatvfs.c: Likewise.
23599         * io/fstatvfs64.c: Likewise.
23600         * io/futimens.c: Likewise.
23601         * io/fxstat.c: Likewise.
23602         * io/fxstat64.c: Likewise.
23603         * io/fxstatat.c: Likewise.
23604         * io/fxstatat64.c: Likewise.
23605         * io/getcwd.c: Likewise.
23606         * io/isatty.c: Likewise.
23607         * io/lchmod.c: Likewise.
23608         * io/lchown.c: Likewise.
23609         * io/link.c: Likewise.
23610         * io/linkat.c: Likewise.
23611         * io/lseek.c: Likewise.
23612         * io/lseek64.c: Likewise.
23613         * io/lxstat64.c: Likewise.
23614         * io/mkdir.c: Likewise.
23615         * io/mkdirat.c: Likewise.
23616         * io/mkfifo.c: Likewise.
23617         * io/mkfifoat.c: Likewise.
23618         * io/open.c: Likewise.
23619         * io/open64.c: Likewise.
23620         * io/openat.c: Likewise.
23621         * io/openat64.c: Likewise.
23622         * io/pipe.c: Likewise.
23623         * io/pipe2.c: Likewise.
23624         * io/poll.c: Likewise.
23625         * io/posix_fadvise.c: Likewise.
23626         * io/posix_fadvise64.c: Likewise.
23627         * io/posix_fallocate.c: Likewise.
23628         * io/posix_fallocate64.c: Likewise.
23629         * io/read.c: Likewise.
23630         * io/readlink.c: Likewise.
23631         * io/readlinkat.c: Likewise.
23632         * io/rmdir.c: Likewise.
23633         * io/sendfile.c: Likewise.
23634         * io/sendfile64.c: Likewise.
23635         * io/statfs.c: Likewise.
23636         * io/statfs64.c: Likewise.
23637         * io/statvfs.c: Likewise.
23638         * io/statvfs64.c: Likewise.
23639         * io/symlink.c: Likewise.
23640         * io/symlinkat.c: Likewise.
23641         * io/ttyname.c: Likewise.
23642         * io/ttyname_r.c: Likewise.
23643         * io/umask.c: Likewise.
23644         * io/unlink.c: Likewise.
23645         * io/unlinkat.c: Likewise.
23646         * io/utime.c: Likewise.
23647         * io/utimensat.c: Likewise.
23648         * io/write.c: Likewise.
23649         * io/xmknod.c: Likewise.
23650         * io/xmknodat.c: Likewise.
23651         * io/xstat.c: Likewise.
23652         * io/xstat64.c: Likewise.
23653         * login/getpt.c: Likewise.
23654         * login/grantpt.c: Likewise.
23655         * login/unlockpt.c: Likewise.
23656         * math/e_acoshl.c: Likewise.
23657         * math/e_acosl.c: Likewise.
23658         * math/e_asinl.c: Likewise.
23659         * math/e_atan2l.c: Likewise.
23660         * math/e_atanhl.c: Likewise.
23661         * math/e_coshl.c: Likewise.
23662         * math/e_expl.c: Likewise.
23663         * math/e_fmodl.c: Likewise.
23664         * math/e_gammal_r.c: Likewise.
23665         * math/e_hypotl.c: Likewise.
23666         * math/e_j0l.c: Likewise.
23667         * math/e_j1l.c: Likewise.
23668         * math/e_jnl.c: Likewise.
23669         * math/e_lgammal_r.c: Likewise.
23670         * math/e_log10l.c: Likewise.
23671         * math/e_log2l.c: Likewise.
23672         * math/e_logl.c: Likewise.
23673         * math/e_powl.c: Likewise.
23674         * math/e_rem_pio2l.c: Likewise.
23675         * math/e_sinhl.c: Likewise.
23676         * math/e_sqrtl.c: Likewise.
23677         * math/fclrexcpt.c: Likewise.
23678         * math/fedisblxcpt.c: Likewise.
23679         * math/feenablxcpt.c: Likewise.
23680         * math/fegetenv.c: Likewise.
23681         * math/fegetexcept.c: Likewise.
23682         * math/fegetround.c: Likewise.
23683         * math/feholdexcpt.c: Likewise.
23684         * math/fesetenv.c: Likewise.
23685         * math/fesetround.c: Likewise.
23686         * math/feupdateenv.c: Likewise.
23687         * math/fgetexcptflg.c: Likewise.
23688         * math/fraiseexcpt.c: Likewise.
23689         * math/fsetexcptflg.c: Likewise.
23690         * math/ftestexcept.c: Likewise.
23691         * math/k_cosl.c: Likewise.
23692         * math/k_rem_pio2l.c: Likewise.
23693         * math/k_sinl.c: Likewise.
23694         * math/k_tanl.c: Likewise.
23695         * math/s_asinhl.c: Likewise.
23696         * math/s_atanl.c: Likewise.
23697         * math/s_cbrtl.c: Likewise.
23698         * math/s_erfl.c: Likewise.
23699         * math/s_expm1l.c: Likewise.
23700         * math/s_log1pl.c: Likewise.
23701         * math/s_tanhl.c: Likewise.
23702         * misc/acct.c: Likewise.
23703         * misc/brk.c: Likewise.
23704         * misc/chflags.c: Likewise.
23705         * misc/chroot.c: Likewise.
23706         * misc/fchflags.c: Likewise.
23707         * misc/fgetxattr.c: Likewise.
23708         * misc/flistxattr.c: Likewise.
23709         * misc/fremovexattr.c: Likewise.
23710         * misc/fsetxattr.c: Likewise.
23711         * misc/fsync.c: Likewise.
23712         * misc/ftruncate.c: Likewise.
23713         * misc/futimes.c: Likewise.
23714         * misc/futimesat.c: Likewise.
23715         * misc/getdomain.c: Likewise.
23716         * misc/getdtsz.c: Likewise.
23717         * misc/gethostid.c: Likewise.
23718         * misc/gethostname.c: Likewise.
23719         * misc/getloadavg.c: Likewise.
23720         * misc/getpagesize.c: Likewise.
23721         * misc/getsysstats.c: Likewise.
23722         * misc/getxattr.c: Likewise.
23723         * misc/gtty.c: Likewise.
23724         * misc/ioctl.c: Likewise.
23725         * misc/lgetxattr.c: Likewise.
23726         * misc/listxattr.c: Likewise.
23727         * misc/llistxattr.c: Likewise.
23728         * misc/lremovexattr.c: Likewise.
23729         * misc/lsetxattr.c: Likewise.
23730         * misc/lutimes.c: Likewise.
23731         * misc/madvise.c: Likewise.
23732         * misc/mincore.c: Likewise.
23733         * misc/mlock.c: Likewise.
23734         * misc/mlockall.c: Likewise.
23735         * misc/mmap.c: Likewise.
23736         * misc/mprotect.c: Likewise.
23737         * misc/msync.c: Likewise.
23738         * misc/munlock.c: Likewise.
23739         * misc/munlockall.c: Likewise.
23740         * misc/munmap.c: Likewise.
23741         * misc/preadv.c: Likewise.
23742         * misc/preadv64.c: Likewise.
23743         * misc/ptrace.c: Likewise.
23744         * misc/pwritev.c: Likewise.
23745         * misc/pwritev64.c: Likewise.
23746         * misc/readv.c: Likewise.
23747         * misc/reboot.c: Likewise.
23748         * misc/remap_file_pages.c: Likewise.
23749         * misc/removexattr.c: Likewise.
23750         * misc/revoke.c: Likewise.
23751         * misc/select.c: Likewise.
23752         * misc/setdomain.c: Likewise.
23753         * misc/setegid.c: Likewise.
23754         * misc/seteuid.c: Likewise.
23755         * misc/sethostid.c: Likewise.
23756         * misc/sethostname.c: Likewise.
23757         * misc/setregid.c: Likewise.
23758         * misc/setreuid.c: Likewise.
23759         * misc/setxattr.c: Likewise.
23760         * misc/sstk.c: Likewise.
23761         * misc/stty.c: Likewise.
23762         * misc/swapoff.c: Likewise.
23763         * misc/swapon.c: Likewise.
23764         * misc/sync.c: Likewise.
23765         * misc/syncfs.c: Likewise.
23766         * misc/syscall.c: Likewise.
23767         * misc/truncate.c: Likewise.
23768         * misc/ualarm.c: Likewise.
23769         * misc/usleep.c: Likewise.
23770         * misc/ustat.c: Likewise.
23771         * misc/utimes.c: Likewise.
23772         * misc/vhangup.c: Likewise.
23773         * misc/writev.c: Likewise.
23774         * posix/_exit.c: Likewise.
23775         * posix/alarm.c: Likewise.
23776         * posix/execve.c: Likewise.
23777         * posix/fexecve.c: Likewise.
23778         * posix/fork.c: Likewise.
23779         * posix/fpathconf.c: Likewise.
23780         * posix/getaddrinfo.c: Likewise.
23781         * posix/getegid.c: Likewise.
23782         * posix/geteuid.c: Likewise.
23783         * posix/getgid.c: Likewise.
23784         * posix/getgroups.c: Likewise.
23785         * posix/getlogin.c: Likewise.
23786         * posix/getlogin_r.c: Likewise.
23787         * posix/getpgid.c: Likewise.
23788         * posix/getpid.c: Likewise.
23789         * posix/getppid.c: Likewise.
23790         * posix/getresgid.c: Likewise.
23791         * posix/getresuid.c: Likewise.
23792         * posix/getsid.c: Likewise.
23793         * posix/getuid.c: Likewise.
23794         * posix/glob64.c: Likewise.
23795         * posix/nanosleep.c: Likewise.
23796         * posix/pathconf.c: Likewise.
23797         * posix/pause.c: Likewise.
23798         * posix/posix_madvise.c: Likewise.
23799         * posix/pread.c: Likewise.
23800         * posix/pread64.c: Likewise.
23801         * posix/pwrite.c: Likewise.
23802         * posix/pwrite64.c: Likewise.
23803         * posix/sched_getaffinity.c: Likewise.
23804         * posix/sched_getp.c: Likewise.
23805         * posix/sched_gets.c: Likewise.
23806         * posix/sched_primax.c: Likewise.
23807         * posix/sched_primin.c: Likewise.
23808         * posix/sched_rr_gi.c: Likewise.
23809         * posix/sched_setaffinity.c: Likewise.
23810         * posix/sched_setp.c: Likewise.
23811         * posix/sched_sets.c: Likewise.
23812         * posix/sched_yield.c: Likewise.
23813         * posix/setgid.c: Likewise.
23814         * posix/setlogin.c: Likewise.
23815         * posix/setpgid.c: Likewise.
23816         * posix/setresgid.c: Likewise.
23817         * posix/setresuid.c: Likewise.
23818         * posix/setsid.c: Likewise.
23819         * posix/setuid.c: Likewise.
23820         * posix/sleep.c: Likewise.
23821         * posix/spawni.c: Likewise.
23822         * posix/sysconf.c: Likewise.
23823         * posix/times.c: Likewise.
23824         * posix/wait.c: Likewise.
23825         * posix/wait3.c: Likewise.
23826         * posix/wait4.c: Likewise.
23827         * posix/waitpid.c: Likewise.
23828         * resolv/gai_sigqueue.c: Likewise.
23829         * resource/getpriority.c: Likewise.
23830         * resource/getrlimit.c: Likewise.
23831         * resource/getrusage.c: Likewise.
23832         * resource/nice.c: Likewise.
23833         * resource/setpriority.c: Likewise.
23834         * resource/setrlimit.c: Likewise.
23835         * resource/ulimit.c: Likewise.
23836         * rt/aio_cancel.c: Likewise.
23837         * rt/aio_fsync.c: Likewise.
23838         * rt/aio_read.c: Likewise.
23839         * rt/aio_sigqueue.c: Likewise.
23840         * rt/aio_suspend.c: Likewise.
23841         * rt/aio_write.c: Likewise.
23842         * rt/clock_getres.c: Likewise.
23843         * rt/clock_gettime.c: Likewise.
23844         * rt/clock_nanosleep.c: Likewise.
23845         * rt/clock_settime.c: Likewise.
23846         * rt/lio_listio.c: Likewise.
23847         * rt/mq_close.c: Likewise.
23848         * rt/mq_getattr.c: Likewise.
23849         * rt/mq_notify.c: Likewise.
23850         * rt/mq_open.c: Likewise.
23851         * rt/mq_receive.c: Likewise.
23852         * rt/mq_send.c: Likewise.
23853         * rt/mq_setattr.c: Likewise.
23854         * rt/mq_timedreceive.c: Likewise.
23855         * rt/mq_timedsend.c: Likewise.
23856         * rt/mq_unlink.c: Likewise.
23857         * rt/shm_open.c: Likewise.
23858         * rt/shm_unlink.c: Likewise.
23859         * rt/timer_create.c: Likewise.
23860         * rt/timer_delete.c: Likewise.
23861         * rt/timer_getoverr.c: Likewise.
23862         * rt/timer_gettime.c: Likewise.
23863         * rt/timer_settime.c: Likewise.
23864         * setjmp/__longjmp.c: Likewise.
23865         * setjmp/setjmp.c: Likewise.
23866         * signal/kill.c: Likewise.
23867         * signal/killpg.c: Likewise.
23868         * signal/raise.c: Likewise.
23869         * signal/sigaction.c: Likewise.
23870         * signal/sigaltstack.c: Likewise.
23871         * signal/sigblock.c: Likewise.
23872         * signal/sigignore.c: Likewise.
23873         * signal/sigintr.c: Likewise.
23874         * signal/signal.c: Likewise.
23875         * signal/sigpause.c: Likewise.
23876         * signal/sigpending.c: Likewise.
23877         * signal/sigqueue.c: Likewise.
23878         * signal/sigreturn.c: Likewise.
23879         * signal/sigset.c: Likewise.
23880         * signal/sigsetmask.c: Likewise.
23881         * signal/sigstack.c: Likewise.
23882         * signal/sigsuspend.c: Likewise.
23883         * signal/sigtimedwait.c: Likewise.
23884         * signal/sigvec.c: Likewise.
23885         * signal/sigwait.c: Likewise.
23886         * signal/sigwaitinfo.c: Likewise.
23887         * signal/sysv_signal.c: Likewise.
23888         * socket/accept.c: Likewise.
23889         * socket/accept4.c: Likewise.
23890         * socket/bind.c: Likewise.
23891         * socket/connect.c: Likewise.
23892         * socket/getpeername.c: Likewise.
23893         * socket/getsockname.c: Likewise.
23894         * socket/getsockopt.c: Likewise.
23895         * socket/isfdtype.c: Likewise.
23896         * socket/listen.c: Likewise.
23897         * socket/recv.c: Likewise.
23898         * socket/recvfrom.c: Likewise.
23899         * socket/recvmsg.c: Likewise.
23900         * socket/send.c: Likewise.
23901         * socket/sendmsg.c: Likewise.
23902         * socket/sendto.c: Likewise.
23903         * socket/setsockopt.c: Likewise.
23904         * socket/shutdown.c: Likewise.
23905         * socket/sockatmark.c: Likewise.
23906         * socket/socket.c: Likewise.
23907         * socket/socketpair.c: Likewise.
23908         * stdio-common/ctermid.c: Likewise.
23909         * stdio-common/cuserid.c: Likewise.
23910         * stdio-common/remove.c: Likewise.
23911         * stdio-common/rename.c: Likewise.
23912         * stdio-common/renameat.c: Likewise.
23913         * stdio-common/tempname.c: Likewise.
23914         * stdlib/getcontext.c: Likewise.
23915         * stdlib/makecontext.c: Likewise.
23916         * stdlib/setcontext.c: Likewise.
23917         * stdlib/swapcontext.c: Likewise.
23918         * stdlib/system.c: Likewise.
23919         * streams/fattach.c: Likewise.
23920         * streams/fdetach.c: Likewise.
23921         * streams/getmsg.c: Likewise.
23922         * streams/getpmsg.c: Likewise.
23923         * streams/putmsg.c: Likewise.
23924         * streams/putpmsg.c: Likewise.
23925         * sysdeps/unix/bsd/getpt.c: Likewise.
23926         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23927         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23928         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23930         Likewise.
23931         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23932         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23933         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23934         * sysvipc/msgctl.c: Likewise.
23935         * sysvipc/msgget.c: Likewise.
23936         * sysvipc/msgrcv.c: Likewise.
23937         * sysvipc/msgsnd.c: Likewise.
23938         * sysvipc/semctl.c: Likewise.
23939         * sysvipc/semget.c: Likewise.
23940         * sysvipc/semop.c: Likewise.
23941         * sysvipc/semtimedop.c: Likewise.
23942         * sysvipc/shmat.c: Likewise.
23943         * sysvipc/shmctl.c: Likewise.
23944         * sysvipc/shmdt.c: Likewise.
23945         * sysvipc/shmget.c: Likewise.
23946         * termios/tcdrain.c: Likewise.
23947         * termios/tcflow.c: Likewise.
23948         * termios/tcflush.c: Likewise.
23949         * termios/tcgetattr.c: Likewise.
23950         * termios/tcgetpgrp.c: Likewise.
23951         * termios/tcsendbrk.c: Likewise.
23952         * termios/tcsetattr.c: Likewise.
23953         * termios/tcsetpgrp.c: Likewise.
23954         * time/adjtime.c: Likewise.
23955         * time/clock.c: Likewise.
23956         * time/getitimer.c: Likewise.
23957         * time/gettimeofday.c: Likewise.
23958         * time/setitimer.c: Likewise.
23959         * time/settimeofday.c: Likewise.
23960         * time/stime.c: Likewise.
23961         * time/time.c: Likewise.
23962
23963 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
23964
23965         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23966         /usr/old/bin.
23967
23968         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23969         instead of spaces.
23970         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23971
23972 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
23973
23974         [BZ #14796]
23975         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23976         FE_TONEAREST before applying Dekker multiplication and Knuth
23977         addition.  Clear inexact exceptions and check for exact zero
23978         results afterwards.
23979         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23980         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23981         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23982         * math/libm-test.inc (fma_test): Add more tests.
23983         (fma_test_towardzero): Likewise.
23984         (fma_test_downward): Likewise.
23985         (fma_test_upward): Likewise.
23986         * sysdeps/generic/math_private.h (default_libc_fesetround): New
23987         function.
23988         (libc_fesetround): New macro.
23989         (libc_fesetroundf): Likewise.
23990         (libc_fesetroundl): Likewise.
23991         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23992         function.
23993         (libc_fesetround_387): Likewise.
23994         (libc_fesetroundf): New macro.
23995         (libc_fesetround): Likewise.
23996         (libc_fesetroundl): Likewise.
23997         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23998         function.
23999         (libc_fesetroundf): New macro.
24000         (libc_fesetround): Likewise.
24001         (libc_fesetroundl): Likewise.
24002         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24003         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24004         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24005         libm_hidden_ver.
24006         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24007         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24008         libm_hidden_def.
24009         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24010         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24011         libm_hidden_ver.
24012         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24013         libm_hidden_def.
24014
24015         [BZ #3439]
24016         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24017         integer constant usable in #if and use that to give value to enum
24018         constant.
24019         (FE_DIVBYZERO): Likewise.
24020         (FE_UNDERFLOW): Likewise.
24021         (FE_OVERFLOW): Likewise.
24022         (FE_INVALID): Likewise.
24023         (FE_INVALID_SNAN): Likewise.
24024         (FE_INVALID_ISI): Likewise.
24025         (FE_INVALID_IDI): Likewise.
24026         (FE_INVALID_ZDZ): Likewise.
24027         (FE_INVALID_IMZ): Likewise.
24028         (FE_INVALID_COMPARE): Likewise.
24029         (FE_INVALID_SOFTWARE): Likewise.
24030         (FE_INVALID_SQRT): Likewise.
24031         (FE_INVALID_INTEGER_CONVERSION): Likewise.
24032         (FE_TONEAREST): Likewise.
24033         (FE_TOWARDZERO): Likewise.
24034         (FE_UPWARD): Likewise.
24035         (FE_DOWNWARD): Likewise.
24036         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24037         (FE_DIVBYZERO): Likewise.
24038         (FE_OVERFLOW): Likewise.
24039         (FE_UNDERFLOW): Likewise.
24040         (FE_INEXACT): Likewise.
24041         (FE_TONEAREST): Likewise.
24042         (FE_DOWNWARD): Likewise.
24043         (FE_UPWARD): Likewise.
24044         (FE_TOWARDZERO): Likewise.
24045         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24046         (FE_UNDERFLOW): Likewise.
24047         (FE_OVERFLOW): Likewise.
24048         (FE_DIVBYZERO): Likewise.
24049         (FE_INVALID): Likewise.
24050         (FE_TONEAREST): Likewise.
24051         (FE_TOWARDZERO): Likewise.
24052         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24053         (FE_OVERFLOW): Likewise.
24054         (FE_UNDERFLOW): Likewise.
24055         (FE_DIVBYZERO): Likewise.
24056         (FE_INEXACT): Likewise.
24057         (FE_TONEAREST): Likewise.
24058         (FE_TOWARDZERO): Likewise.
24059         (FE_UPWARD): Likewise.
24060         (FE_DOWNWARD): Likewise.
24061         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24062         (FE_DIVBYZERO): Likewise.
24063         (FE_OVERFLOW): Likewise.
24064         (FE_UNDERFLOW): Likewise.
24065         (FE_INEXACT): Likewise.
24066         (FE_TONEAREST): Likewise.
24067         (FE_DOWNWARD): Likewise.
24068         (FE_UPWARD): Likewise.
24069         (FE_TOWARDZERO): Likewise.
24070
24071 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
24072
24073         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24074
24075 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
24076
24077         * scripts/cross-test-ssh.sh (command): Use newlines to separate
24078         commands.  Quote $PWD.
24079         (blacklist_exports): Don't use remove_newlines.  Replace "declare
24080         -x" by "export".
24081         (remove_newlines): Remove.
24082
24083 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
24084
24085         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24086         * stdlib/stdlib.h (atof): Moved to ...
24087         * include/bits/stdlib-float.h: Here.  New file.
24088         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24089         * stdlib/bits/stdlib-float.h: New file.
24090         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24091         -mno-sse -mno-mmx.
24092         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24093         <xmmintrin.h>.
24094
24095 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
24096
24097         * conform/conformtest.pl (@headers): Add fenv.h.
24098         * conform/data/fenv.h-data: New file.
24099         * include/fenv.h [_ISOMAC]: Disable all contents of file except
24100         include of <math/fenv.h>.
24101
24102         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24103         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24104         && !UNIX98].  Enables tests for XOPEN2K8.
24105         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24106         POSIX2008]: Likewise.
24107
24108         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24109         (struct rusage): Do not expect type or its members.
24110
24111         [BZ #3439]
24112         * math/math.h (FP_NAN): Define macro to integer constant usable in
24113         #if and use that to give value to enum constant.
24114         (FP_INFINITE): Likewise.
24115         (FP_ZERO): Likewise.
24116         (FP_SUBNORMAL): Likewise.
24117         (FP_NORMAL): Likewise.
24118
24119 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
24120
24121         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24122         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24123         arguments.
24124
24125 2012-11-02  Roland McGrath  <roland@hack.frob.com>
24126
24127         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24128         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24129         autoconf-time if not.
24130         * configure.in: Remove AC_PREREQ.
24131
24132 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24133
24134         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24135         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24136         of the internal implementation.
24137
24138 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
24139
24140         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24141         except include of <misc/sys/syslog.h>.
24142
24143 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
24144
24145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24146         function returns with a NULL context exit with zero.
24147
24148 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24149
24150         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24151
24152 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
24153
24154         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24155         (run_program_cmd): This.
24156         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24157         (tst_langinfo): New variable.  Use it.
24158
24159 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
24160
24161         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24162         floating point opcodes.
24163
24164 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
24165
24166         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24167         variable.
24168
24169         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24170
24171         * sysdeps/mach/hurd/powerpc: Remove directory.
24172         * sysdeps/mach/powerpc: Likewise.
24173
24174 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
24175
24176         * scripts/check-local-headers.sh: Ignore c++ headers.
24177
24178 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
24179
24180         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24181         __libc_cleanup_region_start argument.
24182
24183 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
24184
24185         [BZ #14784]
24186         [BZ #14785]
24187         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24188         x * y using scaling, not as x * y + z.
24189         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24190         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24191         * math/libm-test.inc (fma_test): Add more tests.
24192         (fma_test_towardzero): Likewise.
24193         (fma_test_downward): Likewise.
24194         (fma_test_upward): Likewise.
24195
24196 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
24197
24198         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24199
24200 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
24201
24202         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24203         New variable.
24204
24205 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
24206
24207         * rt/tst-shm.c (worker): Correct checking for mmap failure.
24208
24209 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
24210
24211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24212         Fix sort order.
24213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24214         Likewise.
24215
24216 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24217
24218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24219         Fix the order of the list for glibc 2.17.
24220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24221         Likewise.
24222
24223 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
24224
24225         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24226
24227 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
24228
24229         [BZ #14610]
24230         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24231         for low part of x being zero before using __atanl (y).
24232         * math/libm-test.inc (atan2_test): Add another test.
24233
24234         * manual/install.texi (Configuring and compiling): Document
24235         general use of test-wrapper and test-wrapper-env.
24236         * INSTALL: Regenerated.
24237
24238         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24239         (__fma): Do not extract and scale down low bits on after-rounding
24240         systems when result rounded to normal precision would have normal
24241         exponent.
24242         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24243         (__fmal): Do not extract and scale down low bits on after-rounding
24244         systems when result rounded to normal precision would have normal
24245         exponent.
24246         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24247         (__fmal): Do not extract and scale down low bits on after-rounding
24248         systems when result rounded to normal precision would have normal
24249         exponent.
24250         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24251         macro.
24252         (fma_test): Add more tests.
24253         (fma_test_towardzero): Likewise.
24254         (fma_test_downward): Likewise.
24255         (fma_test_upward): Likewise.
24256
24257 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
24258
24259         * sysdeps/i386/tininess.h: Renamed to ...
24260         * sysdeps/x86/tininess.h: This.
24261         * sysdeps/x86_64/tininess.h: Removed.
24262
24263 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
24264
24265         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24266         input.  Use $(build-program-cmd).
24267         ($(objpfx)tst-array1-static.out): Likewise.
24268         ($(objpfx)tst-array2.out): Likewise.
24269         ($(objpfx)tst-array3.out): Likewise.
24270         ($(objpfx)tst-array4.out): Likewise.
24271         ($(objpfx)tst-array5.out): Likewise.
24272         ($(objpfx)tst-array5-static.out): Likewise.
24273
24274 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
24275
24276         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24277         if defined.
24278
24279         * nss/nsswitch.h (nss_interface_function): Provide new
24280         macro for use with NSS functions.
24281         * grp/initgroups.c: Use new macro.
24282         * nss/getXXbyYY.c: Likewise.
24283         * nss/getXXbyYY_r.c: Likewise.
24284         * nss/getXXent.c: Likewise.
24285         * nss/getXXent_r.c: Likewise.
24286         * sysdeps/posix/getaddrinfo.c: Likewise.
24287
24288 2012-10-30  Andreas Jaeger  <aj@suse.de>
24289
24290         * po/ru.po: Update Russion translation from translation project.
24291
24292 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
24293
24294         [BZ #14152]
24295         [BZ #14783]
24296         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24297         result and shift together with sticky bit instead of replicating
24298         round-to-nearest rounding.
24299         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24300         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24301         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
24302         missing underflow exceptions.
24303         (fma_test_towardzero): Add more tests.
24304         (fma_test_downward): Likewise.
24305         (fma_test_upward): Likewise.
24306
24307         [BZ #14047]
24308         * sysdeps/generic/tininess.h: New file.
24309         * sysdeps/i386/tininess.h: Likewise.
24310         * sysdeps/sh/tininess.h: Likewise.
24311         * sysdeps/x86_64/tininess.h: Likewise.
24312         * stdlib/tst-strtod-underflow.c: Likewise.
24313         * stdlib/tst-tininess.c: Likewise.
24314         * stdlib/strtod_l.c: Include <tininess.h>.
24315         (round_and_return): Do not set errno for exact underflow cases.
24316         Force an underflow exception when setting errno for underflow.
24317         Determine underflow based on rounding to normal precision if
24318         TININESS_AFTER_ROUNDING.
24319         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24320         ERANGE for exact underflow cases.
24321         * stdlib/Makefile (tests): Add tst-tininess and
24322         tst-strtod-underflow.
24323         ($(objpfx)tst-tininess): Use $(link-libm).
24324         ($(objpfx)tst-strtod-underflow): Likewise.
24325
24326 2012-10-30  Andreas Jaeger  <aj@suse.de>
24327
24328         [BZ#14767]
24329         * elf/Makefile (tests): Remove conditional for have-initfini-array
24330         since this is now always required and the variable does not exist
24331         anymore.
24332         (tests-static): Likewise.
24333         (modules-names): Likewise.
24334
24335         * po/eo.po: Add Esperanto translation from translation project.
24336
24337         * elf/tst-array1.c (fini_array): Make writeable so that it can be
24338         merged with constructor/destructor.
24339         (init_array): Likewise.
24340         * elf/tst-array2dep.c (fini_array): Likewise.
24341         (init_array): Likewise.
24342
24343 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
24344
24345         * manual/message.texi: Delete @cartouche tags.
24346
24347 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
24348
24349         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24350         EOPNOTSUPP.
24351         * sysdeps/mach/hurd/fsync.c: Likewise.
24352
24353         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24354         [_POSIX_REALTIME_SIGNALS]: Change condition to
24355         [_POSIX_REALTIME_SIGNALS > 0].
24356
24357 2012-10-27  Andreas Jaeger  <aj@suse.de>
24358
24359         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24360         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24361         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24362         [__WORDSIZE != 64]: Likewise.
24363
24364 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
24365
24366         *  iconvdata/tst-table.sh: Remove ${SHELL}.
24367         *  iconvdata/tst-tables.sh: Likewise.
24368
24369 2012-10-25  David S. Miller  <davem@davemloft.net>
24370
24371         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24372         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24373         of strtoull.
24374
24375         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24376         ifunc-impl-list.c
24377         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24378         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24379         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24380         file.
24381
24382 2012-10-25  Roland McGrath  <roland@hack.frob.com>
24383
24384         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24385         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24386         __getdirentries.
24387
24388 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
24389             Jim Blandy  <jimb@codesourcery.com>
24390
24391         * scripts/cross-test-ssh.sh: New file.
24392         * manual/install.texi (Configuring and compiling): Document use of
24393         cross-test-ssh.sh.
24394         * INSTALL: Regenerated.
24395
24396 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
24397
24398         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24399         EOPNOTSUPP.
24400
24401 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
24402
24403         * Makeconfig (run-program-prefix): Fix comment.
24404
24405 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
24406             Jim Blandy  <jimb@codesourcery.com>
24407
24408         * Makeconfig (test-wrapper): New variable,
24409         (test-wrapper-env): Likewise.
24410         [$(cross-compiling) = yes && $(test-wrapper) != ""]
24411         (run-built-tests): Define to yes.
24412         (run-program-prefix): Use $(test-wrapper).
24413         (built-program-cmd): Likewise.
24414         * Rules (make-test-out): Use $(test-wrapper-env) and
24415         $(host-built-program-cmd).
24416         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24417         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24418         tst-pathopt.sh.
24419         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24420         $(test-wrapper-env) to tst-rtld-load-self.sh.
24421         ($(objpfx)order2.out): Use $(test-wrapper).
24422         ($(objpfx)tst-initorder.out): Likewise.
24423         ($(objpfx)tst-initorder2.out): Likewise.
24424         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24425         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24426         (test_wrapper_env): New variable.  Use it to run ld.so.
24427         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24428         Use it to run ld.so.
24429         (test_wrapper_env): Likewise.
24430         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24431         $(test-wrapper) to run-iconv-test.sh.
24432         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24433         (ICONV): Use $test_wrapper.
24434         * posix/Makefile ($(objpfx)globtest.out): Pass
24435         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24436         globtest.sh, not $(run-program-prefix).
24437         * posix/globtest.sh (run_via_rtld_prefix): New variable.
24438         (test_wrapper): Likewise.
24439         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
24440         set together with run_via_rtld_prefix.
24441         (run_program_prefix): Define in terms of test_wrapper and
24442         run_via_rtld_prefix.
24443
24444 2012-10-24  Roland McGrath  <roland@hack.frob.com>
24445
24446         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24447         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24448         Targets removed.
24449
24450         [BZ #14743]
24451         * include/time.h: Remove librt_hidden_proto (clock_gettime).
24452         Declare __clock_getres, __clock_gettime, __clock_settime,
24453         __clock_nanosleep, and __clock_getcpuclockid.
24454         * rt/clock_gettime.c: Define __clock_gettime as an alias.
24455         Remove librt_hidden_def (clock_gettime).
24456         * sysdeps/unix/clock_gettime.c: Likewise.
24457         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24458         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24459         * rt/clock_getres.c: Define __clock_getres as an alias.
24460         * sysdeps/posix/clock_getres.c: Likewise.
24461         * rt/clock_settime.c: Define __clock_settime as an alias.
24462         * sysdeps/unix/clock_settime.c: Likewise.
24463         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24464         * sysdeps/unix/clock_nanosleep.c: Likewise.
24465         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24466         * rt/clock-compat.c: New file.
24467         * rt/Makefile (librt-routines): Add clock-compat and move
24468         $(clock-routines) to ...
24469         (routines): ... here, new variable.
24470         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24471         Don't add get_clockfreq here.
24472         * rt/Versions (libc: GLIBC_2.17): New version set.
24473         Add clock_* symbols here.
24474         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
24475         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24476         (GLIBC_2.17): Add clock_* symbols.
24477         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24478         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24479         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24481         Likewise.
24482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24483         Likewise.
24484         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24485         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24486         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24488         * NEWS: Mention the move.
24489
24490         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24491         Use __open, __read, __close rather than their public counterparts.
24492         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24493         (__get_clockfreq_via_cpuinfo): Likewise.
24494         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24495         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24496
24497         * config.h.in (HAVE_IFUNC): New #undef.
24498         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24499         was successful.
24500         * configure: Regenerated.
24501
24502 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
24503
24504         * configure.in: Move READELF check to start of file.
24505         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24506         libc_cv_asm_gnu_indirect_function in the process.
24507         * configure: Regenerated.
24508
24509 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
24510
24511         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24512         send the output to /dev/null.
24513         (libc_cv_cc_with_libunwind): Likewise.
24514         (libc_cv_as_noexecstack): Likewise.
24515         * configure: Regenerate.
24516
24517 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
24518
24519         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24520
24521         * posix/globtest.sh (TMPDIR): Do not set.
24522         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24523         (testout): Likewise.
24524
24525 2012-10-24  Andreas Jaeger  <aj@suse.de>
24526
24527         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24528         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24529         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24530         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24531         posix_fadvise64, posix_fallocate64.
24532
24533         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24534         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24535         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24536         Likewise.
24537         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24538         Likewise.
24539         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24540
24541         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24542         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24543         <bits/fcntl-linux.h>.
24544         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24545
24546         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24547         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24548         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24549         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24550         [__WORDSIZE != 64]: Likewise.
24551
24552 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
24553
24554         * Makeconfig (run-built-tests): New variable.
24555         * Rules [$(cross-compiling) = yes]: Change condition to
24556         [$(run-built-tests) = no].
24557         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24558         to [$(run-built-tests) = yes].
24559         * elf/Makefile [$(cross-compiling) = no]: Likewise
24560         * grp/Makefile [$(cross-compiling) = no]: Likewise.
24561         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24562         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24563         * intl/Makefile [$(cross-compiling) = no]: Likewise.
24564         * io/Makefile [$(cross-compiling) = no]: Likewise.
24565         * libio/Makefile [$(cross-compiling) = no]: Likewise.
24566         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24567         * misc/Makefile [$(cross-compiling) = no]: Likewise.
24568         * posix/Makefile [$(cross-compiling) = no]: Likewise.
24569         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24570         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24571         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24572         * string/Makefile [$(cross-compiling) = no]: Likewise.
24573
24574         * posix/Makefile ($(objpfx)globtest.out): Pass
24575         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24576         $(rtld-installed-name).
24577         * posix/globtest.sh (elf_objpfx): Remove variable.
24578         (rtld_installed_name): Likewise.
24579         (library_path): Likewise.
24580         (run_program_prefix): New variable.  Use for running globtest
24581         binary.
24582
24583 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
24584             Joseph Myers  <joseph@codesourcery.com>
24585
24586         * Makeconfig (host-built-program-cmd): New variable.
24587         * elf/Makefile (tst-stackguard1-ARGS): Use
24588         $(host-built-program-cmd).
24589         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24590         (tst-spawn-ARGS): Likewise.
24591         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24592
24593 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
24594             Jim Blandy  <jimb@codesourcery.com>
24595
24596         * Makeconfig (run-via-rtld-prefix): New variable.
24597         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24598         (built-program-cmd): Likewise.
24599
24600 2012-10-22  Andreas Jaeger  <aj@suse.de>
24601
24602         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24603         __O_RSYNC if it exists, otherwise to O_SYNC.
24604
24605 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
24606             Joseph Myers  <joseph@codesourcery.com>
24607
24608         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24609         /dev/null.
24610         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24611         from /dev/null
24612         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24613         /dev/null.
24614
24615 2012-10-22  Andreas Jaeger  <aj@suse.de>
24616
24617         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24618         Define always.
24619         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24620
24621         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24622         bits/fcntl-linux.h.
24623
24624         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24625         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24626
24627         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24628         to __O_LARGEFILE.
24629         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24630         to __O_LARGEFILE.
24631
24632 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
24633             Joseph Myers  <joseph@codesourcery.com>
24634
24635         * config.make.in (NM): New variable.
24636
24637 2012-10-21  Andreas Jaeger  <aj@suse.de>
24638
24639         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24640         definitions and declarations that are provided by
24641         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24642
24643 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
24644
24645         [BZ #14683]
24646         * elf/Makefile (tests-static): Add tst-leaks1-static.
24647         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24648         ($(objpfx)tst-leaks1-static): New rule.
24649         ($(objpfx)tst-leaks1-static-mem): Likewise.
24650         (tst-leaks1-static-ENV): New macro.
24651         * elf/dl-open.c (dl_open_worker): Check the main application
24652         only if SHARED is defined.
24653         * elf/tst-leaks1-static.c: New file.
24654
24655 2012-10-20  Andreas Jaeger  <aj@suse.de>
24656
24657         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24658         generic values for Linux.
24659         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24660         and declarations that are provided by <bits/fcntl-linux.h> and
24661         include <bits/fcntl-linux.h>.
24662         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24663         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24664
24665 2012-10-20  Roland McGrath  <roland@hack.frob.com>
24666
24667         * io/fcntl.h: Move include of <bits/types.h> to the top and
24668         include it unconditionally.
24669
24670 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
24671
24672         * wcsmbs/Makefile (tests-ifunc): New variable.
24673         (tests): Add $(tests-ifunc).
24674         * wcsmbs/test-wcschr-ifunc.c: New file.
24675         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24676         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24677         * wcsmbs/test-wcslen-ifunc.c: Likewise.
24678         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24679         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24680
24681         * string/Makefile (tests-ifunc): New variable.
24682         (tests): Add $(tests-ifunc).
24683         * string/test-memccpy.c (TEST_NAME): New macro.
24684         * string/test-memchr.c (TEST_NAME): Likewise.
24685         * string/test-memcmp.c (TEST_NAME): Likewise.
24686         * string/test-memcpy.c (TEST_NAME): Likewise.
24687         * string/test-memmem.c (TEST_NAME): Likewise.
24688         * string/test-memmove.c (TEST_NAME): Likewise.
24689         * string/test-memset.c (TEST_NAME): Likewise.
24690         * string/test-rawmemchr.c (TEST_NAME): Likewise.
24691         * string/test-stpcpy.c (TEST_NAME): Likewise.
24692         * string/test-stpncpy.c (TEST_NAME): Likewise.
24693         * string/test-strcasecmp.c (TEST_NAME): Likewise.
24694         * string/test-strcasestr.c (TEST_NAME): Likewise.
24695         * string/test-strcat.c (TEST_NAME): Likewise.
24696         * string/test-strchr.c (TEST_NAME): Likewise.
24697         * string/test-strcmp.c(TEST_NAME): Likewise.
24698         * string/test-strcpy.c (TEST_NAME): Likewise.
24699         * string/test-strcspn.c (TEST_NAME): Likewise.
24700         * string/test-strlen.c (TEST_NAME): Likewise.
24701         * string/test-strncasecmp.c (TEST_NAME): Likewise.
24702         * string/test-strncmp.c (TEST_NAME): Likewise.
24703         * string/test-strncpy.c (TEST_NAME): Likewise.
24704         * string/test-strnlen.c (TEST_NAME): Likewise.
24705         * string/test-strpbrk.c (TEST_NAME): Likewise.
24706         * string/test-strrchr.c (TEST_NAME): Likewise.
24707         * string/test-strspn.c (TEST_NAME): Likewise.
24708         * string/test-strstr.c (TEST_NAME): Likewise.
24709         * string/test-bcopy-ifunc.c: New file.
24710         * string/test-bzero-ifunc.c: Likewise.
24711         * string/test-memccpy-ifunc.c: Likewise.
24712         * string/test-memchr-ifunc.c: Likewise.
24713         * string/test-memcmp-ifunc.c: Likewise.
24714         * string/test-memcpy-ifunc.c: Likewise.
24715         * string/test-memmem-ifunc.c: Likewise.
24716         * string/test-memmove-ifunc.c: Likewise.
24717         * string/test-mempcpy-ifunc.c: Likewise.
24718         * string/test-memset-ifunc.c: Likewise.
24719         * string/test-rawmemchr-ifunc.c: Likewise.
24720         * string/test-stpcpy-ifunc.c: Likewise.
24721         * string/test-stpncpy-ifunc.c: Likewise.
24722         * string/test-strcasecmp-ifunc.c: Likewise.
24723         * string/test-strcasestr-ifunc.c: Likewise.
24724         * string/test-strcat-ifunc.c: Likewise.
24725         * string/test-strchr-ifunc.c: Likewise.
24726         * string/test-strchrnul-ifunc.c: Likewise.
24727         * string/test-strcmp-ifunc.c: Likewise.
24728         * string/test-strcpy-ifunc.c: Likewise.
24729         * string/test-strcspn-ifunc.c: Likewise.
24730         * string/test-strlen-ifunc.c: Likewise.
24731         * string/test-strncasecmp-ifunc.c: Likewise.
24732         * string/test-strncat-ifunc.c: Likewise.
24733         * string/test-strncmp-ifunc.c: Likewise.
24734         * string/test-strncpy-ifunc.c: Likewise.
24735         * string/test-strnlen-ifunc.c: Likewise.
24736         * string/test-strpbrk-ifunc.c: Likewise.
24737         * string/test-strrchr-ifunc.c: Likewise.
24738         * string/test-strspn-ifunc.c: Likewise.
24739         * string/test-strstr-ifunc.c: Likewise.
24740
24741         * debug/Makefile (tests-ifunc): New variable.
24742         (tests): Add $(tests-ifunc).
24743         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24744         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24745         * debug/test-stpcpy_chk-ifunc.c: New file.
24746         * debug/test-strcpy_chk-ifunc.c: Likewise.
24747
24748 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24749
24750         [BZ #13601]
24751         * elf/dl-load.c (open_verify): Retry read if the entire ELF
24752         header is not read in.
24753
24754 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
24755
24756         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
24757         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
24758         directly.  Pass built executable to script as
24759         $(built-program-cmd).
24760         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
24761         $testprogram without using LD_LIBRARY_PATH and $ldso.
24762
24763         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24764         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24765         $(rtld-installed-name).
24766         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24767         (rtld_installed_name): Likewise.
24768         (library_path): Likewise.
24769         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
24770         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24771         $(run-program-prefix) to tst-tables.sh.
24772         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
24773         it to run tst-table-from and tst-table-to.
24774         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24775         Pass it to tst-table.sh.
24776         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24777         $(run-program-prefix) to tst-gettext.sh.
24778         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24779         tst-translit.sh.
24780         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24781         tst-gettext2.sh.
24782         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
24783         to run tst-gettext.
24784         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
24785         to run tst-gettext2.
24786         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
24787         to run tst-translit.
24788         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24789         $(run-program-prefix) to tst-mtrace.sh.
24790         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
24791         to run tst-mtrace.
24792         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24793         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24794         $(rtld-installed-name).
24795         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24796         (rtld_installed_name): Likewise.
24797         (run_program_prefix): New variable.  Use it to run wordexp-test.
24798
24799         * Makeconfig (ARCH): Remove all definitions.
24800         (machine): Likewise.
24801         [ARCH]: Remove conditional code.
24802         [!objdir]: Give error.
24803         [!objdir] (objpfx): Remove.
24804         [!objdir] (common-objpfx): Likewise.
24805         [!objdir] (common-objdir): Likewise.
24806         * configure.in (config_makefile): Remove.  Hardcode Makefile in
24807         AC_CONFIG_FILES call.
24808         * configure: Regenerated.
24809
24810         [BZ #13888]
24811         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24812         or TMPDIR.
24813         (testout): Likewise.
24814
24815         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24816         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24817         $(rtld-installed-name).
24818         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24819         (rtld_installed_name): Likwise.
24820         (runit): Remove function.
24821         (run_getconf): New variable,  Use it for running getconf binary.
24822
24823 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
24824
24825         [BZ #14716]
24826         * string/test-memmem.c (check_result): New function.
24827         (do_one_test): Use it.
24828         (check1): New function.
24829         (test_main): Use it.
24830
24831 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
24832
24833         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24834
24835 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
24836
24837         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24838         (_G_LSEEK64): Likewise.
24839         (_G_MMAP64): Likewise.
24840         (_G_FSTAT64): Likewise.
24841         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24842         (_G_LSEEK64): Likewise.
24843         (_G_MMAP64): Likewise.
24844         (_G_FSTAT64): Likewise.
24845         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24846         unconditional.  Call __mmap64 directly.
24847         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24848         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
24849         __lseek64 directly.
24850         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24851         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
24852         __mmap64 directly.
24853         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24854         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
24855         __lseek64 directly.
24856         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24857         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
24858         __lseek64 directly.
24859         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24860         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
24861         __lseek64 directly.
24862         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24863         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
24864         __fxstat64 directly.
24865         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24866         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24867         unconditional.
24868         (freopen64) [!_G_OPEN64]: Remove conditional code.
24869         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24870         unconditional.
24871         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24872         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24873         unconditional.
24874         (ftello64) [!_G_LSEEK64]: Remove conditional code.
24875         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24876         unconditional.
24877         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24878         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24879         unconditional.
24880         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24881         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24882         unconditional.
24883         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24884         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24885         unconditional.
24886         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24887         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24888         unconditional.
24889         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24890
24891 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24892
24893         [BZ #12140]
24894         * manual/memory.texi (Malloc Tunable Parameters): Add note
24895         about free list pointers overwriting some perturb bytes.
24896         Wording suggested by Roland McGrath.
24897
24898 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
24899
24900         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24901         (lgamma_test): Likewise.
24902         (tgamma_test): Likewise.
24903
24904 2012-10-16  Florian Weimer  <fweimer@redhat.com>
24905
24906         [BZ #14700]
24907         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24908         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24909
24910 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
24911
24912         * NEWS: Mention BZ #14716.
24913         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24914         when removing AVAILABLE1_USES_J macro.
24915
24916 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
24917
24918         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24919         (__bswap_64): __uint64_t for unsigned 64-bit int.
24920
24921 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
24922
24923         * include/string.h (memmem): Declare libc hidden alias.
24924         * string/memmem.c (memmem): Define libc hidden alias.
24925         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24926         __read, __close instead of open, read, close.
24927
24928 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
24929
24930         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24931         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24932         global and hidden.
24933         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24934         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24935         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24936         Likewise.
24937         (__rawmemchr_sse2): Likewise.
24938         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24939         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24940         (__strchr_sse2): Likewise.
24941         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24942         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24943         (__strcasecmp_sse2): Likewise.
24944         (__strncasecmp_sse2): Likewise.
24945         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24946         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24947         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24948         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24949         (__strrchr_sse2): Likewise.
24950         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24951         ifunc-impl-list.c.
24952         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24953         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24954         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24955         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24956         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24957         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24958         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24959         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24960         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24961         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24962         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24963         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24964         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24965         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24966         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24967         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24968         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24969         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24970         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24971         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24972         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24973         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24974         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24975         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24976         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24977         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24978         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24979         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24980         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24981         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24982
24983         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24984         global and hidden.
24985         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24986         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24987         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24988         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24989         Likewise.
24990         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24991         Likewise.
24992         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24993         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24994         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24995         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24996         ifunc-impl-list.c.
24997         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24998         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24999         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25000         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25001         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25002         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25003         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25004         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25005         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25006         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25007         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25008         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25009         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25010         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25011         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25012         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25013         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25014         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25015         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25016         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25017         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25018         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25019         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25020         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25021         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25022         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25023         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25024         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25025         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25026         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25027         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25028         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25029         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25030         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25031         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25032         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25033         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25034         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25035         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25036         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25037         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25038
25039         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25040         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25041         * include/ifunc-impl-list.h: New file.
25042         * misc/ifunc-impl-list.c: Likewise.
25043         * misc/Makefile (routines): Add ifunc-impl-list.
25044         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25045         * string/test-string.h: Include <ifunc-impl-list.h>.
25046         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25047         TEST_NAME]: New variables.
25048         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25049         are defined.
25050         (test_init): Call __libc_ifunc_impl_list to initialize
25051         func_list if TEST_IFUNC and TEST_NAME are defined.
25052
25053         * string/Makefile (strop-tests): Add bcopy and bzero.
25054         * string/test-bcopy.c: New file.
25055         * string/test-bzero.c: Likewise.
25056         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25057         defined.
25058         * string/test-memset.c: Support bzero test if TEST_BZERO is
25059         defined.
25060         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25061         __libc_memmove.
25062         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25063         __libc_memset.
25064         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25065         of memset.
25066
25067 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
25068
25069         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25070         * configure: Regenerated.
25071
25072         * Makeconfig (+link-static-before-libc): Don't include
25073         $(link-static-libc).
25074
25075         * libio/libio.h (_IO_pos_t): Remove.
25076
25077 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
25078
25079         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
25080         McGrath.
25081
25082 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
25083
25084         * crypt/crypt-entry.c: Include fips-private.h.
25085         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25086         * crypt/md5c-test.c (main): Tolerate disabled MD5.
25087         * sysdeps/unix/sysv/linux/fips-private.h: New file.
25088         * sysdeps/generic/fips-private.h: New file, dummy fallback.
25089
25090 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
25091
25092         * crypt/crypt-private.h: Include stdbool.h.
25093         (_ufc_setup_salt_r): Return bool.
25094         * crypt/crypt-entry.c: Include errno.h.
25095         (__crypt_r): Return NULL with EINVAL for bad salt.
25096         * crypt/crypt_util.c (bad_for_salt): New.
25097         (_ufc_setup_salt_r): Check that salt is long enough and within
25098         the specified alphabet.
25099         * crypt/badsalttest.c: New file.
25100         * crypt/Makefile (tests): Add it.
25101         ($(objpfx)badsalttest): New.
25102
25103 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
25104
25105         * NEWS: Add entry for BZ #14602.
25106
25107 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
25108
25109         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25110         type-generic.
25111         * math/libm-test.inc: Update comment listing what functions and
25112         macros are tested.
25113         (isgreater_test): New function.
25114         (isgreaterequal_test): Likewise.
25115         (isless_test): Likewise.
25116         (islessequal_test): Likewise.
25117         (islessgreater_test): Likewise.
25118         (isunordered_test): Likewise.
25119         (main): Call the new functions.
25120
25121 2012-10-09  Roland McGrath  <roland@hack.frob.com>
25122
25123         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25124         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25125         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25126         * sysdeps/i386/configure: Regenerated.
25127         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25128         * sysdeps/mach/configure: Regenerated.
25129         * sysdeps/mach/hurd/configure: Regenerated.
25130         * sysdeps/powerpc/configure: Regenerated.
25131         * sysdeps/powerpc/powerpc32/configure: Regenerated.
25132         * sysdeps/powerpc/powerpc64/configure: Regenerated.
25133         * sysdeps/s390/s390-32/configure: Regenerated.
25134         * sysdeps/s390/s390-64/configure: Regenerated.
25135         * sysdeps/sh/configure: Regenerated.
25136         * sysdeps/sparc/configure: Regenerated.
25137         * sysdeps/unix/sysv/linux/configure: Regenerated.
25138         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25139         * sysdeps/x86_64/configure: Regenerated.
25140
25141         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25142         defined.  Don't check if MAP is NULL.
25143
25144 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
25145
25146         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25147         (_G_stat64): Likewise.
25148         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25149         (_G_stat64): Likewise.
25150         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25151         instead of struct _G_stat64.
25152         * libio/fileops.c (mmap_remap_check): Likewise.
25153         (decide_maybe_mmap): Likewise.
25154         (_IO_new_file_seekoff): Likewise.
25155         (_IO_file_stat): Likewise.
25156         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25157         _G_off64_t.
25158         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25159         instead of struct _G_stat64.
25160         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25161
25162 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
25163
25164         [BZ #14602]
25165         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25166         Replace with ...
25167         (CHECK_EOL): New macro.
25168         (two_way_short_needle): Check beginning of haystack for EOL.  Use
25169         CHECK_EOL.
25170         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25171         Replace with CHECK_EOL.
25172         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25173         Replace with CHECK_EOL.
25174
25175 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
25176
25177         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25178         type-generic.
25179         * math/libm-test.inc: Update comment listing what functions and
25180         macros are tested.
25181         (finite_test): New function.
25182         (isinf_test): Likewise.
25183         (isnan_test): Likewise.
25184         (fpclassify_test): Test subnormal input.
25185         (isfinite_test): Likewise.
25186         (isnormal_test): Likewise.
25187         (main): Call the new functions.
25188
25189 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
25190
25191         [BZ #14660]
25192         * Makerules (%.dynsym): Force C locale when running
25193         $(OBJDUMP) --dynamic-syms.
25194
25195 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
25196
25197         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25198         <stdint.h>.
25199
25200 2012-10-06  David S. Miller  <davem@davemloft.net>
25201
25202         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25203         upper 32-bits of the length value in %o2 since we use branch-on-register
25204         tests which consider the entire 64-bit register.
25205
25206 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
25207
25208         * string/test-strstr.c (check2): Add a test for page boundary.
25209
25210 2012-10-05  David S. Miller  <davem@davemloft.net>
25211
25212         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25213         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25214         file.
25215         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25216         sysdep_routines.
25217         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25218         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25219         and bzero when HWCAP_SPARC_CRYPTO is present.
25220
25221 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
25222
25223         [BZ #14602]
25224         * string/test-strstr.c (check2): New function.
25225         (test_main): Call check2.
25226
25227         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25228         and bug-strchr1.
25229         * string/bug-strcasestr1.c (do_test): Moved to ...
25230         * string/test-strcasestr.c (check1): Here.  New function.
25231         (do_one_test): Break out result checking code into ...
25232         (check_result): This.  New function.
25233         (do_one_test): Call check_result.
25234         (test_main): Call check1.
25235         * string/bug-strchr1.c (do_test): Moved to ...
25236         * string/test-strchr.c (check1): Here.  New function.
25237         (do_one_test): Break out result checking code into ...
25238         (check_result): This.  New function.
25239         (do_one_test): Call check_result.
25240         (test_main): Call check1.
25241         * string/bug-strstr1.c (main): Moved to ...
25242         * string/test-strstr.c (check1): Here.  New function.
25243         (do_one_test): Break out result checking code into ...
25244         (check_result): This.  New function.
25245         (do_one_test): Call check_result.
25246         (test_main): Call check1.
25247         * string/bug-strcasestr1.c: Removed.
25248         * string/bug-strchr1.c: Likewise.
25249         * string/bug-strstr1.c: Likewise.
25250
25251         * elf/Makefile (dl-routines): Add hwcaps.
25252         * elf/dl-support.c (_dl_important_hwcaps): Removed.
25253         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25254         (_dl_important_hwcaps): Moved to ...
25255         * elf/dl-hwcaps.c: Here.  New file.
25256         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25257
25258         [BZ #14557]
25259         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25260         if IS_IN_rtld isn't defined.
25261
25262         * elf/dl-support.c (_dl_sysinfo_map): New.
25263         Include "get-dynamic-info.h" and "setup-vdso.h".
25264         (_dl_non_dynamic_init): Call setup_vdso.
25265         * elf/dynamic-link.h: Don't include <assert.h>.
25266         (elf_get_dynamic_info): Moved to ...
25267         * elf/get-dynamic-info.h: Here.  New file.
25268         * elf/dynamic-link.h: Include "get-dynamic-info.h".
25269         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25270         * elf/setup-vdso.h: Here.  New file.
25271         * elf/rtld.c: Include "setup-vdso.h".
25272         (dl_main): Call setup_vdso.
25273
25274 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
25275
25276         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25277         creal in comment listing functions tested.  List finite, isinf,
25278         isnan, isless, islessequal, isgreater, isgreaterequal,
25279         islessgreater, isunordered, lgamma_r and pow10 as functions and
25280         macros not tested.  Mention which functions not tested are aliases
25281         for other functions.  Fix typo.  Note that signs of NaNs are not
25282         tested.
25283
25284         * scripts/config.guess: Update from config.git.
25285         * scripts/config.sub: Likewise.
25286
25287 2012-10-04  Roland McGrath  <roland@hack.frob.com>
25288
25289         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25290         * misc/madvise.c (madvise): Renamed to __madvise.
25291         Make madvise a weak alias.
25292         * include/sys/mman.h: Declare __madvise.
25293         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25294         * sysdeps/unix/syscalls.list
25295         (madvise): Make __madvise the strong name, and madvise a weak alias.
25296         * sysdeps/unix/sysv/linux/syscalls.list
25297         (madvise, mmap): Remove redundant entries.
25298         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25299         * malloc/malloc.c (mtrim): Likewise.
25300         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25301
25302 2012-10-03  Roland McGrath  <roland@hack.frob.com>
25303
25304         * sysdeps/mach/hurd/dl-cache.c: File removed.
25305         * config.h.in (USE_LDCONFIG): New #undef.
25306         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25307         * configure: Regenerated.
25308         * elf/Makefile (dl-routines): Add dl-cache only under
25309         [$(use-ldconfig) = yes].
25310         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25311         cache on [USE_LDCONFIG].
25312         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25313         [USE_LDCONFIG].
25314         * elf/rtld.c (dl_main): Likewise.
25315
25316 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
25317
25318         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25319         _SC_LEVEL4_CACHE_LINESIZE.
25320
25321 2012-10-03  Roland McGrath  <roland@hack.frob.com>
25322
25323         * sysdeps/unix/bsd/confstr.h: File removed.
25324
25325 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
25326
25327         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25328         sys/sdt-config.h.
25329
25330 2012-10-02  Roland McGrath  <roland@hack.frob.com>
25331
25332         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25333         Make 'mapoff' field ElfW(Off) rather than off_t.
25334
25335 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
25336
25337         * nscd/Makefile: Remove nscd-cflags and all its users.
25338         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25339         (CFLAGS-nonlib): Add compiler flags for nscd modules.
25340
25341         [BZ #10631]
25342         * malloc.c (malloc_printerr): Clarify error message.
25343
25344 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
25345
25346         [BZ #14648]
25347         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25348         Set bit_FMA_Usable if FMA is supported.
25349         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25350         macro.
25351         (bit_FMA4_Usable): Updated.
25352         (index_FMA_Usable): New macro.
25353         (CPUID_FMA): Likewise
25354         (HAS_FMA): Defined with bit_FMA_Usable.
25355
25356 2012-10-01  Roland McGrath  <roland@hack.frob.com>
25357
25358         * bits/types.h (__swblk_t): Type removed.
25359         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25360         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25361         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25362         (__SWBLK_T_TYPE): Likewise.
25363         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25364         (__SWBLK_T_TYPE): Likewise.
25365         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25366         (__SWBLK_T_TYPE): Likewise.
25367         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25368         (__SWBLK_T_TYPE): Likewise.
25369
25370 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
25371             Honza Horak <hhorak@redhat.com>
25372
25373         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25374         (xdr_mapname): Use YPMAXMAP as maxsize.
25375         (xdr_peername): Use YPMAXPEER as maxsize.
25376         (xdr_keydat): Use YPAXRECORD as maxsize.
25377         (xdr_valdat): Use YPMAXRECORD as maxsize.
25378
25379 2012-10-01  Roland McGrath  <roland@hack.frob.com>
25380
25381         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25382
25383         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25384         * csu/init-first.c: ... here.
25385         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25386         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25387         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25388         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25389         * sysdeps/i386/init-first.c: File removed.
25390         * sysdeps/sh/init-first.c: File removed.
25391
25392 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
25393
25394         [BZ #14645]
25395         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25396         if x * y might underflow to zero and z is zero.
25397         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25398         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25399         * math/libm-test.inc (min_subnorm_value): New variable.
25400         (fma_test): Add more tests.
25401         (fma_test_towardzero): Likewise.
25402         (fma_test_downward): Likewise
25403         (fma_test_upward): Likewise.
25404         (initialize): Set min_subnorm_value.
25405
25406 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
25407
25408         [BZ #14638]
25409         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25410         0 + 0.
25411         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25412         mode for addition resulting in exact zero.
25413         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25414         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25415         exact 0 + 0.
25416         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25417         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25418         * math/libm-test.inc (fma_test): Add more tests.
25419         (fma_test_towardzero): New function.
25420         (fma_test_downward): Likewise.
25421         (fma_test_upward): Likewise.
25422         (main): Call the new functions.
25423
25424 2012-09-28  David S. Miller  <davem@davemloft.net>
25425
25426         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25427
25428 2012-09-28  Roland McGrath  <roland@hack.frob.com>
25429
25430         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25431         instead of SIGALRM.
25432
25433         * sysdeps/gnu/_G_config.h: Moved to ...
25434         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25435         * sysdeps/mach/hurd/_G_config.h: Moved to ...
25436         * sysdeps/generic/_G_config.h: ... here.
25437
25438         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
25439
25440         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25441
25442         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25443         Conditionalize target on [libnss_test1.so-version].
25444
25445         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25446
25447         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25448         (elfobjdir): Move out of conditionals.
25449
25450         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25451         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25452         (__nss_lookup_function): Conditionalize label remove_from_tree on
25453         [!DO_STATIC_NSS || SHARED], matching its only use.
25454
25455 2012-09-28  David S. Miller  <davem@davemloft.net>
25456
25457         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25458         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25459         file.
25460         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25461         sysdep_routines.
25462         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25463         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25464         when HWCAP_SPARC_CRYPTO is present.
25465
25466 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
25467
25468         * io/tst-mknodat.c: Create a FIFO instead of a socket.
25469
25470 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
25471
25472         [BZ #6530]
25473         * stdio-common/vfprintf.c (process_string_arg): Revert
25474         2000-07-22 change.
25475
25476 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
25477
25478         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25479         for testcase.
25480         * stdio-common/tst-sprintf.c: Include <locale.h>
25481         (main): Test sprintf's handling of incomplete multibyte
25482         characters.
25483
25484 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
25485
25486         * elf/dl-runtime.c (VERSYMIDX): Removed.
25487         * elf/dl-version.c (VERSYMIDX): Likewise.
25488         * elf/do-rel.h (VERSYMIDX): Likewise.
25489         (VALIDX): Likewise.
25490         * elf/dynamic-link.h (VERSYMIDX): Likewise.
25491         * elf/rtld.c (VALIDX): Likewise.
25492         (ADDRIDX): Likewise.
25493         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25494         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25495         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
25496         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25497         (VALIDX): Likewise.
25498         (ADDRIDX): Likewise.
25499
25500 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
25501
25502         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25503
25504 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
25505
25506         [BZ #11438]
25507         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25508         to global scope.
25509         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25510         addresses are in the same scope as 192.0.2/24.
25511         * posix/gai.conf: Document new scope table defaults.
25512
25513 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25514
25515         [BZ #5298]
25516         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25517         for ftell.  Compute offsets from write pointers instead.
25518         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25519
25520 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25521
25522         [BZ #14543]
25523         * libio/Makefile (tests): New test case tst-fseek.
25524         * libio/tst-fseek.c: New test case to verify that fseek/ftell
25525         combination works in wide mode.
25526         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25527         state when the external buffer state changes.
25528
25529 2012-09-27  David S. Miller  <davem@davemloft.net>
25530
25531         [BZ #14376]
25532         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25533         pass reloc->r_addend in as the 'high' argument to
25534         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25535
25536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25537
25538 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
25539
25540         * rt/tst-aio2.c: Include <pthread.h>.
25541         * rt/tst-aio3.c: Likewise.
25542
25543 2012-09-27  Steve Ellcey  <sellcey@mips.com>
25544
25545         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25546
25547 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
25548
25549         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25550         contents on [SHARED].
25551
25552 2012-09-26  Marek Polacek  <polacek@redhat.com>
25553
25554         [BZ #14530]
25555         [BZ #13741]
25556         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25557         for C++ and GCC <4.3 as well as for non GCC compilers.
25558
25559 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
25560
25561         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25562
25563 2012-09-25  Roland McGrath  <roland@hack.frob.com>
25564
25565         * Makefile.in (all, install): Declare with .PHONY.
25566         Reported by Michael Hope <michael.hope@linaro.org>.
25567
25568 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25569
25570         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25571         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25572         system header.
25573         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25574         Likewise.
25575         (sydep_routines): Add the new and the internal functions.
25576         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25577         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25579         (GLIBC_2.17): Add the new function.
25580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25581         (GLIBC_2.17): Likewise.
25582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25583         (GLIBC_2.17): Likewise.
25584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25585         (GLIBC_2.17): Likewise.
25586         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25587
25588 2012-09-25  Alan Modra  <amodra@gmail.com>
25589
25590         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25591         Add release barrier before setting once_control to say
25592         initialisation is done.  Add hints on lwarx.  Use macro in
25593         place of isync.
25594         (clear_once_control): Add release barrier.
25595
25596 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
25597
25598         [BZ #13629]
25599         * math/s_clog.c (__clog): Handle more values close to |z| = 1
25600         specially.
25601         * math/s_clog10.c (__clog10): Likewise.
25602         * math/s_clog10f.c (__clog10f): Likewise.
25603         * math/s_clog10l.c (__clog10l): Likewise.
25604         * math/s_clogf.c (__clogf): Likewise.
25605         * math/s_clogl.c (__clogl): Likewise.
25606         * math/Makefile (libm-calls): Add x2y2m1.
25607         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25608         (__x2y2m1): Likewise.
25609         (__x2y2m1l): Likewise.
25610         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25611         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25612         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25613         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25614         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25615         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25616         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25617         * sysdeps/i386/fpu/libm-test-ulps: Update.
25618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25619
25620         [BZ #14621]
25621         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25622         int as type of variable DEPTH.
25623         (glob): Use size_t instead of int as type of variables NEWCOUNT
25624         and OLD_PATHC.
25625
25626 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25627
25628         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25629         Add s_sincosf-sse2.
25630         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25631         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25632         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25633         macros for using routine as __sincosf_ia32.
25634         Use macro for function declaration and weak_alias.
25635         * sysdeps/i386/fpu/libm-test-ulps: Update.
25636
25637         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25638         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25639
25640         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25641         subnormal argument.
25642         * math/s_cexpf.c (__cexpf): Likewise.
25643         * math/s_csinf.c (__csinf): Likewise.
25644         * math/s_csinhf.c (__csinhf): Likewise.
25645         * math/s_ctanf.c (__ctanf): Likewise.
25646         * math/s_ctanhf.c (__ctanhf): Likewise.
25647         * math/s_ccosh.c (__ccoshf): Likewise.
25648         * math/s_cexp.c (__cexpl): Likewise.
25649         * math/s_csin.c (__csin): Likewise.
25650         * math/s_csinh.c (__csinh): Likewise.
25651         * math/s_ctan.c (__ctan): Likewise.
25652         * math/s_ctanh.c (ctanh): Likewise.
25653         * math/s_ccoshl.c (__ccoshl): Likewise.
25654         * math/s_cexpl.c (__cexpl): Likewise.
25655         * math/s_csinl.c (__csinl): Likewise.
25656         * math/s_csinhl.c (__csinhl): Likewise.
25657         * math/s_ctanl.c (__ctanl): Likewise.
25658         * math/s_ctanhl.c (__ctanhl): Likewise.
25659
25660 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
25661
25662         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25663         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25664         (_IO_off_t): Define to __off_t, not _G_off_t.
25665         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25666         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25667         (_IO_wint_t): Define to wint_t, not _G_wint_t.
25668         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25669         type of __dummy and __dummy2 fields.
25670         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25671         (_G_ssize_t): Likewise.
25672         (_G_off_t): Likewise.
25673         (_G_pid_t): Likewise.
25674         (_G_uid_t): Likewise.
25675         (_G_wchar_t): Likewise.
25676         (_G_wint_t): Likewise.
25677         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25678         (_G_ssize_t): Likewise.
25679         (_G_off_t): Likewise.
25680         (_G_pid_t): Likewise.
25681         (_G_uid_t): Likewise.
25682         (_G_wchar_t): Likewise.
25683         (_G_wint_t): Likewise.
25684         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25685         (_G_ssize_t): Likewise.
25686         (_G_off_t): Likewise.
25687         (_G_pid_t): Likewise.
25688         (_G_uid_t): Likewise.
25689         (_G_wchar_t): Likewise.
25690         (_G_wint_t): Likewise.
25691
25692 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25693
25694         * malloc/arena.c: Include malloc-sysdep.h.
25695         (shrink_heap): Use check_may_shrink_heap to decide if madvise
25696         is sufficient to shrink the heap or an unmap is needed.
25697         * sysdeps/generic/malloc-sysdep.h: New file.  Define
25698         new function check_may_shrink_heap.
25699         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
25700         new function check_may_shrink_heap.
25701
25702 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25703
25704         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25705         comments.
25706
25707 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
25708
25709         * catgets/test-gencat.sh: Add "set -e".
25710         * elf/tst-pathopt.sh: Likewise.
25711         * grp/tst_fgetgrent.sh: Likewise.
25712         * iconvdata/run-iconv-test.sh: Likewise.
25713         * intl/tst-gettext.sh: Likewise.
25714         * intl/tst-gettext2.sh: Likewise.
25715         * intl/tst-gettext4.sh: Likewise.
25716         * intl/tst-gettext6.sh: Likewise.
25717         * intl/tst-translit.sh: Likewise.
25718         * io/ftwtest-sh: Likewise.
25719         * libio/test-freopen.sh: Likewise.
25720         * malloc/tst-mtrace.sh: Likewise.
25721         * posix/globtest.sh: Likewise.
25722         * posix/tst-getconf.sh: Likewise.
25723         * posix/wordexp-tst.sh: Likewise.
25724         * stdio-common/tst-printf.sh: Likewise.
25725         * stdio-common/tst-unbputc.sh: Likewise.
25726         * stdlib/tst-fmtmsg.sh: Likewise.
25727         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25728         * catgets/Makefile: Do not specify -e option when running
25729         testsuite shell scripts.
25730         * elf/Makefile: Likewise.
25731         * grp/Makefile: Likewise.
25732         * iconvdata/Makefile: Likewise.
25733         * intl/Makefile: Likewise.
25734         * io/Makefile: Likewise.
25735         * libio/Makefile: Likewise.
25736         * malloc/Makefile: Likewise.
25737         * posix/Makefile: Likewise.
25738         * stdio-common/Makefile: Likewise.
25739         * stdlib/Makefile: Likewise.
25740         * sysdeps/x86_64/Makefile: Likewise.
25741
25742         * io/ftwtest-sh: Add copyright header.
25743         * posix/globtest.sh: Likewise.
25744         * posix/tst-getconf.sh: Likewise.
25745         * posix/wordexp-tst.sh: Likewise.
25746         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25747
25748 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
25749
25750         [BZ #13679]
25751         * Makeconfig (+link): Defined as $(+link-static) if
25752         $(build-shared) isn't yes.
25753         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25754         isn't yes.
25755         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25756
25757         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25758
25759         [BZ #14562]
25760         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25761         new chunk size with MALLOC_ALIGN_MASK.
25762
25763 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
25764
25765         [BZ #5044]
25766         * stdio-common/printf_fphex.c: Include <stdbool.h> and
25767         <rounding-mode.h>.
25768         (__printf_fphex): Determine rounding using get_rounding_mode and
25769         round_away.
25770         * stdio-common/tst-printf-round.c (struct hex_test): New
25771         structure.
25772         (hex_tests): New variable.
25773         (test_hex_in_one_mode): New function.
25774         (do_test): Also run tests for hex float output.
25775
25776 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
25777
25778         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25779         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25780         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25781         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25782         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25783         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25784         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25785         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25786
25787 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
25788
25789         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25790         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25791         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25792         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25793
25794 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
25795
25796         [BZ #14579]
25797         * elf/rtld.c (dl_main): Limit the check for self loading to normal
25798         mode only.
25799         * elf/tst-rtld-load-self.sh: New test.
25800         * elf/Makefile: Run it.
25801
25802 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
25803
25804         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25805         (tst-writev-ENV): Remove.
25806         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25807
25808 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
25809
25810         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25811
25812 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
25813
25814         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25815         unconditional.
25816         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25817         Likewise.
25818         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25819         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25820         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25821         Likewise.
25822
25823 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
25824
25825         [BZ #14587]
25826         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25827         * config.make.in (have-cpp-asm-debuginfo): Removed.
25828         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25829         * configure: Regenerated.
25830
25831 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
25832
25833         [BZ #5044]
25834         * stdio-common/printf_fp.c: Include <stdbool.h> and
25835         <rounding-mode.h>.
25836         (___printf_fp): Determine rounding using get_rounding_mode and
25837         round_away.
25838         * stdio-common/tst-printf-round.c: New file.
25839         * stdio-common/Makefile (tests): Add tst-printf-round.
25840         (link-libm): New variable.
25841         ($(objpfx)tst-printf-round): Depend in $(link-libm).
25842
25843 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
25844
25845         [BZ #14576]
25846         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25847         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25848         Likewise.
25849         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25850         Likewise.
25851
25852 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
25853
25854         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25855         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25856         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25857         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25858
25859 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
25860
25861         [BZ #14518]
25862         * include/rounding-mode.h: New file.
25863         * sysdeps/generic/get-rounding-mode.h: Likewise.
25864         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25865         * stdlib/strtod_l.c: Include <rounding-mode.h>.
25866         (MAX_VALUE): New macro.
25867         (MIN_VALUE): Likewise.
25868         (overflow_value): New function.
25869         (underflow_value): Likewise.
25870         (round_and_return): Use overflow_value and underflow_value to
25871         determine return values in overflow and underflow cases.  Use
25872         round_away to determine rounding depending on rounding mode.
25873         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25874         determine return values in overflow and underflow cases.
25875         * stdlib/tst-strtod-round.c: Include <fenv.h>.
25876         (struct test_results): New structure.
25877         (struct test): Use struct test_results to store expected results
25878         for all rounding modes.
25879         (TEST): Include expected results for all rounding modes.
25880         (test_in_one_mode): New function.
25881         (do_test): Use test_in_one_mode to compute and check results.
25882         Check results for all rounding modes.
25883         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25884         $(link-libm).
25885
25886 2012-12-09  Allan McRae  <allan@archlinux.org>
25887
25888         * sysdeps/i386/fpu/libm-test-ulps: Update
25889
25890 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
25891
25892         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25893         (_G_int32_t): Likewise.
25894         (_G_uint16_t): Likewise.
25895         (_G_uint32_t): Likewise.
25896         (_G_HAVE_BOOL): Likewise.
25897         (_G_HAVE_ATEXIT): Likewise.
25898         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25899         (_G_HAVE_IO_FILE_OPEN): Likewise.
25900         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25901         (_G_int32_t): Likewise.
25902         (_G_uint16_t): Likewise.
25903         (_G_uint32_t): Likewise.
25904         (_G_HAVE_BOOL): Likewise.
25905         (_G_HAVE_ATEXIT): Likewise.
25906         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25907         (_G_HAVE_IO_FILE_OPEN): Likewise.
25908         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25909         (_G_int32_t): Likewise.
25910         (_G_uint16_t): Likewise.
25911         (_G_uint32_t): Likewise.
25912         (_G_HAVE_BOOL): Likewise.
25913         (_G_HAVE_ATEXIT): Likewise.
25914         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25915         (_G_HAVE_IO_FILE_OPEN): Likewise.
25916
25917 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
25918
25919         * csu/libc-tls.c: Update copyright years.
25920
25921 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
25922
25923         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25924         [!_G_USING_THUNKS]: Remove conditional code.
25925         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25926         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25927
25928         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25929         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25930         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25931         (_G_VTABLE_LABEL_PREFIX): Likewise.
25932         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25933         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25934         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25935         (_G_VTABLE_LABEL_PREFIX): Likewise.
25936         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25937         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25938         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25939         (_G_VTABLE_LABEL_PREFIX): Likewise.
25940         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25941
25942 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
25943
25944         * libio/Makefile: Include ../Makeconfig before tests.
25945         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25946         only if $(build-shared) is yes.
25947
25948         * iconv/gconv_db.c: Update copyright years.
25949
25950 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25951
25952         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25953         unwind info if defined PIC. Fix special cases description.
25954         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25955
25956         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25957         DP_HI_MASK entry.
25958         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25959
25960 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
25961
25962         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25963
25964         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25965         is NULL.
25966
25967         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25968         (LDLIBS-tst-chk4): This.
25969         (LDFLAGS-tst-chk5): Renamed to ...
25970         (LDLIBS-tst-chk5): This.
25971         (LDFLAGS-tst-chk6): Renamed to ...
25972         (LDLIBS-tst-chk6): This.
25973         (LDFLAGS-tst-lfschk4): Renamed to ...
25974         (LDLIBS-tst-lfschk4): This.
25975         (LDFLAGS-tst-lfschk5): Renamed to ...
25976         (LDLIBS-tst-lfschk5): This.
25977         (LDFLAGS-tst-lfschk6): Renamed to ...
25978         (LDLIBS-tst-lfschk6): This.
25979
25980         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25981         on $(common-objpfx)soversions.mk.
25982
25983 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
25984
25985         [BZ #10014]
25986         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25987         example host name.
25988
25989 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
25990
25991         * malloc/arena.c (arena_get_retry): New function that gets
25992         another arena for the caller to try its request on.
25993         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25994         current arena cannot fulfill the request.
25995         (__libc_memalign): Likewise.
25996         (__libc_memalign): Likewise.
25997         (__libc_pvalloc): Likewise.
25998         (__libc_calloc): Likewise.
25999
26000 2012-09-05  John Tobey  <john.tobey@gmail.com>
26001
26002         [BZ #13542]
26003         * manual/arith.texi (Operations on Complex): Fix description
26004         of carg branch cut.
26005
26006 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
26007
26008         [BZ #10014]
26009         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26010         host name.
26011
26012         [BZ #10038]
26013         * manual/memory.texi (Memory): Make order of menu items match
26014         order of sections.
26015
26016 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26017
26018         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26019         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
26020         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26021
26022 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26023
26024         * csu/libc-tls.c (static_dtv): Renamed to ...
26025         (_dl_static_dtv): This.  Make it global.
26026         (_dl_initial_dtv): Removed.
26027         (__libc_setup_tls): Updated.
26028         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26029         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26030         DL_INITIAL_DTV.
26031
26032 2012-09-06  Petr Machata  <pmachata@redhat.com>
26033
26034         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26035         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26036         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26037         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26038
26039 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26040
26041         [BZ #14545]
26042         * csu/libc-tls.c (_dl_initial_dtv): New variable.
26043         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26044         freeing dtv[-1].
26045
26046 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
26047
26048         [BZ #14544]
26049         * Makeconfig (link-static-before-libc): Replace $(+prector)
26050         with $(+prectorT).
26051         (link-static-after-libc): Replace $(+postctor) with
26052         $(+postctorT).
26053         (link-bounded): Replace $(+prector)/$(+postctor) with
26054         $(+prectorT)/$(+postctorT).
26055         (+prectorT): New macro.
26056         (+postctorT): Likewise.
26057
26058 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
26059
26060         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26061         (round_str): Handle values above the maximum for IBM long double
26062         as inexact.
26063         * stdlib/tst-strtod-round.c (tests): Regenerated.
26064
26065 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26066
26067         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26068         assembler flag.
26069         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26070         zarch_nohighgprs around the zarch optimized routines.
26071         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26072         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26073         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26074         for zarch.
26075
26076 2012-09-05  David S. Miller  <davem@davemloft.net>
26077
26078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26079
26080         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26081         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
26082         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26083         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26084         entries.
26085
26086 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26087
26088         * malloc/arena.c: Fold copyright years.
26089         * malloc/mcheck.c, malloc/memusage.c: Likewise.
26090
26091 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26092
26093         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26094
26095 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26096
26097         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
26098
26099 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26100
26101         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26102         change internal state upon failure.
26103
26104 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
26105
26106         * malloc/mcheck.c (mcheck_check_all): Fix typo.
26107         * malloc/memusage.c (mmap): Likewise.
26108         (mmap64, mremap): Likewise.  Adjust name in comment.
26109
26110 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26111
26112         * libio/fileops.c: Fix typos in comments.
26113         * libio/oldfileops.c: Likewise.
26114         * libio/wfileops.c: Likewise.
26115
26116 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26117
26118         [BZ #1349]
26119         * malloc/Makefile (tests): Add tst-malloc-usable test case.
26120         (tst-malloc-usable-ENV): Set environment for test case.
26121         * malloc/hooks.c (malloc_check_get_size): New function to get
26122         requested size.
26123         * malloc/malloc.c (musable): Use malloc_check_get_size.
26124         * malloc/tst-malloc-usable.c: New test case.
26125
26126 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
26127
26128         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26129
26130 2012-09-05  Allan McRae  <allan@archlinux.org>
26131
26132         [BZ #13966]
26133         * configure.in (CXX_SYSINCLUDES): Use compiler output to
26134         determine header location.
26135         * configure: Regenerated.
26136
26137 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
26138
26139         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26140         float format.
26141         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
26142         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26143         format.
26144         (test): Regenerate.
26145
26146 2012-09-04  David S. Miller  <davem@davemloft.net>
26147
26148         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26149         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26150         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26151
26152 2012-09-04  Florian Weimer  <fweimer@redhat.com>
26153
26154         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26155         failures.
26156
26157         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26158
26159 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
26160
26161         [BZ #9914]
26162         * libio/iogetdelim.c: Include <limits.h>.
26163         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26164         + len + 1 would overflow.
26165
26166 2012-09-03  Andreas Jaeger  <aj@suse.de>
26167
26168         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26169         * sysdeps/i386/fpu/libm-test-ulps: Update.
26170
26171 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26172
26173         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26174         Add s_sinf-sse2, s_conf-sse2.
26175
26176         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26177         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26178         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26179         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26180
26181         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26182         for using routine as __sinf_ia32.
26183         Use macro for function declaration and weak_alias.
26184         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26185         for using routine as __cosf_ia32.
26186         Use macro for function declaration and weak_alias.
26187
26188         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26189         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26190
26191         * sysdeps/x86_64/fpu/s_sinf.S: New file.
26192         * sysdeps/x86_64/fpu/s_cosf.S: New file.
26193         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26194
26195         * math/libm-test.inc (cos_test): Add more test cases.
26196         (sin_test): Likewise.
26197         (sincos_test): Likewise.
26198
26199 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26200
26201         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26202         (IFUNC_RESOLVE): Make pointers to the specialized implementations
26203         hidden.
26204         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26205
26206 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
26207
26208         [BZ #14538]
26209         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26210         first element of the GOT.
26211         (elf_machine_load_address): Return the difference between
26212         the runtime address of _DYNAMIC and elf_machine_dynamic ().
26213
26214 2012-09-01  Allan McRae  <allan@archlinux.org>
26215
26216         [BZ #13412]
26217         * configure.in (AWK): Require gawk version 3.0 or later.
26218         * configure: Regenerated.
26219
26220 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
26221
26222         * sysdeps/unix/sysv/linux/kernel-features.h
26223         (__ASSUME_POSIX_CPU_TIMERS): Remove.
26224         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26225         [__NR_clock_getres]: Make code unconditional.
26226         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26227         (clock_getcpuclockid): Remove code left unreachable by removal of
26228         conditionals.
26229         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26230         code unconditional.
26231         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26232         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26233         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26234         Make code unconditional.
26235         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26236         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26237         * sysdeps/unix/sysv/linux/clock_settime.c
26238         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26239         conditional code.
26240         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26241         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26242
26243 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
26244
26245         [BZ #14476]
26246         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26247         scripts/test-installation.pl.
26248
26249         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26250         and $ld_so_version if it is set.
26251
26252 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26253
26254         [BZ #14516]
26255         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26256         failure if reading from procfs failed.
26257         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26258
26259 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
26260
26261         * sysdeps/unix/sysv/linux/kernel-features.h
26262         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26263         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26264         Remove conditional code.
26265         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26266         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26267         Remove conditional code.
26268         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26269         * sysdeps/unix/sysv/linux/i386/fxstat.c
26270         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26271         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26272         * sysdeps/unix/sysv/linux/i386/fxstatat.c
26273         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26274         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26275         * sysdeps/unix/sysv/linux/i386/lxstat.c
26276         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26277         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26278         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26279         Remove conditional code.
26280         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26281         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26282         Remove conditional code.
26283         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26284         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26285         <kernel-features.h>.
26286         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26287         Remove.
26288         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26289         Remove conditional code.
26290         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26291         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26292         Remove conditional.
26293
26294 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
26295
26296         [BZ #5400]
26297         * NEWS: Add fixed bug number.
26298
26299 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
26300
26301         [BZ #14519]
26302         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26303         underflowing exponent in case of negative sign.
26304         * stdlib/tst-strtod-round-data: Add more tests.
26305         * stdlib/tst-strtod-round.c (tests): Regenerated.
26306
26307         [BZ #3479]
26308         * stdlib/strtod_l.c (NDIG): Remove.
26309         (HEXNDIG): Likewise.
26310         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26311         smallest representable value.
26312         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26313         lie within an exact representation of 1/2 ulp of the result.
26314         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26315         unconditionally.
26316         (TENS_P9_IDX): Define unconditionally.
26317         (TENS_P9_SIZE): Likewise.
26318         (TENS_P10_IDX): Likewise.
26319         (TENS_P10_SIZE): Likewise.
26320         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26321         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26322         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26323         entries for 10^2^13 and 10^2^14.
26324         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26325         (TENS_P13_IDX): Define.
26326         (TENS_P13_SIZE): Likewise.
26327         (TENS_P14_IDX): Likewise.
26328         (TENS_P14_SIZE): Likewise.
26329         (_fpioconst_pow10): Change array size to
26330         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
26331         unconditional.
26332         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26333         1024]: Add entries for 10^2^13 and 10^2^14.
26334         [LAST_POW10 > _LAST_POW10]: Remove #error.
26335         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26336         (_fpioconst_pow10): Change array size to
26337         FPIOCONST_POW10_ARRAY_SIZE.
26338         * stdlib/gen-fpioconst.c: New file.
26339         * stdlib/gen-tst-strtod-round.c: Likewise.
26340         * stdlib/tst-strtod-round-data: Likewise.
26341         * stdlib/tst-strtod-round.c: Likewise.
26342         * stdlib/Makefile (tests): Add tst-strtod-round.
26343
26344         [BZ #14459]
26345         * stdlib/strtod_l.c: Include <stdint.h>.
26346         (NDEBUG): Do not define.
26347         (round_and_return): Change EXPONENT parameter to type intmax_t.
26348         Rearrange calculations to avoid internal overflow possibilities.
26349         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26350         Rearrange calculations to avoid internal overflow possibilities.
26351         Assert that number fits inside MPNSIZE limbs.
26352         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26353         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
26354         calculations and add assertions to avoid internal overflow
26355         possibilities.  Add casts to avoid signed/unsigned operations.
26356         * stdlib/tst-strtod-overflow.c: New file.
26357         * stdlib/Makefile (tests): Add tst-strtod-overflow.
26358
26359 2012-08-25  Marek Polacek  <polacek@redhat.com>
26360
26361         * time/time.h: Fix some typos in comments.
26362
26363 2012-08-23  Roland McGrath  <roland@hack.frob.com>
26364
26365         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26366         * posix/tst-rfc3484-2.c: Likewise.
26367         * posix/tst-rfc3484-3.c: Likewise.
26368
26369 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
26370
26371         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26372         (EF_ARM_ABI_FLOAT_HARD): Likewise.
26373
26374 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
26375
26376         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26377         #include of fxstatat64.c.
26378
26379 2012-08-22  Roland McGrath  <roland@hack.frob.com>
26380
26381         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26382         * shadow/getspent_r.c: Likewise.
26383         * shadow/getspnam.c: Likewise.
26384         * shadow/getspnam_r.c: Likewise.
26385         * gshadow/getsgent.c: Likewise.
26386         * gshadow/getsgent_r.c: Likewise.
26387         * gshadow/getsgnam.c: Likewise.
26388         * gshadow/getsgnam_r.c: Likewise.
26389         * inet/getnetbyad.c: Likewise.
26390         * inet/getnetbyad_r.c: Likewise.
26391         * inet/getnetbynm.c: Likewise.
26392         * inet/getnetbynm_r.c: Likewise.
26393         * inet/getnetent.c: Likewise.
26394         * inet/getnetent_r.c: Likewise.
26395         * inet/getproto.c: Likewise.
26396         * inet/getproto_r.c: Likewise.
26397         * inet/getprtent.c: Likewise.
26398         * inet/getprtent_r.c: Likewise.
26399         * inet/getprtname.c: Likewise.
26400         * inet/getprtname_r.c: Likewise.
26401         * inet/getrpcbyname.c: Likewise.
26402         * inet/getrpcbyname_r.c: Likewise.
26403         * inet/getrpcbynumber.c: Likewise.
26404         * inet/getrpcbynumber_r.c: Likewise.
26405         * inet/getrpcent.c: Likewise.
26406         * inet/getrpcent_r.c: Likewise.
26407         * inet/getaliasent.c: Likewise.
26408         * inet/getaliasent_r.c: Likewise.
26409         * inet/getaliasname.c: Likewise.
26410         * inet/getaliasname_r.c: Likewise.
26411         * nscd/getgrgid_r.c: Likewise.
26412         * nscd/getgrnam_r.c: Likewise.
26413         * nscd/gethstbyad_r.c: Likewise.
26414         * nscd/gethstbynm3_r.c: Likewise.
26415         * nscd/getpwnam_r.c: Likewise.
26416         * nscd/getpwuid_r.c: Likewise.
26417         * nscd/getsrvbynm_r.c: Likewise.
26418         * nscd/getsrvbypt_r.c: Likewise.
26419         * nscd/gai.c: Likewise.
26420
26421         * configure.in (build_nscd): New substituted variable, set
26422         by --disable-build-nscd and defaults to $use_nscd.
26423         * configure: Regenerated.
26424         * config.make.in (build-nscd): New substituted variable.
26425         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26426         Change conditional to require [$(build-nscd) = yes] as well.
26427         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26428
26429         [BZ# 13696]
26430         * configure.in (use_nscd): New substituted variable, set by
26431         --disable-nscd.  If enabled, define USE_NSCD.
26432         * configure: Regenerated.
26433         * config.h.in: Add USE_NSCD.
26434         * config.make.in (use-nscd): New substituted variable.
26435         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26436         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26437         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26438         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26439         (CFLAGS-getgrnam_r.c): Likewise.
26440         (CFLAGS-initgroups.c): Likewise.
26441         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26442         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26443         Variables removed.
26444         * inet/getnetgrent_r.c
26445         (nscd_setnetgrent): New function, broken out of ...
26446         (setnetgrent): ... here.  Call it.
26447         (innetgr): Conditionalize nscd bits on [USE_NSCD].
26448         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26449         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26450         * nscd/Makefile (routines, aux): Move definitions after include of
26451         Makeconfig.  Conditionalize on [$(use-nscd) != no].
26452         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26453         Conditionalize on [USE_NSCD].
26454         (is_nscd, nscd_init_cb): Likewise.
26455         (nss_load_library): Conditionalize init callback on [USE_NSCD].
26456         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26457         * nss/nss_db/db-init.c: Likewise.
26458         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26459         [USE_NSCD].
26460         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26461         (make_request): Use it.
26462         (cache_valid_p): New function.
26463         (__check_pf): Use it.
26464         * NEWS: Add item for --disable-nscd.
26465
26466 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
26467
26468         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26469         to support sed >= 4.2.1-20-ga9bf076.
26470         * configure: Regenerated.
26471
26472 2012-08-22  Roland McGrath  <roland@hack.frob.com>
26473
26474         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26475         Conditionalize whole body on [IREL].
26476
26477 2012-08-22  Jeff Law <law@redhat.com>
26478
26479         [BZ #14505]
26480         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26481         if the family is PF_UNSPEC.
26482
26483 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
26484
26485         * Makerules (lib-version): Rename from V.
26486         (install-lib-nosubdir): Change V to lib-version.
26487
26488 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
26489
26490         [BZ #14252]
26491         * powerpc32/power6/wcschr.c: New file.
26492         * powerpc32/power6/wcscpy.c: New file.
26493         * powerpc32/power6/wcsrchr.c: New file.
26494         * powerpc64/power6/wcschr.c: New file.
26495         * powerpc64/power6/wcscpy.c: New file.
26496         * powerpc64/power6/wcsrchr.c: New file.
26497
26498 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
26499
26500         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26501         (two_way_short_needle): Use it.
26502         * string/strstr.c (AVAILABLE1_USES_J): Define.
26503         * string/strcasestr.c: Likewise.
26504
26505         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26506         array references.
26507         * string/strcasestr.c (TOLOWER): Make side-effect safe.
26508
26509         [BZ #11607]
26510         * NEWS: Add an entry.
26511         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26512         define their defaults.
26513         (two_way_short_needle): Detect end-of-string on-the-fly.
26514         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26515         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26516         * string/bug-strcasestr1.c: New test.
26517         * string/Makefile: Run it.
26518
26519 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
26520
26521         [BZ #11607]
26522         * string/str-two-way.h (two_way_short_needle): Optimize matching of
26523         the first character.
26524
26525 2012-08-21  Roland McGrath  <roland@hack.frob.com>
26526
26527         * csu/elf-init.c (__libc_csu_irel): Function removed.
26528         * csu/libc-start.c (apply_irel): New function.
26529         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26530
26531 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
26532
26533         * sysdeps/unix/sysv/linux/kernel-features.h
26534         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26535         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26536         <kernel-features.h>.
26537         [__NR_fadvise64_64]: Make code unconditional.
26538         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26539         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26540         !__NR_fadvise64_64)]: Likewise.
26541         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26542         !__NR_fadvise64_64))]: Likewise.
26543         [__NR_fadvise64]: Make code unconditional.
26544         [!__NR_fadvise64]: Remove conditional code.
26545         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26546         <kernel-features.h>.
26547         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26548         unconditional.
26549         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26550         conditional code.
26551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26552         not include <kernel-features.h>.
26553         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26554         unconditional.
26555         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26556         conditional code.
26557         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26558         include <kernel-features.h>.
26559         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26560         unconditional.
26561         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26562         conditional code.
26563
26564 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
26565
26566         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26567         slight instruction rearrangements per scrollpipe analysis.
26568         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26569
26570 2012-08-20  Roland McGrath  <roland@hack.frob.com>
26571
26572         * manual/syslog.texi (syslog; vsyslog, closelog):
26573         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26574         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26575
26576         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26577         DSOCAPS to match condition on defining it.
26578
26579 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
26580
26581         * sysdeps/unix/sysv/linux/kernel-features.h
26582         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26584         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26585         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26587         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26588         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26590         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26591         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26592
26593         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26594         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26595
26596         * sysdeps/unix/sysv/linux/kernel-features.h
26597         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26598         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26599         unconditional.
26600         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26601         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26602         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26603         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26604         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26605         Make code unconditional.
26606         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26607         (__mmap64) [!__NR_mmap2]: Likewise.
26608         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26609         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26610         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26611         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26612         [__NR_mmap2]: Make code unconditional.
26613         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26614         (__mmap64) [!__NR_mmap2]: Likewise.
26615
26616 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26617
26618         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26619
26620 2012-08-18  Andreas Jaeger  <aj@suse.de>
26621
26622         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26623
26624 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
26625
26626         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26627         * include/unistd.h (__have_sock_cloexec): Likewise.
26628         (__have_pipe2): Likewise.
26629         (__have_dup3): Likewise.
26630
26631 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
26632
26633         [BZ #9685]
26634         * include/unistd.h (__have_pipe2): Change define into an extern int.
26635         (__have_dup3): Likewise.
26636         * socket/have_sock_cloexec.c: Include fcntl.h.
26637         (__have_pipe2): New variable.
26638         (__have_dup3): Likewise.
26639
26640 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
26641
26642         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26643
26644 2012-08-17  Marek Polacek  <polacek@redhat.com>
26645
26646         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26647         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26648
26649 2012-08-17  Roland McGrath  <roland@hack.frob.com>
26650
26651         * configure.in: Add AC_SUBST for sysheaders.
26652         * configure: Regenerated.
26653         * config.make.in (sysheaders): New substituted variable.
26654
26655         * sysdeps/unix/mkfifo.c: Moved ...
26656         * sysdeps/posix/mkfifo.c: ... here.
26657         * sysdeps/unix/mkfifoat.c: Moved ...
26658         * sysdeps/posix/mkfifoat.c: ... here.
26659
26660         * sysdeps/unix/utime.c: Moved ...
26661         * sysdeps/posix/utime.c: ... here.
26662
26663         * sysdeps/unix/time.c: Moved ...
26664         * sysdeps/posix/time.c: ... here.
26665         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26666         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26667
26668         * sysdeps/unix/nice.c: Moved ...
26669         * sysdeps/posix/nice.c: ... here.
26670
26671         * sysdeps/unix/alarm.c: Moved ...
26672         * sysdeps/posix/alarm.c: ... here.
26673
26674         * intl/Makefile ($(codeset_mo)): Depend on the input file.
26675
26676 2012-08-17  Jeff Law <law@redhat.com>
26677
26678         * intl/Makefile (codeset_mo): New variable.
26679         ($(codeset_mo)): New target.
26680         (tst-codeset.out): Depend on that.  Remove explicit rule.
26681         (tst-gettext3.out, tst-gettext5.out): Likewise.
26682         (LOCPATH-ENV, tst-codeset-ENV): New variables.
26683         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26684         * intl/tst-codeset.sh: Remove.
26685         * intl/tst-gettext3.sh: Likewise.
26686         * intl/tst-gettext5.sh: Likewise.
26687
26688 2012-08-17  Roland McGrath  <roland@hack.frob.com>
26689
26690         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
26691         * sysdeps/unix/syscalls.list: ... here.
26692
26693         * sysdeps/posix/getaddrinfo.c
26694         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26695         (gaiconf_init, gaiconf_reload): Use them.
26696         [!_STATBUF_ST_NSEC]
26697         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26698         Define using time_t rather than struct timespec.
26699
26700         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26701         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26702         Macros removed.
26703         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26704         [!NO_THREADS].
26705         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26706         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26707         Likewise.
26708
26709         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26710         __libc_cleanup_push argument.
26711
26712         * bits/param.h: New file.
26713         * misc/sys/param.h: New file.
26714         * include/sys/param.h: New file.
26715         * misc/Makefile (headers): Add bits/param.h.
26716         * sysdeps/generic/sys/param.h: File removed.
26717         * sysdeps/unix/sysv/linux/bits/param.h: New file.
26718         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26719         * sysdeps/mach/hurd/bits/param.h: New file.
26720         * sysdeps/mach/hurd/sys/param.h: File removed.
26721
26722         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26723         last change.
26724
26725         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26726         [_IO_MTSAFE_IO].
26727         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26728         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26729         New macros.
26730
26731         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26732         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26733         rather than -D_IO_MTSAFE_IO conditionally.
26734         * stdio-common/Makefile (CPPFLAGS): Likewise.
26735         * wcsmbs/Makefile (CPPFLAGS): Likewise.
26736         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26737         Use $(libio-mtsafe).
26738         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26739         of -D_IO_MTSAFE_IO.
26740         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26741         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26742         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26743         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26744         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26745         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26746         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26747         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26748         (CFLAGS-fread_u_chk.c): Likewise.
26749         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26750         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26751         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26752         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26753         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26754         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26755         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26756         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26757         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26758
26759         * libio/Makefile: Test [$(libc-reentrant) = yes]
26760         instead of [$(filter %REENTRANT, $(defines)) nonempty].
26761
26762         * Makeconfig
26763         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26764         * sysdeps/pthread/configure: File removed.
26765         * sysdeps/pthread/Makeconfig: New file.
26766         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26767         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26768
26769 2012-08-16  Gary Benson  <gbenson@redhat.com>
26770
26771         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26772         unmapping the first object in a namespace.
26773
26774 2012-08-16  Roland McGrath  <roland@hack.frob.com>
26775
26776         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26777         (__internal_setnetgrent): ... this.  Add internal_function to
26778         definition.  Add libc_hidden_def.
26779         (setnetgrent): Update caller.
26780         (internal_endnetgrent): Renamed to ...
26781         (__internal_endnetgrent): ... this.  Add internal_function to
26782         definition.  Add libc_hidden_def.
26783         (endnetgrent): Update caller.
26784         (internal_getnetgrent_r): Renamed to ...
26785         (__internal_getnetgrent_r): ... this.  Add internal_function to
26786         definition.  Add libc_hidden_def.
26787         (__getnetgrent_r): Update caller.
26788         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
26789
26790 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
26791
26792         * stdlib/longlong.h: Update from GCC.
26793
26794 2012-08-16  Roland McGrath  <roland@hack.frob.com>
26795
26796         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26797         on _QL, which is set by umul_ppmm but never used.
26798         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26799         variables, which are set by GMP macros but never used.
26800         * stdio-common/_itowa.c (_itowa): Likewise.
26801         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26802         * stdlib/mod_1.c (mpn_mod_1): Likewise.
26803
26804 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
26805
26806         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26807         struct La_sh_regs is not constant.
26808         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26809         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26810         and struct La_sparc64_regs are not constant.
26811
26812 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
26813
26814         * sysdeps/unix/sysv/linux/kernel-features.h
26815         (__ASSUME_POSIX_TIMERS): Remove.
26816         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26817         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26818         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26819         Make code unconditional.
26820         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26821         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26822         Make code unconditional.
26823         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26824         * sysdeps/unix/sysv/linux/clock_nanosleep.c
26825         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26826         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26827         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26828         Make code unconditional.
26829         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26830         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26831         (__libc_missing_posix_timers): Remove.
26832
26833 2012-08-15  Roland McGrath  <roland@hack.frob.com>
26834
26835         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26836         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26837
26838         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26839
26840         * elf/dl-sym.c: Include <stdlib.h>.
26841
26842         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26843         constants, which avoids warnings in 32-bit builds.
26844
26845         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26846         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26847
26848         * misc/lseek.c: File moved to ...
26849         * io/lseek.c: ... here.
26850
26851         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26852
26853         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26854         shifting LEN more than 31 bits at once.
26855
26856 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26857
26858         [BZ #14195]
26859         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26860         segmentation fault for a case of two empty input strings.
26861         * string/test-strncasecmp.c (check1): Renamed to...
26862         (bz12205): ...this.
26863         (bz14195): Add new testcase for two empty input strings and N > 0.
26864         (test_main): Call new testcase, adapt for renamed function.
26865
26866 2012-08-15  Andreas Jaeger  <aj@suse.de>
26867
26868         [BZ #14090]
26869         * crypt/md5test2.c: New test, based on test supplied by Serge
26870         Belyshev <belyshev@depni.sinp.msu.ru>.
26871         * crypt/Makefile (xtests): Add md5test-giant..
26872         * crypt/Makefile ($(objpfx)md5test-giant): Add.
26873
26874 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
26875
26876         [BZ #14090]
26877         * crypt/md5.c (md5_process_block): Don't assume the buffer
26878         length is less than 2**32.
26879         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26880         length is less than 2**64.
26881
26882 2012-08-15  Roland McGrath  <roland@hack.frob.com>
26883
26884         * string/str-two-way.h: Include <sys/param.h>.
26885         (MAX): Macro removed.
26886
26887         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26888         Move #define and #undef of memmove to just before and after
26889         including <string.h>.
26890
26891         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26892         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26893         and after including <string.h>.  Move declarations of
26894         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26895         to before #include "string/memmove.c".
26896
26897         * include/dirent.h: Declare __getdirentries.
26898
26899         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26900         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26901
26902 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
26903
26904         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26905         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26906         * sysdeps/i386/configure: Regenerated.
26907         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26908         STABS_CURRENT_FILE, and STABS_FUN.
26909         (END): Remove call to STABS_FUN_END.
26910         (STABS_CURRENT_FILE1): Delete.
26911         (STABS_CURRENT_FILE): Likewise.
26912         (STABS_FUN): Likewise.
26913         (STABS_FUN_END): Likewise.
26914         (STABS_FUN2): Likewise.
26915         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26916         * sysdeps/x86_64/configure: Regenerated.
26917
26918 2012-08-14  Roland McGrath  <roland@hack.frob.com>
26919
26920         * elf/dl-open.c: Include <atomic.h>.
26921         * elf/dl-lookup.c: Likewise.
26922
26923 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
26924
26925         * sysdeps/unix/sysv/linux/kernel-features.h
26926         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26927         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26928         unconditionally.
26929         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26930         unconditionally.
26931         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26932         condition on __ASSUME_CLONE_THREAD_FLAGS.
26933
26934 2012-08-14  Andreas Jaeger  <aj@suse.de>
26935
26936         * sysdeps/i386/fpu/libm-test-ulps: Update.
26937
26938 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
26939
26940         * include/atomic.h (atomic_exchange_and_add): Split into ...
26941         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26942         New atomic macros.
26943
26944 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
26945
26946         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26947
26948 2012-08-13  Jeff Law <law@redhat.com>
26949
26950         * manual/stdio.texi (snprintf): Clarify handling of the trailing
26951         null byte in the output string.
26952
26953 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
26954
26955         * sysdeps/unix/sysv/linux/kernel-features.h
26956         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26957         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26958         (__ASSUME_ARG_MAX_STACK_BASED): Define.
26959         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26960         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26961         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
26962         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26963
26964 2012-08-09  Jeff Law <law@redhat.com>
26965
26966         [BZ #13939]
26967         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26968         When avoid_arena is set, don't retry in the that arena.  Pick the
26969         next one, whatever it might be.
26970         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26971         (arena_lock): Pass in new parameter to arena_get2.
26972         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26973         arena_get2.
26974         (__libc_malloc): Unify retrying after main arena failure with
26975         __libc_memalign version.
26976         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26977
26978 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
26979
26980         [BZ #14166]
26981         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26982         to __redirect_strstr.
26983         (__strstr_sse42): Use typeof __redirect_strstr.
26984         (__strstr_ia32): Likewise.
26985         (__libc_strstr): New prototype.
26986         (strstr): Renamed to ...
26987         (__libc_strstr): This.
26988         (strstr): New strong alias of __libc_strstr.
26989         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26990         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26991         __redirect_time.
26992         Include <time.h>.
26993         (__libc_time): New prototype.
26994         (time_ifunc): Replace time with __libc_time.
26995         (time): New strong alias and hidden definition of __libc_time.
26996         (__GI_time): Remove strong alias.
26997         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26998         Include <stddef.h>.
26999         (memmove): Redefined to __redirect_memmove.
27000         (__memmove_sse2): Use typeof __redirect_memmove.
27001         (__memmove_ssse3): Likewise.
27002         (__memmove_ssse3_back): Likewise.
27003         (__libc_memmove): New prototype.
27004         (memmove): Renamed to ...
27005         (__libc_memmove): This.
27006         (memmove): New strong alias of __libc_memmove.
27007
27008 2012-08-08  Mark Salter  <msalter@redhat.com>
27009
27010         * elf/elf.h
27011         (R_MN10300_TLS_GD): Define.
27012         (R_MN10300_TLS_LD): Likewise.
27013         (R_MN10300_TLS_LDO): Likewise.
27014         (R_MN10300_TLS_GOTIE): Likewise.
27015         (R_MN10300_TLS_IE): Likewise.
27016         (R_MN10300_TLS_LE): Likewise.
27017         (R_MN10300_TLS_DTPMOD): Likewise.
27018         (R_MN10300_TLS_DTPOFF): Likewise.
27019         (R_MN10300_TLS_TPOFF): Likewise.
27020         (R_MN10300_SYM_DIFF): Likewise.
27021         (R_MN10300_ALIGN): Likewise.
27022         (R_MN10300_NUM): Update.
27023
27024 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
27025
27026         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27027         Remove.
27028
27029 2012-08-08  Roland McGrath  <roland@hack.frob.com>
27030
27031         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27032
27033         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27034         sysdeps/unix -> sysdeps/posix move.
27035         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27036
27037 2012-08-07      Allan McRae     <allan@archlinux.org>
27038
27039         [BZ #14303]
27040         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27041         (SUNOS_CPP): Likewise.
27042         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27043         not found.
27044         (open_input): Call CPP using execvp.
27045
27046 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
27047
27048         * sysdeps/unix/sysv/linux/kernel-features.h
27049         (__ASSUME_PROT_GROWSUPDOWN): Remove.
27050         (__ASSUME_NO_CLONE_DETACHED): Likewise.
27051         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27052         (__ASSUME_WAITID_SYSCALL): Likewise.
27053         * sysdeps/unix/sysv/linux/dl-execstack.c
27054         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27055         code unconditional.
27056         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27057         conditional code.
27058         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27059         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27060         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27061         code.
27062         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27063         unconditional.
27064         [__ASSUME_WAITID_SYSCALL]: Likewise.
27065         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27066
27067 2012-08-07  Roland McGrath  <roland@hack.frob.com>
27068
27069         * sysdeps/unix/closedir.c: Renamed to ...
27070         * sysdeps/posix/closedir.c: ... here.
27071         * sysdeps/unix/dirfd.c: Renamed to ...
27072         * sysdeps/posix/dirfd.c: ... here.
27073         * sysdeps/unix/dirstream.h: Renamed to ...
27074         * sysdeps/posix/dirstream.h: ... here.
27075         * sysdeps/unix/fdopendir.c: Renamed to ...
27076         * sysdeps/posix/fdopendir.c: ... here.
27077         * sysdeps/unix/opendir.c: Renamed to ...
27078         * sysdeps/posix/opendir.c: ... here.
27079         * sysdeps/unix/readdir.c: Renamed to ...
27080         * sysdeps/posix/readdir.c: ... here.
27081         * sysdeps/unix/readdir_r.c: Renamed to ...
27082         * sysdeps/posix/readdir_r.c: ... here.
27083         * sysdeps/unix/rewinddir.c: Renamed to ...
27084         * sysdeps/posix/rewinddir.c: ... here.
27085         * sysdeps/unix/seekdir.c: Renamed to ...
27086         * sysdeps/posix/seekdir.c: ... here.
27087         * sysdeps/unix/telldir.c: Renamed to ...
27088         * sysdeps/posix/telldir.c: ... here.
27089         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27090         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27091         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27092         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27093
27094         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27095         * bits/fcntl.h: ... here.
27096
27097         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27098         not 0.
27099         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27100         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27101         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27102         (struct flock): Move l_start, l_len to the beginning.
27103         Use __pid_t for l_pid.
27104         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27105         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27106         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27107         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27108         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27109         [__USE_LARGEFILE64] (struct flock64): New type.
27110         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27111
27112         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27113         * bits/dirent.h: ... here.
27114
27115         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27116         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27117
27118 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
27119
27120         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27121         Change from 2.6.0 to 2.6.16.
27122         * sysdeps/unix/sysv/linux/configure: Regenerated.
27123         * sysdeps/unix/sysv/linux/kernel-features.h
27124         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27125         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27126         version.
27127         (__ASSUME_UTIMES): Likewise.
27128         (__ASSUME_CLONE_STOPPED): Remove.
27129         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27130         architectures, not kernel version.
27131         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27132         (__ASSUME_NO_CLONE_DETACHED): Likewise.
27133         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27134         (__ASSUME_WAITID_SYSCALL): Likewise.
27135         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27136         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27137         * README: State 2.6.16 as minimum Linux kernel version.  Do not
27138         refer to older versions.
27139
27140 2012-08-06  Roland McGrath  <roland@hack.frob.com>
27141
27142         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27143         Define alphasort64 as an alias.
27144         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27145         Define versionsort64 as an alias.
27146         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27147         Define scandir64 as an alias.
27148         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27149         Define scandirat64 as an alias.
27150         * dirent/alphasort64.c (alphasort64):
27151         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27152         * dirent/versionsort64.c: Likewise.
27153         * dirent/scandir64.c: Likewise.
27154         * dirent/scandirat64.c: Likewise.
27155         * sysdeps/wordsize-64/alphasort.c: File removed.
27156         * sysdeps/wordsize-64/alphasort64.c: File removed.
27157         * sysdeps/wordsize-64/scandir.c: File removed.
27158         * sysdeps/wordsize-64/scandir64.c: File removed.
27159         * sysdeps/wordsize-64/scandirat.c: File removed.
27160         * sysdeps/wordsize-64/scandirat64.c: File removed.
27161         * sysdeps/wordsize-64/versionsort.c: File removed.
27162         * sysdeps/wordsize-64/versionsort64.c: File removed.
27163         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27164         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27165         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27166         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27167         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27168         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27169         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27170         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27171
27172         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27173         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27174         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27175         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27176         [defined __arch64__ || defined __sparcv9]
27177         (__INO_T_MATCHES_INO64_T): New macro.
27178         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27179         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27180         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27181         * sysdeps/unix/sysv/linux/bits/dirent.h
27182         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27183         (_DIRENT_MATCHES_DIRENT64): New macro.
27184
27185         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27186         Define lockf64 as an alias.
27187         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27188         Define fseeko64 as an alias.
27189         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27190         Define ftello64 as an alias.
27191         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27192         Define _IO_fgetpos64 and fgetpos64 as aliases.
27193         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27194         Define _IO_fsetpos64 and fsetpos64 as aliases.
27195         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27196         Conditionalize body on this.
27197         * libio/fseeko64.c: Likewise.
27198         * libio/ftello64.c: Likewise.
27199         * libio/iofgetpos64.c: Likewise.
27200         * libio/iofsetpos64.c: Likewise.
27201         * sysdeps/wordsize-64/lockf.c: File removed.
27202         * sysdeps/wordsize-64/lockf64.c: File removed.
27203         * sysdeps/wordsize-64/fseeko.c: File removed.
27204         * sysdeps/wordsize-64/fseeko64.c: File removed.
27205         * sysdeps/wordsize-64/ftello.c: File removed.
27206         * sysdeps/wordsize-64/ftello64.c: File removed.
27207         * sysdeps/wordsize-64/iofgetpos.c: File removed.
27208         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27209         * sysdeps/wordsize-64/iofsetpos.c: File removed.
27210         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27211         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27212         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27213         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27214         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27215         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27216         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27217         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27218         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27219         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27220         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27221
27222         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27223         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27224         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27225         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27226         [defined __arch64__ || defined __sparcv9]
27227         (__OFF_T_MATCHES_OFF64_T): New macro.
27228         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27229         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27230         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27231         (__OFF_T_MATCHES_OFF64_T): New macro.
27232
27233 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
27234
27235         * stdlib/secure-getenv.c (__secure_getenv): Replace
27236         GLIBC_2_16 with GLIBC_2_17.
27237
27238 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
27239
27240         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27241         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27242
27243 2012-08-03  David S. Miller  <davem@davemloft.net>
27244
27245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27246
27247 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
27248
27249         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27250         Remove.
27251         (__ASSUME_CORRECT_SI_PID): Likewise.
27252         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27253         (__ASSUME_TMPFS_NAME): Likewise.
27254         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27255         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27256         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27257         (HAVE_AUX_SECURE): Make definition unconditional.
27258         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27259         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27260
27261 2012-08-03  Roland McGrath  <roland@hack.frob.com>
27262
27263         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27264         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27265         * sysdeps/mach/hurd/eloop-threshold.h: New file.
27266         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27267         __eloop_threshold instead of SYMLOOP_MAX.
27268
27269         * sysdeps/generic/eloop-threshold.h: New file.
27270         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27271         of MAXSYMLINKS.
27272         * elf/chroot_canon.c (chroot_canon): Likewise.
27273
27274 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
27275
27276         [BZ #13717]
27277         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27278         Change to 2.6.0 everywhere.
27279         * sysdeps/unix/sysv/linux/configure: Regenerated.
27280         * sysdeps/unix/sysv/linux/kernel-features.h
27281         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27282         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27283         kernel versions.
27284         (__ASSUME_POSIX_TIMERS): Define unconditionally.
27285         (__ASSUME_FUTEX_REQUEUE): Remove.
27286         (__ASSUME_STATFS64): Define unconditionally.
27287         (__ASSUME_AT_SECURE): Likewise.
27288         (__ASSUME_CORRECT_SI_PID): Likewise.
27289         (__ASSUME_TGKILL): Define without depending on kernel version for
27290         i386.
27291         (__ASSUME_UTIMES): Likewise.
27292         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27293         kernel version.
27294         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27295         (__ASSUME_TMPFS_NAME): Likewise.
27296         * README: Update reference to Linux kernel versions.
27297
27298 2012-08-02  Marek Polacek  <polacek@redhat.com>
27299
27300         [BZ# 14150]
27301         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
27302         libc_cv_asm_type_prefix with %.
27303         * configure: Regenerated.
27304         * include/libc-symbols.h: Remove comment about
27305         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27306         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27307         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27308         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27309         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27310         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27311         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27312         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27313         * elf/tst-unique2mod1.c: Likewise.
27314         * elf/tst-unique1mod2.c: Likewise.
27315         * elf/tst-unique1mod1.c: Likewise.
27316         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27317         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27318         Replace ASM_TYPE_DIRECTIVE with .type.
27319         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27320         * sysdeps/i386/sysdep.h: Likewise.
27321         * sysdeps/x86_64/sysdep.h: Likewise.
27322         * sysdeps/sh/sysdep.h: Likewise.
27323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27324         Do not define ASM_TYPE_DIRECTIVE.
27325         * sysdeps/powerpc/sysdep.h: Likewise.
27326         * sysdeps/powerpc/powerpc32/sysdep.h:
27327         Replace ASM_TYPE_DIRECTIVE with .type.
27328         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27329         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27330         * sysdeps/i386/fpu/e_powf.S: Likewise.
27331         * sysdeps/i386/fpu/e_expl.S: Likewise.
27332         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27333         * sysdeps/i386/fpu/e_acosh.S: Likewise.
27334         * sysdeps/i386/fpu/e_pow.S: Likewise.
27335         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27336         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27337         * sysdeps/i386/fpu/s_expm1.S: Likewise.
27338         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27339         * sysdeps/i386/fpu/e_log2.S: Likewise.
27340         * sysdeps/i386/fpu/e_log2l.S: Likewise.
27341         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27342         * sysdeps/i386/fpu/e_powl.S: Likewise.
27343         * sysdeps/i386/fpu/e_log10f.S: Likewise.
27344         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27345         * sysdeps/i386/fpu/e_logl.S: Likewise.
27346         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27347         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27348         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27349         * sysdeps/i386/fpu/e_log2f.S: Likewise.
27350         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27351         * sysdeps/i386/fpu/e_log.S: Likewise.
27352         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27353         * sysdeps/i386/fpu/e_logf.S: Likewise.
27354         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27355         * sysdeps/i386/fpu/e_atanh.S: Likewise.
27356         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27357         * sysdeps/i386/fpu/e_log10.S: Likewise.
27358         * sysdeps/i386/fpu/s_frexp.S: Likewise.
27359         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27360         * sysdeps/i386/fpu/s_asinh.S: Likewise.
27361         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27362         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27363         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27364         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27365         * sysdeps/i386/i686/strtok.S: Likewise.
27366         * sysdeps/i386/i386-mcount.S: Likewise.
27367         * sysdeps/i386/strtok.S: Likewise.
27368         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27369         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27370         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27371         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27372         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27373         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27374         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27375         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27376         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27377         * sysdeps/x86_64/_mcount.S: Likewise.
27378         * sysdeps/x86_64/strtok.S: Likewise.
27379         * sysdeps/sh/_mcount.S: Likewise.
27380
27381 2012-08-01  Roland McGrath  <roland@hack.frob.com>
27382
27383         * libio/iofopen.c: Include <fcntl.h>.
27384         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27385         (_IO_fopen64, fopen64): Define as aliases.
27386         * libio/iofopen64.c: Include <fcntl.h>.
27387         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27388         Conditionalize body on this.
27389         * sysdeps/wordsize-64/iofopen.c: File removed.
27390         * sysdeps/wordsize-64/iofopen64.c: File removed.
27391
27392 2012-08-01  Marek Polacek  <polacek@redhat.com>
27393
27394         * libc/Makeconfig: Use elf in place of binfmt-subdir.
27395         Use dlfcn directly instead of a variable.
27396         (binfmt-subdir): Do not define.
27397         (dlfcn): Likewise.
27398
27399 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
27400
27401         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27402         Remove all definitions.
27403         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27404         <kernel-features.h>.
27405         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27406         (miss_F_GETOWN_EX): Remove all definitions.
27407         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27408         macro definition.
27409         [!__ASSUME_FCNTL64]: Remove conditional code.
27410         [__ASSUME_FCNTL64]: Make code unconditional.
27411         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27412         <kernel-features.h>.
27413         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27414         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27415         (lockf64) [__NR_fcntl64]: Make code unconditional.
27416         (lockf64) [__ASSUME_FCNTL64]: Likewise.
27417
27418         * sysdeps/unix/sysv/linux/kernel-features.h
27419         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27420         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27421         Make code unconditional.
27422         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27423         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27425         [__NR_vfork]: Make code unconditional.
27426         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27427         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27429         [__NR_vfork]: Make code unconditional.
27430         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27431         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27432
27433 2012-08-01  Roland McGrath  <roland@hack.frob.com>
27434
27435         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27436         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27437
27438         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27439         Define mkstemp64 as an alias.
27440         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27441         Define mkstemps64 as an alias.
27442         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27443         Define mkostemp64 as an alias.
27444         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27445         Define mkostemps64 as an alias.
27446         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27447         Conditionalize body on this.
27448         * misc/mkostemp64.c: Likewise.
27449         * misc/mkostemps64.c: Likewise.
27450         * misc/mkstemps64.c: Likewise.
27451         * sysdeps/wordsize-64/mkstemp64.c: File removed.
27452         * sysdeps/wordsize-64/mkostemp64.c: File removed.
27453         * sysdeps/wordsize-64/mkostemp.c: File removed.
27454         * sysdeps/wordsize-64/mkstemp.c: File removed.
27455         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27456         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27457         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27458         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27459
27460         [BZ #14138]
27461         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27462         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27463         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27464         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27465
27466         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27467         compat_symbol macros from <shlib-compat.h> rather than the underlying
27468         default_symbol_version and symbol_version macros, so that DEFAULT
27469         lines in shlib-versions are respected.
27470         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27471
27472 2012-08-01  Florian Weimer  <fweimer@redhat.com>
27473
27474         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27475         Declare with warn_unused_result.
27476         (setgid, setregid, setegid, setresgid): Likewise.
27477         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27478         Likewise.
27479         * WUR-REPORT: Remove set*id functions.
27480
27481 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
27482
27483         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27484
27485 2012-07-31  Roland McGrath  <roland@hack.frob.com>
27486
27487         [BZ #10191]
27488         * include/sys/socket.h (__libc_accept, __libc_accept4):
27489         Add attribute_hidden.
27490         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27491
27492         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27493         use of PTR_MANGLE.
27494         * inet/getnetgrent_r.c (setup): Likewise.
27495
27496         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27497
27498 2012-07-31  David S. Miller  <davem@davemloft.net>
27499
27500         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27501
27502 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
27503
27504         [BZ #13629]
27505         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27506         value between 1.0 and 2.0 and smaller part has absolute value less
27507         than 1.0.
27508         * math/s_clog10.c (__clog10): Likewise.
27509         * math/s_clog10f.c (__clog10f): Likewise.
27510         * math/s_clog10l.c (__clog10l): Likewise.
27511         * math/s_clogf.c (__clogf): Likewise.
27512         * math/s_clogl.c (__clogl): Likewise.
27513         * math/libm-test.inc (clog_test): Add more tests.
27514         (clog10_test): Likewise.
27515         * sysdeps/i386/fpu/libm-test-ulps: Update.
27516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27517
27518 2012-07-31  Florian Weimer  <fweimer@redhat.com>
27519
27520         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27521         Exit with zero in case no suitable GID is found, and write a
27522         message to standard error.
27523
27524 2012-07-30  Roland McGrath  <roland@hack.frob.com>
27525
27526         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27527         rather than to 1.
27528         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27529         (MAXPATHLEN): Removed.
27530         (NOGROUP, NODEV): New macros.
27531         (setbit, clrbit, isset, isclr): New macros.
27532         (howmany, roundup, powerof2): New macros.
27533         (DEV_BSIZE): New macro.
27534
27535         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27536         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27537
27538         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27539         definition on [!__NO_LONG_DOUBLE_MATH].
27540
27541         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27542         PTR_MANGLE and PTR_DEMANGLE.
27543
27544         * socket/accept4.c (accept4): Rename to __libc_accept4.
27545         Define accept4 as a weak alias.
27546
27547         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27548         on [_DIRENT_HAVE_D_TYPE].
27549         * io/ftw.c (ftw_dir): Likewise.
27550
27551         * io/xmknod.c (__xmknod): Don't check PATH for being null.
27552
27553         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27554
27555         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27556         Use the BSD numbers rather than the arbitrary ones we had.
27557         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27558         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27559         (SIGXCPU, SIGXFSZ): New macros.
27560         (_NSIG): Now 32.
27561
27562         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27563         initializer on [_LIBC_REENTRANT].
27564
27565         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27566         definitions inside [_POSIX_MAPPED_FILES].
27567
27568         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27569
27570         * dirent/opendir.c: Include <fcntl.h>.
27571
27572         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27573         (__libc_getspecific): Likewise.
27574         (__libc_key_create): Likewise.
27575
27576         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27577         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27578         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27579         (tmpfile64): Define as alias.
27580         * sysdeps/wordsize-64/tmpfile.c: File removed.
27581         * sysdeps/wordsize-64/tmpfile64.c: File removed.
27582         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27583         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27584
27585         * stdio-common/vfscanf.c: Include <stdbool.h>.
27586         * nss/makedb.c: Likewise.
27587         * stdio-common/_i18n_number.h: Likewise.
27588         * argp/argp-help.c: Likewise.
27589         * posix/wordexp.c: Likewise.
27590         * sysdeps/posix/spawni.c: Likewise.
27591         * nss/nss_files/files-initgroups.c: Likewise.
27592         * stdio-common/reg-modifier.c: Include <stdlib.h>.
27593         * nss/nss_files/files-initgroups.c: Likewise.
27594         * nss/nss_db/db-netgrp.c: Likewise.
27595         * nss/nss_db/db-initgroups.c: Likewise.
27596         * io/fchmodat.c: Include <sys/stat.h>.
27597
27598         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27599         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27600
27601         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27602         [HAVE_MMAP].
27603
27604         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27605         Add multiple inclusion protection.
27606
27607 2012-07-27  David S. Miller  <davem@davemloft.net>
27608
27609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27610
27611 2012-07-27  Gary Benson  <gbenson@redhat.com>
27612
27613         [BZ #14298]
27614         * elf/rtld.c: Include <stap-probe.h>.
27615         (dl_main): Added static probes "init_start" and "init_complete".
27616         * elf/dl-load.c: Include <stap-probe.h>.
27617         (lose): Take new parameter "nsid".
27618         Added static probe "map_failed".
27619         (_dl_map_object_from_fd): Pass namespace id to lose.
27620         Added static probe "map_start".
27621         (open_verify): Pass namespace id to lose.
27622         * elf/dl-open.c: Include <stap-probe.h>.
27623         (dl_open_worker) Added static probes "map_complete", "reloc_start"
27624         and "reloc_complete".
27625         * elf/dl-close.c: Include <stap-probe.h>.
27626         (_dl_close_worker): Added static probes "unmap_start" and
27627         "unmap_complete".
27628         * elf/rtld-debugger-interface.txt: New file documenting the above.
27629
27630 2012-07-26  Roland McGrath  <roland@hack.frob.com>
27631
27632         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27633         rather than a string variable.
27634         * sunrpc/rpc_main.c (h_output): Likewise.
27635         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27636
27637 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
27638
27639         * inet/check_native.c: New file.
27640
27641 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
27642
27643         [BZ #13629]
27644         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27645         if larger part has absolute value 1.0.
27646         * math/s_clog10.c (__clog10): Likewise.
27647         * math/s_clog10f.c (__clog10f): Likewise.
27648         * math/s_clog10l.c (__clog10l): Likewise.
27649         * math/s_clogf.c (__clogf): Likewise.
27650         * math/s_clogl.c (__clogl): Likewise.
27651         * math/libm-test.inc (clog_test): Add more tests.
27652         (clog10_test): Likewise.
27653         * sysdeps/i386/fpu/libm-test-ulps: Update.
27654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27655
27656         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27657         (pltexit): Likewise.
27658         (La_regs): Likewise.
27659         (La_retval): Likewise.
27660         (int_retval): Likewise.
27661         Update #error for removed macros to refer only to definitions in
27662         tst-audit.h.
27663         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27664         macro.
27665         (pltexit): Likewise.
27666         (La_regs): Likewise.
27667         (La_retval): Likewise.
27668         (int_retval): Likewise.
27669         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27670         macro.
27671         (pltexit): Likewise.
27672         (La_regs): Likewise.
27673         (La_retval): Likewise.
27674         (int_retval): Likewise.
27675         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27676         macro.
27677         (pltexit): Likewise.
27678         (La_regs): Likewise.
27679         (La_retval): Likewise.
27680         (int_retval): Likewise.
27681         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27682         macro.
27683         (pltexit): Likewise.
27684         (La_regs): Likewise.
27685         (La_retval): Likewise.
27686         (int_retval): Likewise.
27687         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27688         macro.
27689         (pltexit): Likewise.
27690         (La_regs): Likewise.
27691         (La_retval): Likewise.
27692         (int_retval): Likewise.
27693         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27694         macro.
27695         (pltexit): Likewise.
27696         (La_regs): Likewise.
27697         (La_retval): Likewise.
27698         (int_retval): Likewise.
27699         * sysdeps/generic/tst-audit.h: Update comment to refer only to
27700         macro definitions in tst-audit.h.
27701         * sysdeps/i386/tst-audit.h: New file.
27702         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27703         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27704         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27705         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27706         * sysdeps/sh/tst-audit.h: Likewise.
27707         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27708         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27709         * sysdeps/x86_64/tst-audit.h: Likewise.
27710
27711 2012-07-26  Andreas Jaeger  <aj@suse.de>
27712
27713         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27714         ptrace.
27715
27716         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27717         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27718         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27719         PTRACE_O_MASK.
27720         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27721         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27722         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27723
27724         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27725         value.
27726
27727         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27728         _sigsys.
27729         (si_call_addr, si_syscall, si_arch): Define new macro.
27730         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27731         _sigsys.
27732         (si_call_addr, si_syscall, si_arch): Define new marcro.
27733         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27734         _sigsys.
27735         (si_call_addr, si_syscall, si_arch): Define new macro.
27736         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27737         _sigsys.
27738         (si_call_addr, si_syscall, si_arch): Define new macro.
27739
27740 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
27741
27742         [BZ #13717]
27743         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27744         Change to 2.4.21 where previously 2.4.1.
27745         * sysdeps/unix/sysv/linux/configure: Regenerated.
27746         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27747         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27748         Linux kernel version.
27749         (__ASSUME_STD_AUXV): Remove.
27750         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27751         kernel version.
27752         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27753         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27754         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27755         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27756         (__ASSUME_NETLINK_SUPPORT): Likewise.
27757         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27758         (__no_netlink_support): Remove conditional definition.
27759         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27760         Remove.
27761         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27762         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27763         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27764         (if_nameindex_ioctl): Remove.
27765         (if_nameindex_netlink): Do not handle __no_netlink_support.
27766         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27767         code.
27768         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27769         Remove conditional code.
27770         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27771         code.
27772         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27773         unconditional.
27774         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27775         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27776         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27777         Remove.
27778         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27779         [!__ASSUME_STD_AUXV]: Remove conditional code.
27780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27781         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27782         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27784         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27785         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27786         code.
27787         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27789         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27790         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27791         conditional code.
27792         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27794         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27795         code.
27796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27797         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27798         conditional code.
27799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27800         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27801         code unconditional.
27802         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27803         conditional code.
27804         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27805         unconditional.
27806         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27807         conditional code.
27808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27809         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27810         unconditional.
27811         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27812         conditional code.
27813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27814         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27815         code unconditional.
27816         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27817         conditional code.
27818         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27819         unconditional.
27820         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27821         conditional code.
27822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27823         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27824         code unconditional.
27825         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27826         conditional code.
27827         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27828         unconditional.
27829         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27830         conditional code.
27831
27832 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
27833
27834         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27835         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27836         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27837         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27838         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27839         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27840         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27841         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27842         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27843         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27844         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27845         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27846         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27847         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27848         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27849         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27850         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27851         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27852         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27853         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27854         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27855         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27856         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27857
27858 2012-07-25  Florian Weimer  <fweimer@redhat.com>
27859
27860         * Versions.def: Add GLIBC_2.17.
27861         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27862         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27863         Introduce __libc_secure_getenv.
27864         * stdlib/Versions (2.17): Add secure_getenv
27865         (GLIBC_PRIVATE): Add __libc_secure_getenv.
27866         * stdlib/secure-getenv.c: Rename __secure_getenv to
27867         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
27868         symbol __secure_getenv for GLIBC_2.0.
27869         * stdlib/tst-secure-getenv.c: New.
27870         * stdlib/Makefile (tests): Add testcase.
27871         * manual/startup.texi (Environment Access): Document
27872         secure_getenv.
27873         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27874         __libc_secure_getenv.
27875         * inet/ruserpass.c (ruserpass): Likewise.
27876         * malloc/mtrace.c (mtrace): Likewise.
27877         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27878         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27879         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27880         * sysdeps/posix/tempname.c: Likewise.  Evaluate
27881         HAVE_SECURE_GETENV.
27882         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27883         __secure_getenv to __libc_secure_getenv.
27884         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27886         Likewise.
27887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27888         Likewise.
27889         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27890         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27891         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27892         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27893         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27894         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27895         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27896
27897 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
27898
27899         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27900         (struct La_i86_retval): Likewise.
27901         (struct La_x86_64_regs): Likewise.
27902         (struct La_x86_64_retval): Likewise.
27903         (struct La_x32_regs): Likewise.
27904         (struct La_x32_retval): Likewise.
27905         (struct La_ppc32_regs): Likewise.
27906         (struct La_ppc32_retval): Likewise.
27907         (struct La_ppc64_regs): Likewise.
27908         (struct La_ppc64_retval): Likewise.
27909         (struct La_sh_regs): Likewise.
27910         (struct La_sh_retval): Likewise.
27911         (struct La_s390_32_regs): Likewise.
27912         (struct La_s390_32_retval): Likewise.
27913         (struct La_s390_64_regs): Likewise.
27914         (struct La_s390_64_retval): Likewise.
27915         (struct La_sparc32_regs): Likewise.
27916         (struct La_sparc32_retval): Likewise.
27917         (struct La_sparc64_regs): Likewise.
27918         (struct La_sparc64_retval): Likewise.
27919         (struct audit_ifaces): Remove architecture-specific pltenter and
27920         pltexit members.
27921         * sysdeps/i386/ldsodefs.h: New file.
27922         * sysdeps/powerpc/ldsodefs.h: Likewise.
27923         * sysdeps/s390/ldsodefs.h: Likewise.
27924         * sysdeps/sh/ldsodefs.h: Likewise.
27925         * sysdeps/sparc/ldsodefs.h: Likewise.
27926         * sysdeps/x86_64/ldsodefs.h: Likewise.
27927
27928 2012-07-25  Marek Polacek  <polacek@redhat.com>
27929
27930         [BZ #6808]
27931         * math/libm-test.inc (yn_test): Add another test.
27932         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27933         to ERANGE when the result is +-Inf.
27934         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27935         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27936         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27937         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27938
27939 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
27940
27941         * conform/data/time.h-data (NULL): Use macro-constant.  Require
27942         equal to 0.
27943         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
27944         clock_t.
27945         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
27946
27947 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
27948
27949         * configure.in <sysdeps resolving>: Correct printing
27950         Implies_before.
27951         * configure: Regenerate.
27952
27953 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
27954
27955         * math/w_ilogb.c: Include <limits.h>.
27956         * math/w_ilogbl.c: Likewise.
27957
27958 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
27959
27960         * manual/lang.texi (__va_copy): Document primarily as ISO C99
27961         va_copy.  Document allowing for unavailable va_copy only as
27962         pre-C99 compatibility.
27963         * manual/string.texi (Copying and Concatenation): Use va_copy
27964         instead of __va_copy in concat example.
27965
27966 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
27967
27968         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27969         (__sendto): Use create_address_port.  Initialize APORT and deallocate
27970         it if not null.
27971
27972         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27973         with O_NOLINK passed to __file_name_lookup.
27974
27975         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27976         with O_NOLINK passed to __file_name_lookup.
27977
27978         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27979         negative N or less than NGIDS.
27980
27981         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27982         type to string_t.  Set ERANGE as errno and return it if NAME is not big
27983         enough.  Use memcpy instead of strncpy.
27984
27985 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
27986
27987         * elf/Makefile (check-data): Remove.
27988         (localplt.data): New vpath directive.
27989         ($(objpfx)check-localplt.out): Use localplt.data from vpath
27990         instead of $(check-data).
27991         * scripts/data/localplt-generic.data: Move to ...
27992         * sysdeps/generic/localplt.data: ... here.
27993         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27994         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27995         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27997         ... here.
27998         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28000         ... here.
28001         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28003         ... here.
28004         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28006         ... here.
28007         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28009         ... here.
28010         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28011         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28012         ... here.
28013
28014 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28015
28016         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28017         PPC32 and PPC64 files.
28018         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28019         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28020
28021 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28022
28023         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28024         __makecontext_ret to ...
28025         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28026         ... here and call exit if uc_link is NULL.  New file.
28027         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28028         __makecontext_ret.S.
28029         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28030         __makecontext_ret to ...
28031         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28032         ... here and call exit if uc_link is NULL.  New file.
28033         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28034         __makecontext_ret.S.
28035
28036 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28037
28038         * elf/elf.h (R_390_IRELATIVE): New definition.
28039         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28040         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
28041         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28042         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28043         (elf_machine_lazy_rel): Likewise.
28044         * sysdeps/s390/dl-irel.h: New file.
28045         * sysdeps/s390/s390-64/memcpy.S: New asm code.
28046         * sysdeps/s390/s390-64/memset.S: New asm code.
28047         * sysdeps/s390/s390-64/memcmp.S: New asm code.
28048         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28049         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28050         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28051         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28052         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28053         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28054         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28055         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28056         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28057         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28058         * sysdeps/s390/s390-32/memcpy.S: New asm code.
28059         * sysdeps/s390/s390-32/memset.S: New asm code.
28060         * sysdeps/s390/s390-32/memcmp.S: New asm code.
28061
28062 2012-07-17  Marek Polacek  <polacek@redhat.com>
28063
28064         [BZ #14349]
28065         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28066         * sysdeps/s390/s390-64/configure.in: Likewise.
28067         * sysdeps/sparc/configure.in: Likewise.
28068         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28069         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28070         * sysdeps/i386/configure.in: Likewise.
28071         * sysdeps/x86_64/configure.in: Likewise.
28072         * sysdeps/sh/configure.in: Likewise.
28073         * sysdeps/s390/s390-32/configure: Regenerated.
28074         * sysdeps/s390/s390-64/configure: Likewise.
28075         * sysdeps/x86_64/configure: Likewise.
28076         * sysdeps/sh/configure: Likewise.
28077         * sysdeps/powerpc/powerpc64/configure: Likewise.
28078         * sysdeps/powerpc/powerpc32/configure: Likewise.
28079         * sysdeps/sparc/configure: Likwise.
28080         * sysdeps/i386/configure: Likewise.
28081
28082         * elf/dl-open.c: Comment fixes.
28083
28084 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
28085
28086         * Makefile [CXX] (check-data): Remove.
28087         [CXX] (c++-types.data): New vpath directive.
28088         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28089         vpath.  Do not allow for C++ type data being missing.
28090         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28091         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28092         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28093         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28094         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28095         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28096         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28098         ... here.
28099         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28101         ... here.
28102         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28104         ... here.
28105         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28107         ... here.
28108         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28109         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28110         ... here.
28111         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28112         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28113         ... here.
28114         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28115         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28116         ... here.
28117         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28118         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28119
28120         * elf/tls-macros.h (TLS_LE): Move architecture-specific
28121         definitions to architecture-specific files.
28122         (TLS_IE): Likewise.
28123         (TLS_LD): Likewise.
28124         (TLS_GD): Likewise.
28125         * sysdeps/i386/tls-macros.h: New file.
28126         * sysdeps/powerpc/tls-macros.h: Likewise.
28127         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28128         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28129         * sysdeps/sh/tls-macros.h: Likewise.
28130         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28131         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28132         * sysdeps/x86_64/tls-macros.h: Likewise.
28133
28134 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
28135
28136         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28137         zero value for regular exit case.
28138
28139         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28140         (__start_context): Preserve zero value for regular exit case.
28141
28142 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
28143             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28144
28145         * manual/setjmp.texi (setcontext): Clarify normal process
28146         termination when uc_link is the null pointer.
28147         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28148         exit call.
28149
28150 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
28151
28152         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28153         preprocessor.  Test for each exception mask separately.
28154
28155 2012-07-16  Andreas Jaeger  <aj@suse.de>
28156
28157         * po/ru.po: Update from translation team.
28158
28159 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
28160
28161         * conform/data/string.h-data (NULL): Use macro-constant.  Require
28162         equal to 0.
28163         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28164         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28165         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28166         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28167         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28168
28169 2012-07-13  Andreas Jaeger  <aj@suse.de>
28170
28171         * po/fr.po: Update from translation team.
28172
28173 2012-07-12  Marek Polacek  <polacek@redhat.com>
28174
28175         [BZ #14173]
28176         * math/libm-test.inc (yn_test): Add test for BZ #14173.
28177         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28178         loop condition.
28179
28180 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
28181
28182         [BZ #13717]
28183         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28184         Change to 2.4.1 where previously 2.4.0.
28185         * sysdeps/unix/sysv/linux/configure: Regenerated.
28186         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28187         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28188         version.
28189         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28190         (__ASSUME_AT_CLKTCK): Remove.
28191         (__ASSUME_AT_PAGESIZE): Likewise.
28192         (__ASSUME_AT_XID): Likewise.
28193         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28194         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28195         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28196         unconditionally.
28197         (HAVE_AUX_PAGESIZE): Likewise.
28198         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28199         [__ASSUME_AT_CLKTCK]: Make code unconditional.
28200         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28201
28202 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
28203
28204         [BZ #14307]
28205         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28206         the temporary buffer used to invoke __gethostbyname2_r,
28207         __gethostbyaddr_r and gethostbyname4_r to make room for struct
28208         host_data / struct gaih_addrtuple.
28209         * resolv/nss_dns/dns-host.c (global scope): Move definition of
28210         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28211         header file nss/nsswitch.h.
28212         * nss/nsswitch.h (global scope): Add definition of implementation
28213         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28214         resolv/nss_dns/dns-host.c).
28215
28216 2012-07-11  Andreas Jaeger  <aj@suse.de>
28217
28218         * po/fr.po: Update from translation team.
28219
28220         * po/sv.po: Update from translation team
28221         * po/fr.po: Another update from translation team.
28222
28223 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28224
28225         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28226         for subnormals or multiply small sinh result by itself.
28227         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28229
28230 2012-07-11  David S. Miller  <davem@davemloft.net>
28231
28232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28233
28234 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
28235
28236         [BZ #14347]
28237         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28238         (INTERNAL_MARK): Shift it here.
28239
28240 2012-07-10  Marek Polacek  <polacek@redhat.com>
28241
28242         [BZ #14151]
28243         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
28244         libc_cv_asm_global_directive with .globl.
28245         * configure: Regenerated.
28246         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28247         with .globl.
28248         * sysdeps/i386/configure: Regenerated.
28249         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28250         with .globl.
28251         * sysdeps/x86_64/configure: Regenerated.
28252         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28253         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28254         * elf/tst-unique2mod2.c: Likewise.
28255         * elf/tst-unique2mod1.c: Likewise.
28256         * elf/tst-unique1mod2.c: Likewise.
28257         * elf/tst-unique1mod1.c: Likewise.
28258         * sysdeps/s390/s390-32/sysdep.h: Likewise.
28259         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28260         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28261         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28262         * sysdeps/mach/sysdep.h: Likewise.
28263         * sysdeps/i386/sysdep.h: Likewise.
28264         * sysdeps/i386/i386-mcount.S: Likewise.
28265         * sysdeps/x86_64/_mcount.S: Likewise.
28266         * sysdeps/x86_64/sysdep.h: Likewise.
28267         * sysdeps/sh/_mcount.S: Likewise.
28268         * sysdeps/sh/sysdep.h: Likewise.
28269         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28270         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28271         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28272         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28273         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28274         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28275         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28276         * locale/localeinfo.h: Likewise.
28277         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28278         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28279
28280 2012-07-09  Roland McGrath  <roland@hack.frob.com>
28281
28282         [BZ #14336]
28283         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28284         system".
28285         * manual/message.texi (The Uniforum approach): Likewise.
28286         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28287         (glibc iconv Implementation): Likewise.
28288
28289 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
28290
28291         [BZ #14337]
28292         * math/s_clog.c (__clog): Avoid scaling a value down where that
28293         could result in underflow.
28294         * math/s_clog10.c (__clog10): Likewise.
28295         * math/s_clog10f.c (__clog10f): Likewise.
28296         * math/s_clog10l.c (__clog10l): Likewise.
28297         * math/s_clogf.c (__clogf): Likewise.
28298         * math/s_clogl.c (__clogl): Likewise.
28299         * math/libm-test.inc (clog_test): Add more tests.
28300         (clog10_test): Likewise.
28301         * sysdeps/i386/fpu/libm-test-ulps: Update.
28302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28303
28304 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
28305
28306         [BZ #14283]
28307         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28308         by 7 not 8 to examine high bit of fractional part.
28309
28310         [BZ #14042]
28311         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28312         for call to __mcount_internal.
28313         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28314         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28315         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28316
28317 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
28318
28319         [BZ #14154]
28320         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28321         approximation for values within 0x1p-13f of an odd multiple of
28322         pi/4.
28323         * math/libm-test.inc (tan_test): Do not allow spurious underflow
28324         exception.  Add more tests.
28325         * sysdeps/i386/fpu/libm-test-ulps: Update.
28326
28327         [BZ #6778]
28328         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28329         inputs and return -1 for them.  Do not check for +Inf in case not
28330         reachable for +Inf.
28331         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28332         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28333         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28334         and return -1 for them.  Do not check for +Inf in case not
28335         reachable for +Inf.
28336         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28337         define.
28338         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28339         and return -1 for them.  Do not check for +Inf in case not
28340         reachable for +Inf.
28341         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
28342         spurious underflow.
28343         * sysdeps/i386/fpu/libm-test-ulps: Update.
28344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28345
28346 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
28347
28348         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28349
28350 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
28351
28352         [BZ #14157]
28353         [BZ #14331]
28354         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28355         could result in spurious underflow.  Scale down values above
28356         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28357         * math/s_csqrtf.c (__csqrtf): Likewise.
28358         * math/s_csqrtl.c (__csqrtl): Likewise.
28359         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
28360         spurious underflow.
28361         * sysdeps/i386/fpu/libm-test-ulps: Update.
28362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28363
28364 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
28365
28366         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28367         xopen-msg.sed.
28368         * catgets/xopen-msg.awk: New file.
28369         * catgets/xopen-msg.sed: Removed.
28370
28371         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28372         po2text.sed.
28373         * intl/po2test.awk: New file.
28374         * intl/po2test.sed: Removed.
28375
28376 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
28377
28378         [BZ #14328]
28379         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28380         or multiply small sinh result by itself.
28381         * math/s_ctanf.c (__ctanf): Likewise.
28382         * math/s_ctanh.c (__ctanh): Likewise.
28383         * math/s_ctanhf.c (__ctanhf): Likewise.
28384         * math/s_ctanhl.c (__ctanhl): Likewise.
28385         * math/s_ctanl.c (__ctanl): Likewise.
28386         * math/libm-test.inc (ctan_test_tonearest): New function.
28387         (ctan_test_towardzero): Likewise.
28388         (ctan_test_downward): Likewise.
28389         (ctan_test_upward): Likewise.
28390         (ctanh_test_tonearest): Likewise.
28391         (ctanh_test_towardzero): Likewise.
28392         (ctanh_test_downward): Likewise.
28393         (ctanh_test_upward): Likewise.
28394         (main): Call these new functions.
28395         * sysdeps/i386/fpu/libm-test-ulps: Update.
28396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28397
28398 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
28399
28400         * .gitignore: Delete /ports entry.
28401
28402 2012-07-03  Andreas Jaeger  <aj@suse.de>
28403
28404         * po/bg.po: Update from translation team.
28405         * po/cs.po: Likewise.
28406         * po/de.po: Likewise.
28407         * po/hr.po: Likewise.
28408         * po/nl.pl: Likewise.
28409         * po/pl.po: Likewise.
28410         * po/vi.po: Likewise.
28411
28412 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
28413
28414         * Makeconfig [!+link] (+link-before-libc): New variable.
28415         [!+link] (+link-after-libc): Likewise.
28416         [!+link] (+link-tests): Likewise.
28417         [!+link] (+link): Define in terms of $(+link-before-libc) and
28418         $(+link-after-libc).
28419         [!+link-static] (+link-static-before-libc): New variable.
28420         [!+link-static] (+link-static-after-libc): Likewise.
28421         [!+link-static] (+link-static-tests): Likewise.
28422         [!+link-static] (+link-static): Define in terms of
28423         $(+link-static-before-libc) and $(+link-static-after-libc).
28424         [build-shared] (link-libc-before-gnulib): New variable.
28425         [build-shared] (link-libc-tests): Likewise.
28426         [build-shared] (link-libc): Define in terms of
28427         $(link-libc-before-gnulib).
28428         [!build-shared] (link-libc-tests): New variable.
28429         (link-libc-static-tests): New variable.
28430         [!gnulib] (gnulib-arch): New variable.
28431         [!gnulib] (gnulib-tests): Likewise.
28432         [!gnulib] (static-gnulib-arch): Likewise.
28433         [!gnulib] (static-gnulib-tests): Likewise.
28434         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
28435         Define with "=" instead of ":=".
28436         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
28437         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
28438         * Rules (binaries-all-notests): New variable.
28439         (binaries-all-tests): Likewise.
28440         (binaries-static-notests): Likewise.
28441         (binaries-static-tests): Likewise.
28442         (binaries-all): Define using $(binaries-all-notests) and
28443         $(binaries-all-tests).
28444         (binaries-static): Define using $(binaries-static-notests) and
28445         $(binaries-static-tests).
28446         (binaries-shared-tests): New variable.
28447         (binaries-shared-notests): Likewise.
28448         (binaries-shared): Remove variable.
28449         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28450         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28451         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28452         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28453         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28454         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28455         * elf/Makefile (sln-modules): New variable.
28456         (extra-objs): Add $(sln-modules:=.o).
28457         (ldconfig-modules): Add static-stubs.
28458         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28459         * elf/static-stubs.c: New file.
28460
28461         [BZ #14283]
28462         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28463         by 7 not 8 to examine high bit of fractional part.  Use volatile
28464         variables when splitting into final array of floats if
28465         __FLT_EVAL_METHOD__ != 0.
28466         * math/libm-test.inc (cos_test): Add another test.
28467         (sin_test): Likewise.
28468         * sysdeps/i386/fpu/libm-test-ulps: Update.
28469
28470         [BZ #14273]
28471         * math/libm-test.inc (cosh_test): Add more tests.
28472
28473         * version.h (RELEASE): Set to "development".
28474         (VERSION): Set to "2.16.90".
28475
28476 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
28477
28478         * NEWS: Update copyright. Remove last-updated date.
28479         Mention math library bug fixes and timezone data changes.
28480         * README: Mention GNU/Hurd, x32, and HPPA support status.
28481
28482 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
28483
28484         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28485
28486 2012-06-27  Andreas Jaeger  <aj@suse.de>
28487
28488         * manual/contrib.texi (Contributors): Add Samuel Thibault.
28489
28490 2012-06-25  Andreas Jaeger  <aj@suse.de>
28491
28492         * sysdeps/s390/fpu/libm-test-ulps: Update.
28493
28494 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
28495             Thomas Schwinge  <thomas@codesourcery.com>
28496
28497         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28498         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28499         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28500         fanotify_mark.
28501
28502 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
28503
28504         * sysdeps/mach/start.c: Remove file.
28505         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28506         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28507         * sysdeps/sh/init-first.c: Likewise.
28508
28509         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28510         registers for frame unwinding purposes, add CFI directives.
28511         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28512         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28513         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28514         Likewise.
28515
28516         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28517         __fortify_fail returning.
28518         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28519
28520         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28521         sysdeps/sh/____longjmp_chk.S.
28522         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28523         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28524         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28525         (gen-as-const-headers): Append sigaltstack-offsets.sym.
28526
28527         * sysdeps/sh/abort-instr.h: New file.
28528         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28529         process in case exit returns.
28530
28531         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28532         initialize the GOT register before use.
28533
28534         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28535         calculation of ARGC > 4.
28536
28537         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28538         meaningful names to some local labels.
28539
28540 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28541             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28542
28543         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28544         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28545         (__arch_compare_and_exchange_val_16_acq): Likewise.
28546         (__arch_compare_and_exchange_val_32_acq): Likewise.
28547         (atomic_exchange_and_add): Fix gUSA sequence.
28548         (atomic_add): Likewise.
28549         (atomic_add_negative): Likewise.
28550         (atomic_add_zero): Likewise.
28551         (atomic_bit_test_set): Likewise.
28552
28553 2012-06-22  Andreas Schwab  <schwab@redhat.com>
28554
28555         [BZ #13579]
28556         * include/link.h (struct link_map): Add l_free_initfini.
28557         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28558         l_initfini.
28559         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28560         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28561         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28562         set.
28563
28564 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
28565
28566         * configure.in: Use AC_LANG_SOURCE.
28567         * configure: Regenerate.
28568
28569 2012-06-22  Roland McGrath  <roland@hack.frob.com>
28570
28571         * configure.in (libc_cv_localstatedir): New substituted variable.
28572         * configure: Regenerated.
28573         * config.make.in (localstatedir): New variable, substituted from
28574         libc_cv_localstatedir.
28575         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28576         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28577         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28578         * sysdeps/gnu/configure: Regenerated.
28579
28580 2012-06-21  Jeff Law  <law@redhat.com>
28581
28582         [BZ #14277]
28583         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28584         free.  Simplify list management for _LIBC case.
28585
28586 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
28587
28588         [BZ #14273]
28589         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28590         Clear sign bit of 64-bit integer value before comparing against
28591         overflow value.
28592
28593         * sysdeps/mach/configure: Regenerated.
28594
28595 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
28596
28597         [BZ #14278]
28598         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28599
28600 2012-06-21  Jeff Law  <law@redhat.com>
28601
28602         [BZ #13882]
28603         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
28604         uint16_t for elements in the "seen" array to avoid char overflows.
28605         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28606         * elf/dl-open.c (dl_open_worker): Likewise.
28607
28608 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
28609
28610         * scripts/list-sources.sh: Scan PORTS for translations.
28611         * po/libc.pot: Regenerated.
28612
28613 2012-06-21  Andreas Jaeger  <aj@suse.de>
28614
28615         [BZ #12194]
28616         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28617         warning.
28618         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28619         * bits/byteswap-16.h (__bswap_16): Likewise.
28620         * bits/byteswap.h (__bswap_constant_16): Likewise.
28621
28622 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
28623
28624         [BZ #14117]
28625         * sysdeps/i386/fpu_control.h: Removed.
28626         * sysdeps/x86_64/fpu_control.h: Moved to ...
28627         * sysdeps/x86/fpu_control.h: Here.
28628
28629         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28630         (_FPU_SETCW): Likewise.
28631
28632 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
28633
28634         [BZ #14117]
28635         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28636         * sysdeps/x86/fpu/bits/mathinline.h: This.
28637         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28638
28639         [BZ #14050]
28640         [BZ #14117]
28641         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28642         functions if __x86_64__ is defined.
28643
28644 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
28645
28646         * string/endian.h: Add !__ASSEMBLER__ condition for including
28647         conversion interfaces.
28648
28649 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
28650
28651         [BZ #14241]
28652         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28653         of ABS(x) in calculating zero to negative powers other than odd
28654         integers.
28655         * math/libm-test.inc (pow_test): Add more tests.
28656
28657 2012-06-15  Andreas Jaeger  <aj@suse.de>
28658
28659         * manual/contrib.texi (Contributors): Update entry of Liubov
28660         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28661         Machado Filho.
28662
28663 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
28664
28665         * string/string.h: Add __wur to GNU version of strerror_r.
28666
28667 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
28668
28669         [BZ #14229]
28670         * string/Makefile (tests): Add tst-strtok_r.
28671         * string/tst-strtok_r.c: New file.
28672         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28673         RAX_LP/RDX_LP on SAVE_PTR.
28674
28675 2012-06-14  Roland McGrath  <roland@hack.frob.com>
28676
28677         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28678
28679 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
28680
28681         * libm_test.inc (csqrt_test): Allow more spurious underflow
28682         exceptions.
28683         (j0_test): Likewise.
28684         (j1_test): Likewise.
28685         (y0_test): Likewise.
28686         (y1_test): Likewise.
28687
28688 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
28689
28690         * po/Makefile (libc.pot): Use UTF-8 charset.
28691
28692 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
28693
28694         [BZ #14210]
28695         Suppress sign-conversion warning from FD_SET.
28696         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28697         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28698         not unsigned long int.
28699         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28700
28701 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
28702
28703         [BZ #14050]
28704         [BZ #14117]
28705         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28706         __extern_always_inline instead of __extern_inline.
28707         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28708         (__signbit): Likewise.
28709         (__signbitl): Support C++ namespace.
28710         (lrintf): New inline function.
28711         (lrint): Likewise.
28712         (llrintf): Likewise.
28713         (llrint): Likewise.
28714         (fmaxf): Likewise.
28715         (fmax): Likewise.
28716         (fminf): Likewise.
28717         (fmin): Likewise.
28718         (rint): Likewise.
28719         (rintf): Likewise.
28720         (ceil): Likewise.
28721         (ceilf): Likewise.
28722         (floor): Likewise.
28723         (floorf): Likewise.
28724         (nearbyint): Likewise.
28725         (nearbyintf): Likewise.
28726
28727 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
28728
28729         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28730         non-default versions.
28731
28732 2012-06-11  Roland McGrath  <roland@hack.frob.com>
28733
28734         [BZ #14218]
28735         * manual/argp.texi (Argp): Reword argp_parse description slightly.
28736
28737 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
28738
28739         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28740         (FE_UPWARD, FE_DOWNWARD): Don't define.
28741         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28742         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28743
28744         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28745         reading it.
28746         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28747         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28748
28749 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28750
28751         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28752         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28753         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28754         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28755
28756 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
28757
28758         [BZ #14117]
28759         * sysdeps/i386/fpu/bits/fenv.h: Removed.
28760         * sysdeps/i386/fpu/Implies: New file.
28761         * sysdeps/x86_64/fpu/Implies: Likewise.
28762         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28763         * sysdeps/x86/fpu/bits/fenv.h: This.
28764
28765         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28766         __SSE_MATH__.
28767
28768 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28769
28770         [BZ #14134]
28771         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28772         character 0xffff that matches the last element of the
28773         conversion table.
28774
28775 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28776
28777         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28778         fmodl commit.
28779
28780 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28781
28782         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28783         values higher than 25.6283.
28784
28785 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28786
28787         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28788         subnormal exponent extraction and add some __builtin_expect.
28789         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28790         Fix for subnormal mantissa calculation.
28791
28792 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
28793
28794         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28795         cpu2 is -1 and errno is not ENOSYS.
28796
28797 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
28798
28799         [BZ #14117]
28800         * sysdeps/i386/i486/bits/string.h: Renamed to ...
28801         * sysdeps/x86/bits/string.h: This.
28802         * sysdeps/x86_64/bits/string.h: Removed.
28803
28804         * sysdeps/i386/i486/bits/string.h: Define inline functions only
28805         if not compiling for x86-64, but compiling for >= i486.
28806
28807         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28808         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28809
28810         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28811         New macro from Linux kernel 3.4.0.
28812         (FP_XSTATE_MAGIC2): Likewise.
28813         (FP_XSTATE_MAGIC2_SIZE): Likewise.
28814         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28815         (struct _fpx_sw_bytes): New struct.
28816         (struct _xsave_hdr): Likewise.
28817         (struct _ymmh_state): Likewise.
28818         (struct _xstate): Likewise.
28819
28820         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28821         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28822         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28823         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28824         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28825         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28826
28827         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28828         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28829         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28830         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28831         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28832         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28833
28834 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28835
28836         [BZ #13743]
28837         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28838         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28839         (sysdep_headers): Include sys/platform/ppc.h.
28840         * sysdeps/powerpc/test-gettimebase.c: Test for
28841         __ppc_get_timebase() to catch future ISA opcode/insn changes.
28842         * manual/Makefile (appendices): Include platform.texi.
28843         * manual/contrib.texi (Contributors): Update @node pointers.
28844         * manual/maint.texi (Maintenance): Likewise.
28845         (Platform): New node.
28846         * manual/platform.texi: New file.  Document the new features.
28847
28848 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28849             Jakub Jelinek  <jakub@redhat.com>
28850
28851         [BZ #14188]
28852         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28853         where __builtin_expect is unavailable.
28854
28855 2012-06-03  David S. Miller  <davem@davemloft.net>
28856
28857         * stdlib/longlong.h: Updated from GCC.
28858
28859 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
28860
28861         [BZ #14042]
28862         * sysdeps/powerpc/powerpc32/mcount.c: New file.
28863         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28864         __mcount_internal.
28865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28866         (GLIBC_2.16): Likewise.
28867
28868 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28869
28870         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28871
28872 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
28873
28874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28875         (default-abi): New variable.
28876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28877         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28878         variable.
28879         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28880         Likewise.
28881         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28882         Likewise.
28883         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28884         Likewise.
28885
28886         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28887         definition.  Document in comment.
28888
28889 2012-06-01  David S. Miller  <davem@davemloft.net>
28890
28891         * stdlib/longlong.h: Updated from GCC.
28892
28893 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28894
28895         [BZ #14117]
28896         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28897         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28898         sys/debugreg.h sys/io.h here.
28899         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28900         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28901         sys/io.h.
28902         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28903         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28904         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28905         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28906         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28907         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28908
28909         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28910         Define only if __x86_64__ is defined.
28911
28912 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
28913
28914         [BZ #14048]
28915         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28916         Use int64_t for variable i.
28917         * math/libm-test.inc (fmod_test): Add more tests.
28918
28919         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28920         z computation is not scheduled after fetestexcept.
28921         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28922         Use math_force_eval instead of asm to ensure calculation scheduled
28923         before exception test.
28924         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28925         Ensure a1 + u.d computation is not scheduled after fetestexcept.
28926
28927 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
28928
28929         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28930         computation is not scheduled after fetestexcept.
28931
28932 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28933
28934         [BZ #14117]
28935         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28936         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28937
28938 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28939
28940         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28941         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28942
28943 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
28944
28945         [BZ #14117]
28946         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28947         <bits/wordsize.h>.
28948         (__WCHAR_MIN): Support __WORDSIZE == 64.
28949         (__WCHAR_MAX): Likewise.
28950
28951         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28952         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28953
28954         [BZ #14183]
28955         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28956         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28957
28958         [BZ #14117]
28959         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28960         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28961
28962         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28963         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28964
28965         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28966         Defined to 1 if __x86_64__ isn't defined.
28967         (_STAT_VER_LINUX_OLD): New.
28968         (st_atime): Remove duplicate.
28969         (st_mtime): Likewise.
28970         (st_ctime): Likewise.
28971
28972 2012-05-31  David S. Miller  <davem@davemloft.net>
28973
28974         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28975         entries.
28976
28977 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
28978
28979         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28980         gen-libm-test.pl.
28981
28982         [BZ #14132]
28983         * elf/dl-reloc.c: Include <_itoa.h>.
28984         (_dl_reloc_bad_type): Remove use of INTUSE.
28985         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28986         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28987         * stdio-common/psiginfo.c (psiginfo): Likewise.
28988         * stdio-common/psignal.c (psignal): Likewise.
28989         * string/strsignal.c (strsignal): Likewise.
28990         * include/signal.h (_sys_siglist): Declare hidden proto.
28991         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
28992         INTVARDEF with libc_hidden_data_def.
28993         * stdio-common/itoa-udigits.c: Likewise.
28994         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28995         (_itoa_lower_digits_internal): Remove declaration.
28996         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28997         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28998         (_sys_sigabbrev_internal): Remove aliases.
28999         (_sys_siglist): Define hidden alias.
29000
29001 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
29002
29003         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29004         bits/sysctl.h.
29005
29006 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
29007
29008         [BZ #14117]
29009         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29010         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29011
29012         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29013         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29014         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29015         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29016         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29017         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29018
29019         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29020         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29021         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29022
29023         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29024         with __addr.
29025         (insw): Likewise.
29026         (insl): Likewise.
29027         (outsb): Likewise.
29028         (outsw): Likewise.
29029         (outsl): Likewise.
29030
29031         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29032         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29033         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29034
29035         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29036         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29037         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29038         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29039         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29040         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29041
29042         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29043         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29044
29045         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29046         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29047
29048         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29049         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29050         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29051
29052         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29053         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29054         to ...
29055         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29056
29057         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29058         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29059         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29060
29061         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29062         for x86-64.
29063         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29064
29065 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
29066
29067         * math/math.h (M_El): Use two more decimal places.
29068         (M_LOG2El): Likewise.
29069         (M_LOG10El): Likewise.
29070         (M_LN2l): Likewise.
29071         (M_LN10l): Likewise.
29072         (M_PIl): Likewise.
29073         (M_PI_2l): Likewise.
29074         (M_PI_4l): Likewise.
29075         (M_1_PIl): Likewise.
29076         (M_2_PIl): Likewise.
29077         (M_2_SQRTPIl): Likewise.
29078         (M_SQRT2l): Likewise.
29079         (M_SQRT1_2l): Likewise.
29080
29081 2012-05-31  David S. Miller  <davem@davemloft.net>
29082
29083         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29084         values between float registers.
29085         * sysdeps/sparc/sparc64/memset.S: Likewise.
29086         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29087
29088 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
29089
29090         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29091         -D_FORTIFY_SOURCE=1.
29092         (CPPFLAGS-tst-longjmp_chk.c): Define.
29093         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29094         (CPPFLAGS-tst-longjmp_chk2.c): Define.
29095         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29096         CFLAGS-tst-wchar-h.c.
29097
29098 2012-05-31  Marek Polacek  <polacek@redhat.com>
29099
29100         [BZ #14132]
29101         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29102         __endmntent_internal): Remove declaration.
29103         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29104         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29105         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29106
29107 2012-05-30  David S. Miller  <davem@davemloft.net>
29108
29109         * sysdeps/sparc/sparc32/soft-fp/q_util.c
29110         (___Q_simulate_exceptions): Use real FP ops rather than writing
29111         into the %fsr.
29112         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29113         Likewise.
29114
29115 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29116
29117         [BZ #14117]
29118         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29119         * sysdeps/x86/bits/xtitypes.h: This.
29120
29121         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29122         * sysdeps/x86/bits/wordsize.h: This.
29123
29124         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29125         * sysdeps/x86/bits/huge_vall.h: This.
29126
29127         * sysdeps/i386/bits/select.h: Removed.
29128         * sysdeps/x86_64/bits/select.h: Renamed to ...
29129         * sysdeps/x86/bits/select.h: This.
29130
29131         * sysdeps/i386/bits/setjmp.h: Removed.
29132         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29133         * sysdeps/x86/bits/setjmp.h: This.
29134
29135         * sysdeps/i386/bits/mathdef.h: Removed.
29136         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29137         * sysdeps/x86/bits/mathdef.h: This.
29138
29139 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
29140
29141         [BZ #14132]
29142         * include/sys/socket.h (__connect_internal)
29143         (__libc_sa_len_internal): Remove declaration.
29144         (__connect, __libc_sa_len): Declare hidden_proto.
29145         (SA_LEN): Remove use of INTUSE.
29146         * socket/connect.c: Add libc_hidden_def.
29147         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29148         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29149         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29150         alias.
29151         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29152         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29153         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29154         of adding _internal alias.
29155
29156 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29157
29158         [BZ #14117]
29159         * sysdeps/i386/bits/link.h: Removed.
29160         * sysdeps/i386/bits/linkmap.h: Likewise.
29161         * sysdeps/x86_64/bits/link.h: Renamed to ...
29162         * sysdeps/x86/bits/link.h: This.
29163         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29164         * sysdeps/x86/bits/linkmap.h: This.
29165
29166         * sysdeps/i386/bits/endian.h: Removed.
29167         * sysdeps/x86_64/bits/endian.h: Renamed to ...
29168         * sysdeps/x86/bits/endian.h: This.
29169
29170         * sysdeps/i386/bits/byteswap.h: Removed.
29171         * sysdeps/i386/bits/byteswap-16.h: Likewise.
29172         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29173         * sysdeps/x86/bits/byteswap.h: This.
29174         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29175         * sysdeps/x86/bits/byteswap-16.h: This.
29176         * sysdeps/i386/Implies: Add x86.
29177         * sysdeps/x86_64/Implies: Likewise.
29178
29179 2012-05-30  David S. Miller  <davem@davemloft.net>
29180
29181         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29182         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29183         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29184         (FP_TRAPPING_EXCEPTIONS): Define.
29185         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29186         (FP_TRAPPING_EXCEPTIONS): Define.
29187         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29188         subnormals only when inexact has been signalled or underflow
29189         exceptions are enabled.
29190         (_FP_PACK_CANONICAL): Likewise.
29191
29192 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29193
29194         [BZ #14183]
29195         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29196         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29197
29198 2012-05-30  Richard Henderson  <rth@twiddle.net>
29199
29200         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29201         with #ifndef NOT_IN_libc.
29202
29203         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
29204         marked to avoid plt entry.
29205
29206 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
29207
29208         [BZ #14112]
29209         * Makeconfig (default-abi): New macro.
29210         (abi-includes): Likewise.
29211         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
29212         $(abi-$(default-abi)-lib-soname) for soname if defined.
29213         ($(common-objpfx)gnu/lib-names.stmp): Generate from
29214         abi-variants.
29215         * Makefile (installed-stubs): Likewise.
29216         * include/stubs-biarch.h: Removed.
29217         * scripts/lib-names.awk: Only handle one library at a time.
29218         * scripts/soversions.awk: Remove WORDSIZE support.
29219         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29220         entries.
29221         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29222         Removed.
29223         (syscall-list-default-condition): Likewise.
29224         (syscall-list-default-condition): Likewise.
29225         (syscall-list-includes): Likewise.
29226         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29227         syscall-list-* with abi-*.  Handle undefined abi-variants.
29228         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29229         * sysdeps/unix/sysv/linux/i386/Implies: New file.
29230         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29231         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29232         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29233         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29234         Removed.
29235         (syscall-list-32-options): Likewise.
29236         (syscall-list-32-condition): Likewise.
29237         (syscall-list-64-options): Likewise.
29238         (syscall-list-64-condition): Likewise.
29239         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29240         macro.
29241         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29242         Renamed to ...
29243         (abi-*): This.
29244         (abi-64-ld-soname): New macro.
29245         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29246         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29247         Renamed to ...
29248         (abi-*): This.
29249         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29250         * sysdeps/x86_64/x32/shlib-versions: Likewise.
29251
29252 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
29253
29254         * sysdeps/unix/sysv/linux/kernel-features.h
29255         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29256         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29257         include <kernel-features.h>.
29258         [!__NR_ftruncate64]: Remove conditional code.
29259         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29260         [__NR_ftruncate64]: Make code unconditional.
29261         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29262         * sysdeps/unix/sysv/linux/truncate64.c: Do not
29263         include <kernel-features.h>.
29264         [!__NR_ftruncate64]: Remove conditional code.
29265         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29266         [__NR_ftruncate64]: Make code unconditional.
29267         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29269         include <kernel-features.h>.
29270         [!__NR_ftruncate64]: Remove conditional code.
29271         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29272         [__NR_ftruncate64]: Make code unconditional.
29273         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29275         include <kernel-features.h>.
29276         [!__NR_ftruncate64]: Remove conditional code.
29277         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29278         [__NR_ftruncate64]: Make code unconditional.
29279         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29280
29281         * configure.in (libc_cv_fpie): Weaken to a compile test using
29282         LIBC_TRY_CC_OPTION.
29283         * configure: Regenerated.
29284
29285 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29286
29287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29291         Refreshed.
29292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29298         Refreshed.
29299
29300 2012-05-27  David S. Miller  <davem@davemloft.net>
29301
29302         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29303         (___Q_zero): New.
29304         (__Q_simulate_exceptions): Return void.  Change to simulate
29305         exceptions by writing into the %fsr.
29306         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29307         (__Qp_handle_exceptions): Likewise.
29308         (numbers): Delete.
29309         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29310         __Qp_handle_exceptions.
29311         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29312         __Qp_handle_exceptions.
29313         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29314         as unused and give dummy FP_RND_NEAREST initializer.
29315         (FP_INHIBIT_RESULTS): Define.
29316         (___Q_simulate_exceptions): Update declaration.
29317         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29318         formatting.
29319         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29320         as unused and give dummy FP_RND_NEAREST initializer.
29321         (__Qp_handle_exceptions): Update declaration.
29322         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29323         formatting.
29324
29325 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
29326
29327         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29328         the temporary FPU control word.
29329         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29330         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29331         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29332         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29333         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29334         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29335         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29336         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29337         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29338         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29339         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29340
29341 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29342
29343         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29344         fields.
29345
29346 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
29347
29348         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29349         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29350         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29351         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29352         Likewise.
29353         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29354         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29355         Likewise.
29356
29357 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
29358
29359         * po/h.po: Update from translation team.
29360
29361 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
29362
29363         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29364
29365         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29366         handling of denormals.
29367         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29368         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29369         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29370         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29371         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29372         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29373         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29374         Likewise.
29375
29376 2012-05-26  Marek Polacek  <polacek@redhat.com>
29377
29378         [BZ #14152]
29379         * math/libm-test.inc (fma_test): Don't always expect underflow
29380         exception.
29381
29382 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29383
29384         [BZ #12416]
29385         * elf/tst-execstack.c: Include stackinfo.h.
29386         (do_test): Adjust test case to ensure that pthread_getattr_np
29387         behaviour remains the same after marking stack executable.
29388
29389 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
29390
29391         * sysdeps/unix/sysv/linux/kernel-features.h
29392         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29393         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29394         kernel-features.h.
29395         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29396         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29397         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29398         kernel-features.h.
29399         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29400         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29401
29402 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
29403
29404         * configure.in: Define the default includes to being none.
29405         * configure: Regenerated.
29406
29407 2012-05-25  Roland McGrath  <roland@hack.frob.com>
29408
29409         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29410         * sysdeps/x86_64/setjmp.S: Likewise.
29411         * sysdeps/i386/bsd-setjmp.S: Likewise.
29412         * sysdeps/i386/bsd-_setjmp.S: Likewise.
29413         * sysdeps/i386/setjmp.S: Likewise.
29414         * sysdeps/i386/__longjmp.S: Likewise.
29415         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29416         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29417
29418         * include/stap-probe.h: New file.
29419         * configure.in: Handle --enable-systemtap.
29420         * configure: Regenerated.
29421         * config.h.in (USE_STAP_PROBE): New #undef.
29422         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29423         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29424         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29425
29426 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
29427
29428         [BZ #13717]
29429         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29430         to 2.4.0 where earlier.
29431         * sysdeps/unix/sysv/linux/configure: Regenerated.
29432         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29433         <kernel-features.h>.
29434         [__ASSUME_32BITUIDS]: Make code unconditional.
29435         [!__ASSUME_32BITUIDS]: Remove conditional code.
29436         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29437         <kernel-features.h>.
29438         [__ASSUME_32BITUIDS]: Make code unconditional.
29439         [!__ASSUME_32BITUIDS]: Remove conditional code.
29440         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29441         [__ASSUME_32BITUIDS]: Make code unconditional.
29442         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29443         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29444         <kernel-features.h>.
29445         [__ASSUME_32BITUIDS]: Make code unconditional.
29446         [!__ASSUME_32BITUIDS]: Remove conditional code.
29447         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29448         <kernel-features.h>.
29449         [__ASSUME_32BITUIDS]: Make code unconditional.
29450         [!__ASSUME_32BITUIDS]: Remove conditional code.
29451         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29452         <kernel-features.h>.
29453         [__ASSUME_32BITUIDS]: Make code unconditional.
29454         [!__ASSUME_32BITUIDS]: Remove conditional code.
29455         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29456         <kernel-features.h>.
29457         [__ASSUME_32BITUIDS]: Make code unconditional.
29458         [!__ASSUME_32BITUIDS]: Remove conditional code.
29459         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29460         <kernel-features.h>.
29461         [__ASSUME_32BITUIDS]: Make code unconditional.
29462         [!__ASSUME_32BITUIDS]: Remove conditional code.
29463         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29464         <kernel-features.h>.
29465         [__ASSUME_32BITUIDS]: Make code unconditional.
29466         [!__ASSUME_32BITUIDS]: Remove conditional code.
29467         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29468         <kernel-features.h>.
29469         [__ASSUME_32BITUIDS]: Make code unconditional.
29470         [!__ASSUME_32BITUIDS]: Remove conditional code.
29471         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29472         <kernel-features.h>.
29473         [__ASSUME_32BITUIDS]: Make code unconditional.
29474         [!__ASSUME_32BITUIDS]: Remove conditional code.
29475         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29476         <kernel-features.h>.
29477         [__ASSUME_32BITUIDS]: Make code unconditional.
29478         [!__ASSUME_32BITUIDS]: Remove conditional code.
29479         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29480         <kernel-features.h>.
29481         [__ASSUME_32BITUIDS]: Make code unconditional.
29482         [!__ASSUME_32BITUIDS]: Remove conditional code.
29483         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29484         <kernel-features.h>.
29485         [__NR_setresgid] (__setresgid): Do not declare.
29486         [__ASSUME_32BITUIDS]: Make code unconditional.
29487         [!__ASSUME_32BITUIDS]: Remove conditional code.
29488         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29489         <kernel-features.h>.
29490         [__NR_setresuid] (__setresuid): Do not declare.
29491         [__ASSUME_32BITUIDS]: Make code unconditional.
29492         [!__ASSUME_32BITUIDS]: Remove conditional code.
29493         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29494         <kernel-features.h>.
29495         [__ASSUME_32BITUIDS]: Make code unconditional.
29496         [!__ASSUME_32BITUIDS]: Remove conditional code.
29497         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29498         <kernel-features.h>.
29499         [__ASSUME_32BITUIDS]: Make code unconditional.
29500         [!__ASSUME_32BITUIDS]: Remove conditional code.
29501         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29502         <kernel-features.h>.
29503         [__ASSUME_32BITUIDS]: Make code unconditional.
29504         [!__ASSUME_32BITUIDS]: Remove conditional code.
29505         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29506         <kernel-features.h>.
29507         [__ASSUME_32BITUIDS]: Make code unconditional.
29508         [!__ASSUME_32BITUIDS]: Remove conditional code.
29509         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29510         <kernel-features.h>.
29511         [__ASSUME_32BITUIDS]: Make code unconditional.
29512         [!__ASSUME_32BITUIDS]: Remove conditional code.
29513         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29514         <kernel-features.h>.
29515         [__ASSUME_32BITUIDS]: Make code unconditional.
29516         [!__ASSUME_32BITUIDS]: Remove conditional code.
29517         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29518         <kernel-features.h>.
29519         [__ASSUME_32BITUIDS]: Make code unconditional.
29520         [!__ASSUME_32BITUIDS]: Remove conditional code.
29521         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29522         <kernel-features.h>.
29523         [__ASSUME_32BITUIDS]: Make code unconditional.
29524         [!__ASSUME_32BITUIDS]: Remove conditional code.
29525         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29526         <kernel-features.h>.
29527         [__ASSUME_32BITUIDS]: Make code unconditional.
29528         [!__ASSUME_32BITUIDS]: Remove conditional code.
29529         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29530         <kernel-features.h>.
29531         [__ASSUME_32BITUIDS]: Make code unconditional.
29532         [!__ASSUME_32BITUIDS]: Remove conditional code.
29533         * sysdeps/unix/sysv/linux/kernel-features.h
29534         (__ASSUME_SETRESUID_SYSCALL): Remove.
29535         (__ASSUME_SETRESGID_SYSCALL): Likewise.
29536         (__ASSUME_32BITUIDS): Likewise.
29537         (__ASSUME_LDT_WORKS): Likewise.
29538         (__ASSUME_O_DIRECTORY): Likewise.
29539         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29540         architecture but not kernel version.
29541         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29542         (__ASSUME_MMAP2_SYSCALL): Likewise.
29543         (__ASSUME_STAT64_SYSCALL): Likewise.
29544         (__ASSUME_IPC64): Likewise.
29545         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29546         <kernel-features.h>.
29547         [__ASSUME_32BITUIDS]: Make code unconditional.
29548         [!__ASSUME_32BITUIDS]: Remove conditional code.
29549         * sysdeps/unix/sysv/linux/opendir.c: Do not include
29550         <kernel-features.h>.
29551         [__ASSUME_O_DIRECTORY]: Make code unconditional.
29552         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29553         132096]: Remove conditional code.
29554         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29555         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29556         <kernel-features.h>.
29557         [__ASSUME_32BITUIDS]: Make code unconditional.
29558         [!__ASSUME_32BITUIDS]: Remove conditional code.
29559         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29560         <kernel-features.h>.
29561         [__ASSUME_32BITUIDS]: Make code unconditional.
29562         [!__ASSUME_32BITUIDS]: Remove conditional code.
29563         * sysdeps/unix/sysv/linux/setegid.c: Do not include
29564         <kernel-features.h>.
29565         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29566         unconditional.
29567         (__setresgid): Do not declare.
29568         [__ASSUME_32BITUIDS]: Make code unconditional.
29569         [!__ASSUME_32BITUIDS]: Remove conditional code.
29570         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29571         <kernel-features.h>.
29572         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29573         unconditional.
29574         (__setresuid): Do not declare.
29575         [__ASSUME_32BITUIDS]: Make code unconditional.
29576         [!__ASSUME_32BITUIDS]: Remove conditional code.
29577         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29578         <kernel-features.h>.
29579         [__ASSUME_32BITUIDS]: Make code unconditional.
29580         [!__ASSUME_32BITUIDS]: Remove conditional code.
29581         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29582         <kernel-features.h>.
29583         [__ASSUME_32BITUIDS]: Make code unconditional.
29584         [!__ASSUME_32BITUIDS]: Remove conditional code.
29585
29586 2012-05-25  Richard Henderson  <rth@twiddle.net>
29587
29588         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29589         dl_hwcap to ifunc resolver.
29590         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29591         elf_ifunc_invoke.
29592         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29593         dl_hwcap to ifunc resolver.
29594         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29595
29596 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29597
29598         [BZ #14153]
29599         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29600         for |x| <= 2**-26, not 2**-57.
29601         * math/libm-test.inc (acos_test): Do not allow spurious underflow
29602         exception.
29603
29604 2012-05-24  Jeff Law  <law@redhat.com>
29605
29606         * stdio-common/Makefile (tests): Add bug25.
29607         * stdio-common/bug25.c: New test.
29608
29609 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
29610
29611         [BZ #13576]
29612         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29613         multiple of MALLOC_ALIGNMENT in size.
29614         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29615
29616 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29617
29618         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29619         Require >= 256.
29620         (FILENAME_MAX): Use macro-int-constant.
29621         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
29622         (_IOFBF): Use macro-int-constant.
29623         (_IOLBF): Likewise.
29624         (_IONBF): Likewise.
29625         (SEEK_CUR): Likewise.
29626         (SEEK_END): Likewise.
29627         (SEEK_SET): Likewise.
29628         (TMP_MAX): Likewise.
29629         (EOF): Use macro-int-constant.  Require < 0.
29630         (NULL): Use macro-constant.  Require == 0.
29631         (stdin): Require type to be FILE *.
29632         (stdout): Likewise.
29633         (stderr): Likewise.
29634         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29635         macro-int-constant.
29636         (EXIT_SUCCESS): Likewise.
29637         (NULL): Use macro-constant.  Require == 0.
29638         (RAND_MAX): Use macro-int-constant.
29639         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29640         [C99-based standards] (strtof): Require function.
29641         [C99-based standards] (strtold): Likewise.
29642         [C99-based standards] (strtoll): Likewise.
29643         [C99-based standards] (strtoull): Likewise.
29644         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29645         [ISO || ISO99 || ISO11] (limits.h): Likewise.
29646         [ISO || ISO99 || ISO11] (math.h): Likewise.
29647         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29648         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29649         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29650
29651 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
29652
29653         [BZ #14132]
29654         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29655         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29656         * intl/dgettext.c (DCGETTEXT): Likewise.
29657         * intl/gettext.c (DCGETTEXT): Likewise.
29658         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29659         * posix/regex_internal.h (gettext): Likewise.
29660         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29661         Remove declaration.
29662         * include/argz.h (__argz_count_internal)
29663         (__argz_stringify_internal): Remove declaration.
29664         (__argz_count, __argz_stringify): Declare hidden proto.
29665         * intl/dcgettext.c: Remove use of INTDEF.
29666         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29667         * string/argz-stringify.c: Likewise.
29668         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29669         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29670         Declare hidden proto.
29671         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29672         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29673         Declare hidden proto.
29674         * include/stdio.h (__asprintf_internal): Don't declare.
29675         (__asprintf): Don't define as macro.  Declare hidden proto.
29676         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29677         (__fsetlocking): Declare hidden proto.
29678         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29679         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29680         hidden proto.
29681         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29682         (_IO_setlinebuf): Remove use of INTUSE.
29683         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29684         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29685         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29686         Remove declaration.
29687         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29688         (_IO_do_flush): Remove use of INTUSE.
29689         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29690         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29691         (_IO_adjust_column, _IO_least_wmarker)
29692         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29693         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29694         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29695         (_IO_default_doallocate, _IO_wdefault_doallocate)
29696         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29697         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29698         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29699         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29700         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29701         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29702         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29703         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29704         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29705         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29706         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29707         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29708         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29709         proto.
29710         (_IO_flush_all_internal, _IO_adjust_column_internal)
29711         (_IO_default_uflow_internal, _IO_default_finish_internal)
29712         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29713         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29714         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29715         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29716         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29717         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29718         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29719         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29720         (_IO_file_close_internal, _IO_file_close_it_internal)
29721         (_IO_file_underflow_internal, _IO_file_overflow_internal)
29722         (_IO_file_init_internal, _IO_file_attach_internal)
29723         (_IO_file_fopen_internal, _IO_file_read_internal)
29724         (_IO_file_sync_internal, _IO_file_seek_internal)
29725         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29726         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29727         (_IO_str_underflow_internal, _IO_str_overflow_internal)
29728         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29729         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29730         (_IO_list_all_internal, _IO_link_in_internal)
29731         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29732         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29733         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29734         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29735         (_IO_do_write_internal, _IO_padn_internal)
29736         (_IO_getline_info_internal, _IO_getline_internal)
29737         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29738         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29739         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29740         (_IO_vfscanf_internal, _IO_vfprintf_internal)
29741         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29742         (_IO_init_internal, _IO_un_link_internal): Don't declare.
29743         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29744         with libc_hidden_ver, remove use of INTUSE.
29745         * libio/genops.c: Likewise.
29746         * libio/freopen.c: Likewise.
29747         * libio/freopen64.c: Likewise.
29748         * libio/iofclose.c: Likewise.
29749         * libio/iofdopen.c: Likewise.
29750         * libio/iofflush.c: Likewise.
29751         * libio/iofflush_u.c: Likewise.
29752         * libio/iofgets.c: Likewise.
29753         * libio/iofgets_u.c: Likewise.
29754         * libio/iofopen.c: Likewise.
29755         * libio/iofopncook.c: Likewise.
29756         * libio/iofread.c: Likewise.
29757         * libio/iofread_u.c: Likewise.
29758         * libio/ioftell.c: Likewise.
29759         * libio/iofwrite.c: Likewise.
29760         * libio/iogetline.c: Likewise.
29761         * libio/iogets.c: Likewise.
29762         * libio/iogetwline.c: Likewise.
29763         * libio/iopadn.c: Likewise.
29764         * libio/iopopen.c: Likewise.
29765         * libio/ioseekoff.c: Likewise.
29766         * libio/ioseekpos.c: Likewise.
29767         * libio/iosetbuffer.c: Likewise.
29768         * libio/iosetvbuf.c: Likewise.
29769         * libio/ioungetc.c: Likewise.
29770         * libio/ioungetwc.c: Likewise.
29771         * libio/iovdprintf.c: Likewise.
29772         * libio/iovsprintf.c: Likewise.
29773         * libio/iovsscanf.c: Likewise.
29774         * libio/memstream.c: Likewise.
29775         * libio/obprintf.c: Likewise.
29776         * libio/oldfileops.c: Likewise.
29777         * libio/oldiofclose.c: Likewise.
29778         * libio/oldiofdopen.c: Likewise.
29779         * libio/oldiofopen.c: Likewise.
29780         * libio/oldiopopen.c: Likewise.
29781         * libio/oldstdfiles.c: Likewise.
29782         * libio/putc.c: Likewise.
29783         * libio/setbuf.c: Likewise.
29784         * libio/setlinebuf.c: Likewise.
29785         * libio/stdfiles.c: Likewise.
29786         * libio/strops.c: Likewise.
29787         * libio/vasprintf.c: Likewise.
29788         * libio/vscanf.c: Likewise.
29789         * libio/vsnprintf.c: Likewise.
29790         * libio/vswprintf.c: Likewise.
29791         * libio/wfiledoalloc.c: Likewise.
29792         * libio/wfileops.c: Likewise.
29793         * libio/wgenops.c: Likewise.
29794         * libio/wmemstream.c: Likewise.
29795         * libio/wstrops.c: Likewise.
29796         * libio/__fpurge.c: Likewise.
29797         * libio/__fsetlocking.c: Likewise.
29798         * assert/assert.c: Likewise.
29799         * debug/fgets_chk.c: Likewise.
29800         * debug/fgets_u_chk.c: Likewise.
29801         * debug/fread_chk.c: Likewise.
29802         * debug/fread_u_chk.c: Likewise.
29803         * debug/gets_chk.c: Likewise.
29804         * debug/obprintf_chk.c: Likewise.
29805         * debug/vasprintf_chk.c: Likewise.
29806         * debug/vdprintf_chk.c: Likewise.
29807         * debug/vsnprintf_chk.c: Likewise.
29808         * debug/vsprintf_chk.c: Likewise.
29809         * malloc/mtrace.c: Likewise.
29810         * misc/error.c: Likewise.
29811         * misc/syslog.c: Likewise.
29812         * stdio-common/asprintf.c: Likewise.
29813         * stdio-common/fxprintf.c: Likewise.
29814         * stdio-common/getw.c: Likewise.
29815         * stdio-common/isoc99_fscanf.c: Likewise.
29816         * stdio-common/isoc99_scanf.c: Likewise.
29817         * stdio-common/isoc99_vfscanf.c: Likewise.
29818         * stdio-common/isoc99_vscanf.c: Likewise.
29819         * stdio-common/isoc99_vsscanf.c: Likewise.
29820         * stdio-common/printf-prs.c: Likewise.
29821         * stdio-common/printf_fp.c: Likewise.
29822         * stdio-common/printf_fphex.c: Likewise.
29823         * stdio-common/printf_size.c: Likewise.
29824         * stdio-common/putw.c: Likewise.
29825         * stdio-common/scanf.c: Likewise.
29826         * stdio-common/sprintf.c: Likewise.
29827         * stdio-common/tmpfile.c: Likewise.
29828         * stdio-common/vfprintf.c: Likewise.
29829         * stdio-common/vfscanf.c: Likewise.
29830         * stdlib/strfmon_l.c: Likewise.
29831         * sunrpc/openchild.c: Likewise.
29832         * sunrpc/xdr_stdio.c: Likewise.
29833         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29834         * sysdeps/mach/hurd/tmpfile.c: Likewise.
29835
29836 2012-05-24  Roland McGrath  <roland@hack.frob.com>
29837
29838         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29839
29840         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29841         in the third column, to generate for the shared library an IFUNC
29842         that uses _dl_vdso_vsym.
29843         * Makerules (COMPILE.c, compile-stdin.c): New variables.
29844         * Makeconfig (object-suffixes-noshared): New variable.
29845
29846         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29847         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29848         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29849         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29850
29851         [BZ #14132]
29852         * include/sys/time.h (__gettimeofday): Remove macro.
29853         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29854         * time/gettimeofday.c (__gettimeofday): Remove #undef.
29855         Remove INTDEF.
29856         (__gettimeofday): Add libc_hidden_def.
29857         (gettimeofday): Add libc_hidden_weak.
29858         * sysdeps/mach/gettimeofday.c: Likewise.
29859         * sysdeps/posix/gettimeofday.c: Likewise.
29860         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29861         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29862         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29863         (__gettimeofday_internal): Remove strong_alias.
29864         (__gettimeofday): Add libc_hidden_def.
29865         (gettimeofday): Add libc_hidden_weak.
29866         * sysdeps/unix/syscalls.list (gettimeofday):
29867         Remove __gettimeofday_internal alias.
29868
29869 2012-05-24  Daniel Jacobowitz  <drow@false.org>
29870             H.J. Lu  <hongjiu.lu@intel.com>
29871
29872         [BZ #12495]
29873         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29874         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29875         (largebin_index_32_big): New.
29876         (largebin_index): Use it for 16-byte alignment.
29877         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
29878         correction with front_misalign.
29879
29880 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
29881
29882         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29883         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29884         Likewise.
29885         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29886         Likewise.
29887         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29888         Likewise.
29889         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29890         Likewise.
29891         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29892         Likewise.
29893         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29894         Likewise.
29895         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29896         Likewise.
29897         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29898         Likewise.
29899         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29900         Likewise.
29901         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29902         Likewise.
29903         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29904         Likewise.
29905         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29906         Likewise.
29907
29908         * scripts/data/c++-types-x32-linux-gnu.data: New file.
29909         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29910
29911 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29912
29913         [BZ #10846]
29914         [BZ #14036]
29915         * math/libm-test.inc (exp_test): Add test from bug 14036.
29916         (pow_test): Add test from bug 10846.
29917
29918         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29919         and other flags.
29920         (special_function): Do not include flags in test name.
29921         (parse_args): Likewise.
29922         * sysdeps/i386/fpu/libm-test-ulps: Update.
29923         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29924         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29925         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29927
29928         * math/gen-libm-test.pl (%beautify): Add entries for underflow
29929         exceptions.
29930         * math/libm-test.inc ("Philosophy"): Update comment about
29931         exception testing.
29932         (UNDERFLOW_EXCEPTION): New macro.
29933         (UNDERFLOW_EXCEPTION_OK): Likewise.
29934         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29935         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29936         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29937         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29938         (INVALID_EXCEPTION_OK): Update value.
29939         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29940         (OVERFLOW_EXCEPTION_OK): Likewise.
29941         (IGNORE_ZERO_INF_SIGN): Likewise.
29942         (test_exceptions): Handle underflow exceptions.
29943         (acos_test): Update for underflow exception expectations.
29944         (cexp_test): Likewise.
29945         (clog_test): Likewise.
29946         (clog10_test): Likewise.
29947         (csqrt_test): Likewise.
29948         (ctan_test): Likewise.
29949         (ctanh_test): Likewise.
29950         (exp_test): Likewise.
29951         (exp10_test): Likewise.
29952         (exp2_test): Likewise.
29953         (expm1_test): Likewise.
29954         (fma_test): Likewise.
29955         (j0_test): Likewise.
29956         (jn_test): Likewise.
29957         (nexttoward_test): Likewise.
29958         (pow_test): Likewise.
29959         (scalbn_test): Likewise.
29960         (scalbln_test): Likewise.
29961         (tan_test): Likewise.
29962         (y1_test): Likewise.
29963         * sysdeps/i386/fpu/libm-test-ulps: Update.
29964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29965
29966 2012-05-23  David S. Miller  <davem@davemloft.net>
29967
29968         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29969         (__libc_sigaction): Remove unused local variables.
29970
29971 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
29972
29973         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29974
29975 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
29976
29977         mktime: avoid signed integer overflow
29978         * time/mktime.c (__mktime_internal): Do not mishandle the case
29979         where diff == INT_MIN.
29980
29981         mktime: simplify computation of average
29982         * time/mktime.c (ranged_convert): Use new time_t_avg function
29983         instead of rolling our own (probably-slower) code.
29984
29985         mktime: do not assume signed right shift propagates sign bit
29986         * time/mktime.c (isdst_differ): New static function.
29987         (__mktime_internal): No need to normalize tm_isdst now.
29988         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29989         tm_isdst values.
29990
29991         mktime: merge another wrapv change from gnulib
29992         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29993         from some compilers.
29994
29995         mktime: remove incorrect attempt at unusual arithmetics
29996         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29997         The code didn't really work on such machines anyway.
29998         (TYPE_MINIMUM): Assume two's complement.
29999         (twos_complement_arithmetic): Verify that long_int and time_t
30000         are two's complement (or unsigned, in the latter case).
30001
30002         mktime: check signed shifts on long_int and time_t, too
30003         * time/mktime.c (SHR): Check that shifts work as desired
30004         on the types long_int and time_t too, as SHR is used on
30005         such types.
30006
30007         mktime: do not assume 'long' is wide enough
30008         * time/mktime.c (verify): Move decl up.
30009         (long_int): New type.
30010         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30011         to remove assumption in the code that 'long' is wide enough to
30012         store year values.  This assumption is not true on x32 and on
30013         some non-glibc platforms.
30014
30015         mktime: merge wrapv change from gnulib
30016         * time/mktime.c (WRAPV): New macro.
30017         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30018         (guess_time_tm, __mktime_internal): Do not assume that signed
30019         integer overflow wraps around; modern compilers generate code
30020         where this assumption is no longer valid.
30021
30022 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
30023
30024         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30025         Replace "jmp L(pseudo_end)" with "ret".
30026         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30027         Likewise.
30028
30029 2012-05-23  Andreas Jaeger  <aj@suse.de>
30030
30031         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30032         * sysdeps/unix/sysv/linux/poll.c: Remove file.
30033
30034 2012-05-23  Andreas Jaeger  <aj@suse.de>
30035             Maximilian Attems  <max@stro.at>
30036
30037         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30038         New macros.
30039
30040 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
30041
30042         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30043         code so that pseudo_end is just ret and the stack pointer is
30044         correct also for static library in error case.
30045
30046 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
30047
30048         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30049         move to syscalls.list.
30050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30054
30055         * manual/install.texi (Running make install): Do not mention Linux
30056         kernel version for which pt_chown is not needed.
30057         (Linux): Do not mention problems with nscd with 2.0 kernels.
30058         * INSTALL: Regenerated.
30059
30060 2012-05-23  Andreas Jaeger  <aj@suse.de>
30061
30062         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30063         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30064         macro.
30065         * sysdeps/unix/sysv/linux/s390/bits/mman.h
30066         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30067         * sysdeps/unix/sysv/linux/sh/bits/mman.h
30068         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30069         * sysdeps/unix/sysv/linux/i386/bits/mman.h
30070         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30071         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30072         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30073         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30074         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30075         * sysdeps/unix/sysv/linux/bits/in.h
30076         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30077
30078 2012-05-22  Roland McGrath  <roland@hack.frob.com>
30079
30080         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30081         (PREPARE_VERSION): Just use assert instead, it will be elided
30082         under [NDEBUG] anyway.
30083
30084 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30085
30086         * sysdeps/unix/sysv/linux/Makefile: Include
30087         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
30088         (sysdep_routines): Remove sysctl.
30089         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30090         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30091         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30092         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30093         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30094
30095 2012-05-22  Andreas Jaeger  <aj@suse.de>
30096
30097         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30098         that pseudo_end is just ret and the stack pointer is correct also
30099         for static library in error case.
30100
30101 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
30102
30103         [BZ #14122]
30104         * nss/nsswitch.c (defconfig_entries): New variable.
30105         (__nss_database_lookup): Don't leak defconfig entries.
30106         (nss_parse_service_list): Don't leak on error paths.
30107         (free_database_entries): New function.
30108         (free_defconfig): New function.
30109         (free_mem): Move common code to free_database_entries.
30110
30111 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30112
30113         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30114         Add arch_prctl.
30115         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30116
30117         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30118         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30119         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30120         New macro.
30121         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30122         (INTERNAL_SYSCALL_TYPES): Likewise.
30123         (LOAD_ARGS_TYPES_[1-6]): Likewise.
30124         (LOAD_REGS_TYPES_[1-6]): Likewise.
30125         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30126         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30127
30128 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30129
30130         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30131         copysignl for GLIBC_2_0.
30132         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30133         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30134         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30135         logbl for GLIBC_2_0.
30136         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30137         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30138
30139 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30140
30141         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30142         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30143
30144         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30145         Use "neg %eax".
30146
30147         * time/mktime.c: Update copyright years.
30148
30149 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
30150
30151         mktime: merge comment-quoting-style change from gnulib
30152         * time/mktime.c: Quote 'like this' in comments.
30153         The GNU coding standards suggest that we no longer quote `like this',
30154         as "`" and "'" are typically rendered asymmetrically nowadays.
30155         The typical gnulib style is to quote 'like this' when quoting
30156         code, and "like this" when quoting English.
30157
30158         * time/mktime.c (compile-command): Add "-I.".
30159
30160         mktime: merge mktime-internal.h change from gnulib
30161         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30162
30163         mktime: merge time_r change from gnulib
30164         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30165
30166         mktime: merge DEBUG change from gnulib
30167         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30168         case system <time.h> has a #define.
30169
30170         mktime: merge <sys/types.h> change from gnulib
30171         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30172         since <time.t> is now guaranteed to define time_t.
30173
30174         mktime: merge HAVE_CONFIG_H change from gnulib
30175         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30176
30177 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30178
30179         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30180         Use "neg %eax".
30181
30182         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30183         __rlim_t cast.
30184         (struct rusage): Use anonymous union to pad each field to
30185         __syscall_slong_t.
30186
30187 2012-05-21  David S. Miller  <davem@davemloft.net>
30188
30189         * Makefules (o-iterator): Remove .s cases.
30190         (compile-command.s): Delete.
30191         (COMPILE.s): Delete.
30192         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30193
30194 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
30195
30196         * configure.in (libc_cv_predef_stack_protector): Only consider
30197         "foobar" and "__stack_chk_fail" lines in libc_undefs.
30198         * configure: Regenerated.
30199
30200 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
30201
30202         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30203         New macro.  Use R*LP on int and pointer.
30204         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
30205         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30206         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
30207         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30208
30209         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30210         [__WORDSIZE_TIME64_COMPAT32] instead of
30211         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30212         (struct utmp): Likewise.
30213         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30214         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30215         Renamed to ...
30216         (__WORDSIZE_TIME64_COMPAT32): This.
30217         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30218         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30219         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30220         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30221         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30222         (__WORDSIZE_TIME64_COMPAT32): New macro.
30223
30224 2012-05-21  Andreas Jaeger  <aj@suse.de>
30225
30226         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30227         only if [SHARED]. Add prototype for __wcschr_ia32.
30228
30229 2012-05-21  Roland McGrath  <roland@hack.frob.com>
30230
30231         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30232         of %rbp unmolested in the jmp_buf while mangling the low bits.
30233         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30234         unmolested high bits of %rbp while demangling the low bits.
30235         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30236
30237 2012-05-21  Andreas Jaeger  <aj@suse.de>
30238
30239         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30240         * sunrpc/svc_simple.c: Use it for registerrpc.
30241         * sunrpc/xcrypt.c: Use it for passwd2des.
30242
30243         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30244
30245 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
30246
30247         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30248         Don't define if [__SYSCALL_WORDSIZE != 32].
30249         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30250         New macro.
30251
30252 2012-05-21  Bruno Haible  <bruno@clisp.org>
30253             Andreas Jaeger  <aj@suse.de>
30254
30255         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30256         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30257         inptr and inend for must_buffer_ch.
30258         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30259         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30260         * stdio-common/Makefile (tests): Remove bug15.
30261         (bug15-ENV): Remove macro.
30262         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30263         anymore.
30264
30265 2012-05-19  Andreas Jaeger  <aj@suse.de>
30266             Roland McGrath  <roland@hack.frob.com>
30267
30268         * manual/contrib.texi: Completely rewritten. It contains now an
30269         alphabetical list of contributors and their contributions.
30270
30271 2012-05-21  Richard Henderson  <rth@twiddle.net>
30272
30273         * misc/getauxval.c (__getauxval): Use unsigned long int.
30274         * misc/sys/auxv.h: Include <sys/cdefs.h>.
30275         (getauxval): Use unsigned long int.
30276
30277 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
30278
30279         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30280
30281 2012-05-21  Roland McGrath  <roland@hack.frob.com>
30282
30283         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30284         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30285         __alignof__ (long double).
30286
30287 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30288
30289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30290
30291 2012-05-20  Richard Henderson  <rth@twiddle.net>
30292
30293         * misc/getauxval.c: New file.
30294         * misc/sys/auxv.h: New file.
30295         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30296         (routines): Add getauxval.
30297         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30298         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30299         * elf/dl-sysdep.c (_dl_auxv): Remove.
30300         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30301         * elf/dl-support.c (_dl_auxv): New variable.
30302         (_dl_aux_init): Initialize it.
30303         * manual/startup.texi (Auxiliary Vector): New node.
30304         * sysdeps/generic/bits/hwcap.h: New file.
30305         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30306         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
30307         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30308         * sysdeps/sparc/sysdep.h: ... here.  Include it.
30309         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30310         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
30311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30312         Update.
30313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30316         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30317         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30318         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30319         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30320         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30321
30322 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30323
30324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30325
30326 2012-05-19  David S. Miller  <davem@davemloft.net>
30327
30328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30329
30330 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
30331
30332         [BZ #14123]
30333         * math/s_ccosh.c: Include <float.h>
30334         (__ccosh): Avoid internal overflow calculating sinh and cosh
30335         values before multiplying by sin and cos values.
30336         * math/s_ccoshf.c: Likewise.
30337         * math/s_ccoshl.c: Likewise.
30338         * math/s_csin.c: Likewise.
30339         * math/s_csinf.c: Likewise.
30340         * math/s_csinl.c: Likewise.
30341         * math/s_csinh.c: Likewise.
30342         * math/s_csinhf.c: Likewise.
30343         * math/s_csinhl.c: Likewise.
30344         * math/libm-test.inc (ccos_test): Add more tests.
30345         (ccosh_test): Likewise.
30346         (csin_test): Likewise.
30347         (csinh_test): Likewise.
30348         * sysdeps/i386/fpu/libm-test-ulps: Update.
30349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30350
30351 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
30352
30353         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30354         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30355
30356         * sysdeps/x86_64/x32/_itoa.h: Add comment.
30357
30358 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
30359
30360         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30361         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30362         * sysdeps/powerpc/soft-fp/Versions: Likewise.
30363         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30364         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30365         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30366         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30367         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30368         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30369         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30370         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30371         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30372         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30373         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30374         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30375         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30376         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30377         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30378         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30379         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30380         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30381         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30382         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30383         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30384         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30385         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30386         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30387         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30388         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30389         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30390         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30391
30392 2012-05-18  Andreas Jaeger  <aj@suse.de>
30393
30394         * csu/.gitignore: Delete.
30395
30396 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
30397
30398         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30399         (timex): Use __syscall_slong_t.
30400
30401 2012-05-18  Andreas Jaeger  <aj@suse.de>
30402             Carlos O'Donell  <carlos_odonell@mentor.com>
30403
30404         * manual/install.texi (Configuring and compiling): Update
30405         description about files modified in the source directory.
30406         * INSTALL: Regenerated.
30407
30408 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
30409
30410         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30411         value.  Use "or" to set return value to -1.
30412         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30413         negate return value.
30414
30415 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30416
30417         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30418         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
30419         failure if the compiler has Graphite support disabled.
30420         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30421         Likewise.
30422         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30423         (CFLAGS-memmove.c): Likewise.
30424         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30425         Likewise.
30426
30427 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
30428
30429         * sysdeps/x86_64/x32/_itoa.h: New file.
30430
30431         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30432         getdents system call only if kernel and user dirents have the
30433         same d_ino and d_off.
30434
30435         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30436         LLONG_MAX != LONG_MAX.
30437         (_itoa_word): Use _ITOA_WORD_TYPE on value.
30438         (_fitoa_word): Likewise.
30439
30440         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30441         years.
30442         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30443         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30444         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30445
30446         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30447         include <bits/wordsize.h>.  Check __x86_64__ instead of
30448         __WORDSIZE.
30449         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30450         if __x86_64__ is defined.  Use anonymous union on fpstate.
30451
30452         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30453         anonymous union.
30454
30455 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
30456
30457         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30458         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30459         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30460         Refer to _rtld_local_ro instead of _rtld_global_ro.
30461         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30462         Likewise.
30463         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30464         Likewise.
30465         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30466         Likewise.
30467         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30468         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30469         of _rtld_global, and rtld_progname instead of _dl_argv[0].
30470
30471         * sysdeps/powerpc/powerpc32/dl-machine.c
30472         (__elf_machine_runtime_setup) [PROF]: Don't reference
30473         _dl_prof_resolve.
30474
30475 2012-05-18  Andreas Jaeger  <aj@suse.de>
30476
30477         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30478         function only available for GCCs before 3.4 since GCC 3.4
30479         introduced a builtin.
30480         (lrint): Likewise.
30481         (llrintf): Likewise.
30482         (llrint): Likewise.
30483         (fmaxf): Likewise.
30484         (fmax): Likewise.
30485         (fminf): Likewise.
30486         (fmin): Likewise.
30487         (rint): Likewise.
30488         (rintf): Likewise.
30489         (nearbyint): Likewise.
30490         (nearbyintf): Likewise.
30491         (ceil): Likewise.
30492         (ceilf): Likewise.
30493         (floor): Likewise.
30494         (floorf): Likewise.
30495
30496 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30497
30498         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30499         on both fields and cast pointer to __syscall_ulong_t.
30500
30501         * bits/types.h (__fsword_t): New type.
30502         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30503         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30504         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30505         (__FSWORD_T_TYPE): Likewise.
30506         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30507         (__FSWORD_T_TYPE): Likewise.
30508         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30509         (__FSWORD_T_TYPE): Likewise.
30510         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30511         (__FSWORD_T_TYPE): Likewise.
30512         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30513         __SWORD_TYPE with __fsword_t.
30514         (statfs64): Likewise.
30515
30516 2012-05-17  David S. Miller  <davem@davemloft.net>
30517
30518         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30519
30520 2012-05-17  Andreas Jaeger  <aj@suse.de>
30521
30522         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30523         warning.
30524
30525 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30526
30527         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30528
30529 2012-05-17  Andreas Jaeger  <aj@suse.de>
30530
30531         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30532         when it is used.
30533
30534 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
30535
30536         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30537
30538 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30539
30540         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30541         * sysdeps/x86_64/tst-mallocalign1.c: New file.
30542
30543 2012-05-17  Andreas Jaeger  <aj@suse.de>
30544             Carlos O'Donell  <carlos_odonell@mentor.com>
30545
30546         [BZ #14059]
30547         * sysdeps/x86_64/multiarch/init-arch.h
30548         (bit_YMM_Usable): Rename to...
30549         (bit_AVX_Usable): ... this.
30550         (bit_FMA4_Usable): New macro.
30551         (bit_XMM_state): New macro.
30552         (bit_YMM_state): New macro.
30553         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30554         [__ASSEMBLER__] (index_AVX_Usable): ... this.
30555         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30556         (CPUID_OSXSAVE): New macro.
30557         (CPUID_AVX): New macro.
30558         (CPUID_FMA4): New macro.
30559         (index_YMM_Usable): Rename to...
30560         (index_AVX_Usable): ... this.
30561         (HAS_AVX): Use HAS_ARCH_FEATURE.
30562         (HAS_FMA4): Likewise.
30563         (HAS_YMM_USABLE): Remove.
30564         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30565         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30566         are present.
30567         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30568         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30569         * sysdeps/x86_64/multiarch/Makefile: Likewise.
30570         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30571         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30572
30573 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
30574
30575         * math/libm-test.c: Support platforms without multiple rounding modes.
30576         * math/bug-nextafter.c: Support platforms without FP exceptions.
30577         * math/bug-nexttoward.c: Likewise.
30578         * math/test-fenv.c: Likewise.
30579         * math/test-misc.c: Likewise.
30580         * stdlib/bug-getcontext.c: Likewise.
30581
30582 2012-05-17  Andreas Jaeger  <aj@suse.de>
30583
30584         * manual/examples/search.c (critter_cmp): Change signature to
30585         avoid warnings.
30586         * manual/string.texi (Collation Functions): Likewise.
30587
30588 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30589
30590         * bits/types.h: Fold copyright years.
30591         * bits/typesizes.h: Likewise.
30592         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30593         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30594         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30595         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30596         * time/time.h: Likewise.
30597
30598 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
30599
30600         [BZ #208]
30601         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30602         in instead of returning them.  Return void.
30603         (__libc_mallinfo): Accumulate over all arenas.
30604         (__malloc_stats): Adjust for change in int_mallinfo interface.
30605
30606 2012-05-16  Roland McGrath  <roland@hack.frob.com>
30607
30608         [BZ #10375]
30609         * configure.in (NM): Add AC_CHECK_TOOL for it.
30610         (libc_extra_cflags): New substituted variable.
30611         Check for -fstack-protector being used implicitly.
30612         * configure: Regenerated.
30613         * config.make.in (config-extra-cflags): New variable,
30614         gets @libc_extra_cflags@.
30615         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30616
30617         [BZ #10375]
30618         * configure.in: Check for _FORTIFY_SOURCE being predefined.
30619         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30620         * configure: Regenerated.
30621         * config.make.in (CPPUNDEFS): New substituted variable.
30622         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30623         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30624         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30625
30626 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30627
30628         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30629         (mq_attr): Use __syscall_slong_t.
30630
30631 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30632
30633         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30634         Check __x86_64__ instead of __WORDSIZE.
30635         (_STAT_VER_LINUX): Likewise.
30636         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
30637         __syscall_ulong_t and __syscall_slong_t.
30638         (stat64): Likewise.
30639
30640 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30641
30642         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30643
30644 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30645
30646         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30647
30648 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30649
30650         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30651         __syscall_ulong_t.
30652
30653         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30654         include <bits/wordsize.h>.  Check __x86_64__ instead of
30655         __WORDSIZE.
30656         (greg_t): Use "__extension__ long long int" if __x86_64__ is
30657         defined.
30658         (mcontext_t): Replace "unsigned long" with "unsigned long long".
30659
30660         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30661         include <bits/wordsize.h>.  Check __x86_64__ instead of
30662         __WORDSIZE.
30663         (user_regs_struct): Use "__extension__ unsigned long long"
30664         instead of "unsigned long" if __x86_64__ is defined.
30665         (user): Likewise.  Pad after pointer field if __ILP32__ is
30666         defined.
30667
30668 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
30669
30670         * configure.in (makeinfo): Require version 4.5 or later.  Allow
30671         versions 5 to 9.
30672         * configure: Regenerated.
30673         * manual/install.texi (texinfo): Increase version requirement to
30674         4.5 or later.
30675         * INSTALL: Regenerated.
30676
30677         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30678
30679 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30680
30681         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30682
30683         * sysdeps/x86_64/x32/ffs.c: New file.
30684
30685         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30686         __syscall_ulong_t.
30687         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30688         defined.  Use __syscall_ulong_t.
30689         (shminfo): Use __syscall_ulong_t.
30690         (shm_info): Likewise.
30691
30692         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30693         __syscall_ulong_t.
30694
30695         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30696         <bits/wordsize.h>.
30697         (msgqnum_t): Use __syscall_ulong_t.
30698         (msglen_t): Likewise.
30699         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
30700         __syscall_ulong_t.
30701
30702         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30703         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30704
30705         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30706
30707         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30708         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30709
30710         * sysvipc/sys/msg.h (msgbuf): Replace long int with
30711         __syscall_slong_t.
30712
30713         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30714         include <bits/wordsize.h>.  Check __x86_64__ instead of
30715         __WORDSIZE.
30716
30717         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30718         "unsigned long long int" if __x86_64__ is defined.
30719         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30720
30721         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30722         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30723         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30724
30725         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30726         <stdint.h>.
30727         (GET_PC): Cast to uintptr_t first.
30728         (GET_FRAME): Likewise.
30729         (GET_STACK): Likewise.
30730
30731         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30732         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30733         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30734         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30735         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30736         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30737         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30738         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30739         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30740         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30741         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30742         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30743         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30744         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30745         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30746         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30747         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30748         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30749         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30750         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30751         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30752         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30753         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30754         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30755         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30756         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30757         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30758         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30759         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30760
30761 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
30762
30763         * Makerules (+depfiles): Also collect depfiles from .oS in
30764         $(extra-objs).
30765         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30766         .oS, $(libnldbl-routines)).
30767
30768         * Makerules (native-compile-mkdep-flags): Define.
30769         * sunrpc/Makefile (extra-objs): Add $(addprefix
30770         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30771         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30772         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
30773         calling $(make-target-directory).
30774
30775 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30776
30777         * bits/types.h (__snseconds_t): Removed.
30778         * time/time.h (struct timespec): Replace __snseconds_t with
30779         __syscall_slong_t.
30780         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30781         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30782         Likewise.
30783         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30784         (__SNSECONDS_T_TYPE): Likewise.
30785         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30786         (__SNSECONDS_T_TYPE): Likewise.
30787         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30788         (__SNSECONDS_T_TYPE): Likewise.
30789
30790 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30791
30792         * sysdeps/mach/hurd/bits/typesizes.h
30793         (__SYSCALL_SLONG_TYPE): New macro.
30794         (__SYSCALL_ULONG_TYPE): Likewise.
30795
30796 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30797
30798         * bits/types.h (__syscall_slong_t): New type.
30799         (__syscall_ulong_t): Likewise.
30800
30801         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30802         (__SYSCALL_ULONG_TYPE): Likewise.
30803         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30804         (__SYSCALL_SLONG_TYPE): Likewise.
30805         (__SYSCALL_ULONG_TYPE): Likewise.
30806         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30807         (__SYSCALL_SLONG_TYPE): Likewise.
30808         (__SYSCALL_ULONG_TYPE): Likewise.
30809         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30810         (__SYSCALL_SLONG_TYPE): Likewise.
30811         (__SYSCALL_ULONG_TYPE): Likewise.
30812
30813 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30814
30815         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30816         Add sigaltstack-offsets.sym.
30817         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30818         <sigaltstack-offsets.h>.
30819         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
30820         longjmp_msg pointer.
30821         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
30822         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30823         signal stack.
30824         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30825
30826 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
30827
30828         * elf/stackguard-macros.h: Remove file.
30829         * sysdeps/generic/stackguard-macros.h: New file.
30830         * sysdeps/i386/stackguard-macros.h: Likewise.
30831         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30832         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30833         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30834         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30835         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30836         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30837         * sysdeps/x86_64/stackguard-macros.h: Likewise.
30838         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30839         <elf/stackguard-macros.h>.
30840
30841         [BZ #14109]
30842         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30843         __aligned__ in attribute.
30844         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30845         (gregset_t): Likewise.
30846
30847 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30848
30849         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30850         * sysdeps/x86_64/64/Implies-after: Here.  New file.
30851         * sysdeps/x86_64/x32/Implies-after: New file.
30852
30853 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30854
30855         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30856         and access return value for _dl_profile_fixup.  Use R10_LP to
30857         load frame size.
30858
30859 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30860
30861         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30862
30863 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30864
30865         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30866         * sysdeps/x86_64/x32/sysdep.h: New file.
30867
30868 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30869
30870         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30871         * sysdeps/x86_64/setjmp.S: Likewise.
30872
30873 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30874
30875         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30876         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30877         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30878         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30879         remove unused global constant.
30880
30881 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
30882
30883         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30884         include of <not-cancel.h>.
30885
30886 2012-05-15  Roland McGrath  <roland@hack.frob.com>
30887
30888         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30889
30890 2012-05-15  Jeff Law  <law@redhat.com>
30891             Andreas Jaeger  <aj@suse.de>
30892
30893         [BZ #13594]
30894         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30895         out from...
30896         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30897         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30898         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30899         code changing __hst_map_handle.map.
30900
30901 2012-05-15  Roland McGrath  <roland@hack.frob.com>
30902
30903         * configure.in (sysnames): Look for Implies-before and Implies-after
30904         files.
30905         * configure: Regenerated.
30906
30907 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30908
30909         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30910         8-byte data alignment with LP_SIZE alignment.
30911
30912 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30913
30914         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30915         into R10_LP.
30916
30917 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30918
30919         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30920
30921 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30922
30923         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30924         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30925         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30926         Likewise.
30927         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30928
30929 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30930
30931         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30932         (stackinfo_sub_sp): Likewise.
30933
30934 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30935
30936         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30937         RAX_LP.
30938
30939 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30940
30941         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30942         into R*_LP.
30943
30944 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30945
30946         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30947         sizes into R*_LP.
30948
30949 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30950
30951         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30952
30953 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30954
30955         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30956         into R11_LP and load __x86_64_shared_cache_size_half into
30957         R8_LP.
30958
30959 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30960
30961         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30962         R8_LP.
30963
30964 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30965
30966         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30967         logb for POWER7.
30968         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30969         logbf for POWER7.
30970         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30971         logbl for POWER7.
30972         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30973         powerpc32/power7/fpu/s_logb.c via #include.
30974         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30975         powerpc32/power7/fpu/s_logbf.c via #include.
30976         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30977         powerpc32/power7/fpu/s_logbl.c via #include.
30978
30979 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
30980
30981         * README.libm: Remove file.
30982
30983 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30984
30985         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30986         count for x32.  Use R*_LP and omit operand-size suffix.
30987
30988 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30989
30990         * shlib-versions: Move x86_64-.*-linux.* entries to ...
30991         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
30992         * sysdeps/x86_64/x32/shlib-versions: New file.
30993
30994 2012-05-14  Roland McGrath  <roland@hack.frob.com>
30995
30996         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30997         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30998         Use _dl_fatal_printf instead.
30999
31000 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
31001
31002         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31003         set if not set by the user.  Do not allow for being unset.
31004         * sysdeps/unix/sysv/linux/configure: Regenerated.
31005
31006 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31007
31008         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31009         the `q' suffix from lea and replace .quad with ASM_ADDR.
31010
31011 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31012
31013         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31014         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
31015         instead of $17.
31016         (PTR_DEMANGLE): Likewise.
31017
31018 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31019
31020         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31021         (LP_OP): Likewise.
31022         (ASM_ADDR): Likewise.
31023         (RAX_LP): Likewise.
31024         (RBP_LP): Likewise.
31025         (RBX_LP): Likewise.
31026         (RCX_LP): Likewise.
31027         (RDI_LP): Likewise.
31028         (RSI_LP): Likewise.
31029         (RSP_LP): Likewise.
31030         (R8_LP): Likewise.
31031         (R9_LP): Likewise.
31032         (R10_LP): Likewise.
31033         (R10_LP): Likewise.
31034         (R11_LP): Likewise.
31035         (R12_LP): Likewise.
31036         (R13_LP): Likewise.
31037         (R14_LP): Likewise.
31038         (R15_LP): Likewise.
31039
31040 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31041
31042         * sysdeps/x86_64/x32/dl-machine.h: New file.
31043
31044 2012-05-14  Andreas Jaeger  <aj@suse.de>
31045
31046         * manual/Makefile (subdir): Remove export of subdir.
31047         (all): Remove target.
31048         (.PHONY): Remove all from list.
31049         (mkinstalldirs): Remove.
31050         (.PHONY): Remove installdirs from list.
31051         ($(inst_infodir)/libc.info): Use make-target-directory.
31052         (installdirs): Remove.
31053         (subdir_%): Remove.
31054         (glibc-targets): Remove.
31055         (lib): Remove.
31056         (stubs): Remove.
31057         ($(objpfx)stubs ../po/manual.pot): Remove.
31058         ($(objpfx)stamp%): Remove.
31059         (make-target-directory): Remove.
31060         (subdir_install): Remove.
31061         (routines): Remove.
31062         (aux): Remove.
31063         (sources): Remove.
31064         (objects): Remove.
31065         (headers): Remove.
31066
31067         [BZ #13750]
31068         * manual/.gitignore: Remove, it's not needed anymore.
31069         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31070         all files in it.
31071         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31072         directory.
31073         (texis): Renamed to $(objpfx)texis.
31074         (texis-path): New, contains path to generated files.
31075         (chapters.%): Use texis-path for complete path, add extra argument
31076         libc-texinfo.sh.
31077         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31078         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31079         (summary,texi, stamp-summary): Use complete path of
31080         files. Generate files in build dir.
31081         (dir-add.texi): Build in build dir.
31082         (libm-err.texi,stamp-libm-err): Likewise.
31083         (version.texi, stamp-version): Likewise.
31084         (.%c.texi): Likewise.
31085         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31086         (mostlyclean): Remove target.
31087         (realclean): Remove target.
31088         (generated): Add new variable with contents from mostlyclean and
31089         realclean, remove entries duplicated in common-mostlyclean, add
31090         stamp-libm-err and stamp-version.
31091         (generated-dirs): Add libc directory.
31092         ($(inst_infodir)/libc.info): Install files from build dir.
31093
31094         * manual/install.texi (Configuring and compiling): Adjust since
31095         the info files are not part of the tar ball anymore.
31096
31097 2012-05-14  Andreas Jaeger  <aj@suse.de>
31098
31099         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31100         variable.
31101
31102 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
31103
31104         [BZ #13717]
31105         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31106         to 2.2.0 where earlier.
31107         * sysdeps/unix/sysv/linux/configure: Regenerated.
31108         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31109         Remove conditional code.
31110         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31111         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31112         Remove conditional code.
31113         [!__NR_lchown]: Likewise.
31114         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31115         [__NR_lchown]: Likewise.
31116         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31117         comment referencing __ASSUME_LCHOWN_SYSCALL.
31118         * sysdeps/unix/sysv/linux/i386/sigaction.c
31119         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31120         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31121         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31122         Remove conditional code.
31123         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31124         (__protocol_available): Remove #if 0 code.
31125         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31126         conditional code.
31127         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31128         * sysdeps/unix/sysv/linux/kernel-features.h
31129         (__ASSUME_GETCWD_SYSCALL): Don't define.
31130         (__ASSUME_REALTIME_SIGNALS): Likewise.
31131         (__ASSUME_PREAD_SYSCALL): Likewise.
31132         (__ASSUME_PWRITE_SYSCALL): Likewise.
31133         (__ASSUME_POLL_SYSCALL): Likewise.
31134         (__ASSUME_LCHOWN_SYSCALL): Likewise.
31135         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31136         non-SPARC.
31137         (__ASSUME_SIOCGIFNAME): Don't define.
31138         (__ASSUME_MSG_NOSIGNAL): Likewise.
31139         (__ASSUME_SENDFILE): Define unconditionally.
31140         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31141         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31142         conditional code.
31143         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31144         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31145         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31146         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31147         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31148         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31149         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31151         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31152         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31154         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31155         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31157         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31158         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31160         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31161         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31163         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31164         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31166         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31167         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31169         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31170         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31172         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31173         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31174         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31175         Remove conditional code.
31176         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31177         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31178         Remove conditional code.
31179         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31180         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31181         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31182         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31183         Remove conditional code.
31184         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31185         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31186         Remove conditional code.
31187         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31188         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31189         Remove conditional code.
31190         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31191         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31192         Remove conditional code.
31193         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31194         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31195         Remove conditional code.
31196         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31197         * sysdeps/unix/sysv/linux/sh/pwrite64.c
31198         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31199         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31200         * sysdeps/unix/sysv/linux/sigaction.c
31201         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31202         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31203         * sysdeps/unix/sysv/linux/sigpending.c
31204         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31205         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31206         * sysdeps/unix/sysv/linux/sigprocmask.c
31207         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31208         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31209         * sysdeps/unix/sysv/linux/sigsuspend.c
31210         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31211         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31212         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31213         (__libc_missing_rt_sigs): Remove.
31214         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31215         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31216         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31217         Remove conditional code.
31218         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31219         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31220         return 1.
31221         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31222         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31223         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31224         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31225
31226 2012-05-14  Andreas Jaeger  <aj@suse.de>
31227
31228         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31229         it's not used in glibc.
31230         (__coshm1): Likewise.
31231         (__acosh1p): Likewise.
31232         (__sgn): Likewise.
31233
31234         * manual/string.texi (Copying and Concatenation): Add missing
31235         variable in concat example.
31236         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31237
31238 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31239
31240         [BZ #14103]
31241         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31242         __builtin_clzl with __builtin_clzll.
31243
31244 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31245
31246         [BZ #14104]
31247         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31248         libc_freeres_ptr.
31249
31250 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31251
31252         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31253         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31254         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31255         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31256
31257 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
31258
31259         * NEWS: Update ia64 info.
31260
31261 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
31262
31263         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31264         used as bcopy.
31265
31266 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
31267
31268         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31269         * sysdeps/unix/syscalls.list (dup3): Likewise.
31270         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31271         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31272
31273 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
31274
31275         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31276         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31277
31278 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
31279
31280         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31281         thread pointer.
31282         (TLS_IE): Use mov/add instead of movq/addq to load thread
31283         pointer.
31284         (TLS_GD_PREFIX): New.
31285         (TLS_GD): Use it.
31286
31287 2012-05-11  David S. Miller  <davem@davemloft.net>
31288
31289         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31290         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31291         (_FPU_SETCW): Likewise.
31292
31293 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31294
31295         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31296         is 32-byte aligned.
31297
31298 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
31299
31300         [BZ #11837]
31301         * iconvdata/gb18030.c: Update tables.
31302         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
31303         characters specially.
31304         (BODY for TO_LOOP): Add encoding of missing ranges.
31305
31306 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
31307
31308         [BZ #13673]
31309         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31310         * sysdeps/mach/hurd/dup3.c: Likewise.
31311         * sysdeps/mach/hurd/readlinkat.c: Likewise.
31312         * sysdeps/powerpc/memmove.c:: Likewise.
31313
31314 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31315
31316         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31317         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31318
31319 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31320
31321         * elf/elf.h (R_X86_64_RELATIVE64): New.
31322         (R_X86_64_NUM): Updated.
31323         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31324         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
31325         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31326         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31327         tst-quad1pie tst-quad2pie
31328         (modules-names): Add tst-quadmod1 tst-quadmod2.
31329         ($(objpfx)tst-quad1): New dependency.
31330         ($(objpfx)tst-quad2): Likewise.
31331         ($(objpfx)tst-quad1pie): Likewise.
31332         ($(objpfx)tst-quad2pie): Likewise.
31333         * sysdeps/x86_64/tst-quad1.c: New file.
31334         * sysdeps/x86_64/tst-quad1pie.c: New file.
31335         * sysdeps/x86_64/tst-quad2.c: Likewise.
31336         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31337         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31338         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31339         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31340         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31341
31342 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31343
31344         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31345         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31346         * streams/stropts.h (t_scalar_t): Define type.
31347
31348         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31349         (_PATH_PRESERVE): Set to "/var/lib".
31350         (_PATH_RWHODIR): Set to "/var/spool/rwho".
31351
31352         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31353         instead of int.
31354
31355         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31356         if __dir_mkfile succeeded.
31357
31358         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31359         checking for _hurd_dtablesize.  Unlock it right after having
31360         finished _hurd_dtable allocation.
31361
31362 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31363
31364         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31365         * sysdeps/mach/hurd/configure: Regenerated.
31366         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31367         special-casing to...
31368         * sysdeps/gnu/configure.in: ... this new file.
31369         * sysdeps/unix/sysv/linux/configure: Regenerated.
31370         * sysdeps/gnu/configure: New generated file.
31371
31372         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31373         for Linux: use nsec instead of usec, as well as:
31374         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31375         members of type struct timespec.
31376         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31377         New macros.
31378         (struct stat64): Likewise.
31379         (_STATBUF_ST_NSEC): New macro.
31380         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31381
31382         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31383         __strtoul_internal rather than strtoul.
31384
31385 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31386
31387         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31388         and reject them.
31389
31390 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31391
31392         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31393         which preserves existing values.
31394         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31395
31396 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31397
31398         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31399         TIMEOUT values.  Return EINVAL for NFDS values either negative or
31400         greater than FD_SETSIZE.
31401
31402 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31403
31404         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31405         allocated, call __vm_protect to finish enabling the existing space, and
31406         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31407         allocate the remainder.
31408
31409 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31410
31411         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31412         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
31413
31414 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31415
31416         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31417         sysdeps/mach/hurd/readlink.c.
31418
31419         * posix/tst-sysconf.c (posix_options): Only use
31420         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31421         _POSIX_SYNCHRONIZED_IO when they are defined
31422         * sysdeps/mach/hurd/bits/posix_opt.h:
31423         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31424         (_XOPEN_REALTIME): Undefine macro.
31425         (_XOPEN_REALTIME_THREADS): Undefine macro.
31426         (_XOPEN_SHM): Undefine macro.
31427         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31428         macro to -1.
31429         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31430         macro to -1.
31431         (_POSIX_ASYNC_IO): Undefine macro.
31432         (_POSIX_PRIORITIZED_IO): Undefine macro.
31433         (_POSIX_SPIN_LOCKS): Define macro to -1.
31434
31435         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31436         SA_NODEFER, SA_RESETHAND.
31437         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31438         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31439         F_DUPFD_CLOEXEC.
31440
31441 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31442
31443         * elf/Makefile (pldd-modules): Define unconditionally.
31444
31445 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31446
31447         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31448
31449 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31450
31451         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31452         Return ENOENT when name is empty.
31453         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31454
31455 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31456
31457         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31458
31459         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31460
31461 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31462
31463         Fix mlock in all cases except non-readable pages.
31464         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31465         instead of VM_PROT_ALL as parameter to __vm_wire function.
31466
31467         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31468         (__mkdir): When path is `/', just fail with EEXIST.
31469         * sysdeps/mach/hurd/mkdirat.c: Likewise.
31470
31471 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31472
31473         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31474         <sys/uio.h> (for writev).
31475         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31476         and <sys/param.h> (for MIN).
31477
31478 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31479
31480         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31481         REQUESTED_TIME.  Properly set the remaining time and return EINTR
31482         if interrupted.
31483
31484 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31485
31486         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31487         Depend on against $(link-rpcuserlibs).
31488
31489 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31490
31491         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31492         (__libc_stack_end): Do not use attribute_relro.
31493         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31494         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
31495         to libthread-provided value.
31496         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31497         attribute_relro.
31498
31499 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31500
31501         [BZ #3748]
31502         * bits/libc-lock.h (__libc_once_get): New macro.
31503         * sysdeps/mach/bits/libc-lock.h: Likewise.
31504         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31505         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31506         instead of using implementation details.
31507
31508         * libio/fileops.c: Unconditionally include <kernel-features.h>.
31509         * libio/freopen.c: Likewise.
31510         * libio/freopen64.c: Likewise.
31511         * misc/syslog.c: Likewise.
31512         * nscd/connections.c: Likewise.
31513         * nscd/netgroupcache.c: Likewise.
31514         * sysdeps/posix/getcwd.c: Likewise.
31515
31516 2012-05-10  Roland McGrath  <roland@hack.frob.com>
31517
31518         * math/w_ilogbf.c: Add #include <limits.h>.
31519
31520 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31521
31522         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
31523         path instead of returning without unlocking.
31524
31525         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31526         immediate-write ioctls.
31527         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31528
31529 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31530
31531         * sysdeps/mach/hurd/i386/init-first.c (init): Use
31532         __builtin_frame_address instead of making assumptions about the
31533         location of the return address relative to DATA.  Force early load of
31534         the return address.
31535         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31536         __builtin_frame_address.
31537
31538         dup3 for GNU Hurd.
31539         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31540         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
31541         implement dup3 and do some further code clean-ups.
31542         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31543         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31544
31545 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31546
31547         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31548
31549         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31550         HURD_CRITICAL_END around holding _hurd_dtable_lock.
31551         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31552         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31553         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31554         d->port.lock.
31555
31556         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31557         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
31558         when handler == SIG_ERR, not when handler != SIG_ERR.
31559
31560 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31561
31562         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31563         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31564         definitions.
31565
31566         accept4 for GNU Hurd.
31567         * include/sys/socket.h (__libc_accept4): New prototype.
31568         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
31569         to implement __libc_accept4.
31570         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31571         __libc_accept4.
31572         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31573
31574         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31575         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31576         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31577         signal-defines.sym.
31578
31579 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31580
31581         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31582
31583 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31584
31585         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31586         assertion on O_CLOEXEC flag.
31587         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31588         * hurd/intern-fd.c: Likewise.
31589         * hurd/port2fd.c: Likewise.
31590
31591 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31592
31593         [BZ #3906]
31594         * bits/in.h (IPV6_PKTINFO): Define new macro.
31595         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31596
31597 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31598
31599         [BZ #13954]
31600         [BZ #13955]
31601         [BZ #13956]
31602         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31603         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31604         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31605         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31606         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31607         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31608         * math/libm-test.inc (logb_test) : Additional logb tests.
31609
31610 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
31611             Andreas Jaeger  <aj@suse.de>
31612
31613         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31614         * configure: Regenerated.
31615         * config.h.in (LINK_OBSOLETE_RPC): New macro.
31616         * config.make.in (link-obsolete-rpc): New substituted variable.
31617         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31618         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31619         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31620         (shared-only-routines): Don't set it under [link-obsolete-rpc],
31621         so that libc.a contains the symbols.
31622         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31623         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31624         * sunrpc/auth_none.c: Likewise.
31625         * sunrpc/auth_unix.c: Likewise.
31626         * sunrpc/authdes_prot.c: Likewise.
31627         * sunrpc/authuxprot.c: Likewise.
31628         * sunrpc/clnt_gen.c: Likewise.
31629         * sunrpc/clnt_perr.c: Likewise.
31630         * sunrpc/clnt_raw.c: Likewise.
31631         * sunrpc/clnt_simp.c: Likewise.
31632         * sunrpc/clnt_tcp.c: Likewise.
31633         * sunrpc/clnt_udp.c: Likewise.
31634         * sunrpc/clnt_unix.c: Likewise.
31635         * sunrpc/des_crypt.c: Likewise.
31636         * sunrpc/des_soft.c: Likewise.
31637         * sunrpc/get_myaddr.c: Likewise.
31638         * sunrpc/key_call.c: Likewise.
31639         * sunrpc/key_prot.c: Likewise.
31640         * sunrpc/netname.c: Likewise.
31641         * sunrpc/pm_getmaps.c: Likewise.
31642         * sunrpc/pm_getport.c: Likewise.
31643         * sunrpc/pmap_clnt.c: Likewise.
31644         * sunrpc/pmap_prot.c: Likewise.
31645         * sunrpc/pmap_prot2.c: Likewise.
31646         * sunrpc/pmap_rmt.c: Likewise.
31647         * sunrpc/publickey.c: Likewise.
31648         * sunrpc/rpc_cmsg.c: Likewise.
31649         * sunrpc/rpc_common.c: Likewise.
31650         * sunrpc/rpc_dtable.c: Likewise.
31651         * sunrpc/rpc_prot.c: Likewise.
31652         * sunrpc/rpc_thread.c: Likewise.
31653         * sunrpc/rtime.c: Likewise.
31654         * sunrpc/svc.c: Likewise.
31655         * sunrpc/svc_auth.c: Likewise.
31656         * sunrpc/svc_raw.c: Likewise.
31657         * sunrpc/svc_run.c: Likewise.
31658         * sunrpc/svc_tcp.c: Likewise.
31659         * sunrpc/svc_udp.c: Likewise.
31660         * sunrpc/svc_unix.c: Likewise.
31661         * sunrpc/svcauth_des.c: Likewise.
31662         * sunrpc/xcrypt.c: Likewise.
31663         * sunrpc/xdr.c: Likewise.
31664         * sunrpc/xdr_array.c: Likewise.
31665         * sunrpc/xdr_float.c: Likewise.
31666         * sunrpc/xdr_intXX_t.c: Likewise.
31667         * sunrpc/xdr_mem.c: Likewise.
31668         * sunrpc/xdr_rec.c: Likewise.
31669         * sunrpc/xdr_ref.c: Likewise.
31670         * sunrpc/xdr_sizeof.c: Likewise.
31671         * sunrpc/xdr_stdio.c: Likewise.
31672
31673 2012-05-10  Roland McGrath  <roland@hack.frob.com>
31674
31675         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31676         change.  Update copyright years.
31677
31678 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
31679
31680         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31681
31682 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
31683             Joseph Myers  <joseph@codesourcery.com>
31684             Paul Pluzhnikov  <ppluzhnikov@google.com>
31685
31686         [BZ #14012]
31687         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31688         requiring rpcgen.
31689         [cross-compiling] (extra-libs): Likewise.
31690         [cross-compiling] (extra-libs-others): Likewise.
31691         [cross-compiling] (librpcsvc-routines): Likewise.
31692         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31693         [cross-compiling] (omit-deps): Likewise.
31694         (sunrpc-CPPFLAGS): New variable.
31695         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31696         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31697         (cross-rpcgen-objs): New variable.
31698         (extra-objs): Append $(cross-rpcgen-objs).
31699         ($(cross-rpcgen-objs)): New rule.
31700         ($(objpfx)cross-rpcgen): Likewise.
31701         (rpcgen-cmd): Define to use $(built-program-file).  Expand
31702         comment.
31703         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31704         ($(objpfx)x%.stmp): Likewise.
31705         * sunrpc/proto.h [IS_IN_build] (_): Define.
31706         [IS_IN_build] (_libc_intl_domainname): Likewise.
31707
31708 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31709
31710         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31711         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31712         and R_X86_64_TPOFF64.
31713
31714 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
31715
31716         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31717         sysdeps/unix/sysv/syscalls.list.
31718         (stime): Likewise.
31719         (utime): Likewise.
31720         * sysdeps/unix/sysv/syscalls.list: Remove file.
31721
31722 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
31723
31724         [BZ #3440]
31725         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31726         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31727         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31728         (__LC_IDENTIFICATION): Make these macros useful in #if
31729         expressions, as required by C99.
31730
31731 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
31732
31733         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31734         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
31735         after this.
31736
31737 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
31738
31739         * stdlib/longlong.h: Updated from GCC.
31740
31741 2012-05-09  Andreas Jaeger  <aj@suse.de>
31742
31743         * nscd/nscd.c (run_modes): Make named enum, reorder so that
31744         default is first entry.
31745         (run_mode): Set type.
31746         (main): Remove informal message about syslog.
31747         (options): Fix typo.
31748
31749         [BZ #14053]
31750         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31751         to asm.
31752         (lrint): Likewise.
31753         (llrintf): Likewise.
31754         (llrint): Likewise.
31755         (rint): Likewise.
31756         (rintf): Likewise.
31757         (nearbyint): Likewise.
31758         (nearbyintf): Likewise.
31759
31760 2012-05-09  Andreas Jaeger  <aj@suse.de>
31761             Pedro Alves  <palves@redhat.com>
31762
31763         * nscd/nscd.c (run_mode): Use enum.
31764         (main): Cleanup coding style issue.
31765
31766 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
31767             Andreas Jaeger  <aj@suse.de>
31768
31769         * nscd/nscd.c (go_background): Replaced with...
31770         (run_mode): ... this.
31771         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31772         (options): Add -F --foreground.
31773         (main): Implement it.
31774         (parse_opt): Parse it.
31775
31776 2012-05-09  Andreas Jaeger  <aj@suse.de>
31777
31778         [BZ #14083]
31779         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31780         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31781         -Wconversion warning.
31782         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31783         Likewise.
31784
31785 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
31786
31787         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
31788         == 0.
31789         (LC_ALL): Use macro-int-constant.
31790         (LC_COLLATE): Likewise.
31791         (LC_CTYPE): Likewise.
31792         (LC_MESSAGES): Likewise.
31793         (LC_MONETARY): Likewise.
31794         (LC_NUMERIC): Likewise.
31795         (LC_TIME): Likewise.
31796         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31797         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31798         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31799         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31800         Specify type.
31801         [C99-based standards] (float_t): Expect type.
31802         [C99-based standards] (double_t): Expect type.
31803         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
31804         type.
31805         [C99-based standards] (HUGE_VALL): Likewise.
31806         [C99-based standards] (INFINITY): Likewise.
31807         [C99-based standards] (NAN): Likewise.
31808         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31809         [C99-based standards] (FP_NAN): Likewise.
31810         [C99-based standards] (FP_NORMAL): Likewise.
31811         [C99-based standards] (FP_SUBNORMAL): Likewise.
31812         [C99-based standards] (FP_ZERO): Likewise.
31813         [C99-based standards] (FP_FAST_FMA): Use
31814         optional-macro-int-constant.  Specify type.  Require == 1.
31815         [C99-based standards] (FP_FAST_FMAF): Likewise.
31816         [C99-based standards] (FP_FAST_FMAL): Likewise.
31817         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31818         [C99-based standards] (FP_ILOGBNAN): Likewise.
31819         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31820         Specify type.
31821         [C99-based standards] (MATH_ERREXCEPT): Likewise.
31822         [C99-based standards] (math_errhandling): Specify type.
31823         [ISO99 || ISO11] (signgam): Do not allow.
31824         [non-C99-based standards] (copysignf): Do not allow.
31825         [non-C99-based standards] (exp2f): Likewise.
31826         [non-C99-based standards] (log2f): Likewise.
31827         [non-C99-based standards] (modff): Allow.
31828         [non-C99-based standards] (erff): Do not allow.
31829         [non-C99-based standards] (erfcf): Likewise.
31830         [non-C99-based standards] (gammaf): Likewise.
31831         [non-C99-based standards] (hypotf): Likewise.
31832         [non-C99-based standards] (j0f): Likewise.
31833         [non-C99-based standards] (j1f): Likewise.
31834         [non-C99-based standards] (jnf): Likewise.
31835         [non-C99-based standards] (lgammaf): Likewise.
31836         [non-C99-based standards] (tgammaf): Likewise.
31837         [non-C99-based standards] (y0f): Likewise.
31838         [non-C99-based standards] (y1f): Likewise.
31839         [non-C99-based standards] (ynf): Likewise.
31840         [non-C99-based standards] (isnanf): Likewise.
31841         [non-C99-based standards] (acoshf): Likewise.
31842         [non-C99-based standards] (asinhf): Likewise.
31843         [non-C99-based standards] (atanhf): Likewise.
31844         [non-C99-based standards] (cbrtf): Likewise.
31845         [non-C99-based standards] (expm1f): Likewise.
31846         [non-C99-based standards] (ilogbf): Likewise.
31847         [non-C99-based standards] (log1pf): Likewise.
31848         [non-C99-based standards] (logbf): Likewise.
31849         [non-C99-based standards] (nextafterf): Likewise.
31850         [non-C99-based standards] (remainderf): Likewise.
31851         [non-C99-based standards] (rintf): Likewise.
31852         [non-C99-based standards] (scalbf): Likewise.
31853         [non-C99-based standards] (copysignl): Likewise.
31854         [non-C99-based standards] (exp2l): Likewise.
31855         [non-C99-based standards] (log2l): Likewise.
31856         [non-C99-based standards] (modfl): Allow.
31857         [non-C99-based standards] (erfl): Do not allow.
31858         [non-C99-based standards] (erfcl): Likewise.
31859         [non-C99-based standards] (gammal): Likewise.
31860         [non-C99-based standards] (hypotl): Likewise.
31861         [non-C99-based standards] (j0l): Likewise.
31862         [non-C99-based standards] (j1l): Likewise.
31863         [non-C99-based standards] (jnl): Likewise.
31864         [non-C99-based standards] (lgammal): Likewise.
31865         [non-C99-based standards] (tgammal): Likewise.
31866         [non-C99-based standards] (y0l): Likewise.
31867         [non-C99-based standards] (y1l): Likewise.
31868         [non-C99-based standards] (ynl): Likewise.
31869         [non-C99-based standards] (isnanl): Likewise.
31870         [non-C99-based standards] (acoshl): Likewise.
31871         [non-C99-based standards] (asinhl): Likewise.
31872         [non-C99-based standards] (atanhl): Likewise.
31873         [non-C99-based standards] (cbrtl): Likewise.
31874         [non-C99-based standards] (expm1l): Likewise.
31875         [non-C99-based standards] (ilogbl): Likewise.
31876         [non-C99-based standards] (log1pl): Likewise.
31877         [non-C99-based standards] (logbl): Likewise.
31878         [non-C99-based standards] (nextafterl): Likewise.
31879         [non-C99-based standards] (remainderl): Likewise.
31880         [non-C99-based standards] (rintl): Likewise.
31881         [non-C99-based standards] (scalbl): Likewise.
31882         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31883         [non-C99-based standards] (FP_*): Do not allow.
31884         [C99-based standards] (FP_*): Change to
31885         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31886         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31887         allow.
31888         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31889         (SIG_ERR): Likewise.
31890         [X/Open-based standards] (SIG_HOLD): Likewise.
31891         (SIG_IGN): Likewise.
31892         (SIGABRT): Use macro-int-constant.  Specify type.  Require
31893         positive value.
31894         (SIGFPE): Likewise.
31895         (SIGILL): Likewise.
31896         (SIGINT): Likewise.
31897         (SIGSEGV): Likewise.
31898         (SIGTER): Likewise.
31899         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31900         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31901         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31902         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31903         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31904         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31905         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31906         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31907         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31908         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31909         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31910         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31911         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31912         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31913         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31914         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31915         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31916         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31917         [X/Open-based standards] (SIGTRAP): Likewise.
31918         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31919         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31920         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31921         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31922         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31923         allow.
31924
31925 2012-05-08  Ian Wienand  <ianw@vmware.com>
31926
31927         [BZ #14080]
31928         * time/tzset.c (__tzset_parse_tz): Update default rules for
31929         daylight time changes in the Energy Policy Act of 2005.
31930
31931 2012-05-09  Andreas Jaeger  <aj@suse.de>
31932
31933         [BZ #13983]
31934         * elf/ldconfig.c (parse_conf): Change string to make clear that
31935         ldconfig only issued a warning if ld.so.conf does not exist.
31936
31937 2012-05-08  David S. Miller  <davem@davemloft.net>
31938
31939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31940         movxtod instead of popping the value on the stack.
31941
31942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31943
31944 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
31945
31946         * config.h.in: Add HAVE_ARM_PCS_VFP.
31947
31948 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
31949
31950         [BZ #13979]
31951         * include/features.h: Warn if user requests __FORTIFY_SOURCE
31952         checking but the checks are disabled for any reason.
31953
31954 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
31955
31956         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31957         and ELF64_R_TYPE with ELFW(R_TYPE).
31958
31959 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
31960
31961         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31962         (ulimit): Likewise.
31963
31964         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31965         (settimeofday): Likewise.
31966
31967 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
31968
31969         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
31970         a struct th_u2 inside the union, and move tu_block/tu_code into
31971         a new th_u3 union of tu_block/tu_code inside of that.  Move
31972         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
31973         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
31974         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31975         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31976         (th_stuff): Change to th_u1.tu_stuff.
31977         (th_data): Define.
31978         (th_msg): Change to th_u1.th_u2.tu_data.
31979
31980 2012-05-07  David S. Miller  <davem@davemloft.net>
31981
31982         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31983
31984         [BZ #14074]
31985         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31986         (SETUP_PIC_REG): Use it.
31987         (SETUP_PIC_REG_LEAF): Use it.
31988
31989 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
31990
31991         [BZ #13885]
31992         [BZ #13923]
31993         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31994         USE_AS_EXPM1L.
31995         (EXPL_FINITE): Likewise.
31996         (FLDLOG): Likewise.
31997         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31998         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31999         e_expl.S.
32000         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32001         USE_AS_EXPM1L.
32002         (EXPL_FINITE): Likewise.
32003         (FLDLOG): Likewise.
32004         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32005         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32006         e_expl.S.
32007         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
32008         test of -max_value argument for long double.
32009         * sysdeps/i386/fpu/libm-test-ulps: Update.
32010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32011
32012 2012-05-06  David S. Miller  <davem@davemloft.net>
32013
32014         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32015         quad soft-float symbols whose references which are compiler
32016         generated.
32017         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32018
32019 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
32020
32021         [BZ #13884]
32022         [BZ #13914]
32023         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32024         USE_AS_EXP10L.
32025         (EXPL_FINITE): Likewise.
32026         (FLDLOG): Likewise.
32027         (c0): Likewise.
32028         (c1): Likewise.
32029         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
32030         Adjust comments for base varying.
32031         (__expl_finite): Change alias to EXPL_FINITE.
32032         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32033         e_expl.S.
32034         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32035         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32036         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32037         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32038         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32039         USE_AS_EXP10L.
32040         (EXPL_FINITE): Likewise.
32041         (FLDLOG): Likewise.
32042         (c0): Likewise.
32043         (c1): Likewise.
32044         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
32045         Adjust comments for base varying.
32046         (__expl_finite): Change alias to EXPL_FINITE.
32047         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
32048         tests for bugs.
32049         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32050
32051         [BZ #14064]
32052         * math/libm-test.inc (check_float_internal): Correct ulp
32053         calculation for subnormal expected results.
32054
32055 2012-05-06  Andreas Jaeger  <aj@suse.de>
32056
32057         * Makeconfig (+math-flags): New, set to -frounding-math.
32058         (+cflags): Add +math-flags so that all of glibc gets compiled with
32059         it.
32060
32061         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32062
32063 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
32064
32065         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32066         Disable one test.
32067
32068         [BZ #13787]
32069         [BZ #13922]
32070         [BZ #14036]
32071         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32072         (__ieee754_expl): Allow for and saturate large arguments.
32073         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32074         (u_threshold): Likewise.
32075         (__exp): Call __ieee754_exp before checking for overflow and
32076         underflow.
32077         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32078         (u_threshold): Likewise.
32079         (__expf): Call __ieee754_expf before checking for overflow and
32080         underflow.
32081         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32082         (u_threshold): Likewise.
32083         (__expl): Call __ieee754_expl before checking for overflow and
32084         underflow.
32085         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32086         (__ieee754_expl): Allow for and saturate large arguments.
32087         * math/libm-test.inc (exp_test): Add another test.  Do not allow
32088         missing overflow exception on overflow.
32089         (expm1_test): Do not allow missing overflow exception on overflow.
32090
32091         * sysdeps/i386/fpu/e_expl.c: Move to ...
32092         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
32093         rather than using inline asm.
32094         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32095         * sysdeps/x86_64/fpu/e_expl.S: Copy from
32096         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32097
32098         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32099         (nice): Likewise.
32100         (poll): Likewise.
32101         (signal): Likewise.
32102         (time): Likewise.
32103         (times): Likewise.
32104
32105 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
32106
32107         * sysdeps/unix/syscalls.list (adjtime): Add entry from
32108         sysdeps/unix/common/syscalls.list.
32109         (fchmod): Likewise.
32110         (fchown): Likewise.
32111         (ftruncate): Likewise.
32112         (getrusage): Likewise.
32113         (gettimeofday): Likewise.
32114         (setpgid): Likewise.
32115         (setregid): Likewise.
32116         (setreuid): Likewise.
32117         (sigaction): Likewise.
32118         (truncate): Likewise.
32119         (vhangup): Likewise.
32120         * sysdeps/unix/common/syscalls.list: Remove file.
32121         * sysdeps/unix/bsd/Implies: Don't include unix/common.
32122         * sysdeps/unix/sysv/linux/Implies: Likewise.
32123
32124 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
32125
32126         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32127         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32128         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32129         Moved to ...
32130         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32131         Here.
32132         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32133         to ...
32134         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32135         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32136         to ...
32137         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32138         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32139         to ...
32140         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32141         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32142         to ...
32143         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32144         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32145         to ...
32146         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32147         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32148         to ...
32149         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32150         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32151         to ...
32152         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32153         Here.
32154         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32155         to ...
32156         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32157         Here.
32158         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32159         to ...
32160         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32161         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32162         Moved to ...
32163         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32164         Here.
32165         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32166         to ...
32167         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32168
32169 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
32170
32171         * sysdeps/unix/common/bits/dirent.h: Remove file.
32172         * sysdeps/unix/common/bits/fcntl.h: Likewise.
32173
32174         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32175         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32176         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32177         * sysdeps/unix/bsd/isatty.c: Likewise.
32178         * sysdeps/unix/bsd/tcdrain.c: Likewise.
32179         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32180         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32181
32182 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32183
32184         [BZ #13563]
32185         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32186         long double comparison inaccuracies.
32187         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32189
32190 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
32191
32192         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32193         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32194
32195 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
32196
32197         [BZ #14049]
32198         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32199         nonzero digits before rounding a hex value.
32200         * stdlib/tst-strtod.c (tests): Add another test.
32201
32202 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32203
32204         * sysdeps/s390/fpu/libm-test-ulps: Update.
32205
32206 2012-05-03  Andreas Jaeger  <aj@suse.de>
32207
32208         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32209         does not get optimized out.
32210         (malloc_opt_barrier): New.
32211
32212 2012-05-03  Andreas Jaeger  <aj@suse.de>
32213             Roland McGrath  <roland@hack.frob.com>
32214
32215         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
32216         intermediate file deletion.
32217         (generated): Add .symlist files.
32218
32219 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
32220
32221         [BZ #13775]
32222         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32223         Redirect under this condition.
32224         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32225         [__USE_GNU] (__dprintf_chk): Not under this condition.
32226         [__USE_GNU] (__vdprintf_chk): Likewise.
32227         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32228         under this condition.
32229         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32230         [__USE_XOPEN2K8] (dprintf): Define under this condition.
32231         [__USE_XOPEN2K8] (vdprintf): Likewise.
32232         [__USE_GNU] (__dprintf_chk): Not under this condition.
32233         [__USE_GNU] (__vdprintf_chk): Likewise.
32234         [__USE_GNU] (dprintf): Likewise.
32235         [__USE_GNU] (vdprintf): Likewise.
32236
32237 2012-05-03  Roland McGrath  <roland@hack.frob.com>
32238
32239         * elf/Makefile (common-generated): Set this instead of generated for
32240         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
32241         $(all-built-dso)-derived lists.
32242
32243 2012-05-03  Andreas Jaeger  <aj@suse.de>
32244
32245         * sysdeps/i386/fpu/libm-test-ulps: Update.
32246
32247         * FAQ: Removed.
32248         * FAQ.in: Likewise.
32249         * scripts/gen-FAQ.pl: Likewise.
32250         * manual/install.texi (Installation): Point to online location of
32251         FAQ.
32252         * Makefile (files-for-dist): Remove FAQ.
32253         (FAQ): Remove.
32254
32255 2012-05-02  Allan McRae  <allan@archlinux.org>
32256
32257         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32258         (LDFLAGS-reldepmod5.so): Likewise.
32259         (LDFLAGS-reldep6mod1.so): Likewise.
32260         (LDFLAGS-reldep6mod4.so): Likewise.
32261         (LDFLAGS-reldep8mod3.so): Likewise.
32262         (LDFLAGS-unload4mod1.so): Likewise.
32263         (LDFLAGS-unload4mod2.so): Likewise.
32264         (LDFLAGS-tst-initorder): Likewise.
32265         (LDFLAGS-tst-initordera2.so): Likewise.
32266         (LDFLAGS-tst-initordera3.so): Likewise.
32267         (LDFLAGS-tst-initordera4.so): Likewise.
32268         (LDFLAGS-tst-initorderb2.so): Likewise.
32269         (LDFLAGS-noload): Likewise.
32270         (LDFLAGS-next): Likewise.
32271         (LDFLAGS-order2mod1.so): Likewise.
32272         (LDFLAGS-order2mod2.so): Likewise.
32273         (LDFLAGS-tst-initorder2): Likewise.
32274         (LDFLAGS-tst-initorder2a.so): Likewise.
32275         (LDFLAGS-tst-initorder2b.so): Likewise.
32276         (LDFLAGS-tst-initorder2c.so): Likewise.
32277         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32278
32279 2012-05-02  David S. Miller  <davem@davemloft.net>
32280
32281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32282
32283 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
32284
32285         [BZ #14055]
32286         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32287
32288 2012-05-02  Andreas Jaeger  <aj@suse.de>
32289
32290         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32291         since we manipulate rounding mode.
32292         (CPPFLAGS-test-idouble.c): Likewise.
32293         (CPPFLAGS-test-ifloat.c): Likewise.
32294         (CFLAGS-test-ldouble.c): Likewise.
32295         (CFLAGS-test-double.c): Likewise.
32296         (CFLAGS-test-float.c): Likewise.
32297         (CFLAGS-test-misc.c): Likewise.
32298         (CFLAGS-test-test-fenv.c): Likewise.
32299
32300 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32301
32302         [BZ #2550]
32303         [BZ #2570]
32304         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32305         comparisons to determine direction to adjust input.
32306
32307 2012-05-01  Roland McGrath  <roland@hack.frob.com>
32308
32309         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32310         output to the target.
32311
32312         * scripts/localplt.awk: New file.
32313         * elf/Makefile ($(objpfx)check-localplt): Target removed.
32314         (check-localplt-CFLAGS): Variable removed.
32315         ($(all-built-dso:=.jmprel)): New static pattern rule.
32316         (generated): Add those targets.
32317         (localplt-built-dso): New variable.
32318         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32319
32320         * elf/check-localplt.c: File removed.
32321
32322         * scripts/check-execstack.awk: New file.
32323         * elf/Makefile ($(objpfx)check-execstack): Target removed.
32324         (check-execstack-CFLAGS): Variable removed.
32325         ($(objpfx)check-execstack.h): Target removed.
32326         ($(objpfx)execstack-default): New target.
32327         (generated): Add that instead of check-execstack.h.
32328         ($(all-built-dso:=.phdr)): New static pattern rule.
32329         (generated): Add those targets.
32330         * elf/check-execstack.c: File removed.
32331
32332         * scripts/check-textrel.awk: New file.
32333         * elf/Makefile ($(objpfx)check-textrel): Target removed.
32334         (check-textrel-CFLAGS): Variable removed.
32335         (all-built-dso): Use := to define.o
32336         ($(all-built-dso:=.dyn)): New static pattern rule.
32337         (generated): Add those targets.
32338         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32339         * config.make.in (READELF): New substituted variable.
32340         * elf/check-textrel.c: File removed.
32341
32342 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
32343
32344         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32345         allow.
32346         * conform/data/ctype.h-data [C99-based standards] (isblank):
32347         Expect function.
32348         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32349         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32350         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32351         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32352         Specify type.  Require positive value.
32353         (EILSEQ): Likewise.
32354         (ERANGE): Likewise.
32355         [ISO || POSIX] (EILSEQ): Do not expect.
32356         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32357         Specify type.  Require positive value.
32358         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32359         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32360         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32361         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32362         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32363         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32364         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32365         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32366         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32367         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32368         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32369         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32370         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32371         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32372         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32373         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32374         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32375         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32376         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32377         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32378         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32379         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32380         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32381         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32382         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32383         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32384         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32385         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32386         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32387         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32388         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32389         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32390         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32391         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32392         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32393         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32394         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32395         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32396         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32397         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32398         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32399         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32400         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32401         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32402         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32403         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32404         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32405         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32406         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32407         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32408         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32409         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32410         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32411         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32412         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32413         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32414         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32415         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32416         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32417         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32418         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32419         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32420         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32421         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32422         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32423         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32424         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32425         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32426         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32427         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32428         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32429         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32430         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32431         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32432         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32433         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32434         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32435         Require >= 2.
32436         (FLT_ROUNDS): Expect as macro, not constant.
32437         (FLT_MANT_DIG): Use macro-int-constant.
32438         (DBL_MANT_DIG): Likewise.
32439         (LDBL_MANT_DIG): Likewise.
32440         (FLT_DIG): Likewise.
32441         (DBL_DIG): Likewise.
32442         (LDBL_DIG): Likewise.
32443         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
32444         (DBL_MIN_EXP): Likewise.
32445         (LDBL_MIN_EXP): Likewise.
32446         (FLT_MAX_EXP): Use macro-int-constant.
32447         (DBL_MAX_EXP): Likewise.
32448         (LDBL_MAX_EXP): Likewise.
32449         (FLT_MAX_10_EXP): Likewise.
32450         (DBL_MAX_10_EXP): Likewise.
32451         (LDBL_MAX_10_EXP): Likewise.
32452         (FLT_MAX): Use macro-constant.
32453         (DBL_MAX): Likewise.
32454         (LDBL_MAX): Likewise.
32455         (FLT_EPSILON): Use macro-constant.  Give upper bound.
32456         (DBL_EPSILON): Likewise.
32457         (LDBL_EPSILON): Likewise.
32458         (FLT_MIN): Likewise.
32459         (DBL_MIN): Likewise.
32460         (LDBL_MIN): Likewise.
32461         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32462         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32463         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32464         [ISO11] (FLT_HAS_SUBNORM): Likewise.
32465         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32466         [ISO11] (DBL_DECIMAL_DIG): Likewise.
32467         [ISO11] (FLT_DECIMAL_DIG): Likewise.
32468         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32469         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32470         [ISO11] (FLT_TRUE_MIN): Likewise.
32471         [ISO11] (LDBL_TRUE_MIN): Likewise.
32472         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32473         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32474         (SCHAR_MIN): Use macro-int-constant.  Specify type.
32475         (SCHAR_MAX): Likewise.
32476         (UCHAR_MAX): Likewise.
32477         (CHAR_MIN): Likewise.
32478         (CHAR_MAX): Likewise.
32479         (MB_LEN_MAX): Use macro-int-constant.
32480         (SHRT_MIN): Use macro-int-constant.  Specify type.
32481         (SHRT_MAX): Likewise.
32482         (USHRT_MAX): Likewise.
32483         (INT_MAX): Likewise.
32484         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
32485         bound negative.
32486         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
32487         bound with "U".
32488         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
32489         bound with "L".
32490         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
32491         bound negative.  Suffix upper bound with "L".
32492         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
32493         bound with "UL".
32494         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32495         Specify type.
32496         [C99-based standards] (LLONG_MAX): Likewise.
32497         [C99-based standards] (ULLONG_MAX): Likewise.
32498         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
32499         == 0.
32500         [ISO11] (max_align_t): Require type.
32501         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32502
32503         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32504         from $CFLAGS, without defining away __attribute__ calls.
32505         (checknamespace): Use $CFLAGS_namespace.
32506
32507         * conform/conformtest.pl (@keywords): Only include C99 keywords
32508         for standards based on C99 or C11.
32509
32510         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32511         Disable tests.
32512         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32513         UNIX98]: Likewise.
32514
32515         * conform/conformtest.pl: Handle "macro-int-constant" and test for
32516         usability of symbols in #if.
32517
32518         * conform/conformtest.pl: If macro or constant types start
32519         "promoted:", expect the symbol to be of the following type
32520         promoted by the integer promotions.
32521
32522         * conform/conformtest.pl: Parse all "constant" and "macro" lines
32523         in one place.  Also handle "macro-constant".
32524
32525         * conform/conformtest.pl: Only accept expected macro values with
32526         "==".  Parse all "macro" lines in one place.
32527         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32528
32529         * conform/conformtest.pl: Handle braced types on "constant" lines
32530         instead of handling "typed-constant".
32531         * conform/data/signal.h-data: Use "constant" instead of
32532         "typed-constant".
32533
32534         * conform/conformtest.pl: Handle "optional-" at start of lines in
32535         one place rather than duplicating several cases.  Handle each
32536         format of "macro" line with initial "optional-".
32537
32538         * conform/conformtest.pl: Only accept expected constant or
32539         optional-constant values with "==".  Parse all "constant" lines in
32540         one place.  Parse all "optional-constant" lines in one place.
32541         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32542         * conform/data/fmtmsg.h-data: Likewise.
32543         * conform/data/netinet/in.h-data: Likewise.
32544         * conform/data/tar.h-data: Likewise.
32545         * conform/data/limits.h-data: Use "==" form on "constant" and
32546         "optional-constant" lines.
32547
32548         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32549         Use -std=c99 for XOPEN2K.
32550         (@knownproblems): Remove.
32551         (newtoken): Don't check %isknown.
32552
32553         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32554         Do not expect macro.
32555         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32556         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32557         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32558         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32559         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32560         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32561         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32562         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32563         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32564         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32565         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32566         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32567         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32568         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32569         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32570         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32571         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32572         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32573         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32574         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32575         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32576         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32577         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32578         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32579         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32580         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32581         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32582         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32583         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32584         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32585         [XPG3] (acosh): Likewise.
32586         [XPG3] (asinh): Likewise.
32587         [XPG3] (atanh): Likewise.
32588         [XPG3] (cbrt): Likewise.
32589         [XPG3] (expm1): Likewise.
32590         [XPG3] (ilogb): Likewise.
32591         [XPG3] (log1p): Likewise.
32592         [XPG3] (logb): Likewise.
32593         [XPG3] (nextafter): Likewise.
32594         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32595         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32596         [XPG3] (remainder): Likewise.
32597         [XPG3] (rint): Likewise.
32598         [XPG3 || XPG4 || UNIX98] (round): Likewise.
32599         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32600         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32601         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32602         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32603         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32604         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32605         [UNIX98 || XOPEN2K] (scalb): Expect.
32606         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32607         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32608         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32609         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32610         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32611         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32612         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32613         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32614         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32615         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32616         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32617         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32618         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32619         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32620         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32621         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32622         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32623         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32624         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32625         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32626         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32627         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32628         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32629         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32630         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32631         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32632         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32633         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32634         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32635         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32636         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32637         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32638         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32639         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32640         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32641         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32642         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32643         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32644         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32645         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32646         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32647         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32648         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32649         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32650         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32651         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32652         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32653         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32654         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32655         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32656         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32657         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32658         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32659         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32660         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32661         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32662         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32663         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32664         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32665         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32666         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32667         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32668         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32669         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32670         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32671         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32672         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32673         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32674         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32675         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32676         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32677         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32678         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32679         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32680         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32681         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32682         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32683         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32684         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32685         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32686         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32687         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32688         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32689         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32690         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32691         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32692         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32693         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32694         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32695         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32696         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32697         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32698         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32699         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32700         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32701         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32702         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32703         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32704         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32705         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32706         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32707         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32708         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32709         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32710         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32711         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32712         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32713         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32714         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32715         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32716         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32717         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32718         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32719         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32720         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32721         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32722         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32723         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32724         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32725         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32726         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32727         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32728         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32729         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32730         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32731         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32732         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32733         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32734         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32735         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32736         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32737         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32738         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32739         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32740         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32741         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32742         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32743
32744         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32745         _XOPEN_SOURCE_EXTENDED for XPG4.
32746
32747         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32748
32749         * Makeconfig (localtime): Remove variable.
32750         (inst_localtime-file): Likewise.
32751
32752 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32753
32754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32755         Update.
32756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32757         Update.
32758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32759         Update.
32760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32761         Update.
32762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32763         Update.
32764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32765         Update.
32766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32767         Update.
32768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32769         Update.
32770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32771         Update.
32772
32773 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
32774
32775         [BZ #2550]
32776         [BZ #2570]
32777         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32778         comparisons to determine direction to adjust input.
32779         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32780         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32781         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32782         Likewise.
32783         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32784         Likewise.
32785         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32786         Likewise.
32787         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32788         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32789         Likewise.
32790         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32791         Likewise.
32792         * math/libm-test.inc (nexttoward_test): Add more tests.
32793
32794 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32795
32796         [BZ #14040]
32797         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32798         in version GLIBC_2.1, not GLIBC_2.0.
32799         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32800         Likewise.
32801
32802 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
32803
32804         [BZ #13942]
32805         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32806         (1 - x) * (1 + x).
32807         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32808         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32809         * math/libm-test.inc (acos_test): Add more tests.
32810         (asin_test): Likewise.
32811         * sysdeps/i386/fpu/libm-test-ulps: Update.
32812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32813
32814         [BZ #14034]
32815         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32816         of square root.
32817         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32818         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32819         * math/libm-test.inc (acos_test_tonearest): New function.
32820         (acos_test_towardzero): Likewise.
32821         (acos_test_downward): Likewise.
32822         (acos_test_upward): Likewise.
32823         (asin_test_tonearest): Likewise.
32824         (asin_test_towardzero): Likewise.
32825         (asin_test_downward): Likewise.
32826         (asin_test_upward): Likewise.
32827         (main): Call the new functions.
32828         * sysdeps/i386/fpu/libm-test-ulps: Update.
32829         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32830
32831         [BZ #13884]
32832         [BZ #13924]
32833         * math/e_exp10.c: Include <float.h>.
32834         (__ieee754_exp10): Handle underflow here rather than multiplying
32835         large negative argument by M_LN10.
32836         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32837         of __ieee754_expf.
32838         * math/e_exp10l.c: Include <float.h>.
32839         (__ieee754_exp10l): Handle underflow here rather than multiplying
32840         large negative argument by M_LN10l.
32841         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
32842         spurious overflow exception on underflow.
32843
32844 2012-04-29  Marek Polacek  <polacek@redhat.com>
32845
32846         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32847         (__fortify_function): New macro.
32848         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32849         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32850         __extern_always_inline.
32851         * libio/bits/stdio2.h: Likewise.
32852         * libio/bits/stdio.h: Likewise.
32853         * string/string.h: Likewise.
32854         * string/bits/string3.h: Likewise.
32855         * include/stdio.h: Likewise.
32856         * stdlib/bits/stdlib.h: Likewise.
32857         * stdlib/stdlib.h: Likewise.
32858         * rt/bits/mqueue2.h: Likewise.
32859         * rt/mqueue.h: Likewise.
32860         * posix/bits/unistd.h: Likewise.
32861         * posix/unistd.h: Likewise.
32862         * io/bits/poll2.h: Likewise.
32863         * io/bits/fcntl2.h: Likewise.
32864         * io/fcntl.h: Likewise.
32865         * io/sys/poll.h: Likewise.
32866         * misc/bits/syslog.h: Likewise.
32867         * misc/bits/syslog-ldbl.h: Likewise.
32868         * misc/sys/syslog.h: Likewise.
32869         * socket/bits/socket2.h: Likewise.
32870         * socket/sys/socket.h: Likewise.
32871         * debug/tst-chk1.c: Likewise.
32872         * wcsmbs/bits/wchar2.h: Likewise.
32873         * wcsmbs/bits/wchar-ldbl.h: Likewise.
32874         * wcsmbs/wchar.h: Likewise.
32875
32876 2012-04-29  Andreas Jaeger  <aj@suse.de>
32877
32878         * Makerules (tests): Remove enable-check-abi protection.
32879         (check-abi-warn): Remove.
32880         (check-abi-%): Remove check-abi-warn usage.
32881
32882         * configure.in: Remove check-abi configure option.
32883         * configure: Regenerated.
32884         * config.make.in (enable-check-abi): Remove.
32885
32886 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
32887
32888         [BZ #14033]
32889         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32890         double functions to double *_finite functions.
32891
32892         [BZ #13941]
32893         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32894         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32895         LDBL_MIN_EXP.
32896         * stdio-common/Makefile (tests): Add tst-sprintf3.
32897         * stdio-common/tst-sprintf3.c: New file.
32898
32899         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32900         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32901
32902 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
32903
32904         * conform/conformtest.pl: Remove duplicate typed-constant
32905         handling.
32906
32907 2012-04-28  David S. Miller  <davem@davemloft.net>
32908
32909         * Makerules (%.abilist): Add vpath on sysdep_dirs.
32910         (check-abi-%): Remove AWK script prerequisite and explicit
32911         abilist directory.
32912         (check-abi): Rewrite to just diff the symlist with the abilist.
32913         (config-tls, config-abi-config): Delete, no longer used.
32914         (update-abi-%): Remove AWK script and explicit abilist directory.
32915         (update-abi): Rewrite to simply compare and conditionally copy the
32916         symlist and the sysdep abilist file.  Remove update-abi-config
32917         checks.
32918         * abilist/ld.abilist: Remove.
32919         * abilist/libBrokenLocale.abilist: Remove.
32920         * abilist/libanl.abilist: Remove.
32921         * abilist/libcrypt.abilist: Remove.
32922         * abilist/libdl.abilist: Remove.
32923         * abilist/librt.abilist: Remove.
32924         * abilist/libthread_db.abilist: Remove.
32925         * abilist/libutil.abilist: Remove.
32926         * scripts/extract-abilist.awk: Remove.
32927         * scripts/merge-abilist.awk: Remove.
32928         * sysdeps/generic/libcidn.abilist: New file.
32929         * sysdeps/generic/libnss_compat.abilist: New file.
32930         * sysdeps/generic/libnss_db.abilist: New file.
32931         * sysdeps/generic/libnss_dns.abilist: New file.
32932         * sysdeps/generic/libnss_files.abilist: New file.
32933         * sysdeps/generic/libnss_hesiod.abilist: New file.
32934         * sysdeps/generic/libnss_nis.abilist: New file.
32935         * sysdeps/generic/libnss_nisplus.abilist: New file.
32936         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32937         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32938         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32939         file.
32940         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32941         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32942         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32943         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32944         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32945         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32946         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32947         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32948         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32949         file.
32950         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32951         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32952         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32953         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32954         file.
32955         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32956         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32957         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32958         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32959         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32960         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32961         file.
32962         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32963         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32964         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32965         file.
32966         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32967         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32968         New file.
32969         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32970         New file.
32971         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32972         New file.
32973         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32974         New file.
32975         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32976         New file.
32977         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32978         New file.
32979         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32980         New file.
32981         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32982         New file.
32983         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32984         New file.
32985         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32986         New file.
32987         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32988         New file.
32989         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32990         New file.
32991         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32992         New file.
32993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32994         file.
32995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32996         New file.
32997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32998         New file.
32999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33000         file.
33001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33002         New file.
33003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33004         New file.
33005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33006         file.
33007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33008         New file.
33009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33010         New file.
33011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33012         New file.
33013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33014         New file.
33015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33016         New file.
33017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33018         New file.
33019         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33020         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33021         file.
33022         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33023         New file.
33024         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33025         file.
33026         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33027         file.
33028         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33029         file.
33030         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33031         file.
33032         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33033         file.
33034         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33035         New file.
33036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33037         file.
33038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33039         file.
33040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33041         New file.
33042         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33043         file.
33044         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33045         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33046         file.
33047         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33048         New file.
33049         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33050         file.
33051         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33052         file.
33053         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33054         file.
33055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33056         file.
33057         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33058         file.
33059         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33060         New file.
33061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33062         file.
33063         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33064         file.
33065         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33066         New file.
33067         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33068         file.
33069         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33070         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33071         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33072         file.
33073         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33074         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33075         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33076         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33077         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33078         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33079         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33080         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33081         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33082         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33083         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33084         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33085         file.
33086         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33087         New file.
33088         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33089         file.
33090         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33091         file.
33092         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33093         file.
33094         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33095         file.
33096         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33097         file.
33098         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33099         New file.
33100         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33101         New file.
33102         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33103         file.
33104         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33105         New file.
33106         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33107         file.
33108         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33110         file.
33111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33112         New file.
33113         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33114         file.
33115         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33116         file.
33117         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33118         file.
33119         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33120         file.
33121         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33122         file.
33123         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33124         New file.
33125         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33126         New file.
33127         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33128         file.
33129         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33130         New file.
33131         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33132         file.
33133
33134 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
33135
33136         * conform/conformtest.pl: Fix typo in handling typed-constant from
33137         allow-header.
33138
33139 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
33140
33141         * README: Cut down references to pre-2.6 Linux kernels and
33142         Linuxthreads.  Update lists of configurations in libc and ports
33143         and sort alphabetically.  Say "or newer" with Linux kernel version
33144         requirements.
33145
33146         * config.h.in [IS_IN_build]: Allow compiling without optimization.
33147
33148 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33149
33150         [BZ #887]
33151         * math/libm-test.inc (logb_test_downward): New test to expose
33152         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33153         rounding mode.
33154
33155 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
33156
33157         [BZ #14027]
33158         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33159         to be done.
33160         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33161         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33162
33163 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
33164
33165         * sysdeps/unix/i386/brk.S: Remove file.
33166         * sysdeps/unix/i386/dl-brk.S: Likewise.
33167         * sysdeps/unix/i386/pipe.S: Likewise.
33168         * sysdeps/unix/i386/sigreturn.S: Likewise.
33169         * sysdeps/unix/i386/syscall.S: Likewise.
33170         * sysdeps/unix/i386/vfork.S: Likewise.
33171         * sysdeps/unix/i386/wait.S: Likewise.
33172
33173         * sysdeps/unix/common/tcsendbrk.c: Move to ...
33174         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33175
33176         * configure.in (arm*-none*): Do not allow without
33177         --enable-hacker-mode.
33178         (netbsd*): Remove case setting base_os.
33179         (386bsd*): Likewise.
33180         (freebsd*): Likewise.
33181         (bsdi*): Likewise.
33182         (osf*): Likewise.
33183         (sunos*): Likewise.
33184         (ultrix*): Likewise.
33185         (newsos*): Likewise.
33186         (dynix*): Likewise.
33187         (*bsd*): Likewise.
33188         (sysv*): Likewise.
33189         (isc*): Likewise.
33190         (esix*): Likewise.
33191         (sco*): Likewise.
33192         (minix*): Likewise.
33193         (irix4*): Likewise.
33194         (irix6*): Likewise.
33195         (solaris[2-9]*): Likewise.
33196         (none): Likewise.
33197         * configure: Regenerated.
33198
33199 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33200
33201         [BZ #11521]
33202         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33203         overflow or cancellation in calculating denominator.
33204         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33205         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33206         down expression to avoid unexpected rounding in newer GCCs.
33207         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33208
33209 2012-04-26  David S. Miller  <davem@davemloft.net>
33210
33211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33212         long-double compat symbols.
33213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33224         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33226
33227 2012-04-25  David S. Miller  <davem@davemloft.net>
33228
33229         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33230         HWCAP_* values only after the memory barriers have been defined.
33231         (atomic_full_barrier): Define.
33232         (atomic_read_barrier): Define.
33233         (atomic_write_barrier): Define.
33234
33235 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33236
33237         * shlib-versions: Add libgcc_s version information.
33238         * sysdeps/generic/libgcc_s.h: Remove.
33239         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33240         libgcc_s.h.
33241         * sysdeps/gnu/unwind-resume.c: Likewise.
33242         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33243
33244 2012-04-25  David S. Miller  <davem@davemloft.net>
33245
33246         * sysdeps/unix/sparc/brk.S: Delete.
33247         * sysdeps/unix/sparc/dl-brk.S: Delete.
33248         * sysdeps/unix/sparc/pipe.S: Delete.
33249         * sysdeps/unix/sparc/sysdep.S: Delete.
33250         * sysdeps/unix/sparc/sysdep.h: Delete.
33251         * sysdeps/unix/sparc/vfork.S: Delete.
33252         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33253         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33254         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33255         (ret_ERRVAL, r0, r1, MOVE): Define.
33256         (JUMPTARGET): Remove.
33257         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33258         sysdeps/unix/sparc/sysdep.h
33259         (ENTRY, END): Remove.
33260         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33261
33262 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
33263
33264         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33265         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33266         -DIS_IN_build.
33267
33268         * timezone/README: Update upstream location and email address for
33269         tzcode and tzdata.
33270         * timezone/zdump.c: Update from tzcode 2012b.
33271         * timezone/zic.c: Likewise.
33272
33273         * configure.in (libc_cv_as_needed): Remove test.
33274         * configure: Regenerated.
33275         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33276         conditional definition.
33277         [$(have-as-needed) != yes] (no-as-needed): Likewise.
33278         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33279         * config.make.in (have-as-needed): Remove variable.
33280
33281 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33282             Paul Pluzhnikov  <ppluzhnikov@google.com>
33283
33284         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33285         strings correctly.
33286
33287 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
33288
33289         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33290         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33291         * sysdeps/sh/strlen.S: Likewise.
33292
33293 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
33294
33295         * sysdeps/unix/fork.S: Remove file.
33296         * sysdeps/unix/i386/fork.S: Likewise.
33297         * sysdeps/unix/sparc/fork.S: Likewise.
33298
33299         * sysdeps/unix/system.c: Remove file.
33300         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33301
33302         * sysdeps/unix/getegid.S: Remove file.
33303         * sysdeps/unix/geteuid.S: Likewise.
33304
33305 2012-04-24  Roland McGrath  <roland@hack.frob.com>
33306
33307         * scripts/check-localplt.awk: New file.
33308         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33309         of diff.
33310         * scripts/data/localplt-generic.data: Add a comment.
33311
33312         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33313         NODE when __dir_mkfile failed.
33314         * sysdeps/mach/hurd/symlinkat.c: Likewise.
33315         Reported by Ludovic Courtès <ludo@gnu.org>.
33316
33317 2012-04-24  Andreas Jaeger  <aj@suse.de>
33318
33319         * Makerules (common-clean): Also remove gen-as-const-headers
33320         files.
33321
33322 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
33323
33324         * Makerules (native-compile): Do not change working directory for
33325         build.  Use $(OUTPUT_OPTION) in command.
33326         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33327
33328 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33329
33330         [BZ #13886]
33331         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33332         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33333         * math/libm-test.inc (floor_test): Add more tests.
33334         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33335
33336 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
33337
33338         * sysdeps/unix/getdents.c: Remove file.
33339         * sysdeps/unix/sysv/getdents.c: Likewise.
33340         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33341
33342         * sysdeps/unix/syscalls.list (madvise): Add syscall from
33343         sysdeps/unix/mman/syscalls.list.
33344         (mmap): Likewise.
33345         (mprotect): Likewise.
33346         (msync): Likewise.
33347         (munmap): Likewise.
33348         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33349         * sysdeps/unix/mman/syscalls.list: Remove.
33350         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33351
33352         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33353         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33354         * configure: Regenerated.
33355         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33356         $(libgcc_s_suffix).
33357         * config.make.in (libgcc_s_suffix): Remove variable.
33358
33359 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
33360
33361         * sysdeps/unix/sysv/gethostname.c: Move to ...
33362         * sysdeps/posix/gethostname.c: ... here.
33363
33364         * sysdeps/unix/execve.S: Remove file.
33365
33366         * sysdeps/unix/_exit.S: Remove file.
33367
33368 2012-04-23  Andreas Jaeger  <aj@suse.de>
33369
33370         [BZ #13739]
33371         * manual/Makefile: Remove make dist support, there's no
33372         need for a stand-alone documentation tar ball.
33373         (TEXI2DVI): Define always, it's not in Makeconfig.
33374         (dist): Removed.
33375         (tar-it): Removed.
33376         (edition): Removed.
33377         (glibc-doc-$(edition).tar): Removed
33378         (%.Z): Removed.
33379         (%.gz): Removed.
33380         (%.uu): Removed.
33381         (ETAGS): Remove, it's in Makeconfig.
33382         (move-if-change): Remove, it's in Makeconfig.
33383
33384 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
33385
33386         [BZ #13970]
33387         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33388         (strtod, strtof, strtold, strtol, strtoul, strtoq)
33389         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33390         (strtod_l, strtof_l, strtold_l): Remove __wur.
33391         It is not necessarily an error to ignore strtol's return value.
33392         One can reliably look at the stored endptr to decide whether
33393         the number had valid syntax.
33394
33395 2012-04-21  Andreas Jaeger  <aj@suse.de>
33396
33397         [BZ #13739]
33398         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33399
33400 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
33401
33402         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33403         * sysdeps/unix/sysv/Versions: Remove file.
33404
33405 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
33406
33407         [BZ #13927]
33408         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33409
33410 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
33411
33412         [BZ #7064]
33413         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33414         version from __vm86.
33415
33416 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
33417
33418         * sysdeps/unix/common/lxstat.c: Remove file.
33419         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33420
33421         * sysdeps/unix/sysv/Makefile: Remove file.
33422
33423         * sysdeps/unix/sysv/direct.h: Remove file.
33424
33425         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33426         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33427         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33428         * sysdeps/unix/sysv/bits/signum.h: Likewise.
33429         * sysdeps/unix/sysv/bits/stat.h: Likewise.
33430         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33431         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33432
33433         * sysdeps/unix/sysv/setrlimit.c: Remove file.
33434
33435         * sysdeps/unix/xmknod.c: Remove file.
33436         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33437
33438         * sysdeps/unix/sysv/settimeofday.c: Remove file.
33439
33440         * sysdeps/unix/sysv/i386/time.S: Remove file.
33441
33442         * sysdeps/unix/fxstat.c: Remove file.
33443         * sysdeps/unix/xstat.c: Likewise.
33444         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33445
33446         * sysdeps/unix/sysv/sigaction.c: Remove file.
33447
33448         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33449         (sysdep_headers): Remove variable.
33450         [termio.h not in sysdep_headers] (generated): Likewise.
33451         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33452         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33453         * sysdeps/unix/sysv/tcdrain.c: Likewise.
33454         * sysdeps/unix/sysv/tcflow.c: Likewise.
33455         * sysdeps/unix/sysv/tcflush.c: Likewise.
33456         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33457         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33458         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33459         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33460         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33461
33462         * sysdeps/unix/siglist.c: Remove file.
33463
33464         * sysdeps/unix/getppid.S: Remove file.
33465
33466         * sysdeps/unix/mkdir.c: Remove file.
33467         * sysdeps/unix/rmdir.c: Likewise.
33468
33469 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
33470
33471         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33472         ERR_MAX value.
33473         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33474         errlist-compat value.
33475
33476 2012-04-18  David S. Miller  <davem@davemloft.net>
33477
33478         * sysdeps/generic/memcopy.h (reg_char): Delete.
33479         * debug/strcat_chk.c: Use char, not reg_char.
33480         * debug/strcpy_chk.c: Likewise.
33481         * debug/strncat_chk.c: Likewise.
33482         * debug/strncpy_chk.c: Likewise.
33483         * string/memchr.c: Likewise.
33484         * string/memrchr.c: Likewise.
33485         * string/rawmemchr.c: Likewise.
33486         * string/strcat.c: Likewise.
33487         * string/strchr.c: Likewise.
33488         * string/strchrnul.c: Likewise.
33489         * string/strcmp.c: Likewise.
33490         * string/strcpy.c: Likewise.
33491         * string/strncat.c: Likewise.
33492         * string/strncmp.c: Likewise.
33493         * string/strncpy.c: Likewise.
33494
33495 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
33496
33497         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33498         __builtin_memcopy is called when src and dest ranges are known to not
33499         overlap.
33500
33501 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
33502
33503         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33504         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33505         fwd_align_merge macro call.
33506         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33507         bwd_align_merge macro call.
33508         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33509
33510 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
33511
33512         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33513         bwd_align_merge macros.
33514         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33515         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33516         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33517
33518 2012-04-18  David S. Miller  <davem@davemloft.net>
33519
33520         * sysdeps/sparc/sparc64/memcopy.h: Delete.
33521
33522 2012-04-18  Andreas Jaeger  <aj@suse.de>
33523
33524         [BZ# 6794]
33525         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33526         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33527         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33528
33529         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33530         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33531         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33532
33533         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33534         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33535         Adjust for changed ldbl-128 files.
33536
33537         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33538         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33539         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33540
33541 2012-04-17  David S. Miller  <davem@davemloft.net>
33542
33543         * sysdeps/sparc/sparc32/memcopy.h: Delete.
33544
33545 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
33546
33547         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33548         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33549         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33550         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33551         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33552         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33553
33554 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33555
33556         [BZ #6794]
33557         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33558         * math/libm-test.inc: Add ilogb errno and exception tests.
33559         * math/w_ilogb.c: New file: ilogb wrapper.
33560         * math/w_ilogbf.c: New file: ilogbf wrapper.
33561         * math/w_ilogbl.c: New file: ilogbl wrapper.
33562         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33563         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33564         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33565         exception being thrown with 0.0 as argument.
33566         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33567         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33568         exception being thrown with 0.0 as argument.
33569         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33570         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33571         exception being thrown with 0.0 as argument.
33572         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33573         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33574         exception being thrown with 0.0 as argument.
33575         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33576         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33577         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33578         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33579         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33580         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33581         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33582         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33583         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33584
33585 2012-04-17  Petr Baudis  <pasky@ucw.cz>
33586
33587         * include/sys/uio.h: Change __vector to __iovec to avoid clash
33588         with altivec.
33589
33590 2012-04-16  Marek Polacek  <polacek@redhat.com>
33591
33592         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33593
33594 2012-04-16  Marek Polacek  <polacek@redhat.com>
33595
33596         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33597         operands of fdivp instruction.
33598
33599 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
33600
33601         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33602         * elf/tst-auditmod3b.c: Likewise.
33603         * elf/tst-auditmod4b.c: Likewise.
33604         * elf/tst-auditmod5b.c: Likewise.
33605         * elf/tst-auditmod6b.c: Likewise.
33606         * elf/tst-auditmod6c.c: Likewise.
33607         * elf/tst-auditmod7b.c: Likewise.
33608         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33609         * sysdeps/x86_64/preconfigure.in: Likewise.
33610         * sysdeps/x86_64/preconfigure: Regenerated.
33611
33612 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
33613
33614         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33615         __ILP32__.
33616
33617 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
33618
33619         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33620         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33621
33622 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
33623
33624         [BZ #13973]
33625         * locale/iso-639.def: Fix gl language name. Spotted by
33626         Yaron Shahrabani.
33627
33628 2012-04-12  Roland McGrath  <roland@hack.frob.com>
33629
33630         [BZ #2074]
33631         * libio/libio.h (__io_write_fn): Update comment.
33632
33633 2012-04-12  Petr Baudis  <pasky@ucw.cz>
33634
33635         [BZ #2074]
33636         * stdio.texi (Hook Functions): The user provided writer function
33637         is not allowed to return -1.
33638
33639 2012-04-11  David S. Miller  <davem@davemloft.net>
33640
33641         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33642
33643 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
33644
33645         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33646         Add a leading slash to rtkaio.
33647
33648 2012-04-11  Jim Meyering  <meyering@redhat.com>
33649
33650         [BZ #11959]
33651         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33652         It is not necessarily an error to ignore fwrite's return
33653         value.  One can reliably use ferror to test for errors after
33654         the fact.
33655
33656 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
33657
33658         * bits/types.h (__snseconds_t): New type.
33659         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33660
33661         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33662         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33663         (__SNSECONDS_T_TYPE): Likewise.
33664         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33665         (__SNSECONDS_T_TYPE): Likewise.
33666         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33667         (__SNSECONDS_T_TYPE): Likewise.
33668
33669 2012-04-10  Andreas Jaeger  <aj@suse.de>
33670
33671         [BZ #2636]
33672         * manual/time.texi (Processor Time): Return type of times is
33673         elapsed real time since an arbitrary point in the past.
33674         (CPU Time): Move CLK_TCK from here...
33675         (Processor Time): ...to here.  Correct description.
33676         * manual/conf.texi (Constants for Sysconf): Correct description of
33677         _SC_CLK_TCK.
33678
33679 2012-04-10  David S. Miller  <davem@davemloft.net>
33680
33681         [BZ #13967]
33682         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33683         where the is a gap between DT_REL(A) and DT_JMPREL.
33684
33685 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
33686
33687         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33688         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33689         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33690
33691 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33692
33693         * elf/dl-support.c (_dl_inhibit_cache): New variable.
33694         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33695         (dl_main): Handle --inhibit-cache.
33696         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33697         _dl_inhibit_cache.
33698         * elf/dl-load.c (_dl_map_object): Use it.
33699         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33700
33701 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
33702
33703         [BZ #13872]
33704         * sysdeps/i386/fpu/e_powl.S (p78): New object.
33705         (__ieee754_powl): Saturate large exponents rather than testing for
33706         overflow of y*log2(x).
33707         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33708         * math/libm-test.inc (pow_test): Do not permit spurious overflow
33709         exceptions.
33710
33711         [BZ #11521]
33712         * math/s_ctan.c: Include <float.h>.
33713         (__ctan): Avoid internal overflow or cancellation in calculating
33714         denominator.
33715         * math/s_ctanf.c: Likewise.
33716         * math/s_ctanl.c: Likewise.
33717         * math/s_ctanh.c: Likewise.
33718         * math/s_ctanhf.c: Likewise.
33719         * math/s_ctanhl.c: Likewise.
33720         * math/libm-test.inc (ctan_test): Add more tests.
33721         (ctanh_test): Likewise.
33722         * sysdeps/i386/fpu/libm-test-ulps: Update.
33723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33724
33725 2012-04-09  Andreas Jaeger  <aj@suse.de>
33726
33727         [BZ #6894]
33728         * manual/filesys.texi (Directory Entries): Mention that d_namlen
33729         is an optional BSD extension.
33730
33731         [BZ #10254]
33732         * manual/stdio.texi (Opening Streams): Document additional fopen
33733         parameters.
33734
33735 2012-04-09  Roland McGrath  <roland@hack.frob.com>
33736
33737         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33738         %eax without telling the compiler.
33739
33740 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
33741
33742         [BZ # 13963]
33743         * manual/install.texi: Use sourceware.org.
33744
33745 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
33746
33747         [BZ #13873]
33748         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33749         (__ieee754_pow): Generate overflow and underflow using huge*huge
33750         and tiny*tiny rather than just returning constant infinity or zero
33751         for large exponents.
33752         * math/libm-test.inc (pow_test): Require overflow exceptions for
33753         applicable cases of large exponents.
33754
33755         [BZ #706]
33756         * sysdeps/i386/fpu/e_pow.S (p10): New object.
33757         (__ieee754_pow): Use iterative multiplication algorithm only for
33758         integer exponents with absolute value below 1024.  Check for odd
33759         integer exponents when using algorithm for real exponents.
33760         * math/libm-test.inc (pow_test): Add more tests.
33761         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33762
33763 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
33764
33765         [BZ #13705]
33766         * math/libm-test.inc (exp_test): Do not allow overflow exception
33767         on underflow test.
33768
33769 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
33770
33771         [BZ #13705]
33772         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33773         instead of __kernel_standard_f.
33774
33775 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
33776
33777         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33778         * sysdeps/x86_64/memset_chk.S: Likewise.
33779
33780 2012-04-08  Andreas Jaeger  <aj@suse.de>
33781
33782         [BZ #10153]
33783         * manual/startup.texi (Environment Access): Describe return value
33784         for putenv and setenv.
33785
33786         [BZ #6895]
33787         * manual/filesys.texi (Directory Entries): Add description for
33788         DT_LNK.
33789
33790         [BZ #6890]
33791         * manual/filesys.texi (Directory Entries): Clarify that it's file
33792         system not operating system in the description of DT_UNKNOWN.
33793
33794         [BZ #6578]
33795         * manual/syslog.texi (closelog): Fix reference, it's openlog.
33796
33797 2012-04-08  Stephen Compall  <s11@member.fsf.org>
33798
33799         [BZ #6649]
33800         * manual/llio.texi (Opening and Closing Files): Add cross
33801         reference to explain mode argument.
33802
33803 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
33804
33805         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33806         * sysdeps/x86_64/memset_chk.S: Likewise.
33807
33808 2012-04-07  David S. Miller  <davem@davemloft.net>
33809
33810         * elf/elf.h (R_SPARC_WDISP10): Define.
33811         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33812         R_SPARC_SIZE32.
33813         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33814         R_SPARC_SIZE64 and R_SPARC_H34.
33815
33816 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
33817
33818         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33819         conditions and remove no longer applicable assertion.
33820
33821 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
33822
33823         * bits/byteswap.h: Include <features.h>.
33824         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33825         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33826
33827 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
33828
33829         * bits/byteswap.h (__bswap_16): Removed.
33830         Include <bits/byteswap-16.h> to get __bswap_16.
33831         * sysdeps/i386/bits/byteswap.h: Likewise.
33832         * sysdeps/s390/bits/byteswap.h: Likewise.
33833         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33834         * bits/byteswap-16.h: New file.
33835         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33836         * sysdeps/s390/bits/byteswap-16.h: Likewise.
33837         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33838         * string/Makefile (headers): Add bits/byteswap-16.h.
33839
33840 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33841
33842         [BZ #13895]
33843         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33844         extra indirection.
33845         * nss/Makefile (tests-static, tests): Add tst-nss-static.
33846         * nss/tst-nss-static.c: New.
33847
33848 2012-04-06  Robert Millan  <rmh@gnu.org>
33849
33850         [BZ #6486]
33851         * manual/llio.texi (File Position Primitive): lseek
33852         refers to WHENCE when it really means OFFSET.
33853
33854 2012-04-06  Andreas Jaeger  <aj@suse.de>
33855
33856         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33857         strncmp declarations.
33858
33859         * abilist/libc.abilist: Add __poll and __ppoll.
33860
33861 2012-04-05  David S. Miller  <davem@davemloft.net>
33862
33863         * scripts/check-local-headers.sh: Accept a host triplet in the
33864         path matched by the exclude regexp.
33865
33866         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33867         definition.
33868         * sysdeps/powerpc/powerpc32/dl-machine.h
33869         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33870         * sysdeps/s390/s390-32/dl-machine.h
33871         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33872         * sysdeps/sparc/sparc32/dl-machine.h
33873         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33874         * sysdeps/sparc/sparc64/dl-machine.h
33875         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33876
33877         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33878         lazy binding.
33879         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33880         undefined symbol errors.
33881
33882         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33883         DT_NEEDED entries.
33884
33885 2012-04-05  Michael Matz  <matz@suse.de>
33886
33887         [BZ #13592]
33888         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33889
33890 2012-04-05  Andreas Jaeger  <aj@suse.de>
33891
33892         [BZ #13908]
33893         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33894         comment.
33895
33896 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33897
33898         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33899         which ROUND is no valid rounding mode.
33900
33901 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33902
33903         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33904         read again.
33905         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33906
33907 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33908
33909         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33910         an exception using FPU order intentionally.
33911
33912 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33913
33914         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33915         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33916         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33917         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33918
33919 2012-04-05  Simon Josefsson  <simon@josefsson.org>
33920
33921         [BZ #12340]
33922         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33923         EINVAL when BUFLEN is too smal.
33924
33925 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
33926
33927         [BZ #13553]
33928         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33929         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33930
33931 2012-04-03  Andreas Jaeger  <aj@suse.de>
33932
33933         [BZ #13938]
33934         * manual/setjmp.texi (System V contexts): Fix sentence.
33935
33936         [BZ #13926]
33937         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33938         New macro for this case.
33939         [!__GNUC__] (__bswap_64): New inline function for this case.
33940         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33941         * bits/byteswap.h: Likewise.
33942         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33943         ull, guard with __GLIBC_HAVE_LONG_LONG.
33944
33945         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33946         __GLIBC_HAVE_LONG_LONG.
33947
33948         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33949         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33950
33951 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33952
33953         [BZ #13691]
33954         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33955         inptr and inend, rather than using last_ch.
33956
33957 2012-04-02  David S. Miller  <davem@davemloft.net>
33958
33959         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33960         * stdio-common/printf-parse.h (read_int): Change return type to
33961         'int', return -1 on INT_MAX overflow.
33962         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33963         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
33964         overflows INT_MAX.  Check for overflow of in-format-string precision
33965         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
33966         SIZE_MAX not INT_MAX for integer overflow test.
33967         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33968         skip the construct in the format string but do not record anything.
33969         * stdio-common/bug22.c: Adjust to test both width/prevision
33970         INT_MAX overflow as well as total length INT_MAX overflow.  Check
33971         explicitly for proper errno values.
33972
33973 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
33974
33975         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33976         CHAR_MAX.
33977         * string/test-strcmp.c [! WIDE]: Likewise.
33978         * time/tst-mktime2.c: Likewise for INT_MAX.
33979         * string/test-string.h: #include <sys/param.h> for MIN.
33980
33981         * csu/init-first.c (__libc_init_first): Call __ctype_init.
33982         * sysdeps/i386/init-first.c (init): Likewise.
33983         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33984         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33985         * sysdeps/sh/init-first.c (init): Likewise.
33986
33987 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
33988
33989         * po/ru.po: Update from translation team.
33990         * po/vi.po: Likewise.
33991
33992 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33993
33994         * resolv/nss_dns/dns-host.c: Merge copyright years.
33995
33996 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33997
33998         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33999         Optimize memcpy with prefetch if
34000         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
34001         src, dst pointers have unequal 16 byte alignments.
34002
34003 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34004
34005         [BZ #13928]
34006         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34007         from a CNAME entry and return the minimum ttl for the query.
34008         (gaih_getanswer_slice): Likewise.
34009
34010 2012-03-30  Jeff Law  <law@redhat.com>
34011
34012         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34013         due to long keys.
34014         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34015         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34016
34017         * resolv/nss_dns/dns-host.c: Update copyright year.
34018
34019 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
34020
34021         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
34022         requests to save a system call.  Fix check that all bytes are sent.
34023
34024         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34025         comments for sendmmsg.
34026
34027 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34028
34029         [BZ #13691]
34030         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34031         with only 1 character between 0x0041 and 0x01b0.
34032         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34033         * wcsmbs/tst-mbsnrtowcs.c: New file.
34034
34035 2012-03-29  David S. Miller  <davem@davemloft.net>
34036
34037         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34038         small copies by hand.
34039
34040 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34041
34042         [BZ #13761]
34043         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34044         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34045         group memberships.
34046
34047 2012-03-28  David S. Miller  <davem@davemloft.net>
34048
34049         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34050         that branches into memcpy.
34051         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34052         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34053         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34054         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34055         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34056         bits.
34057         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34058         implementation too.
34059         * sysdeps/sparc/mempcpy.S: New file.
34060
34061         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34062         the IFUNC routine in the libc case.
34063         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34064
34065         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34066         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34067         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34068         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34069         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34070         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34071         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34072         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34073
34074         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34075         loop to 256 bytes instead of 64 bytes and fix test signedness.
34076
34077         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34078         * sysdeps/sparc/sparc32/Makefile: rather than here...
34079         * sysdeps/sparc/sparc64/Makefile: and here.
34080
34081 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
34082
34083         * malloc/mallocbug.c: Avoid warnings about unused variables.
34084
34085 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34086
34087         [BZ #13760]
34088         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34089         in the right place. Discard and retry query if response is
34090         larger than input buffer size.
34091
34092 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
34093
34094         [BZ #369]
34095         [BZ #2678]
34096         [BZ #3866]
34097         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34098         x for large integer exponent.
34099         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34100         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
34101         sign of result as needed afterwards.
34102         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34103         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34104         result for underflowing pow the same as for overflow.
34105         (__kernel_standard_l): Handle powl overflow and underflow here
34106         rather than calling __kernel_standard.
34107         * math/libm-test.inc (pow_test): Add more tests.
34108
34109         [BZ #3868]
34110         [BZ #13879]
34111         [BZ #13910]
34112         [BZ #13911]
34113         [BZ #13912]
34114         [BZ #13913]
34115         [BZ #13915]
34116         [BZ #13916]
34117         [BZ #13917]
34118         [BZ #13918]
34119         [BZ #13919]
34120         [BZ #13920]
34121         [BZ #13921]
34122         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34123         * sysdeps/ieee754/k_standard.c: Include <float.h>.
34124         (__kernel_standard_l): New function.
34125         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34126         __kernel_standard.
34127         * math/w_acosl.c (__acosl): Likewise.
34128         * math/w_asinl.c (__asinl): Likewise.
34129         * math/w_atan2l.c (__atan2l): Likewise.
34130         * math/w_atanhl.c (__atanhl): Likewise.
34131         * math/w_coshl.c (__coshl): Likewise.
34132         * math/w_exp10l.c (__exp10l): Likewise.
34133         * math/w_exp2l.c (__exp2l): Likewise.
34134         * math/w_fmodl.c (__fmodl): Likewise.
34135         * math/w_hypotl.c (__hypotl): Likewise.
34136         * math/w_j0l.c (__j0l, __y0l): Likewise.
34137         * math/w_j1l.c (__j1l, __y1l): Likewise.
34138         * math/w_jnl.c (__jnl, __ynl): Likewise.
34139         * math/w_lgammal.c (__lgammal): Likewise.
34140         * math/w_log10l.c (__log10l): Likewise.
34141         * math/w_log2l.c (__log2l): Likewise.
34142         * math/w_logl.c (__logl): Likewise.
34143         * math/w_powl.c (__powl): Likewise.
34144         * math/w_remainderl.c (__remainderl): Likewise.
34145         * math/w_scalbl.c (sysv_scalbl): Likewise.
34146         * math/w_sinhl.c (__sinhl): Likewise.
34147         * math/w_sqrtl.c (__sqrtl): Likewise.
34148         * math/w_tgammal.c (__tgammal): Likewise.
34149         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34150         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34151         * math/libm-test.inc (acos_test): Add more tests.
34152         (acosh_test): Likewise.
34153         (asin_test): Likewise.
34154         (atanh_test): Likewise.
34155         (exp_test): Likewise.
34156         (exp10_test): Likewise.
34157         (exp2_test): Likewise.
34158         (expm1_test): Likewise.
34159         (lgamma_test): Likewise.
34160         (log_test): Likewise.
34161         (log10_test): Likewise.
34162         (log1p_test): Likewise.
34163         (log2_test): Likewise.
34164         (pow_test): Do not allow some spurious overflow exceptions.
34165         (sqrt_test): Add more tests.
34166         (tgamma_test): Likewise.
34167         (y0_test): Likewise.
34168         (y1_test): Likewise.
34169         (yn_test): Likewise.
34170
34171 2012-03-27  Anton Blanchard  <anton@samba.org>
34172
34173         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34174         MAP_HUGETLB.
34175         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34176         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34177         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34178
34179 2012-03-27  David S. Miller  <davem@davemloft.net>
34180
34181         * conform/Makefile: Run run-conformtest.sh using $(BASH).
34182
34183         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34184         have-as-vis3 check.
34185
34186 2012-03-27  Andreas Jaeger  <aj@suse.de>
34187
34188         * sysdeps/x86_64/elf/configure.in: Moved to ...
34189         * sysdeps/x86_64/configure.in: ... here.
34190         * sysdeps/x86_64/elf/start.S: Moved to ...
34191         * sysdeps/x86_64/start.S: ... here.
34192         * sysdeps/x86_64/elf/configure: Delete.
34193
34194         * sysdeps/x86_64/configure.in: Merge contents from
34195         sysdeps/i386/configure.in (without i686 check).
34196
34197         * sysdeps/i386/elf/Versions: Merge into ...
34198         * sysdeps/i386/Versions: ... this.
34199         * sysdeps/i386/elf/Versions: Delete file.
34200         * sysdeps/i386/elf/start.S: Moved to ...
34201         * sysdeps/i386/start.S: ...here.
34202         * sysdeps/i386/elf/configure.in: Merge into...
34203         * sysdeps/i386/configure.in: ...here.
34204         * sysdeps/i386/elf/configure.in: Delete file.
34205         * sysdeps/i386/elf/configure: Delete file.
34206
34207         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34208         * debug/backtracesyms.c: ... here.
34209         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34210         * debug/backtracesymsfd.c: ... here.
34211         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34212         * sysdeps/generic/ifunc-sel.h: ... here.
34213
34214         * sysdeps/unix/i386/start.c: Delete file.
34215         * sysdeps/unix/sparc/start.c: Delete file.
34216         * sysdeps/unix/start.c: Delete file.
34217
34218         * sysdeps/sh/elf/configure.in: Moved to ...
34219         * sysdeps/sh/configure.in: ... here.
34220         * sysdeps/sh/elf/start.S: Moved to ...
34221         * sysdeps/sh/start.S: ... here.
34222         * sysdeps/sh/elf/configure: Delete file.
34223
34224         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34225         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34226         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34227         * sysdeps/powerpc/powerpc64/entry.h: ... here.
34228         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34229         * sysdeps/powerpc/powerpc64/start.S: here.
34230         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34231         * sysdeps/powerpc/powerpc64/Makefile: ... this.
34232         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34233         * sysdeps/powerpc/powerpc64/configure.in: ... this.
34234         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34235
34236         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34237         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34238         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34239         * sysdeps/powerpc/powerpc32/start.S: ... here.
34240         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34241         * sysdeps/powerpc/powerpc32/configure.in: ... this.
34242         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34243
34244         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34245         * sysdeps/powerpc/ifunc-sel.h: ... here.
34246         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34247         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34248
34249         * sysdeps/sparc/elf/configure.in: Moved to ...
34250         * sysdeps/sparc/configure.in: ... here.
34251         * sysdeps/sparc/elf/configure: Delete file.
34252         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34253         * sysdeps/sparc/sparc32/start.S: ... here.
34254         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34255         * sysdeps/sparc/sparc64/start.S: ... here.
34256         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34257         * sysdeps/sparc/sparc32/Makefile: ... this.
34258         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34259         * sysdeps/sparc/sparc64/Makefile: ... this.
34260
34261         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34262         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34263         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34264         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34265         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34266         * sysdeps/s390/s390-32/setjmp.S: ... here.
34267         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34268         * sysdeps/s390/s390-32/configure.in: ... here.
34269         * sysdeps/s390/s390-32/elf/configure: Delete file.
34270         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34271         * sysdeps/s390/s390-32/start.S: ... here.
34272
34273         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34274         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34275         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34276         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34277         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34278         * sysdeps/s390/s390-64/setjmp.S: ... here.
34279         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34280         * sysdeps/s390/s390-64/configure.in: ... here
34281         * sysdeps/s390/s390-64/elf/configure: Delete file.
34282         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34283         * sysdeps/s390/s390-64/start.S: ... here.
34284         * sysdeps/s390/s390-64/elf/configure: Delete.
34285
34286         * configure.in: Remove support for elf directories in sysdeps.
34287
34288         * configure: Regenerated.
34289         * sysdeps/i386/configure: Regenerated.
34290         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34291         * sysdeps/powerpc/powerpc64/configure: Regenerated.
34292         * sysdeps/s390/s390-32/configure: Regenerated.
34293         * sysdeps/s390/s390-64/configure: Regenerated.
34294         * sysdeps/sh/configure: Regenerated.
34295         * sysdeps/sparc/configure: Regenerated.
34296         * sysdeps/x86_64/configure: Regenerated.
34297
34298 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
34299
34300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34301
34302         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34303         denormal result into account.
34304
34305 2012-03-25  Roland McGrath  <roland@hack.frob.com>
34306
34307         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34308         Reported by Allan McRae <allan@archlinux.org>.
34309
34310 2012-03-23  Jeff Law  <law@redhat.com>
34311
34312         * nss/getnssent.c (__nss_getent): Fix typo.
34313
34314 2012-03-23  David S. Miller  <davem@davemloft.net>
34315
34316         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34317
34318 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
34319
34320         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34321         to pad to uint64_t for each field.
34322         (dl_tls_index): Replace unsigned long with uint64_t.
34323
34324 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
34325         Paul Pluzhnikov  <ppluzhnikov@google.com>
34326
34327         [BZ #6528]
34328         * grp/Makefile (otherlibs): Don't set it.
34329         * inet/Makefile (otherlibs): Likewise.
34330         * login/Makefile (otherlibs): Likewise.
34331         * nscd/Makefile (otherlibs): Likewise.
34332         * posix/Makefile (otherlibs): Likewise.
34333         * pwd/Makefile (otherlibs): Likewise.
34334         * rt/Makefile (otherlibs): Likewise.
34335         * sunrpc/Makefile (otherlibs): Likewise.
34336         * nss/Makefile (otherlibs): Likewise.
34337         Add libnss_files to routines and static-only-routines.
34338         ($(objpfx)getent): Remove rule.
34339         * resolv/Makefile: Add libnss_dns and libresolv to routines and
34340         static-only-routines.
34341
34342 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
34343
34344         [BZ #13892]
34345         * math/s_cexp.c: Include <float.h>.
34346         (__cexp): Handle exp result overflowing not necessarily
34347         overflowing both real and imaginary parts of result.
34348         * math/s_cexpf.c: Likewise.
34349         * math/s_cexpl.c: Likewise.
34350         * math/libm-test.inc (cexp_test): Add more tests.
34351         * sysdeps/i386/fpu/libm-test-ulps: Update.
34352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34353
34354 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34355
34356         * include/link.h (ELFW): New macro.
34357         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34358         Replace ELF64_R_TYPE with ELFW(R_TYPE).
34359
34360 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34361
34362         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34363         with uint64_t.
34364
34365 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34366
34367         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34368         declaration.
34369         (struct La_x32_retval): Likewise.
34370
34371 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34372
34373         * sysdeps/x86_64/preconfigure.in: New file.
34374         * sysdeps/x86_64/preconfigure: New generated file.
34375
34376 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
34377
34378         [BZ #13824]
34379         * math/e_exp2l.c: Include <float.h>.
34380         (__ieee754_exp2l): Handle overflow and underflow cases
34381         separately.  Only pass fractional part of argument to
34382         __ieee754_expl.
34383         * math/libm-test.inc (exp2_test): Add more tests.
34384
34385         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34386         negating x to take absolute value.
34387         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34388         Likewise.
34389         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34390         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34391         Likewise.
34392         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34393         computing low part if x was negated.
34394         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34395
34396 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
34397
34398         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34399         la_x32_gnu_pltexit.
34400         (pltexit): Cast int_retval to ptrdiff_t.
34401         * elf/tst-auditmod3b.c: Likewise.
34402         * elf/tst-auditmod4b.c: Likewise.
34403         * elf/tst-auditmod5b.c: Likewise.
34404         * elf/tst-auditmod6b.c: Likewise.
34405         * elf/tst-auditmod6c.c: Likewise.
34406         * elf/tst-auditmod7b.c: Likewise.
34407
34408         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34409         and x32_gnu_pltexit.
34410
34411         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34412         __ELF_NATIVE_CLASS.
34413         (La_x32_regs): New macro.
34414         (La_x32_retval): Likewise.
34415         (la_x32_gnu_pltenter): New function prototype.
34416         (la_x32_gnu_pltexit): Likewise.
34417
34418 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
34419
34420         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34421         exponent.
34422
34423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34424
34425         * configure.in (libc_cv_cc_nofma): Check for option to disable
34426         generation of FMA instructions.
34427         * configure: Regenerate.
34428         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34429         * sysdeps/ieee754/dbl-64/Makefile: New file.
34430         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34431         Remove brandred-fma4.
34432         (CFLAGS-brandred-fma4.c): Remove.
34433         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34434         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34435         define.
34436         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34437         define.
34438
34439 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
34440
34441         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34442         LLONG_MAX != LONG_MAX.
34443         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34444         (_fitoa_word): Likewise.
34445         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34446         LLONG_MAX != LONG_MAX.
34447         * stdio-common/_itowa.h: Include <_itoa.h>.
34448         (_itowa_word): Use _ITOA_WORD_TYPE on value.
34449         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
34450         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
34451         only if not defined.
34452         (_ITOA_WORD_TYPE): Likewise.
34453         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34454         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34455
34456 2012-03-21  David S. Miller  <davem@davemloft.net>
34457
34458         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34459
34460 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
34461
34462         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34463         of x86_64 when setting libc_cv_slibdir, libdir and
34464         libc_cv_localedir.
34465         * sysdeps/unix/sysv/linux/configure: Regenerated.
34466
34467 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
34468
34469         * manual/lang.texi (Old Varargs): Remove section.
34470         (How Variadic): Update menu.
34471         (va_start): Do not mention varargs.h.
34472
34473 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34474             Joseph Myers  <joseph@codesourcery.com>
34475
34476         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34477         link test.
34478         * configure: Regenerated.
34479
34480 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34481
34482         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34483         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34484         conformtest.pl
34485
34486 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
34487
34488         * NOTES: Remove.
34489         * Makefile (files-for-dist): Remove NOTES.
34490         (NOTES): Remove rule.
34491         * README: Don't refer to NOTES.
34492         * manual/creature.texi: Don't include macros.texi.
34493         * manual/intro.texi (creature.texi): Remove comment referring to
34494         NOTES.
34495
34496         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34497         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34498         * configure: Regenerated.
34499         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34500         LIBC_TRY_CC_OPTION.
34501         (libc_cv_as_i686): Likewise.
34502         (libc_cv_cc_avx): Likewise.
34503         (libc_cv_cc_sse2avx): Likewise.
34504         (libc_cv_cc_fma4): Likewise.
34505         (libc_cv_cc_novzeroupper): Likewise.
34506         * sysdeps/i386/configure: Regenerated.
34507
34508         [BZ #13883]
34509         * sysdeps/i386/fpu/s_cexp.S: Remove.
34510         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34511         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34512         * math/libm-test.inc (cexp_test): Add more tests.
34513         * sysdeps/i386/fpu/libm-test-ulps: Update.
34514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34515
34516 2012-03-21  Allan McRae  <allan@archlinux.org>
34517
34518         * timezone/Makefile: Do not install iso3166.tab and zone.tab
34519
34520 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
34521
34522         [BZ #13871]
34523         * math/w_exp2.c: Do not include <float.h>.
34524         (o_threshold, u_threshold): Remove.
34525         (__exp2): Calculate result before checking finiteness and calling
34526         __kernel_standard.
34527         * math/w_exp2f.c: Likewise.
34528         * math/w_exp2l.c: Likewise.
34529         * math/libm-test.inc (exp2_test): Require overflow exception for
34530         1e6 input.
34531
34532         [BZ #3866]
34533         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34534         range of signed 64-bit integers before using fistpll.  Remove
34535         checks for whether integers fit in mantissa bits.
34536         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34537         the range of signed 32-bit integers before using fistpl.  Remove
34538         checks for whether integers fit in mantissa bits.
34539         * sysdeps/i386/fpu/e_powl.S (p64): New object.
34540         (__ieee754_powl): Test for y outside the range of signed 64-bit
34541         integers before using fistpll.  Reduce 64-bit values to 63-bit
34542         ones as needed.
34543         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34544         divide-by-zero is raised for zero to large negative powers.
34545         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34546         (__ieee754_powl): Test for y outside the range of signed 64-bit
34547         integers before using fistpll.  Reduce 64-bit values to 63-bit
34548         ones as needed.
34549         * math/libm-test.inc (pow_test): Add more tests.
34550
34551 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34552
34553         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34554         <stdio-common/_itoa.h>.
34555         * debug/segfault.c: Likewise.
34556         * elf/dl-cache.c: Likewise.
34557         * elf/dl-minimal.c: Likewise.
34558         * elf/dl-misc.c: Likewise.
34559         * elf/dl-sysdep.c: Likewise.
34560         * elf/dl-version.c: Likewise.
34561         * elf/rtld.c: Likewise.
34562         * hurd/hurdsock.c: Likewise.
34563         * hurd/lookup-retry.c: Likewise.
34564         * malloc/malloc.c: Likewise.
34565         * malloc/mtrace.c: Likewise.
34566         * nscd/nscd_getgr_r.c: Likewise.
34567         * nscd/nscd_getpw_r.c: Likewise.
34568         * nscd/nscd_getserv_r.c: Likewise.
34569         * posix/getopt_init.c: Likewise.
34570         * posix/wordexp.c: Likewise.
34571         * stdio-common/_itoa.c: Likewise.
34572         * stdio-common/printf_fphex.c: Likewise.
34573         * stdio-common/vfprintf.c: Likewise.
34574         * string/_strerror.c: Likewise.
34575         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34576         * sysdeps/i386/i686/hp-timing.h: Likewise.
34577         * sysdeps/mach/_strerror.c: Likewise.
34578         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34579         * sysdeps/mach/hurd/sethostid.c: Likewise.
34580         * sysdeps/mach/hurd/xmknodat.c: Likewise.
34581         * sysdeps/mach/xpg-strerror.c: Likewise.
34582         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34583         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34584         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34585         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34586         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34587         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34588         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34589         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34590         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34591         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34592         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34593         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34594         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34595         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34596         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34597         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34598         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34599         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34600         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34601         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34602         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34603
34604         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34605
34606         * stdio-common/_itoa.h: Moved to ...
34607         * sysdeps/generic/_itoa.h: Here.
34608
34609         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34610
34611         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34612         instead of "_itoa.h" and "_itowa.h".
34613         * stdio-common/vfprintf.: Likewise.
34614
34615 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34616
34617         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34618         <bits/wordsize.h>.
34619         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34620         (__signbit): Likwise.
34621         (llrintf): Likwise.
34622         (llrint): Likwise.
34623
34624 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34625
34626         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34627         __WORDSIZE != 64.
34628
34629 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
34630
34631         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34632         OVERFLOW_EXCEPTION_OK.
34633         * math/libm-test.inc ("Philosophy"): Update comment about
34634         exception testing.
34635         (OVERFLOW_EXCEPTION): Define.
34636         (OVERFLOW_EXCEPTION_OK): Likewise.
34637         (INVALID_EXCEPTION_OK): Renumber.
34638         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34639         (IGNORE_ZERO_INF_SIGN): Likewise.
34640         (test_exceptions): Handle FE_OVERFLOW.
34641         (exp10_test): Expect overflow exceptions.
34642         (exp2_test): Likewise.
34643         (expm1_test): Likewise.
34644         (nextafter_test): Likewise.
34645         (pow_test): Likewise.
34646         (scalbn_test): Likewise.
34647         (scalbln_test): Likewise.
34648
34649 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34650
34651         * sysdeps/x86_64/bits/atomic.h
34652         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34653         64bit integer.
34654         (atomic_exchange_acq): Likewise.
34655         (__arch_exchange_and_add_body): Likewise.
34656         (__arch_add_body): Likewise.
34657         (atomic_add_negative): Likewise.
34658         (atomic_add_zero): Likewise.
34659
34660 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34661
34662         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34663         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34664
34665 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34666
34667         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34668         Check __x86_64__ instead of __WORDSIZE.
34669
34670 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34671
34672         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34673
34674 2012-03-19  David S. Miller  <davem@davemloft.net>
34675
34676         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34677
34678         * sysdeps/sparc/fpu/fenv_private.h: New file.
34679         * sysdeps/sparc/fpu/math_private.h: Use it.
34680         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34681         Remove.
34682         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34683         (libc_feholdexcept_setroundl): Remove.
34684         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34685         Remove.
34686         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34687         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34688
34689 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34690
34691         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34692         int64_t instead of long int.
34693         (INSERT_WORDS64): Likwise.
34694
34695 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34696
34697         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34698         _Unwind_GetCFA return to _Unwind_Ptr first.
34699
34700 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
34701
34702         [BZ #13629]
34703         * math/s_clog.c: Include <float.h>.
34704         (__clog): Scale large or subnormal inputs.
34705         * math/s_clogf.c: Likewise.
34706         * math/s_clogl.c: Likewise.
34707         * math/s_clog10.c: Include <float.h>.
34708         (M_LOG10_2): Define.
34709         (__clog10): Scale large or subnormal inputs.
34710         * math/s_clog10f.c: Likewise.
34711         * math/s_clog10l.c: Likewise.
34712         * math/libm-test.inc (clog_test): Add more tests.
34713         (clog10_test): Likewise.
34714         * sysdeps/i386/fpu/libm-test-ulps: Update.
34715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34716
34717         [BZ #11451]
34718         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34719         x and y.
34720         * math/libm-test.inc (atan2_test): Add another test.
34721
34722         * Makerules (common-objdir-compile): Remove.
34723         * sysdeps/unix/Makefile (config-generated): Do not add
34724         $(unix-generated) to variable.
34725         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34726         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34727         Remove rule.
34728         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34729         Likewise.
34730         [generic bits/local_lim.h] (before-compile): Do not append to
34731         variable.
34732         [generic bits/local_lim.h] (common-generated): Likewise.
34733         [generic sys/param.h] (before-compile): Do not append to variable.
34734         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34735         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34736         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34737         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34738         include.
34739         [generic sys/param.h] (sys/param.h-includes): Remove variable.
34740         [generic sys/param.h] (sys/param.h-includes): Remove rule.
34741         [generic sys/param.h] ($(addprefix
34742         $(common-objpfx),$(sys/param.h-includes))): Likewise.
34743         [generic sys/param.h] (common-generated): Do not append to
34744         variable.
34745         [generic sys/param.h] (sysdep_headers): Likewise.
34746         [generic bits/errno.h] (before-compile): Do not append to
34747         variable.
34748         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34749         rule.
34750         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34751         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34752         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34753         [generic bits/errno.h] (common-generated): Do not append to
34754         variable.
34755         [generic bits/ioctls.h] (before-compile): Do not append to
34756         variable.
34757         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34758         rule.
34759         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34760         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34761         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34762         rule.
34763         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34764         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34765         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34766         [generic bits/ioctls.h] (common-generated): Do not append to
34767         variable.
34768         [generic sys/syscall.h] (syscall.h): Remove variable.
34769         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34770         rule.
34771         [generic sys/syscall.h] (before-compile): Do not append to
34772         variable.
34773         [generic sys/syscall.h] (common-generated): Likewise.
34774         * sysdeps/unix/errnos-tmpl.c: Remove file.
34775         * sysdeps/unix/errnos.awk: Likewise.
34776         * sysdeps/unix/ioctls-tmpl.c: Likewise.
34777         * sysdeps/unix/ioctls.awk: Likewise.
34778         * sysdeps/unix/mk-local_lim.c: Likewise.
34779         * sysdeps/unix/snarf-ioctls: Likewise.
34780
34781 2012-03-19  Richard Henderson  <rth@twiddle.net>
34782
34783         * sysdeps/i386/fpu/fenv_private.h: New file.
34784         * sysdeps/i386/fpu/math_private.h: Use it.
34785         (math_opt_barrier, math_force_eval): Remove.
34786         (libc_feholdexcept_setround_53bit): Remove.
34787         (libc_feupdateenv_53bit): Remove.
34788         * sysdeps/x86_64/fpu/math_private.h: Likewise.
34789         (math_opt_barrier, math_force_eval): Remove.
34790         (libc_feholdexcept): Remove.
34791         (libc_feholdexcept_setround): Remove.
34792         (libc_fetestexcept, libc_fesetenv): Remove.
34793         (libc_feupdateenv_test): Remove.
34794         (libc_feupdateenv, libc_feholdsetround): Remove.
34795         (libc_feresetround): Remove.
34796
34797         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34798         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34799
34800         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34801         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34802         (libc_feupdateenv_testl): New.
34803         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34804         (libc_feupdateenv_testf): New.
34805         (libc_feupdateenv): Use libc_feupdateenv_test.
34806         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34807         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34808
34809         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34810         (libc_feholdsetroundf, libc_feholdsetroundl): New.
34811         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34812         (libc_feresetround_noex): New.
34813         (libc_feresetround_noexf): New.
34814         (libc_feresetround_noexl): New.
34815         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34816         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34817         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34818         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34819         SET_RESTORE_ROUND.
34820         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34821         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34822         (__cos): Likewise.
34823         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34824         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34825         SET_RESTORE_ROUND_NOEX.
34826         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34827         SET_RESTORE_ROUND_NOEXF.
34828         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34829         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34830         (libc_feholdsetroundf): New.
34831         (libc_feresetround, libc_feresetroundf): New.
34832
34833         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34834         (libc_feholdexcept_setround_53bit): Convert from macro to function.
34835         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
34836
34837         * sysdeps/generic/math_private.h: Include <fenv.h>.
34838         (default_libc_feholdexcept): New.
34839         (default_libc_feholdexcept_setround): New.
34840         (default_libc_fesetenv, default_libc_feupdateenv): New.
34841         (libc_feholdexcept): Only define if undefined.
34842         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34843         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34844         (libc_feholdexcept_setroundl): Likewise.
34845         (libc_feholdexcept_setround_53bit): Likewise.
34846         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34847         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34848         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34849         (libc_feupdateenv_53bit): Likewise.
34850         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34851         (libc_feholdexcept): Convert from macro to inline function.
34852         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34853         (libc_fesetenv, libc_feupdateenv): Likewise.
34854
34855         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34856         not previously defined.
34857         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34858         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34859         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34860         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34861         * sysdeps/ieee754/flt-32/math_private.h: New file.
34862         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34863         math_private.h below SET_FLOAT_WORD.
34864         (__isnan, __isinf_ns, __finite): Remove.
34865         (__isnanf, __isinf_nsf, __finitef): Remove.
34866
34867 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
34868
34869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34870
34871 2012-03-17  David S. Miller  <davem@davemloft.net>
34872
34873         [BZ #6471]
34874         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34875         for 2.16.
34876
34877 2012-03-16  David S. Miller  <davem@davemloft.net>
34878
34879         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34880         warnings.
34881
34882         [BZ #6471]
34883         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34884         properly.
34885         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34886         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34887         sysdep_routines when subdir is sysvipc.
34888         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34889         __getshmlba helper.
34890
34891         * sysdeps/sparc/fpu/libm-test/ulps: Update.
34892
34893 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34894
34895         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34896         [__LP64__].
34897
34898 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34899
34900         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34901         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34902         (__lround): Renamed to ...
34903         (__llround): This.  Replace long int with long long int.
34904         Define lround functions as aliases of llround functions.
34905         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34906
34907 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34908
34909         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34910         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
34911         adresses to uintptr_t.  Replace "long int" and "unsigned long
34912         int" with "greg_t" on va_arg.
34913
34914 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34915
34916         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34917         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34918
34919         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34920         Move e_machine check before EI_CLASS check.  Handle x32
34921         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34922         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34923         SKIP_EM_IA_64 and include
34924         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34925
34926         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34927         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34928         (add_system_dir): New macro.
34929
34930         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34931         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34932
34933 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
34934
34935         [BZ #2551]
34936         [BZ #2552]
34937         [BZ #2553]
34938         [BZ #2554]
34939         [BZ #2562]
34940         [BZ #2563]
34941         [BZ #2565]
34942         [BZ #2566]
34943         [BZ #2576]
34944         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34945         (y0): Likewise.
34946         * math/w_j0f.c (j0f): Likewise.
34947         (y0f): Likewise.
34948         * math/w_j0l.c (__j0l): Likewise.
34949         (__y0l): Likewise.
34950         * math/w_j1.c (j1): Likewise.
34951         (y1): Likewise.
34952         * math/w_j1f.c (j1f): Likewise.
34953         (y1f): Likewise.
34954         * math/w_j1l.c (__j1l): Likewise.
34955         (__y1l): Likewise.
34956         * math/w_jn.c (jn): Likewise.
34957         (yn): Likewise.
34958         * math/w_jnf.c (jnf): Likewise.
34959         (ynf): Likewise.
34960         * math/w_jnl.c (__jnl): Likewise.
34961         (__ynl): Likewise.
34962         * math/libm-test.inc (j0_test): Add more tests.
34963         (j1_test): Likewise.
34964         (jn_test): Likewise.  Add trailing semicolon to existing test.
34965         (y0_test): Likewise.
34966         (y1_test): Likewise.
34967         * sysdeps/i386/fpu/libm-test-ulps: Update.
34968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34969
34970         [BZ #13851]
34971         [BZ #13854]
34972         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34973         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34974         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34975         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34976         (__tanl): Set errno for infinite argument.
34977         * sysdeps/i386/fpu/mptan.c: Remove.
34978         * sysdeps/i386/fpu/s_tan.S: Likewise.
34979         * sysdeps/i386/fpu/s_tanl.S: Likewise.
34980         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34981         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34982         * math/libm-test.inc (tan_test): Add more tests and enable more
34983         tests for double and long double.
34984         * sysdeps/i386/fpu/libm-test-ulps: Update.
34985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34986
34987 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
34988
34989         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34990         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34991
34992 2012-03-16  Roland McGrath  <roland@hack.frob.com>
34993
34994         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34995         * configure.in: Use it for both main tree and add-ons.
34996         * configure: Regenerated.
34997
34998 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34999
35000         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35001
35002 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
35003
35004         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35005         in comment.
35006
35007         [BZ #13851]
35008         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35009         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35010         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35011         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35012         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35013         infinite argument.
35014         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35015         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35016         != 0 for prec == 2.
35017         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35018         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35019         * sysdeps/i386/fpu/s_cosl.S: Likewise.
35020         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35021         * sysdeps/i386/fpu/s_sinl.S: Likewise.
35022         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35023         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35024         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35025         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35026         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35027         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35028         * math/libm-test.inc (cos_test): Add more tests and enable more
35029         tests for long double.
35030         (sin_test): Likewise.
35031         (sincos_test): Likewise.
35032         * sysdeps/i386/fpu/libm-test-ulps: Update.
35033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35034
35035 2012-03-16  David S. Miller  <davem@davemloft.net>
35036
35037         * sysdeps/sparc/fpu/math_private.h: New file.
35038
35039 2012-03-15  David S. Miller  <davem@davemloft.net>
35040
35041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35042         file.
35043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
35044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35045         file.
35046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35047         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35048         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35049         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35050         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35051         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35052         sysdep routines.
35053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35054
35055         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35056         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35057
35058         * sysdeps/sparc/sparc-ifunc.h: New file.
35059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35060         sparc-ifunc.h
35061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35063         Likewise.
35064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35065         Likewise.
35066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35070         Likewise.
35071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
35075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35076         Likewise.
35077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35078         Likewise.
35079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35083         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35084         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35085         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35086         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35087         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35088         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35089         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35090         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35091         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35092         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35093         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35094         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35095         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35096         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35097         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35098         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35099         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35100         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35101         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35102         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35103
35104 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
35105
35106         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35107         scaling.
35108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35109
35110 2012-03-15  Andreas Jaeger  <aj@suse.de>
35111
35112         [BZ #13852]
35113         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35114         ieee754/flt-32 implementation for sin, cos and sincos.
35115         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35116         * sysdeps/i386/fpu/s_cosf.S: Likewise.
35117         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35118         * sysdeps/i386/fpu/s_sinf.S: Likewise.
35119         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35120         ieee754/flt-32 implementation for tan.
35121
35122         * math/libm-test.inc (cos_test): Enable some large input tests for
35123         float as well
35124         (sin_test): Likewise.
35125         (sincos_test): Likewise.
35126         (tan_test): Add tests for large input.
35127
35128         * sysdeps/i386/fpu/libm-test-ulps: Update.
35129
35130 2012-03-15  Andreas Jaeger  <aj@suse.de>
35131
35132         [BZ #13658]
35133         * math/libm-test.inc (cos_test): Add more test cases.
35134         (sin_test): Likewise.
35135         (sincos_test): Likewise.
35136
35137 2012-03-15  Andreas Jaeger  <aj@suse.de>
35138
35139         [BZ #13837]
35140         * math/libm-test.inc (cos_test): Add a test case for large input
35141         value.
35142         (sin_test): Likewise.
35143         (sincos_test): Likewise.
35144
35145 2012-03-15  Andreas Jaeger  <aj@suse.de>
35146             Joseph Myers  <joseph@codesourcery.com>
35147
35148         [BZ #13658]
35149         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
35150         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35151         * sysdeps/i386/fpu/branred.c: Likewise.
35152         * sysdeps/i386/fpu/dosincos.c: Likewise.
35153         * sysdeps/i386/fpu/mpa.c: Likewise.
35154         * sysdeps/i386/fpu/s_cos.S: Likewise.
35155         * sysdeps/i386/fpu/s_sin.S: Likewise.
35156         * sysdeps/i386/fpu/s_sincos.S: Likewise.
35157         * sysdeps/i386/fpu/sincos32.c: Likewise.
35158
35159         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35160         Define.
35161         (libc_feupdateenv_53bit): Define.
35162         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35163         Define.
35164         (libc_feupdateenv_53bit): Define.
35165
35166         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35167         53 bit (without extend i386 double precision).
35168
35169         * math/libm-test.inc (sincos_test): Add tests for large input.
35170         (sin): Likewise.
35171         (cos): Likewise.
35172
35173         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35174
35175 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
35176
35177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35178
35179 2012-03-15  David S. Miller  <davem@davemloft.net>
35180
35181         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35182         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35183         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35184         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35189         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35190         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35191         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35192         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35193         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35194         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35195         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
35196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35197         file.
35198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
35199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35200         file.
35201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
35202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35203         file.
35204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
35205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35206         file.
35207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35208         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35209         fmin/fmax sysdep routines.
35210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35211
35212 2012-03-14  David S. Miller  <davem@davemloft.net>
35213
35214         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35215         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35216         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35217         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35218         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35219         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35220         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35221         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35222         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35223         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35224         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35225         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35226         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35227         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35228         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35229         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35230         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35231         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35232         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35233         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35234         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35235         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35236         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35237         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35238         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35239         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35240         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35241         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
35242         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35243         routines.
35244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35245         file.
35246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
35247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35248         file.
35249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
35250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35251         file.
35252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
35253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35254         file.
35255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
35256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35257         file.
35258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
35259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35260         file.
35261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35262         file.
35263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35264         file.
35265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35266         file.
35267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35268         New file.
35269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35270         file.
35271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35272         file.
35273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
35274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35275         file.
35276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
35277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35278         file.
35279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
35280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35281         file.
35282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
35283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35284         VIS3 routines.
35285
35286         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35287         New file.
35288
35289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35290
35291         * sysdeps/sparc/configure.in: New file.
35292         * sysdeps/sparc/configure: Generate.
35293         * configure.in (libc_cv_sparc_as_vis3): Substitute.
35294         * configure: Regenerate.
35295         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35296         * config.make.in (have-as-vis3): New.
35297         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35298         available use -Av9d instead of -Av9a.
35299         * sysdeps/sparc/sparc64/Makefile: Likewise.
35300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
35301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35302         New file.
35303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35304         file.
35305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35306         New file.
35307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35308         file.
35309         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35310         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35311         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35312         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35313         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35314
35315         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35316         fzeros/fnegs to load 0x80000000 into a float register instead of
35317         using the stack.
35318         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35319
35320 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
35321
35322         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35323         bits/syscall.h.
35324         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35325         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35326         ($(inst_includedir)/bits/syscall.h): Remove rule.
35327         ($(objpfx)bits/syscall.d): Include instead of
35328         $(objpfx)syscall-list.d.
35329         (generated): Change syscall-list.h and syscall-list.d to
35330         bits/syscall.h and bits/syscall.d.
35331
35332 2012-03-14  Roland McGrath  <roland@hack.frob.com>
35333
35334         [BZ #13846]
35335         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35336
35337 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
35338
35339         [BZ #13841]
35340         * math/s_csqrt.c: Include <float.h>.
35341         (__csqrt): Scale large or subnormal inputs.
35342         * math/s_csqrtf.c: Likewise.
35343         * math/s_csqrtl.c: Likewise.
35344         * math/libm-test.inc (csqrt_test): Add more tests.
35345         * sysdeps/i386/fpu/libm-test-ulps: Update.
35346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35347
35348         [BZ #13840]
35349         * math/libm-test.inc (hypot_test): Add more tests.
35350
35351 2012-03-13  David S. Miller  <davem@davemloft.net>
35352
35353         [BZ #13840]
35354         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35355         double-precision for the calculation instead of scaling.
35356
35357 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
35358
35359         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35360         manipulate bits before adding and subtracting TWO52[sx].
35361         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35362         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35363         Likewise.
35364         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35365
35366 2012-03-13  David S. Miller  <davem@davemloft.net>
35367
35368         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35369         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35370         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35371         rtld-global-offsets.h
35372         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35373
35374         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35375         large parameters.
35376
35377         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35378
35379         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35380         'err' in the ifdef scope in which it is actually used.
35381
35382         * nss/nss_db/db-init.c: Include string.h
35383
35384 2012-03-12  David S. Miller  <davem@davemloft.net>
35385
35386         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35387         masking out of the most significant byte of random value used.
35388         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35389         Fix coding style in previous change.
35390
35391         * sysdeps/unix/sysv/linux/kernel-features.h
35392         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35393         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35394         expression.
35395         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35396         later.
35397
35398 2012-03-11  David S. Miller  <davem@davemloft.net>
35399
35400         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35401         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35402         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35403         for 'resultvar' otherwise things get truncated on 64-bit.
35404
35405         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35406         Fix masking out of the most significant byte of random value used.
35407
35408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35409
35410 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
35411
35412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35413
35414 2012-03-09  David S. Miller  <davem@davemloft.net>
35415
35416         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35417         variables with appropriate CPP guards.
35418         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35419         from the frame pointer, not the stack pointer.  Correct layout
35420         comments.  Fix test on resulting framesize and the management of
35421         the outregs buffer for pltexit.  Preserve floating point return
35422         values across _dl_call_pltexit call.
35423         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35424         framesize and the management of the outregs buffer for pltexit.
35425         Preserve floating point return values across _dl_call_pltexit
35426         call.
35427         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35428         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35429         (la_sparc64_gnu_pltexit): New functions.
35430         (print_exit): Fix format string for return register value.
35431
35432 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
35433
35434         * sunrpc/Makefile (others): Add rpcgen.
35435         ($(objpfx)rpcgen): Remove special build rule and dependency on
35436         libc.
35437         * sunrpc/rpcgen.c: New file.
35438
35439 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
35440
35441         [BZ #13673]
35442         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35443         * stdio-common/bug-vfprintf-nargs.c: Likewise.
35444         * sysdeps/i386/crti.S: Likewise.
35445         * sysdeps/i386/crtn.S: Likewise.
35446         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35447         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35448         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35449         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35450         * sysdeps/sh/crti.S: Likewise.
35451         * sysdeps/sh/crtn.S: Likewise.
35452         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35453
35454         [BZ #13673]
35455         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35456         with URL.
35457         * locale/programs/locfile-kw.gperf: Likewise.
35458         * locale/programs/charmap-kw.h: Regenerated.
35459         * locale/programs/locfile-kw.h: Likewise.
35460
35461         [BZ #13673]
35462         * intl/plural.y: Replace FSF snail mail address with URL.
35463         * intl/plural.c: Regenerated.
35464
35465 2012-03-09  Richard Henderson  <rth@twiddle.net>
35466
35467         * include/math_private.h: Remove file.
35468         * math/math_private.h: Move file ...
35469         * sysdeps/generic/math_private.h: ... here.
35470
35471         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35472         * sysdeps/powerpc/fpu/math_private.h: Likewise.
35473         * sysdeps/x86_64/fpu/math_private.h: Likewise.
35474
35475         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
35476         and <math_private.h>.
35477         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35478         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35479         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35480         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35481         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35482         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35483         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35484         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35485         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35486         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35487         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35488         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35489         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35490         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35491         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35492         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35493         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35494         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35495         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35496         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35497         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35498         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35499         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35500         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35501         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35502         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35503         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35504         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35505         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35506         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35507         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35508         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35509         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35510         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35511         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35512         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35513         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35514         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35515         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35516         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35517         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35518         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35519         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35520         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35521         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35522         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35523         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35524         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35525         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35526         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35527         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35528         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35529         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35530         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35531         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35532         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35533         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35534         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35535         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35536         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35537         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35538         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35539         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35540         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35541         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35542         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35543         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35544         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35545         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35546         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35547         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35548         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35549         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35550         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35551         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35552         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35553         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35554         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35555         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35556         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35557         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35558         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35559         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35560         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35561         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35562         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35563         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35564         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35565         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35566         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35567         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35568         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35569         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35570         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35571         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35572         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35573         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35574         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35575         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35576         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35577         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35578         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35579         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35580         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35581         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35582         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35583         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35584         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35585         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35586         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35587         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35588         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35589         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35590         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35591         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35592         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35593         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35594         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35595         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35596         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35597         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35598         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35599         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35600         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35601         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35602         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35603         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35604         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35605         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35606         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35607         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35608         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35609         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35610         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35611         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35612         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35613         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35614         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35615         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35616         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35617         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35618         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35619         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35620         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35621         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35622         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35623         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35624         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35625         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35626         * sysdeps/ieee754/k_standard.c: Likewise.
35627         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35628         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35629         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35630         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35631         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35632         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35633         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35634         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35635         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35636         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35637         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35638         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35639         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35640         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35641         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35642         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35643         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35644         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35645         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35646         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35647         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35648         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35649         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35650         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35651         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35652         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35653         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35654         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35655         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35656         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35657         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35658         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35659         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35660         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35661         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35662         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35663         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35664         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35665         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35666         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35667         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35668         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35669         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35670         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35671         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35672         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35673         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35674         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35675         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35676         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35677         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35678         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35679         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35680         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35681         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35682         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35683         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35684         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35685         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35686         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35687         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35688         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35689         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35690         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35691         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35692         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35693         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35694         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35695         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35696         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35697         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35698         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35699         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35700         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35701         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35702         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35703         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35704         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35705         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35706         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35707         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35708         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35709         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35710         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35711         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35712         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35713         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35714         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35715         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35716         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35717         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35718         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35719         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35720         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35721         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35722         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35723         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35724         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35725         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35726         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35727         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35728         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35729         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35730         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35731         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35732         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35733         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35734         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35735         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35736         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35737         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35738         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35739         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35740         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35741         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35742         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35743         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35744         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35745         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35746         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35747         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35748         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35749         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35750         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35751         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35752         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35753         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35754         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35755         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35756         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35757         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35758         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35759         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35760         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35761         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35762         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35763         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35764         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35765         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35766         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35767         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35768         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35769         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35770         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35771         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35772         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35773         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35774         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35775         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35776         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35777         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35778         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35779         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35780         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35781         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35782         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35783         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35784         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35785         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35786         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35787         * sysdeps/ieee754/s_lib_version.c: Likewise.
35788         * sysdeps/ieee754/s_matherr.c: Likewise.
35789         * sysdeps/ieee754/s_signgam.c: Likewise.
35790         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35791         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35792         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35793         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35794         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35795         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35796         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35797         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35798         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35799         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35800         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35801         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35802         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35803         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35804         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35805         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35806         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35807         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35808         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35809         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35810         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35811
35812 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
35813
35814         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35815         * sunrpc/rpc_main.c: Likewise.
35816         * sunrpc/rpc_svcout.c: Likewise.
35817
35818 2012-03-09  David S. Miller  <davem@davemloft.net>
35819
35820         * include/math_private.h: New file.
35821
35822 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
35823
35824         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35825         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35826         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35827         from <bits/socket_type.h>.
35828         (enum __socket_type): Don't define here.
35829         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35830         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35831         bits/socket_type.h.
35832
35833         [BZ #13566]
35834         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35835         checking __USE_GNU.
35836
35837         * Makerules ($(inst_includedir)/%.h): New rule.
35838         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35839         (install-others): Remove variable setting.
35840         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35841
35842 2012-03-08  Richard Henderson  <rth@twiddle.net>
35843
35844         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35845         from macro to inline function; merge with the
35846         !__LIBC_INTERNAL_MATH_INLINES version.
35847         (__ieee754_sqrtf): Likewise.
35848
35849         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35850         to inline function.
35851         (__rintf, __floor, __floorf): Likewise.
35852
35853         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35854         macro to inline function.
35855         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35856
35857         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35858         not <math/math_private.h>.
35859
35860 2012-03-08  David S. Miller  <davem@davemloft.net>
35861
35862         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35863         copyright year.
35864         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35865
35866 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
35867
35868         * resolv/gai_misc.c (handle_requests): Fix struct timespec
35869         normalization.
35870         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35871         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35872
35873 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
35874
35875         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
35876         be defined individually, they must be defined as a block.  Define
35877         S for printing a string instead of hidint the different by using a
35878         macro for adding the 'l'.
35879         * stdio-common/tst-fphex-wide.c: Adjust.
35880
35881 2012-03-07  Marek Polacek  <polacek@redhat.com>
35882
35883         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35884
35885 2012-03-08  Marek Polacek  <polacek@redhat.com>
35886
35887         [BZ #13806]
35888         * stdio-common/Makefile (tests): Add tst-fphex-wide.
35889         * stdio-common/tst-fphex.c: Define a few macros to make the
35890         test reusable.  Use them.
35891         * stdio-common/tst-fphex-wide.c: New file.
35892
35893 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
35894
35895         [BZ #6911]
35896         * manual/macros.texi (gnusystems): New macro.
35897         (nongnusystems): Likewise.
35898         (gnulinuxhurdsystems): Likewise.
35899         (gnuhurdsystems): Likewise..
35900         (gnulinuxsystems): Likewise.
35901         * manual/charset.texi: Use new macros or @theglibc{} to refer to
35902         variants of the GNU system, not "GNU system".
35903         * manual/conf.texi: Likewise.
35904         * manual/errno.texi: Likewise.  Update example of errno macro
35905         expansion.
35906         * manual/filesys.texi: Likewise.
35907         (getumask): Document as specific to GNU/Hurd.
35908         * manual/install.texi: Likewise.  Reword some references to
35909         GNU/Linux.
35910         * manual/intro.texi: Likewise.
35911         * manual/io.texi: Likewise.
35912         (File Name Portability): Detail which constraints are inapplicable
35913         to all GNU systems and which are only inapplicable to GNU/Hurd.
35914         * manual/job.texi: Likewise.
35915         * manual/llio.texi: Likewise.
35916         (O_NOCTTY): Document as present on GNU/Linux.
35917         * manual/maint.texi: Likewise.
35918         * manual/memory.texi: Likewise.
35919         * manual/pattern.texi: Likewise.
35920         * manual/pipe.texi: Likewise.
35921         * manual/process.texi: Likewise.
35922         * manual/resource.texi: Likewise.
35923         (RUSAGE_CHILDREN): Remove statement about specifying a particular
35924         child on GNU/Hurd.
35925         * manual/setjmp.texi: Likewise.
35926         * manual/signal.texi: Likewise.
35927         * manual/startup.texi: Likewise.
35928         * manual/stdio.texi: Likewise.
35929         * manual/terminal.texi: Likewise.
35930         (ONLCR): Document as POSIX.
35931         (OXTABS): Document availability on GNU/Linux as XTABS.
35932         (ONOEOT): Document availability separately from other bits.
35933         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35934         * manual/time.texi: Likewise.
35935         * manual/users.texi: Likewise.
35936         * INSTALL: Regenerated.
35937         * sysdeps/gnu/errlist.c: Regenerated.
35938
35939         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35940         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35941         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
35942         puts.
35943         * configure: Regenerated.
35944
35945 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
35946
35947         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35948         default includes instead of AC_HEADER_CHECK.
35949         * sysdeps/i386/configure: Regenerated.
35950
35951         [BZ #10716]
35952         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35953         * math/s_cacoshf.c (__cacoshf): Likewise.
35954         * math/s_cacoshl.c (__cacoshl): Likewise.
35955         * math/s_casinh.c (__casinh): Set signs of result from argument.
35956         * math/s_casinhf.c (__casinhf): Likewise.
35957         * math/s_casinhl.c (__casinhl): Likewise.
35958         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35959         (casinh_test): Add more tests.
35960         * sysdeps/i386/fpu/libm-test-ulps: Update.
35961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35962
35963 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
35964
35965         * po/zh_TW.po: Update from translation team.
35966
35967         * login/Makefile (distribute): Remove variable.
35968         * catgets/Makefile: Likewise.
35969         * mach/Makefile: Likewise.
35970         * malloc/Makefile: Likewise.
35971         * misc/Makefile: Likewise.
35972         * iconv/Makefile: Likewise.
35973         * nscd/Makefile: Likewise.
35974         * hurd/Makefile: Likewise.
35975         * manual/Makefile: Likewise.
35976         * locale/Makefile: Likewise.
35977         * intl/Makefile: Likewise.
35978         * conform/Makefile: Likewise.
35979         * nss/Makefile: Likewise.
35980         * time/Makefile: Likewise.
35981         * soft-fp/Makefile: Likewise.
35982         * dirent/Makefile: Likewise.
35983         * gmon/Makefile: Likewise.
35984         * po/Makefile: Likewise.
35985         * rt/Makefile: Likewise.
35986         * socket/Makefile: Likewise.
35987         * math/Makefile: Likewise.
35988         * signal/Makefile: Likewise.
35989         * debug/Makefile: Likewise.
35990         * elf/Makefile: Likewise.
35991         * timezone/Makefile: Likewise.
35992         * stdlib/Makefile: Likewise.
35993         * iconvdata/Makefile: Likewise.
35994         * sunrpc/Makefile: Likewise.
35995         * io/Makefile: Likewise.
35996         * argp/Makefile: Likewise.
35997         * inet/Makefile: Likewise.
35998         * hesiod/Makefile: Likewise.
35999         * grp/Makefile: Likewise.
36000         * csu/Makefile: Likewise.
36001         * wctype/Makefile: Likewise.
36002         * crypt/Makefile: Likewise.
36003         * libio/Makefile: Likewise.
36004         * string/Makefile: Likewise.
36005         * nis/Makefile: Likewise.
36006         * resolv/Makefile: Likewise.
36007         * stdio-common/Makefile: Likewise.
36008         * wcsmbs/Makefile: Likewise.
36009         * dlfcn/Makefile: Likewise.
36010         * posix/Makefile: Likewise.
36011
36012         [BZ #6959]
36013         * timezone/Makefile: Don't install timezone files, just the programs
36014         and scripts.
36015
36016 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
36017
36018         * nss/databases.def: Add missing gshadow entry.
36019
36020         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
36021
36022 2012-03-06  Marek Polacek  <polacek@redhat.com>
36023
36024         [BZ #13726]
36025         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36026         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36027         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36028         * stdio-common/tst-long-dbl-fphex.c: New file.
36029
36030 2012-03-06  David S. Miller  <davem@davemloft.net>
36031
36032         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36033         (set_obp_int): New function.
36034         (get_obp_int): New function.
36035         (__get_clockfreq_via_dev_openprom): Likewise.
36036         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36037         Avoid unused variable warnings on 'val' and use builtin_expect.
36038         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36039         __builtin_expect.
36040         (INLINE_CLONE_SYSCALL): Likewise.
36041
36042 2012-03-05  David S. Miller  <davem@davemloft.net>
36043
36044         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36045
36046 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
36047
36048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36049
36050         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36051         only for |x| >= 40.
36052         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36053
36054 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
36055
36056         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36057         Replace gettimeofday with __vdso_gettimeofday.
36058
36059         * sysdeps/unix/sysv/linux/x86_64/init-first.c
36060         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36061         __vdso_clock_gettime and __vdso_getcpu.
36062
36063         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36064         time with __vdso_time.
36065
36066 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
36067
36068         * manual/lang.texi (size_t): Note types to which size_t may be
36069         equivalent with the GNU C Library, but do not describe when
36070         differences between them are significant.
36071
36072 2012-03-05  Andreas Jaeger  <aj@suse.de>
36073
36074         * sysdeps/i386/fpu/libm-test-ulps: Update.
36075
36076 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
36077
36078         [BZ #3976]
36079         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36080         (__ieee754_pow): Save and restore rounding mode and use
36081         round-to-nearest for main computations.
36082         * math/libm-test.inc (pow_test_tonearest): New function.
36083         (pow_test_towardzero): Likewise.
36084         (pow_test_downward): Likewise.
36085         (pow_test_upward): Likewise.
36086         (main): Call the new functions.
36087         * sysdeps/i386/fpu/libm-test-ulps: Update.
36088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36089
36090         [BZ #3976]
36091         * math/libm-test.inc (cosh_test_tonearest): New function.
36092         (cosh_test_towardzero): Likewise.
36093         (cosh_test_downward): Likewise.
36094         (cosh_test_upward): Likewise.
36095         (sinh_test_tonearest): Likewise.
36096         (sinh_test_towardzero): Likewise.
36097         (sinh_test_downward): Likewise.
36098         (sinh_test_upward): Likewise.
36099         (main): Call the new functions.
36100         * sysdeps/i386/fpu/libm-test-ulps: Update.
36101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36102
36103 2012-03-05  Tom de Vries  <tom@codesourcery.com>
36104
36105         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36106         default stack guard is set in last bytes.
36107         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36108
36109 2012-03-05  Kees Cook  <keescook@chromium.org>
36110
36111         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
36112
36113         [BZ #13656]
36114         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36115         possibly allocate from heap instead of stack.
36116         * stdio-common/bug-vfprintf-nargs.c: New file.
36117         * stdio-common/Makefile (tests): Add nargs overflow test.
36118
36119 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
36120
36121         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36122
36123 2012-03-03  Marek Polacek  <polacek@redhat.com>
36124
36125         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36126         * math/math_private.h: Likewise.
36127         * stdlib/tst-strtod.c: Likewise.
36128         * sysdeps/i386/i486/bits/atomic.h: Likewise.
36129         * sysdeps/x86_64/bits/atomic.h: Likewise.
36130
36131 2012-03-02  David S. Miller  <davem@davemloft.net>
36132
36133         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36134         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36135         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36136         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36137         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36138         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36139         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36140         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36141
36142 2012-03-02  Roland McGrath  <roland@hack.frob.com>
36143
36144         [BZ #13792]
36145         * manual/examples/README: New file, says the example source files
36146         can be used under GPL>=2.
36147         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36148         line containing just "*/".
36149         * manual/examples/add.c: Add copyright header (GPL>=2).
36150         * manual/examples/argp-ex1.c: Likewise.
36151         * manual/examples/argp-ex2.c: Likewise.
36152         * manual/examples/argp-ex3.c: Likewise.
36153         * manual/examples/argp-ex4.c: Likewise.
36154         * manual/examples/atexit.c: Likewise.
36155         * manual/examples/db.c: Likewise.
36156         * manual/examples/dir.c: Likewise.
36157         * manual/examples/dir2.c: Likewise.
36158         * manual/examples/execinfo.c: Likewise.
36159         * manual/examples/filecli.c: Likewise.
36160         * manual/examples/filesrv.c: Likewise.
36161         * manual/examples/fmtmsgexpl.c: Likewise.
36162         * manual/examples/genpass.c: Likewise.
36163         * manual/examples/inetcli.c: Likewise.
36164         * manual/examples/inetsrv.c: Likewise.
36165         * manual/examples/isockad.c: Likewise.
36166         * manual/examples/longopt.c: Likewise.
36167         * manual/examples/memopen.c: Likewise.
36168         * manual/examples/memstrm.c: Likewise.
36169         * manual/examples/mkfsock.c: Likewise.
36170         * manual/examples/mkisock.c: Likewise.
36171         * manual/examples/mygetpass.c: Likewise.
36172         * manual/examples/pipe.c: Likewise.
36173         * manual/examples/popen.c: Likewise.
36174         * manual/examples/rprintf.c: Likewise.
36175         * manual/examples/search.c: Likewise.
36176         * manual/examples/select.c: Likewise.
36177         * manual/examples/setjmp.c: Likewise.
36178         * manual/examples/sigh1.c: Likewise.
36179         * manual/examples/sigusr.c: Likewise.
36180         * manual/examples/stpcpy.c: Likewise.
36181         * manual/examples/strdupa.c: Likewise.
36182         * manual/examples/strftim.c: Likewise.
36183         * manual/examples/strncat.c: Likewise.
36184         * manual/examples/subopt.c: Likewise.
36185         * manual/examples/swapcontext.c: Likewise.
36186         * manual/examples/termios.c: Likewise.
36187         * manual/examples/testopt.c: Likewise.
36188         * manual/examples/testpass.c: Likewise.
36189         * manual/examples/timeval_subtract.c: Likewise.
36190
36191         [BZ #13792]
36192         * manual/time.texi (Elapsed Time): Move timeval_subtract example
36193         function to ...
36194         * manual/timeval_subtract.c.texi: ... here, new file.
36195
36196 2012-03-02  David S. Miller  <davem@davemloft.net>
36197
36198         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36199
36200 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
36201
36202         [BZ #3976]
36203         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36204         (__sin): Save and restore rounding mode and use round-to-nearest
36205         for all computations.
36206         (__cos): Save and restore rounding mode and use round-to-nearest
36207         for all computations.
36208         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36209         <fenv.h>.
36210         (tan): Save and restore rounding mode and use round-to-nearest for
36211         all computations.
36212         * math/libm-test.inc (cos_test_tonearest): New function.
36213         (cos_test_towardzero): Likewise.
36214         (cos_test_downward): Likewise.
36215         (cos_test_upward): Likewise.
36216         (sin_test_tonearest): Likewise.
36217         (sin_test_towardzero): Likewise.
36218         (sin_test_downward): Likewise.
36219         (sin_test_upward): Likewise.
36220         (tan_test_tonearest): Likewise.
36221         (tan_test_towardzero): Likewise.
36222         (tan_test_downward): Likewise.
36223         (tan_test_upward): Likewise.
36224         (main): Call the new functions.
36225         * sysdeps/i386/fpu/libm-test-ulps: Update.
36226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36227
36228         [BZ #10135]
36229         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36230         small n, then large n, before computing and testing k+n.
36231         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36232         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36233         Likewise.
36234         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36235         Likewise.
36236         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36237         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36238         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36239         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36240         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36241         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36242         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36243         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36244         * math/libm-test.inc (scalbn_test): Add more tests.
36245         (scalbln_test): Likewise.
36246
36247         * manual/filesys.texi (mode_t): Describe constraints on size and
36248         signedness, not exact equivalence to a particular type.
36249         (ino_t): Likewise.
36250         (ino64_t): Likewise.
36251         (dev_t): Likewise.
36252         (nlink_t): Likewise.
36253         (blkcnt_t): Likewise.
36254         (blkcnt64_t): Likewise.
36255         * manual/llio.texi (off_t): Likewise.
36256
36257         [BZ #3976]
36258         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36259         (__ieee754_exp): Save and restore rounding mode and use
36260         round-to-nearest for all computations.
36261         * math/libm-test.inc (exp_test_tonearest): New function.
36262         (exp_test_towardzero): Likewise.
36263         (exp_test_downward): Likewise.
36264         (exp_test_upward): Likewise.
36265         (main): Call the new functions.
36266         * sysdeps/i386/fpu/libm-test-ulps: Update.
36267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36268
36269 2012-03-01  Chris Demetriou  <cgd@google.com>
36270
36271         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36272         have predictable order.
36273
36274 2012-03-01  David S. Miller  <davem@davemloft.net>
36275
36276         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36277
36278         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36279         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36280         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36281         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36282
36283         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36284         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36285         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36287         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36288         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36289         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36290         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36291         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36292
36293         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36294
36295         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36296         * sysdeps/sparc/fpu/libm-test-ulps: to here.
36297         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36298
36299         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36300         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36301         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36302         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36303         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36304         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36305         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36306         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36307         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36308         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36309         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36310         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36311         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36312         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36313         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36314         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36315         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36316         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36317         * sysdeps/sparc/elf/configure: Regenerated.
36318
36319 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
36320
36321         * configure.in (AS, LD): Require binutils 2.20 or later.
36322         * configure: Regenerated.
36323         * manual/install.texi (Tools for Compilation): Give binutils 2.20
36324         as required minimum version.
36325         * INSTALL: Regenerated.
36326
36327         [BZ #2541]
36328         [BZ #4108]
36329         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36330         before squaring exponent.
36331         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36332         bottom long double and 27 bits of top long double before squaring
36333         exponent.
36334         * math/libm-test.inc (erfc_test): Add more tests.
36335         * sysdeps/i386/fpu/libm-test-ulps: Update.
36336         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36338
36339 2012-03-01  Kai Tietz  <ktietz@redhat.com>
36340
36341         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36342         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36343         containing bit-fields.
36344         * soft-fp/extended.h (_FP_UNION_E): Likewise.
36345         * soft-fp/single.h (_FP_UNION_S): Likewise.
36346         * soft-fp/double.h (_FP_UNION_D): Likewise.
36347
36348 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
36349
36350         [BZ #13786]
36351         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36352         not include ../strcmp.S.
36353         [USE_AS_STRNCASECMP_L]: Likewise.
36354         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36355         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36356         * sysdeps/i386/i686/multiarch/strncase_l-c.c
36357         (__strncasecmp_l_ia32): Define as alias to
36358         __strncasecmp_l_nonascii.
36359
36360         [BZ #5794]
36361         * math/libm-test.inc (expm1_test): Add test for bug 5794.
36362         * sysdeps/i386/fpu/libm-test-ulps: Update.
36363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36364
36365         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36367
36368 2012-02-29  Jeff Law  <law@redhat.com>
36369
36370         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36371         out of bounds read.
36372
36373 2012-02-29  Marek Polacek  <polacek@redhat.com>
36374
36375         [BZ #13706]
36376         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36377         * elf/Makefile: Add rules to run tst-unused-dep.out.
36378
36379 2012-02-28  David S. Miller  <davem@davemloft.net>
36380
36381         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36382         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36383         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36384         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36385         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36386         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36387
36388 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
36389
36390         * math/libm-test.inc (llround_test): Move one test from
36391         lround_test.  Use TEST_f_L in moved test.
36392         (lround_test): Move misplaced test to llround_test.  Add testcase
36393         from bug 2561.
36394
36395 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
36396
36397         * sysdeps/x86_64/fpu/e_expf.S: New file.
36398         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36399
36400 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
36401
36402         [BZ #13637]
36403         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36404         of remain_len that may cause incomplete multi-byte character and
36405         false match.
36406         * posix/bug-regex33.c: New file.
36407         * posix/Makefile (tests): Add bug-regex33.
36408
36409 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
36410
36411         * manual/macros.texi: New file.
36412         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36413         * manual/libc.texinfo: Include macros.texi.
36414         * manual/creatute.texi: Likewise.
36415         * manual/install.texi: Likewise.
36416         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36417         @glibcadj{} in references to the GNU C Library.
36418         * manual/charset.texi: Likewise.
36419         * manual/conf.texi: Likewise.
36420         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
36421         when not using those macros.
36422         * manual/creature.texi: Likewise.
36423         * manual/crypt.texi: Likewise.
36424         * manual/errno.texi: Likewise.
36425         * manual/filesys.texi: Likewise.
36426         * manual/header.texi: Likewise.
36427         * manual/install.texi: Likewise.
36428         * manual/intro.texi: Likewise.
36429         * manual/io.texi: Likewise.
36430         * manual/job.texi: Likewise.
36431         * manual/lang.texi: Likewise.
36432         * manual/libc.texiinfo: Likewise.
36433         * manual/llio.texi: Likewise.
36434         * manual/locale.texi: Likewise.
36435         * manual/maint.texi: Likewise.
36436         * manual/math.texi: Likewise.
36437         * manual/memory.texi: Likewise.
36438         * manual/message.texi: Likewise.
36439         * manual/nss.texi: Likewise.
36440         * manual/pattern.texi: Likewise.
36441         * manual/process.texi: Likewise.
36442         * manual/resource.texi: Likewise.
36443         * manual/search.texi: Likewise.
36444         * manual/setjmp.texi: Likewise.
36445         * manual/signal.texi: Likewise.
36446         * manual/socket.texi: Likewise.
36447         * manual/startup.texi: Likewise.
36448         * manual/stdio.texi: Likewise.
36449         * manual/string.texi: Likewise.
36450         * manual/sysinfo.texi: Likewise.
36451         * manual/syslog.texi: Likewise.
36452         * manual/terminal.texi: Likewise.
36453         * manual/time.texi: Likewise.
36454         * manual/users.texi: Likewise.
36455         * INSTALL: Regenerated.
36456         * NOTES: Regenerated.
36457         * sysdeps/gnu/errlist.c: Regenerated.
36458
36459 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
36460
36461         * include/dirent.h: Include <dirstream.h> before
36462         <dirent/dirent.h>.
36463
36464 2012-02-28  David S. Miller  <davem@davemloft.net>
36465
36466         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36467         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36468         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36469         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36470
36471 2012-02-27  David S. Miller  <davem@davemloft.net>
36472
36473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36475         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36476         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36477
36478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36479         frame pointer instead of stack pointer relative arg slot.
36480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36481         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36482         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36483
36484 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
36485
36486         [BZ #3992]
36487         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36488
36489 2012-02-27  David S. Miller  <davem@davemloft.net>
36490
36491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36495         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36496         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36497         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36498         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36499
36500 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
36501
36502         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36503         later.  Allow versions 5-9.
36504         * configure: Regenerated.
36505         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36506         required minimum version and 4.6 as recommended version.  Do not
36507         mention bugs in GCC 2.7 and 2.8.
36508         * INSTALL: Regenerated.
36509
36510 2012-02-27  David S. Miller  <davem@davemloft.net>
36511
36512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36516         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36517         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36518         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36519         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36520
36521         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36522         manipulate bits before adding and subtracting TWO112[sx].
36523         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36524
36525 2012-02-27  Roland McGrath  <roland@hack.frob.com>
36526
36527         [BZ #13775]
36528         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36529         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36530         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36531         being in POSIX, because they are in 1003.1-2008.
36532
36533         * rt/tst-aio.c: Include <fcntl.h>.
36534         * rt/tst-aio7.c: Likewise.
36535         * rt/tst-aio64.c: Likewise.
36536
36537         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36538
36539 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
36540
36541         * manual/install.texi (--with-headers): Describe headers as
36542         interface headers, not private headers.
36543         (Specific advice for GNU/Linux systems): Describe use of headers
36544         from "make headers_install", not private headers from older
36545         kernels.
36546         * INSTALL: Regenerated.
36547         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36548         Change to 2.6.19.
36549         * sysdeps/unix/sysv/linux/configure: Regenerated.
36550
36551         * manual/llio.texi (fclean): Remove documentation.
36552
36553         * manual/Makefile (libc-texi-generated): New variable.  Include
36554         version.texi.
36555         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36556         $(libc-texi-generated), not duplicated list of files.
36557         (version.texi, stamp-version): New rules.
36558         (realclean): Remove $(libc-texi-generated), not individual files
36559         from that list.  Do not remove dir-add.texinfo.
36560         * manual/libc.texinfo: Comment out uses of edition numbers and
36561         references to printed manual.  Remove last-updated dates.
36562         (EDITION): Comment out.
36563         (ISBN): Likewise.
36564         (VERSION, UPDATED): Remove.
36565         (version.texi): Include.
36566
36567 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
36568
36569         * sysdeps/posix/spawni.c: Include <signal.h>.
36570         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36571         * sysdeps/pthread/aio_fsync.c: Likewise.
36572
36573 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
36574
36575         * conform/Makefile (tests): Run only when not cross-compiling and
36576         when fast-check is not defined.
36577
36578         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36579         * conform/data/limits.h-data: Fixes for POSIX2008.
36580         * conform/run-conformtest.sh: Run all tests.
36581         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36582         headers.
36583         * include/bits/dlfcn.h: Likewise.
36584         * include/langinfo.h: Likewise.
36585         * include/monetary.h: Likewise.
36586         * include/sys/poll.h: Likewise.
36587
36588         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36589         for __USE_GNU.
36590         * posix/spawn.h: Define __need_sigset_t.
36591         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36592         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36593         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
36594         to get sigevent_t only.
36595         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36596         only for __USE_GNU.
36597         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36598         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36599         process_vm_writev only for __USE_GNU.
36600         * termios/termios.h: Declare tcgetsid also for POSIX2008.
36601
36602         * conform/Makefile: For now ignore errors from run-conformtest.
36603         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
36604         POSIX to avoid namespace pollution.  Don't prepend headers.
36605         * conform/data/aio.h-data: Fixes for POSIX testing.
36606         * conform/data/fcntl.h-data: Likewise.
36607         * conform/data/glob.h-data: Likewise.
36608         * conform/data/grp.h-data: Likewise.
36609         * conform/data/pthread.h-data: Likewise.
36610         * conform/data/pwd.h-data: Likewise.
36611         * conform/data/signal.h-data: Likewise.
36612         * conform/data/spawn.h-data: Likewise.
36613         * conform/data/stdio.h-data: Likewise.
36614         * conform/data/stdlib.h-data: Likewise.
36615         * conform/data/stropts.h-data: Likewise.
36616         * conform/data/sys/mman.h-data: Likewise.
36617         * conform/data/sys/stat.h-data: Likewise.
36618         * conform/data/sys/types.h-data: Likewise.
36619         * conform/data/sys/wait.h-data: Likewise.
36620         * conform/data/time.h-data: Likewise.
36621         * conform/data/unistd.h-data: Likewise.
36622         * conform/data/utime.h-data: Likewise.
36623
36624         * io/sys/stat.h: fchmod was always in POSIX.
36625         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36626         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36627         * rt/aio.h: Define __need_timespec before including <time.h>.
36628         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36629         struct.  Add forward declaration of pthread_attr_t and use it in
36630         sigevent.
36631         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36632         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36633         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36634         always remove CLK_TCK definition.
36635
36636 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
36637
36638         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36639
36640 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
36641
36642         * conform/run-conformtest.sh: New file.
36643         * conform/Makefile: Run run-conformtest for tests.
36644         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
36645         support.
36646
36647         * conform/data/uchar.h-data: New file.
36648         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36649         * conform/data/arpa/inet.h-data: Likewise.
36650         * conform/data/assert.h-data: Likewise.
36651         * conform/data/complex.h-data: Likewise.
36652         * conform/data/cpio.h-data: Likewise.
36653         * conform/data/ctype.h-data: Likewise.
36654         * conform/data/dirent.h-data: Likewise.
36655         * conform/data/dlfcn.h-data: Likewise.
36656         * conform/data/errno.h-data: Likewise.
36657         * conform/data/fcntl.h-data: Likewise.
36658         * conform/data/float.h-data: Likewise.
36659         * conform/data/fmtmsg.h-data: Likewise.
36660         * conform/data/fnmatch.h-data: Likewise.
36661         * conform/data/ftw.h-data: Likewise.
36662         * conform/data/glob.h-data: Likewise.
36663         * conform/data/grp.h-data: Likewise.
36664         * conform/data/iconv.h-data: Likewise.
36665         * conform/data/inttypes.h-data: Likewise.
36666         * conform/data/langinfo.h-data: Likewise.
36667         * conform/data/libgen.h-data: Likewise.
36668         * conform/data/limits.h-data: Likewise.
36669         * conform/data/locale.h-data: Likewise.
36670         * conform/data/math.h-data: Likewise.
36671         * conform/data/monetary.h-data: Likewise.
36672         * conform/data/mqueue.h-data: Likewise.
36673         * conform/data/ndbm.h-data: Likewise.
36674         * conform/data/net/if.h-data: Likewise.
36675         * conform/data/netdb.h-data: Likewise.
36676         * conform/data/netinet/in.h-data: Likewise.
36677         * conform/data/nl_types.h-data: Likewise.
36678         * conform/data/poll.h-data: Likewise.
36679         * conform/data/pthread.h-data: Likewise.
36680         * conform/data/pwd.h-data: Likewise.
36681         * conform/data/regex.h-data: Likewise.
36682         * conform/data/sched.h-data: Likewise.
36683         * conform/data/search.h-data: Likewise.
36684         * conform/data/semaphore.h-data: Likewise.
36685         * conform/data/setjmp.h-data: Likewise.
36686         * conform/data/signal.h-data: Likewise.
36687         * conform/data/spawn.h-data: Likewise.
36688         * conform/data/stdarg.h-data: Likewise.
36689         * conform/data/stdio.h-data: Likewise.
36690         * conform/data/stdlib.h-data: Likewise.
36691         * conform/data/string.h-data: Likewise.
36692         * conform/data/strings.h-data: Likewise.
36693         * conform/data/stropts.h-data: Likewise.
36694         * conform/data/sys/ipc.h-data: Likewise.
36695         * conform/data/sys/mman.h-data: Likewise.
36696         * conform/data/sys/msg.h-data: Likewise.
36697         * conform/data/sys/resource.h-data: Likewise.
36698         * conform/data/sys/select.h-data: Likewise.
36699         * conform/data/sys/sem.h-data: Likewise.
36700         * conform/data/sys/shm.h-data: Likewise.
36701         * conform/data/sys/socket.h-data: Likewise.
36702         * conform/data/sys/stat.h-data: Likewise.
36703         * conform/data/sys/statvfs.h-data: Likewise.
36704         * conform/data/sys/time.h-data: Likewise.
36705         * conform/data/sys/timeb.h-data: Likewise.
36706         * conform/data/sys/times.h-data: Likewise.
36707         * conform/data/sys/types.h-data: Likewise.
36708         * conform/data/sys/uio.h-data: Likewise.
36709         * conform/data/sys/un.h-data: Likewise.
36710         * conform/data/sys/utsname.h-data: Likewise.
36711         * conform/data/sys/wait.h-data: Likewise.
36712         * conform/data/syslog.h-data: Likewise.
36713         * conform/data/tar.h-data: Likewise.
36714         * conform/data/termios.h-data: Likewise.
36715         * conform/data/utime.h-data: Likewise.
36716         * conform/data/utmpx.h-data: Likewise.
36717         * conform/data/varargs.h-data: Likewise.
36718         * conform/data/wchar.h-data: Likewise.
36719         * conform/data/wctype.h-data: Likewise.
36720         * conform/data/wordexp.h-data: Likewise.
36721
36722         * include/stropts.h: New file.
36723         * include/uchar.h: New file.
36724         * include/aio.h: Changes to allow conformtest.pl to use the headers.
36725         * include/assert.h: Likewise.
36726         * include/ctype.h: Likewise.
36727         * include/dirent.h: Likewise.
36728         * include/dlfcn.h: Likewise.
36729         * include/fcntl.h: Likewise.
36730         * include/fnmatch.h: Likewise.
36731         * include/glob.h: Likewise.
36732         * include/grp.h: Likewise.
36733         * include/libio.h: Likewise.
36734         * include/locale.h: Likewise.
36735         * include/math.h: Likewise.
36736         * include/net/if.h: Likewise.
36737         * include/netdb.h: Likewise.
36738         * include/netinet/in.h: Likewise.
36739         * include/pthread.h: Likewise.
36740         * include/pwd.h: Likewise.
36741         * include/regex.h: Likewise.
36742         * include/sched.h: Likewise.
36743         * include/search.h: Likewise.
36744         * include/setjmp.h: Likewise.
36745         * include/signal.h: Likewise.
36746         * include/stdio.h: Likewise.
36747         * include/stdlib.h: Likewise.
36748         * include/string.h: Likewise.
36749         * include/sys/cdefs.h: Likewise.
36750         * include/sys/mman.h: Likewise.
36751         * include/sys/msg.h: Likewise.
36752         * include/sys/resource.h: Likewise.
36753         * include/sys/select.h: Likewise.
36754         * include/sys/socket.h: Likewise.
36755         * include/sys/stat.h: Likewise.
36756         * include/sys/statvfs.h: Likewise.
36757         * include/sys/time.h: Likewise.
36758         * include/sys/times.h: Likewise.
36759         * include/sys/uio.h: Likewise.
36760         * include/sys/utsname.h: Likewise.
36761         * include/sys/wait.h: Likewise.
36762         * include/termios.h: Likewise.
36763         * include/time.h: Likewise.
36764         * include/ulimit.h: Likewise.
36765         * include/unistd.h: Likewise.
36766         * include/utime.h: Likewise.
36767         * include/wchar.h: Likewise.
36768         * include/wctype.h: Likewise.
36769         * include/wordexp.h: Likewise.
36770
36771         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36772
36773         * time/time.h: TIME_UTC must be a macro.
36774         Make timespec_get available for ISO C11 only as well.
36775
36776 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
36777
36778         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36779         Reported by Peng Haitao <penght@cn.fujitsu.com>.
36780
36781 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36782
36783         * configure.in: Use -o not -a in test for unsupported multi-arch.
36784
36785 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36786
36787         * manual/texinfo.tex: Update to version 2012-01-19.16.
36788
36789 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36790
36791         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36792
36793 2012-02-24  Roland McGrath  <roland@hack.frob.com>
36794
36795         [BZ #13738]
36796         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36797         * manual/fdl-1.3.texi: New file.
36798         * manual/fdl-1.1.texi: File removed.
36799
36800         [BZ #13738]
36801         * manual/libc.texinfo (FDL_VERSION): New @set.
36802         Use it for mention of FDL in cover text.
36803         (Documentation License): Use it in @include file name.
36804
36805 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36806             Roland McGrath  <roland@hack.frob.com>
36807
36808         [BZ #5461]
36809         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36810         (not LONG_LONG_MAX and LONG_LONG_MIN.
36811         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36812         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
36813         name.
36814         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36815
36816 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36817
36818         [BZ #2547]
36819         [BZ #11365]
36820         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36821         manipulate bits before adding and subtracting TWO23[sx].
36822         * math/libm-test.inc (nearbyint_test): Add more tests.
36823
36824 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36825
36826         [BZ #2548]
36827         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36828         bits before adding and subtracting TWO23[sx].
36829         * math/libm-test.inc (rint_test): Add more tests.
36830         (rint_test_tonearest): Likewise.
36831         (rint_test_towardzero): Likewise.
36832         (rint_test_downward): Likewise.
36833         (rint_test_upward: Likewise.
36834
36835 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36836
36837         [BZ #10110]
36838         * include/stdc-predef.h: New file.  Extracted from features.h.
36839         * include/features.h: Include stdc-predef.h.
36840         * Makefile (headers): Add stdc-predef.h.
36841         * CONFORMANCE (Compiler limitations): Update.
36842
36843 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36844
36845         * manual/libc.texinfo (VERSION, UPDATED): Revert.
36846
36847 2012-02-21  David S. Miller  <davem@davemloft.net>
36848
36849         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36850         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36851
36852 2012-02-20  David S. Miller  <davem@davemloft.net>
36853
36854         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36855         using a normal save/restore sequence, rather than allocating a
36856         dummy stack frame just to store a frame pointer and restore.
36857         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36858
36859 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36860
36861         * manual/install.texi: Fix stray word in line-wrapped comment.
36862
36863 2012-02-20  David S. Miller  <davem@davemloft.net>
36864
36865         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36866         both binutils and gcc support GOTDATA.
36867
36868         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36869         "rd %pc" in the PIC register setup sequences.
36870
36871         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36872         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36873         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36874         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36875         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36876         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36877         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36878         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36879         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36880         (SYSCALL_ERROR_HANDLER): Likewise.
36881         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36882         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36883         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36884         (SYSCALL_ERROR_HANDLER): Likewise.
36885
36886         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36887         (HAVE_GCC_GOTDATA): New.
36888         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36889         relocation support in both binutils and gcc.
36890         * sysdeps/sparc/elf/configure: Regenerate.
36891
36892         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36893         * sysdeps/sparc/sparc32/elf/configure: Delete.
36894         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36895         * sysdeps/sparc/sparc64/elf/configure: Delete.
36896         * sysdeps/sparc/elf/configure.in: New file.
36897         * sysdeps/sparc/elf/configure: Generate.
36898
36899         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36900         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36901         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36902         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36903         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36904
36905 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36906
36907         * manual/install.texi: Do not mention specific glibc version
36908         numbers.
36909         * manual/libc.texinfo (VERSION, UPDATED): Update.
36910         (@copying): Use @copyright{} and range of years.
36911
36912 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36913
36914         [BZ #13695]
36915         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36916         [crti.S not in sysdirs] (generated): Do not append.
36917         [crti.S not in sysdirs] (omit-deps): Likewise.
36918         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36919         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36920         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36921         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36922         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36923         Likewise.
36924         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36925         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36926         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36927         * csu/defs.awk: Remove file.
36928         * sysdeps/generic/initfini.c: Likewise.
36929         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36930         variable.
36931         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36932         Likewise.
36933
36934 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36935
36936         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36937         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36938         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36939         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36940         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36941         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36942         <bits/epoll.h>.
36943         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36944         (__EPOLL_PACKED): Define to empty if not defined by
36945         <bits/epoll.h>.
36946         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36947         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36948         bits/epoll.h.
36949
36950 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36951
36952         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36953         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36954         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36955         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36956         <bits/timerfd.h>.
36957         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36958         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36959         bits/timerfd.h.
36960
36961 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36962
36963         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36964         in C locale.
36965         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36966         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36967         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36969
36970 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
36971
36972         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36973         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36974
36975 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
36976
36977         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36978         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36979         defined.
36980         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36981         Likewise.
36982         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36983         entry for 2.16.
36984
36985 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
36986
36987         * math/w_acos.c: Use non-signaling floating-point comparisons.
36988         * math/w_acosf.c: Likewise.
36989         * math/w_acosh.c: Likewise.
36990         * math/w_acoshf.c: Likewise.
36991         * math/w_acoshl.c: Likewise.
36992         * math/w_acosl.c: Likewise.
36993         * math/w_asin.c: Likewise.
36994         * math/w_asinf.c: Likewise.
36995         * math/w_asinl.c: Likewise.
36996         * math/w_atanh.c: Likewise.
36997         * math/w_atanhf.c: Likewise.
36998         * math/w_atanhl.c: Likewise.
36999         * math/w_exp2.c: Likewise.
37000         * math/w_exp2f.c: Likewise.
37001         * math/w_exp2l.c: Likewise.
37002         * math/w_j0.c: Likewise.
37003         * math/w_j0f.c: Likewise.
37004         * math/w_j0l.c: Likewise.
37005         * math/w_j1.c: Likewise.
37006         * math/w_j1f.c: Likewise.
37007         * math/w_j1l.c: Likewise.
37008         * math/w_jn.c: Likewise.
37009         * math/w_jnf.c: Likewise.
37010         * math/w_log.c: Likewise.
37011         * math/w_log10.c: Likewise.
37012         * math/w_log10f.c: Likewise.
37013         * math/w_log10l.c: Likewise.
37014         * math/w_log2.c: Likewise.
37015         * math/w_log2f.c: Likewise.
37016         * math/w_log2l.c: Likewise.
37017         * math/w_logf.c: Likewise.
37018         * math/w_logl.c: Likewise.
37019         * math/w_sqrt.c: Likewise.
37020         * math/w_sqrtf.c: Likewise.
37021         * math/w_sqrtl.c: Likewise.
37022         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37023         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37024         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37025         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37026         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37027
37028 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
37029
37030         [BZ #9739]
37031         * manual/string.texi (strnlen): Use correct parameter name in
37032         equivalent expression.
37033
37034 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
37035
37036         [BZ #11174]
37037         * manual/users.texi (seteuid): Consistently use neweuid for
37038         argument name.
37039
37040 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
37041
37042         [BZ #13704]
37043         * manual/nss.texi (Services in the NSS configuration): Correct
37044         list of services in example configuration file.
37045
37046 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
37047
37048         [BZ #11322]
37049         * manual/arith.texi: Remove statements about negative zero
37050         behaving identically to zero.
37051
37052 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
37053
37054         [BZ #5993]
37055         * manual/install.texi: Do not document upgrading from libc5.
37056
37057 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
37058
37059         [BZ #4596]
37060         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37061
37062 2012-02-18  David S. Miller  <davem@davemloft.net>
37063
37064         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37065         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37066         %o7 across the call.
37067         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37068         instead.
37069         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37070         SETUP_PIC_REG_LEAF.
37071         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37072         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37073         * sysdeps/sparc/crtn.S: Likewise.
37074
37075 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
37076
37077         * aout/Makefile: Remove.
37078
37079 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
37080
37081         [BZ #13058]
37082         * manual/examples/argp-ex1.c (main): Format definition in GNU
37083         style.
37084         * manual/examples/argp-ex2.c (main): Likewise.
37085         * manual/examples/argp-ex3.c (main): Likewise.
37086         * manual/examples/argp-ex4.c (main): Likewise.
37087         * manual/examples/longopt.c (main): Use new-style prototype
37088         definition.
37089         * manual/examples/strncat.c (main): Specify return type and use
37090         (void) for arguments.
37091         * manual/examples/subopt.c (main): Use char **argv argument.
37092
37093 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37094
37095         [BZ #5077]
37096         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37097         rounding modes.
37098
37099 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
37100
37101         [BZ #6907]
37102         * manual/string.texi (strchr): Change when strchrnul is
37103         recommended.
37104
37105 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
37106
37107         [BZ #174]
37108         * manual/locale.texi (setlocale): Document LOCPATH.
37109
37110 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37111
37112         [BZ #10210]
37113         * manual/process.texi (execle): Move @dots{} before last argument.
37114
37115 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
37116
37117         [BZ #12047]
37118         * manual/charset.texi (Generic Charset Conversion): Fix typo
37119         (LC_TYPE -> LC_CTYPE).
37120
37121 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
37122
37123         [BZ #5805]
37124         * manual/arith.texi (scalbn): Use @var{} on parameter names.
37125         (scalbnf): Likewise.
37126         (scalbnl): Likewise.
37127         (scalbln): Likewise.
37128         (scalblnf): Likewise.
37129         (scalblnl): Likewise.
37130         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37131         (vwarnx): Likewise.
37132         (verr): Likewise.
37133         (verrx): Likewise.
37134         * manual/filesys.texi (telldir): Use braces around return type.
37135         * manual/llio.texi (mmap): Add space after comma.
37136         (mmap64): Likewise.
37137         * manual/math.texi (jn): Use @var{} on parameter names.
37138         (jnf): Likewise.
37139         (jnl): Likewise.
37140         (yn): Likewise.
37141         (ynf): Likewise.
37142         (ynl): Likewise.
37143         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37144         line.
37145         * manual/resource.texi (ulimit): Use @dots{} instead of literal
37146         "...".
37147         (sched_get_priority_min): Remove semicolon on @deftypefun line.
37148         (sched_get_priority_max): Likewise.
37149         * manual/signal.texi (sigvec): Add space after comma.
37150         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37151         names.
37152         (if_indextoname): Likewise.
37153         (if_freenameindex): Likewise.
37154         (sendto): Use ',' instead of '.' in prototype.
37155         * manual/startup.texi (syscall): Use @dots{} instead of literal
37156         "...".
37157         * manual/stdio.texi (__fpending): Separate initial words of
37158         paragraph from @deftypefun line.
37159         * manual/syslog.texi (syslog): Use @dots{} instead of literal
37160         "...".
37161         (vsyslog): Use @var{} on parameter names.
37162         * manual/terminal.texi (stty): Use @var{} on parameter names.
37163         * manual/users.texi (getutmp): Use @var{} on parameter names.
37164         (getutmpx): Likewise.
37165
37166 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37167
37168         [BZ #6884]
37169         * manual/stdio.texi (fopen): Fix typos in description of
37170         ",ccs=STRING".
37171
37172 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
37173
37174         [BZ #4026]
37175         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37176         get clock_id definition.
37177
37178 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
37179
37180         [BZ #4822]
37181         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37182         (madvise): Cast every argument to void on its own.
37183
37184 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37185
37186         [BZ #9902]
37187         * manual/startup.texi (Exit Status): Fix typo.
37188
37189 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
37190
37191         [BZ #10140]
37192         * manual/examples/argp-ex1.c: Include <stdlib.h>.
37193         * manual/examples/argp-ex2.c: Likewise.
37194         * manual/examples/argp-ex3.c: Likewise.
37195
37196 2012-02-16  Richard Henderson  <rth@redhat.com>
37197
37198         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37199         * sysdeps/s390/s390-32/initfini.c: Remove.
37200         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37201         * sysdeps/s390/s390-64/initfini.c: Remove.
37202
37203 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37204
37205         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37206         compiler output for sysdeps/generic/initfini.c.
37207         * sysdeps/sh/elf/initfini.c: Remove file.
37208
37209 2012-02-16  David S. Miller  <davem@davemloft.net>
37210
37211         [BZ #11494]
37212         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37213
37214         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37215         * sysdeps/sparc/crti.S: New file.
37216         * sysdeps/sparc/crtn.S: New file.
37217         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37218         * sysdeps/sparc/sparc64/Makefile: Likewise.
37219
37220 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
37221
37222         [BZ #3335]
37223         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37224
37225 2012-02-15  Roland McGrath  <roland@hack.frob.com>
37226
37227         [BZ #4822]
37228         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37229
37230         * mach/devstream.c (cookie_io_functions_t): Macro removed.
37231         (write, read, close): Likewise.
37232         Patch by Aurelien Jarno <aurelien@aurel32.net>.
37233
37234 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
37235
37236         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37237         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37238         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37239         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37240         <bits/signalfd.h>.
37241         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37242         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37243         bits/signalfd.h.
37244
37245 2012-02-14  Marek Polacek  <polacek@redhat.com>
37246
37247         * sysdeps/x86_64/crti.S: New file.
37248         * sysdeps/x86_64/crtn.S: New file.
37249         * sysdeps/x86_64/elf/initfini.c: Remove file.
37250
37251 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
37252
37253         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37254         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37255         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37256         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37257         <bits/inotify.h>.
37258         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37259         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37260         bits/inotify.h.
37261
37262 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
37263
37264         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37265         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37266         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37267         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37268         <bits/eventfd.h>.
37269         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37270         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37271         bits/eventfd.h.
37272
37273 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
37274
37275         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37276         __feraiseexcept instead of feraiseexcept.
37277
37278         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37279         nanosleep invocations.
37280         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37281         strings, and add error checking for a nanosleep invocations.
37282
37283 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
37284
37285         Replace FSF snail mail address with URLs, as per GNU coding standards.
37286         Most of the snail mail addresses were wrong anyway, and omitting
37287         them makes the source code easier to maintain.  Almost all of the
37288         changes are to license notices and to locale LC_IDENTIFICATION
37289         addresses, except for this one:
37290         * manual/libc.texinfo: In "Published by", give the FSF's URL,
37291         not its snail mail address.
37292
37293 2012-02-09  Richard Henderson  <rth@twiddle.net>
37294
37295         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37296         of kernel-features.h.
37297
37298         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37299
37300 2012-02-08  Marek Polacek  <polacek@redhat.com>
37301
37302         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37303         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37304         * sysdeps/gnu/_G_config.h: Likewise.
37305         * sysdeps/generic/_G_config.h: Likewise.
37306
37307 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
37308
37309         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37310         tests.
37311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37312
37313         * sysdeps/powerpc/powerpc32/crti.S: New file.
37314         * sysdeps/powerpc/powerpc32/crtn.S: New file.
37315         * sysdeps/powerpc/powerpc64/crti.S: New file.
37316         * sysdeps/powerpc/powerpc64/crtn.S: New file.
37317
37318         * Makeconfig (have-initfini): Don't set.
37319         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37320         * configure.in (nopic_initfini): Don't substitute.
37321         * config.h.in (HAVE_INITFINI): Don't #undef.
37322         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37323         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37324
37325 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
37326
37327         Support crti.S and crtn.S provided directly by architectures.
37328         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37329         [crti.S in sysdirs] (omit-deps): Likewise.
37330         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37331         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37332         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37333         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37334         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37335         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37336         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37337         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37338         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37339         compiler output for sysdeps/generic/initfini.c.
37340         * sysdeps/i386/elf/Makefile: Remove file.
37341         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37342
37343 2012-02-07  Marek Polacek  <polacek@redhat.com>
37344
37345         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37346         * sysdeps/gnu/_G_config.h: Likewise.
37347         * sysdeps/mach/hurd/_G_config.h: Likewise.
37348
37349 2012-02-07  Marek Polacek  <polacek@redhat.com>
37350
37351         * math/Makefile (tests): Add tst-CMPLX2.
37352         * math/tst-CMPLX2.c: New file.
37353
37354 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
37355
37356         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37357
37358         * math/libm-test.inc (jn_test): Add missing L suffix.
37359
37360 2012-02-06  Marek Polacek  <polacek@redhat.com>
37361
37362         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37363         * sysdeps/i386/fpu/e_powf.S: Likewise.
37364         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37365         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37366         * sysdeps/i386/fpu/e_acosh.S: Likewise.
37367         * sysdeps/i386/fpu/e_pow.S: Likewise.
37368         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37369         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37370         * sysdeps/i386/fpu/s_expm1.S: Likewise.
37371         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37372         * sysdeps/i386/fpu/e_log2.S: Likewise.
37373         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37374         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37375         * sysdeps/i386/fpu/e_powl.S: Likewise.
37376         * sysdeps/i386/fpu/s_log1p.S: Likewise.
37377         * sysdeps/i386/fpu/e_log10f.S: Likewise.
37378         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37379         * sysdeps/i386/fpu/e_logl.S: Likewise.
37380         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37381         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37382         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37383         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37384         * sysdeps/i386/fpu/e_log2f.S: Likewise.
37385         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37386         * sysdeps/i386/fpu/e_log.S: Likewise.
37387         * sysdeps/i386/fpu/s_cexp.S: Likewise.
37388         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37389         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37390         * sysdeps/i386/fpu/e_logf.S: Likewise.
37391         * sysdeps/i386/fpu/e_log10l.S: Likewise.
37392         * sysdeps/i386/fpu/e_atanh.S: Likewise.
37393         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37394         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37395         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37396         * sysdeps/i386/fpu/e_log10.S: Likewise.
37397         * sysdeps/i386/fpu/s_frexp.S: Likewise.
37398         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37399         * sysdeps/i386/fpu/s_asinh.S: Likewise.
37400         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37401         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37402         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37403         * sysdeps/i386/asm-syntax.h: Likewise.
37404         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37405         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37406         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37407         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37408         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37409         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37410         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37411         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37412         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37413         * sysdeps/powerpc/sysdep.h: Likewise.
37414         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37415         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37416
37417 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
37418
37419         [BZ #411]
37420         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37421
37422 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
37423
37424         * sysdeps/i386/sysdep.h: Include <features.h>.
37425         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37426         version.
37427
37428 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
37429
37430         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37431         Define.
37432         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37433         LOAD_PIC_REG_STR.
37434
37435 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
37436
37437         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37438         (SETUP_PIC_REG): Use GET_PC_THUNK.
37439         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37440         macro.
37441
37442 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
37443
37444         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37445         for non-PIC compilation.
37446         (SETUP_PIC_REG): Add .p2align directive.
37447         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37448         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37449         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37450         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37451         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37452         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37453         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37454         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37455         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37456         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37457         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37458         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37459         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37460         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37461         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37462         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37463         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37464         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37465         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37466         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37467         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37468         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37469         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37470         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37471         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37472         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37473         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37474         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37475         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37476         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37477         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37478         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37479         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37480         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37481         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37482         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37483         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37484         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37485         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37486         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37487         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37488
37489 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
37490
37491         * math/tst-CMPLX.c: Include <stdio.h>.
37492
37493 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
37494
37495         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37496         float.
37497         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37498         * sysdeps/sparc/bits/mathdef.h: Likewise.
37499
37500 2012-01-31  Marek Polacek  <polacek@redhat.com>
37501
37502         * libio/libio.h: Don't define _PARAMS.
37503         * locale/programs/config.h: Don't define PARAMS.
37504         * stdlib/strtol_l.c: Likewise.
37505         (__strtol_l): Remove PARAMS from the prototype.
37506
37507 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
37508
37509         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
37510         names.  Just use the correct names.  Remove unnecessary wrapper
37511         functions.
37512         * malloc/arena.c: Likewise.
37513         * malloc/hooks.c: Likewise.
37514
37515         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37516         ARENA_TEST says not to.  Simplify test for creation of a new arena.
37517         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37518
37519 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
37520
37521         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37522         into tail calls.
37523         (update_get_addr): New function.
37524         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37525         GET_ADDR_MODULE parameter.
37526
37527 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
37528
37529         * crypt/cert.c: Remove __STDC__ conditionals.
37530         * crypt/crypt-entry.c: Likewise.
37531         * crypt/crypt_util.c: Likewise.
37532         * libio/filedoalloc.c: Likewise.
37533         * libio/fileops.c: Likewise.
37534         * libio/genops.c: Likewise.
37535         * libio/iofclose.c: Likewise.
37536         * libio/iofdopen.c: Likewise.
37537         * libio/iofopen.c: Likewise.
37538         * libio/iofopen64.c: Likewise.
37539         * libio/iogetdelim.c: Likewise.
37540         * libio/iopopen.c: Likewise.
37541         * libio/obprintf.c: Likewise.
37542         * libio/oldfileops.c: Likewise.
37543         * libio/oldiofclose.c: Likewise.
37544         * libio/oldiofdopen.c: Likewise.
37545         * libio/oldiofopen.c: Likewise.
37546         * libio/oldiopopen.c: Likewise.
37547         * libio/wfiledoalloc.c: Likewise.
37548         * libio/wgenops.c: Likewise.
37549         * locale/programs/xmalloc.c: Likewise.
37550         * misc/syslog.c: Likewise.
37551         * stdio-common/xbug.c: Likewise.
37552         * string/memchr.c: Likewise.
37553         * string/memcmp.c: Likewise.
37554         * string/memrchr.c: Likewise.
37555         * string/rawmemchr.c: Likewise.
37556         * sysdeps/posix/getcwd.c: Likewise.
37557         * time/strftime_l.c: Likewise.
37558
37559 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
37560
37561         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37562         * config.make.in (config-cflags-sse2avx): Define.
37563         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37564         Fix typo.
37565
37566 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
37567
37568         * scripts/config.guess: Update from upstream config git repository.
37569         * scripts/config.sub: Likewise.
37570
37571 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
37572
37573         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37574         (EM_NUM): Update.
37575         (R_TILEPRO_*, R_TILEGX_*): New macros.
37576
37577         * scripts/firstversions.awk: Fix bug in version range handling.
37578
37579         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37580
37581         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37582
37583         * include/sys/epoll.h: New file.
37584         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37585         libc_hidden_def.
37586
37587 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
37588
37589         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37590         Avoid unnecessary __WORDSIZE == 64 test.
37591         (fmaxf): Use VEX format if possible.
37592         (fmax): Likewise.
37593         (fminf): Likewise.
37594         (fmin): Likewise.
37595
37596         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37597         * math/math_private.h: Remove libc_fegetround* and
37598         libc_fesetround*.
37599         * sysdeps/i386/configure.in: Check for -msse2avx.
37600         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37601         also if SSE2AVX is defined.
37602         Remove libc_fegetround* and libc_fesetround*.
37603         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37604         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
37605         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37606         of HAS_YMM_USABLE.
37607         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37608         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37609         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37610         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37611         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37612
37613         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37614
37615 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37616
37617         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37618         size is not set.
37619         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37620
37621 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
37622
37623         [BZ #13618]
37624         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37625         relocation.
37626         * Makeconfig (libm): Define.
37627         * elf/Makefile: Add rules to build and run tst-relsort1.
37628         * elf/tst-relsort1.c: New file.
37629         * elf/tst-relsort1mod1.c: New file.
37630         * elf/tst-relsort1mod2.c: New file.
37631
37632 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
37633
37634         * math/s_ldexp.c: Remove __STDC__ conditionals.
37635         * math/s_ldexpf.c: Likewise.
37636         * math/s_ldexpl.c: Likewise.
37637         * math/s_nextafter.c: Likewise.
37638         * math/s_nexttowardf.c: Likewise.
37639         * math/s_significand.c: Likewise.
37640         * math/s_significandf.c: Likewise.
37641         * math/s_significandl.c: Likewise.
37642         * math/w_jnl.c: Likewise.
37643         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37644         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37645         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37646         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37647         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37648         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37649         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37650         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37651         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37652         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37653         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37654         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37655         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37656         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37657         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37658         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37659         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37660         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37661         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37662         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37663         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37664         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37665         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37666         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37667         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37668         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37669         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37670         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37671         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37672         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37673         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37674         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37675         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37676         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37677         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37678         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37679         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37680         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37681         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37682         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37683         * sysdeps/ieee754/k_standard.c: Likewise.
37684         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37685         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37686         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37687         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37688         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37689         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37690         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37691         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37692         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37693         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37694         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37695         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37696         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37697         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37698         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37699         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37700         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37701         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37702         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37703         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37704         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37705         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37706         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37707         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37708         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37709         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37710         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37711         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37712         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37713         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37714         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37715         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37716         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37717         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37718         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37719         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37720         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37721         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37722         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37723         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37724         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37725         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37726         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37727         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37728         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37729         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37730         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37731         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37732         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37733         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37734         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37735         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37736         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37737         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37738         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37739         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37740         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37741         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37742         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37743         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37744         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37745         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37746         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37747         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37748         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37749         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37750         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37751         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37752         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37753         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37754         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37755         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37756         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37757         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37758         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37759         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37760         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37761         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37762         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37763         * sysdeps/ieee754/s_matherr.c: Likewise.
37764         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37765         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37766         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37767         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37768
37769 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
37770
37771         * crypt/md5.h: Remove __STDC__ conditionals.
37772         * libio/libioP.h: Likewise.
37773         * locale/programs/config.h: Likewise.
37774         * sysdeps/generic/sysdep.h: Likewise.
37775         * sysdeps/i386/asm-syntax.h: Likewise.
37776         * sysdeps/s390/asm-syntax.h: Likewise.
37777         * sysdeps/unix/sysdep.h: Likewise.
37778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37780
37781 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
37782
37783         * libio/libio.h: Remove __STDC__ conditionals.
37784         * malloc/obstack.h: Likewise.
37785         * math/complex.h: Likewise.
37786         * math/math.h: Likewise.
37787         * sysdeps/generic/_G_config.h: Likewise.
37788         * sysdeps/gnu/_G_config.h: Likewise.
37789         * sysdeps/mach/hurd/_G_config.h: Likewise.
37790         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37791         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37792         * sysdeps/sparc/bits/mathdef.h: Likewise.
37793
37794 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
37795
37796         [BZ #13583]
37797         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37798         Clean up HAS_* macros.
37799         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37800         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37801         possible.
37802         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37803         HAS_AVX.
37804         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37805         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37806         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37807         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37808         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37809
37810 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
37811
37812         * elf/tst-unique3.cc (gets): Remove declaration.
37813         * elf/tst-unique3lib.cc (gets): Likewise.
37814         * elf/tst-unique3lib2.cc (gets): Likewise.
37815         * elf/tst-unique4.cc (gets): Likewise.
37816
37817 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
37818
37819         * include/stdio.h: Add C++ protection.  Add gets declarations and
37820         definitions.
37821         * debug/tst-chk1.c: Don't declare gets here.
37822         * stdio-common/tst-gets.c: Likewise.
37823
37824 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
37825
37826         * posix/glob: Remove directory.
37827
37828 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
37829
37830         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37831
37832 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
37833
37834         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37835         of the non-standard EPFNOSUPPORT.
37836
37837 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37838
37839         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37840         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37841         ANYWHERE set to 1 only on KERN_NO_SPACE error.
37842
37843 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
37844
37845         * wcsmbs/uchar.h: Test __STDC_VERSION__.
37846
37847 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
37848
37849         * nscd/aicache.c (addhstaiX): Do not cache negative results of
37850         transient errors.
37851         * nscd/grpcache.c (cache_addgr): Likewise.
37852         * nscd/hstcache.c (cache_addhst): Likewise.
37853         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37854         * nscd/pwdcache.c (cache_addpw): Likewise.
37855         * nscd/servicescache.c (cache_addserv): Likewise.
37856
37857 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
37858
37859         * malloc/malloc.c: Various cleanups.
37860         * malloc/hooks.c: Likewise.
37861
37862         * stdlib/Makefile (tests): Add bug-fmtmsg1.
37863         * stdlib/bug-fmtmsg1.c: New file.
37864
37865         * stdlib/fmtmsg.c (init): Add missing unlock.
37866         Patch by Peng Haitao <penght@cn.fujitsu.com>.
37867
37868 2012-01-12  Marek Polacek  <polacek@redhat.com>
37869
37870         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37871         and _GNU_SOURCE.
37872
37873 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
37874
37875         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37876         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37877         macro to ensure uniqueness of label name.
37878         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37879         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37880
37881 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
37882
37883         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37884
37885         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37886         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37887         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37888         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37889
37890 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
37891
37892         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37893
37894         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37895         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37896         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37897
37898         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37899
37900         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37901         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37902         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37903         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37904
37905         * math/bits/math-finite.h: Add ldexp support.
37906
37907 2012-01-10  Marek Polacek  <polacek@redhat.com>
37908
37909         * locale/programs/localedef.h (show_archive_content): Add noreturn
37910         attribute.
37911
37912 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
37913
37914         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37915
37916 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37917
37918         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37919
37920         * io/Makefile (headers): Add bits/poll2.h.
37921
37922 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
37923
37924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37925         typo #include statement.
37926
37927 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37928
37929         * include/sys/cdefs.h: Define __attribute_alloc_size.
37930         * catgets/gencat.c: Add alloc_size attribute and apply consistently
37931         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37932         * elf/pldd.c: Likewise.
37933         * iconv/iconv_charmap.c: Likewise.
37934         * iconv/iconvconfig.c: Likewise.
37935         * iconv/strtab.c: Likewise.
37936         * locale/programs/locale.c: Likewise.
37937         * locale/programs/localedef.h: Likewise.
37938         * locale/programs/simple-hash.c: Likewise.
37939         * nscd/nscd.h: Likewise.
37940         * nss/makedb.c: Likewise.
37941         * sysdeps/generic/ldconfig.h: Likewise.
37942         * locale/programs/localedef.c: Remove xmalloc prototype.
37943         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37944
37945 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37946
37947         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37948         appropriate.
37949
37950 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37951
37952         * math/Makefile (tests): Add tst-CMPLX.
37953         * math/tst-CMPLX.c: New file.
37954
37955         * math/complex.h (CMPLXL): Fix typo.
37956
37957         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37958         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37959         GLIBC_2.16.
37960         * debug/tst-chk1.c: Add poll and ppoll tests.
37961         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37962         * include/sys/poll.h: Add hidden proto for ppoll.
37963         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37964         * sysdeps/mach/hurd/ppoll.c: Likewise.
37965         * io/ppoll.c: Likewise.
37966         * debug/poll_chk.c: New file.
37967         * debug/ppoll_chk.c: New file.
37968         * include/bits/poll2.h: New file.
37969         * io/bits/poll2.h: New file.
37970
37971         [BZ #1350]
37972         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37973
37974         * configure.in: static is always set to yes.  Remove.
37975         * config.make.in: Don't set build-static.
37976         * Makeconfig: Remove use of build-static.
37977         * dlfcn/Makefile: Likewise.
37978         * elf/Makefile: Likewise.
37979         * math/Makefile: Likewise.
37980         * misc/Makefile: Likewise.
37981         * nptl/Makefile: Likewise.
37982         * sysdeps/mach/hurd/Makefile: Likewise.
37983
37984         * configure.in: PWD_P is not used anymore.
37985         * config.make.in: Remove PWD_P entry.
37986
37987         * configure.in: Remove last remnants of RANLIB.
37988         No need to check for signed size_t anymore.
37989         Don't set libc_commonpagesize and libc_relro_required here for Alpha
37990         and IA-64.
37991         Remove __builtin_expect test because we require at least gcc 3.4.
37992         * aclocal.m4: Likewise.
37993
37994         * wcsmbs/mbrtoc16.c: Implement using towc function.
37995         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37996         * wcsmbs/wcsmbsload.c: Likewise.
37997         * iconv/gconv_simple.c: Likewise.
37998         * iconv/gconv_int.h: Likewise.
37999         * iconv/gconv_builtin.h: Likewise.
38000         * iconv/iconv_prog.c: Remove CHAR16 handling.
38001
38002         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38003
38004         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38005
38006         * configure.in: Remove --with-elf and --enable-bounded options.
38007         Dont set base_machine for ia64.  More non-ELF conditions removed.
38008         Remove testing and setting of leading underscore information.
38009         * config.make.in (build-bounded): Set to no.
38010         * config.h.in: Remove NO_UNDERSCORES entry.
38011         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
38012         them.
38013         * csu/start.c: Remove !NO_UNDERSCORE code.
38014         * locale/localeinfo.h: Likewise.
38015         * sysdeps/generic/machine-gmon.h: Likewise.
38016         * sysdeps/generic/sysdep.h: Likewise.
38017         * sysdeps/i386/sysdep.h: Likewise.
38018         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38019         * sysdeps/mach/sysdep.h: Likewise.
38020         * sysdeps/s390/s390-32/sysdep.h: Likewise.
38021         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38022         * sysdeps/sh/sysdep.h: Likewise.
38023         * sysdeps/sparc/sparc32/alloca.S: Likewise.
38024         * sysdeps/unix/i386/sysdep.S: Likewise.
38025         * sysdeps/unix/sparc/start.c: Likewise.
38026         * sysdeps/unix/sparc/sysdep.S: Likewise.
38027         * sysdeps/unix/sparc/sysdep.h: Likewise.
38028         * sysdeps/unix/start.c: Likewise.
38029         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38030         * sysdeps/x86_64/sysdep.h: Likewise.
38031
38032 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
38033
38034         [BZ #13553]
38035         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38036         for non-gcc.
38037         * argp/argp-fmtstream.h: Use const instead __const.
38038         * argp/argp.h: Likewise.
38039         * assert/assert.h: Likewise.
38040         * bits/fenv.h: Likewise.
38041         * bits/sched.h: Likewise.
38042         * bits/sigset.h: Likewise.
38043         * bits/sigthread.h: Likewise.
38044         * catgets/nl_types.h: Likewise.
38045         * conform/data/pthread.h-data: Likewise.
38046         * crypt/crypt-private.h: Likewise.
38047         * crypt/crypt.h: Likewise.
38048         * crypt/crypt_util.c: Likewise.
38049         * ctype/ctype.h: Likewise.
38050         * debug/execinfo.h: Likewise.
38051         * debug/mbsnrtowcs_chk.c: Likewise.
38052         * debug/mbsrtowcs_chk.c: Likewise.
38053         * debug/wcsnrtombs_chk.c: Likewise.
38054         * debug/wcsrtombs_chk.c: Likewise.
38055         * debug/wcstombs_chk.c: Likewise.
38056         * dirent/dirent.h: Likewise.
38057         * dlfcn/dlfcn.h: Likewise.
38058         * elf/neededtest4.c: Likewise.
38059         * grp/grp.h: Likewise.
38060         * gshadow/gshadow.h: Likewise.
38061         * iconv/gconv.h: Likewise.
38062         * iconv/gconv_int.h: Likewise.
38063         * iconv/gconv_simple.c: Likewise.
38064         * iconv/iconv.h: Likewise.
38065         * iconv/loop.c: Likewise.
38066         * iconv/skeleton.c: Likewise.
38067         * include/aio.h: Likewise.
38068         * include/aliases.h: Likewise.
38069         * include/argz.h: Likewise.
38070         * include/arpa/inet.h: Likewise.
38071         * include/assert.h: Likewise.
38072         * include/dirent.h: Likewise.
38073         * include/dlfcn.h: Likewise.
38074         * include/execinfo.h: Likewise.
38075         * include/fcntl.h: Likewise.
38076         * include/fenv.h: Likewise.
38077         * include/glob.h: Likewise.
38078         * include/grp.h: Likewise.
38079         * include/libintl.h: Likewise.
38080         * include/mntent.h: Likewise.
38081         * include/netdb.h: Likewise.
38082         * include/pwd.h: Likewise.
38083         * include/rpc/netdb.h: Likewise.
38084         * include/sched.h: Likewise.
38085         * include/search.h: Likewise.
38086         * include/shadow.h: Likewise.
38087         * include/signal.h: Likewise.
38088         * include/stdio.h: Likewise.
38089         * include/stdlib.h: Likewise.
38090         * include/string.h: Likewise.
38091         * include/sys/socket.h: Likewise.
38092         * include/sys/stat.h: Likewise.
38093         * include/sys/statfs.h: Likewise.
38094         * include/sys/statvfs.h: Likewise.
38095         * include/sys/syslog.h: Likewise.
38096         * include/sys/time.h: Likewise.
38097         * include/sys/uio.h: Likewise.
38098         * include/time.h: Likewise.
38099         * include/unistd.h: Likewise.
38100         * include/utmp.h: Likewise.
38101         * include/wchar.h: Likewise.
38102         * include/wctype.h: Likewise.
38103         * inet/aliases.h: Likewise.
38104         * inet/arpa/inet.h: Likewise.
38105         * inet/netinet/ether.h: Likewise.
38106         * inet/netinet/in.h: Likewise.
38107         * intl/libintl.h: Likewise.
38108         * io/bits/fcntl2.h: Likewise.
38109         * io/fcntl.h: Likewise.
38110         * io/ftw.h: Likewise.
38111         * io/sys/poll.h: Likewise.
38112         * io/sys/stat.h: Likewise.
38113         * io/sys/statfs.h: Likewise.
38114         * io/sys/statvfs.h: Likewise.
38115         * io/utime.h: Likewise.
38116         * libio/bits/stdio.h: Likewise.
38117         * libio/bits/stdio2.h: Likewise.
38118         * libio/libio.h: Likewise.
38119         * libio/libioP.h: Likewise.
38120         * libio/stdio.h: Likewise.
38121         * locale/lc-ctype.c: Likewise.
38122         * locale/locale.h: Likewise.
38123         * login/utmp.h: Likewise.
38124         * malloc/arena.c: Likewise.
38125         * malloc/malloc.c: Likewise.
38126         * malloc/malloc.h: Likewise.
38127         * malloc/mcheck.c: Likewise.
38128         * malloc/mtrace.c: Likewise.
38129         * math/bits/mathcalls.h: Likewise.
38130         * math/fenv.h: Likewise.
38131         * math/math_private.h: Likewise.
38132         * misc/bits/error.h: Likewise.
38133         * misc/bits/syslog.h: Likewise.
38134         * misc/err.h: Likewise.
38135         * misc/error.h: Likewise.
38136         * misc/fstab.h: Likewise.
38137         * misc/mntent.h: Likewise.
38138         * misc/regexp.h: Likewise.
38139         * misc/search.h: Likewise.
38140         * misc/sgtty.h: Likewise.
38141         * misc/sys/mman.h: Likewise.
38142         * misc/sys/syslog.h: Likewise.
38143         * misc/sys/uio.h: Likewise.
38144         * misc/sys/xattr.h: Likewise.
38145         * misc/ttyent.h: Likewise.
38146         * nis/rpcsvc/ypclnt.h: Likewise.
38147         * nss/nss.h: Likewise.
38148         * posix/bits/unistd.h: Likewise.
38149         * posix/fnmatch.h: Likewise.
38150         * posix/glob.h: Likewise.
38151         * posix/sched.h: Likewise.
38152         * posix/spawn.h: Likewise.
38153         * posix/sys/wait.h: Likewise.
38154         * posix/unistd.h: Likewise.
38155         * posix/wordexp.h: Likewise.
38156         * pwd/pwd.h: Likewise.
38157         * resolv/netdb.h: Likewise.
38158         * resource/sys/resource.h: Likewise.
38159         * rt/aio.h: Likewise.
38160         * rt/bits/mqueue2.h: Likewise.
38161         * rt/mqueue.h: Likewise.
38162         * shadow/shadow.h: Likewise.
38163         * signal/signal.h: Likewise.
38164         * socket/send.c: Likewise.
38165         * socket/sendto.c: Likewise.
38166         * socket/sys/socket.h: Likewise.
38167         * stdio-common/printf.h: Likewise.
38168         * stdlib/bits/stdlib.h: Likewise.
38169         * stdlib/fmtmsg.h: Likewise.
38170         * stdlib/monetary.h: Likewise.
38171         * stdlib/stdlib.h: Likewise.
38172         * stdlib/ucontext.h: Likewise.
38173         * streams/stropts.h: Likewise.
38174         * string/argz.h: Likewise.
38175         * string/bits/string2.h: Likewise.
38176         * string/string.h: Likewise.
38177         * string/strings.h: Likewise.
38178         * sunrpc/rpc/auth.h: Likewise.
38179         * sunrpc/rpc/auth_des.h: Likewise.
38180         * sunrpc/rpc/clnt.h: Likewise.
38181         * sunrpc/rpc/netdb.h: Likewise.
38182         * sunrpc/rpc/pmap_clnt.h: Likewise.
38183         * sunrpc/rpc/xdr.h: Likewise.
38184         * sysdeps/generic/inttypes.h: Likewise.
38185         * sysdeps/generic/net/if.h: Likewise.
38186         * sysdeps/generic/sys/swap.h: Likewise.
38187         * sysdeps/gnu/net/if.h: Likewise.
38188         * sysdeps/gnu/utmpx.h: Likewise.
38189         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38190         * sysdeps/i386/i486/bits/string.h: Likewise.
38191         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38192         * sysdeps/s390/bits/string.h: Likewise.
38193         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38194         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38195         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38196         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38197         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38198         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38199         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38200         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38201         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38202         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38203         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38204         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38205         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38206         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38207         * sysdeps/unix/sysv/linux/readv.c: Likewise.
38208         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38209         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38210         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38211         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38212         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38213         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38214         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38215         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38216         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38217         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38218         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38219         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38220         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38221         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38222         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38223         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38224         * sysvipc/sys/ipc.h: Likewise.
38225         * sysvipc/sys/msg.h: Likewise.
38226         * sysvipc/sys/sem.h: Likewise.
38227         * sysvipc/sys/shm.h: Likewise.
38228         * termios/termios.h: Likewise.
38229         * time/sys/time.h: Likewise.
38230         * time/time.h: Likewise.
38231         * wcsmbs/bits/wchar2.h: Likewise.
38232         * wcsmbs/uchar.h: Likewise.
38233         * wcsmbs/wchar.h: Likewise.
38234         * wctype/wctype.h: Likewise.
38235
38236         [BZ #13551]
38237         * Makeconfig: Remove all but ELF support including AIX support.
38238         * Makerules: Likewise.
38239         * config.h.in: Likewise.
38240         * config.make.in: Likewise.
38241         * configure: Likewise.
38242         * configure.in: Likewise.
38243         * csu/Makefile: Likewise.
38244         * csu/version.c: Likewise.
38245         * debug/Makefile: Likewise.
38246         * dlfcn/Makefile: Likewise.
38247         * elf/Makefile: Likewise.
38248         * extra-lib.mk: Likewise.
38249         * iconv/Makefile: Likewise.
38250         * include/libc-symbols.h: Likewise.
38251         * include/shlib-compat.h: Likewise.
38252         * resolv/Makefile: Likewise.
38253         * resolv/res_libc.c: Likewise.
38254         * rt/Makefile: Likewise.
38255         * sysdeps/i386/asm-syntax.h: Likewise.
38256         * sysdeps/i386/sysdep.h: Likewise.
38257         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38258         * sysdeps/mach/sysdep.h: Likewise.
38259         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38260         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38261         * sysdeps/s390/asm-syntax.h: Likewise.
38262         * sysdeps/s390/s390-32/sysdep.h: Likewise.
38263         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38264         * sysdeps/sh/sysdep.h: Likewise.
38265         * sysdeps/unix/sparc/sysdep.h: Likewise.
38266         * sysdeps/wordsize-32/divdi3.c: Likewise.
38267         * sysdeps/x86_64/sysdep.h: Likewise.
38268
38269         * argp/Versions: Remove _argp_unlock_xxx.
38270
38271         [BZ #13559]
38272         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
38273         * abilist/libBrokenLocale.abilist: Likewise.
38274         * abilist/libanl.abilist: Likewise.
38275         * abilist/libc.abilist: Likewise.
38276         * abilist/libcrypt.abilist: Likewise.
38277         * abilist/libdl.abilist: Likewise.
38278         * abilist/libm.abilist: Likewise.
38279         * abilist/libnsl.abilist: Likewise.
38280         * abilist/libpthread.abilist: Likewise.
38281         * abilist/libresolv.abilist: Likewise.
38282         * abilist/librt.abilist: Likewise.
38283         * abilist/libthread_db.abilist: Likewise.
38284         * abilist/libutil.abilist: Likewise.
38285         * abilist/libnss_db.abilist: New file.
38286
38287         * scripts/abilist.awk: Add support for indirect functions.
38288
38289         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38290
38291         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38292
38293         * shlib-versions: Remove entries for ports architectures.
38294
38295         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
38296         files in ports.
38297         * elf/stackguard-macros.h: Remove support for IA-64.
38298         * elf/tst-auditmod1.c: Likewise.
38299         * sysdeps/generic/ldsodefs.h: Likewise.
38300
38301         * sysdeps/unix/sysv/linux/configure.in: Ports should define
38302         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38303         configure files.
38304
38305         [BZ #13552]
38306         * configure.in: Remove --enable-omitfp support.
38307         * FAQ.in: Adjust.
38308         * config.make.in: Likewise.
38309         * Makeconfig: Likewise.
38310         * manual/install.texi: Likewise.
38311
38312         In case anyone cares, the IA-64 architecture could move to ports.
38313         * sysdeps/ia64/*: Removed.
38314         * sysdeps/unix/sysv/linux/ia64/*: Removed.
38315         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
38316
38317         [BZ #13555]
38318         * configure.in: Remove entries for unsupported architectures.
38319
38320         [BZ #13533]
38321         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38322         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
38323         routines.
38324         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38325         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38326         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
38327         fall back to using wcrtomb.
38328         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38329         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
38330         renaming.
38331         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38332         * wcsmbs/tst-c16c32-1.c: New file.
38333
38334         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38335         local variable.
38336
38337         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38338
38339         * elf/tst-unique3.cc: Add explicit declaration of gets.
38340         * elf/tst-unique3lib.cc: Likewise.
38341         * elf/tst-unique3lib2.cc: Likewise.
38342         * elf/tst-unique4.cc: Likewise.
38343
38344         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38345
38346 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
38347
38348         [BZ #13566]
38349         * assert/assert.h (static_assert): Don't define for C++.
38350         * libio/stdio.h (gets): Do declare for C++ <= C++11.
38351         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38352
38353 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
38354
38355         * iconv/loop.c (single loop): Fix assertion in storing of
38356         remaining bytes.
38357
38358         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38359
38360 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
38361
38362         * posix/getconf.c: Update copyright year.
38363         * nss/getent.c: Likewise.
38364         * nss/makedb.c: Likewise.
38365         * iconv/iconvconfig.c: Likewise.
38366         * iconv/iconv_prog.c: Likewise.
38367         * elf/ldconfig.c: Likewise.
38368         * elf/pldd.c: Likewise.
38369         * elf/sotruss.ksh: Likewise.
38370         * catgets/gencat.c: Likewise.
38371         * csu/version.c: Likewise.
38372         * elf/ldd.bash.in: Likewise.
38373         * elf/sprof.c (print_version): Likewise.
38374         * locale/programs/locale.c: Likewise.
38375         * locale/programs/localedef.c: Likewise.
38376         * login/programs/pt_chown.c: Likewise.
38377         * nscd/nscd.c (print_version): Likewise.
38378         * debug/xtrace.sh: Likewise.
38379         * malloc/memusage.sh: Likewise.
38380         * malloc/mtrace.pl: Likewise.
38381         * debug/catchsegv.sh: Likewise.
38382
38383 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
38384
38385         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38386         pure attribute.
38387
38388 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
38389
38390         [BZ #13533]
38391         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38392         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38393         transformations.
38394         * iconv/gconv_int.h: Likewise.
38395         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38396         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38397         from libc for GLIBC_2.16.
38398         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38399         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38400         * wcsmbs/uchar.h: Really define mbstate_t.
38401         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38402         * wcsmbs/c16rtomb.c: New file.
38403         * wcsmbs/mbrtoc16.c: New file.
38404         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38405         for C/POSIX locale.
38406         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38407         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38408
38409         * wcsmbs/wchar.h: Add missing __restrict.
38410
38411 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
38412
38413         [BZ #13532]
38414         * time/Makefile (routines): Add timespec_get.
38415         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38416         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
38417         timespec for ISO C11.
38418         * time/timespec_get.c: New file.
38419         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38420         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38421
38422         [BZ #13531]
38423         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38424         * stdlib/stdlib.h: Declare aligned_alloc.
38425         * Versions.def: Add GLIBC_2.16 for libc.
38426         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38427
38428         [BZ 13527]
38429         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38430         ISO C11.
38431
38432         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
38433         code.
38434
38435         [BZ #13528]
38436         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38437
38438         [BZ #13529]
38439         * assert/assert.h (static_assert): Define.
38440
38441         * version.h: Update for 2.16 development version.
38442
38443         [BZ #13526]
38444         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38445         _ISOC11_SOURCE.
38446
38447         * version.h (RELEASE): Bump for 2.15 release.
38448         * include/features.h (__GLIBC_MINOR__): Bump to 15.
38449
38450         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38451         Patch by Marek Polacek <mpolacek@redhat.com>.
38452
38453         * bits/byteswap.h: Protect long long constants with __extension__.
38454         * sysdeps/i386/bits/byteswap.h: Likewise.
38455         * sysdeps/ia64/bits/byteswap.h: Likewise.
38456         * sysdeps/s390/bits/byteswap.h: Likewise.
38457         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38458
38459 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38460
38461         [BZ #13540]
38462         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38463         destination buffer.
38464         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38465
38466 2011-12-23  Marek Polacek  <polacek@redhat.com>
38467
38468         * elf/dl-addr.c (determine_info): Add inline keyword.
38469         * elf/tst-auditmod4b.c (check_avx): Likewise.
38470         * elf/tst-auditmod6b.c (check_avx): Likewise.
38471         * elf/tst-auditmod6c.c (check_avx): Likewise.
38472         * elf/tst-auditmod7b.c (check_avx): Likewise.
38473
38474 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
38475
38476         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38477         !__SSE_MATH__.
38478
38479 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38480
38481         [BZ #13540]
38482         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38483         processing for last bytes.
38484
38485 2011-08-06  Bruno Haible  <bruno@clisp.org>
38486
38487         [BZ #13061]
38488         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38489         U+0385, not to U+1FEE.
38490
38491         [BZ #13062]
38492         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38493         entry for U+00A5 U+0301.
38494
38495 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
38496
38497         [BZ #13166]
38498         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38499         buffer for the output is too small.
38500
38501         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38502         optimization.
38503
38504         [BZ #13185]
38505         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38506         SSE flags if possible.
38507
38508 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38509
38510         [BZ #13540]
38511         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38512         processing for last bytes.
38513
38514 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
38515
38516         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38517         (syscall-list-default-options, syscall-list-default-condition)
38518         (syscall-list-includes): Define.
38519         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38520         list of ABIs and options and #if conditions for each ABI.  Do not
38521         handle common syscalls between ABIs specially.
38522         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38523         Remove.
38524         (syscall-list-variants, syscall-list-32bit-options)
38525         (syscall-list-32bit-condition, syscall-list-64bit-options)
38526         (syscall-list-64bit-condition): Define.
38527         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38528         (syscall-list-variants, syscall-list-32bit-options)
38529         (syscall-list-32bit-condition, syscall-list-64bit-options)
38530         (syscall-list-64bit-condition): Define.
38531         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38532         Remove.
38533         (syscall-list-variants, syscall-list-32bit-options)
38534         (syscall-list-32bit-condition, syscall-list-64bit-options)
38535         (syscall-list-64bit-condition): Define.
38536         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38537         Remove.
38538         (syscall-list-variants, syscall-list-32bit-options)
38539         (syscall-list-32bit-condition, syscall-list-64bit-options)
38540         (syscall-list-64bit-condition): Define.
38541
38542 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
38543
38544         * locale/iso-639.def: Add brx entry.
38545
38546         [BZ #13328]
38547         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38548         Proposed by Mariusz_Cukr <marcukr@op.pl>.
38549
38550         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38551         __feraiseexcept_renamed.
38552
38553 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
38554
38555         [BZ #13538]
38556         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38557         EPOLLET with unsigned values.
38558         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38559         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38560
38561         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38562         to large cancellation.
38563         * math/s_cacoshf.c: Likewise.
38564         * math/s_cacoshl.c: Likewise.
38565
38566 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
38567
38568         [BZ #13305]
38569         [BZ #12786]
38570         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38571         * math/s_cacoshf.c: Likewise.
38572         * math/s_cacoshl.c: Likewise.
38573
38574 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
38575
38576         [BZ #13439]
38577         * iconv/gconv.h: Define __GCONV_SWAP.
38578         * iconvdata/unicode.c: The swap bit must be stored in __flags.
38579         * iconvdata/utf-16.c: Likewise.
38580         * iconvdata/utf-32.c: Likewise.
38581
38582 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
38583
38584         [BZ #13524]
38585         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38586         numerator after shifting it by one limb.
38587
38588 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
38589
38590         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38591         under [__USE_EXTERN_INLINES].
38592
38593 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
38594
38595         [BZ #13446]
38596         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38597
38598 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38599
38600         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38601         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38602         optimized code.
38603         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38604         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38605         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38606         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38607         for strncasecmp/strncasecmp_l compilation.
38608         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38609         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38610
38611 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
38612
38613         [BZ #13484]
38614         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38615         of __asm__.
38616
38617 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
38618
38619         [BZ #13506]
38620         * time/tzfile.c (__tzfile_read): Check values from file header.
38621
38622 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
38623
38624         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38625         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38626         * powerpc/powerpc32/dl-start.S: Likewise.
38627         * powerpc/powerpc32/elf/start.S: Likewise.
38628         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38629         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38630         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38631         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38632         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38633         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38634         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38635         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38636         * powerpc/powerpc32/fpu/s_round.S: Likewise.
38637         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38638         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38639         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38640         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38641         * powerpc/powerpc32/memset.S: Likewise.
38642         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38643         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38644         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38645         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38646         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38647         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38648         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38649         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38650         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38651         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38652         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38653         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38654         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38655
38656 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38657
38658         * math/libm-test.inc: Added more nearbyint tests.
38659         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38660         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38661         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38662         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38663
38664 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
38665
38666         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38667         FD_CLOEXEC.
38668
38669 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38670
38671         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38672         Add wcscpy-ssse3 wcscpy-c.
38673         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38674         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38675         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38676         * sysdeps/x86_64/wcschr.S: New file.
38677         * sysdeps/x86_64/wcsrchr.S: New file.
38678         * string/test-strcmp.c: Remove checking of wcscmp function for
38679         wrong alignments.
38680         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38681         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38682         wcsrchr-sse2 wcsrchr-c.
38683         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38684         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38685         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38686         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38687         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38688         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38689         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38690         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38691         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38692         * wcsmbc/wcschr.c (WCSCHR): New macro.
38693
38694 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38695
38696         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38697         * wcsmbs/test-wcsrchr.c: New file.
38698         * string/test-strrchr.c: Add wcsrchr support.
38699         (WIDE): New macro.
38700         * wcsmbs/test-wcscpy.c: New file.
38701         * string/test-strcpy.c: Add wcscpy support.
38702         (WIDE): New macro.
38703
38704 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
38705
38706         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38707         the inner loop.
38708
38709 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
38710
38711         [BZ #13472]
38712         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38713
38714 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
38715
38716         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38717         Minor optimizations.
38718
38719         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38720         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38721         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38722
38723 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
38724
38725         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38726         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38727         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38728         for gcc to avoid warnings.
38729         * inet/Makefile (tests): Add tst-checks.
38730         * inet/tst-checks.c: New file.
38731
38732         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38733         warning.
38734
38735         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38736         __wmemcmp_sse2.
38737
38738         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38739         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38740
38741         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38742
38743 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
38744
38745         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38746         problem.
38747
38748         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38749
38750 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
38751
38752         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38753         conditional on GCC version.
38754         (__arch_compare_and_exchange_val_8_acq)
38755         (__arch_compare_and_exchange_val_16_acq)
38756         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38757         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38758         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38759
38760 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
38761
38762         * sysdeps/sh/backtrace.c: New file.
38763
38764 2011-12-02  Andreas Schwab  <schwab@redhat.com>
38765
38766         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
38767         parenthesis.
38768
38769 2011-12-01  Andreas Schwab  <schwab@redhat.com>
38770
38771         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38772         falling back to utime.
38773
38774 2011-11-30  Andreas Schwab  <schwab@redhat.com>
38775
38776         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38777         expectations for float.
38778
38779 2011-11-29  Andreas Schwab  <schwab@redhat.com>
38780
38781         * locale/weight.h (findidx): Add parameter len.
38782         * locale/weightwc.h (findidx): Likewise.
38783         * posix/fnmatch_loop.c (FCT): Adjust caller.
38784         * posix/regcomp.c (build_equiv_class): Likewise.
38785         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38786         * posix/regexec.c (check_node_accept_bytes): Likewise.
38787         * string/strcoll_l.c (STRCOLL): Likewise.
38788         * string/strxfrm_l.c (STRXFRM): Likewise.
38789
38790 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
38791
38792         * Makefile.in: Remove CVSOPT handling.
38793         * configure.in: Remove use of AC_REVISION.
38794         * iconvdata/Makefile (distribute): No need to filter out CVS.
38795         * scripts/list-sources.sh: Remove CVS, subversion and monotone
38796         handling.
38797
38798 2011-11-16  Andreas Schwab  <schwab@redhat.com>
38799
38800         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38801         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38802         [USE_AS_STRNCASECMP_L]: Likewise.
38803         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38804         NO_TLS_DIRECT_SEG_REFS.
38805         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38806         Fix argument offsets for non-PIC.
38807         [USE_AS_STRNCASECMP_L]: Likewise.
38808         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38809         NO_TLS_DIRECT_SEG_REFS.
38810
38811 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
38812
38813         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38814         O_CLOEXEC.
38815         * locale/loadlocale.c (_nl_load_locale): Likewise.
38816
38817 2011-11-15  Andreas Schwab  <schwab@redhat.com>
38818
38819         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38820         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38821         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38822         (SYSCALL_GETTIME): Set errno on error.
38823
38824         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38825         count references to noai6ai_cached.
38826
38827 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
38828
38829         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38830
38831         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38832         FD_CLOEXEC for /proc/self/maps.
38833
38834         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38835         FD_CLOEXEC for /proc/meminfo.
38836
38837         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38838         gai.conf.
38839
38840         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
38841         FD_CLOEXEC for given file.
38842
38843         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38844
38845         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38846         FD_CLOEXEC for /etc/hosts.
38847         (_gethtent): Likewise.
38848
38849         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38850
38851         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38852         cancellation and set FD_CLOEXEC for /etc/netgroup.
38853
38854         * nss/nss_files/files-key.c (search): Don't allow cancellation when
38855         reading /etc/publickey.
38856
38857         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38858         allow cancellation when reading /etc/group.
38859
38860         * nss/nss_files/files-alias.c (internal_setent): Don't allow
38861         cancellation.
38862         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
38863
38864         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38865         when using data file.
38866
38867         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38868
38869         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38870         (write_nis_obj): Use "c" and "e" in fopen.
38871
38872         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38873
38874         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38875
38876         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38877
38878         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38879
38880         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38881         locale.alias.
38882
38883         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38884
38885         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38886
38887         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38888
38889         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38890         file parsing and set FD_CLOEXEC.
38891
38892 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
38893
38894         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38895
38896 2011-11-14  Andreas Schwab  <schwab@redhat.com>
38897
38898         * malloc/arena.c (arena_get2): Don't call reused_arena when
38899         _int_new_arena failed.
38900
38901 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
38902
38903         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38904         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38905         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38906         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38907         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38908         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38909         to compile strcasecmp and strncasecmp.
38910         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38911         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38912
38913         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38914
38915 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
38916
38917         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38918         locale-defines.sym to gen-as-const-headers.
38919         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38920         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38921         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38922         to compile strcasecmp and strncasecmp.
38923         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38924         strcasecmp_l and strncasecmp_l.
38925         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38926         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38927         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38928         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38929         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38930         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38931         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38932         * sysdeps/i386/i686/multiarch/strncase.S: New file.
38933         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38934         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38935         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38936
38937 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
38938
38939         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38940         result of SYSDEP_GETTIME_CPU to retval.
38941         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38942         parameter list to macro.  Remove trailing semicolon.  Adjust users.
38943
38944         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38945         variable.
38946
38947         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38948         mantissa words.
38949         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38950
38951         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38952         from unused variable.
38953
38954         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38955         DWARF definitions.
38956         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38957         for assembling.
38958
38959         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38960         over namespaces.
38961
38962         * sunrpc/rpc_prot.c (rejected): Fix case value.
38963
38964         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38965         unsigned long long int to avoid warnings in shift.
38966
38967         * posix/regex_internal.c (re_string_reconstruct): Actually use result
38968         of use of trans.
38969         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38970         variable tmp.
38971
38972         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38973         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38974         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38975
38976         * nis/nis_table.c (nis_list): Use variable of correct type for
38977         result of __follow_path call.
38978
38979 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38980
38981         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38982         of math functions ceil, trunc, floor, round, and sqrt, when
38983         avaliable on the platform.
38984         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38985         name clash.
38986         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38987         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38988         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38989
38990 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
38991
38992         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38993         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38994
38995 2011-11-11  Roland McGrath  <roland@hack.frob.com>
38996
38997         * include/unistd.h: Fix __readlink return type.
38998         Reported by Chris Metcalf <cmetcalf@tilera.com>.
38999
39000 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
39001
39002         * stdlib/ucontext.h: Undo last change for makecontext.
39003
39004 2011-11-11  Andreas Schwab  <schwab@redhat.com>
39005
39006         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39007
39008         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39009         * setjmp/setjmp.h: Mark functions as non-leaf.
39010         * setjmp/bits/setjmp2.h: Likewise.
39011         * stdlib/ucontext.h: Likewise.
39012
39013 2011-11-10  Andreas Schwab  <schwab@redhat.com>
39014
39015         * malloc/arena.c (_int_new_arena): Don't increment narenas.
39016         (reused_arena): Don't check arena limit.
39017         (arena_get2): Atomically check arena limit.
39018
39019 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
39020
39021         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39022         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39023
39024         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39025         instructions.
39026
39027 2011-11-07  Andreas Schwab  <schwab@redhat.com>
39028
39029         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39030         handler when locking.
39031
39032         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39033         Fix size of allocated buffer.
39034
39035 2011-11-04  Andreas Schwab  <schwab@redhat.com>
39036
39037         [BZ #10103]
39038         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39039         declarations for long double functions.
39040         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39041
39042         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39043
39044 2011-11-03  Andreas Schwab  <schwab@redhat.com>
39045
39046         * nscd/nscd.c (main): Don't start AVC thread until credentials are
39047         installed.
39048
39049         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39050         is disabled.
39051
39052 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39053
39054         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39055
39056 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39057
39058         * include/alloca.h (stackinfo_alloca_round): Define.
39059         (extend_alloca): Use it.
39060         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39061         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39062         here.
39063
39064         * scripts/check-local-headers.sh: Ignore libaudit.h.
39065
39066         * nscd/Makefile (extra-objs): Make recursively expanded.
39067
39068 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
39069
39070         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39071         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39072
39073         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39074         * posix/tst-rfc3484-2.c: Likewise.
39075         * posix/tst-rfc3484-3.c: Likewise.
39076
39077         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39078         process_vm_writev.
39079         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39080         process_vm_writev.
39081         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39082         process_vm_writev from libc using GLIBC_2.15 version.
39083
39084         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39085
39086 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
39087
39088         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39089         stack usage.
39090
39091 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
39092
39093         [BZ #13367]
39094         * nss/getent.c (initgroups_keys): Show error message in case no group
39095         names are given.
39096
39097         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39098         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39099         __bump_nl_timestamp.
39100         * nscd/connections (nscd_init): When host database is served open
39101         netlink socket and request notification about configuration changes.
39102         (main_loop_poll): Track netlink file descriptor and bump timestamp
39103         in case data becomes available.
39104         (main_loop_epoll): Likewise.
39105         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39106         (database_pers_head): Add extra_data fileds.
39107         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39108         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39109         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39110         Adjust caller.
39111         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39112         in6ai data, call __free_in6ai.
39113         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39114         Add -DHAVE_NETLINK.
39115         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
39116         interface information.  Reuse previous data if netlink timestamp
39117         is not changed.
39118         (__bump_nl_timestamp): New function.
39119         (__free_in6ai): New function.
39120
39121 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
39122
39123         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39124         close_not_cancel_no_status here.
39125         (__check_pf): Reorganize code a bit to not call close twice if OOM.
39126
39127 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
39128
39129         [BZ #13276]
39130         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39131         return value.
39132
39133         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
39134         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39135         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39136
39137 2011-07-03  Andreas Jaeger  <aj@suse.de>
39138
39139         [BZ #10709]
39140         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39141         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39142         * math/libm-test.inc (sin_test): Add test case.
39143
39144 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
39145
39146         [BZ #13337]
39147         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39148         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39149
39150         * elf/chroot_canon.c (chroot_canon): Cleanups.
39151
39152         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39153
39154         [BZ #13335]
39155         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39156         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39157
39158         * string/test-strchr.c: Make usable for strchrnul testing.
39159         * string/test-strchrnul.c: New file.
39160         * string/Makefile (strop-tests): Add strchrnul.
39161
39162         * po/it.po: Update from translation team.
39163         * po/es.po: Likewise.
39164
39165 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
39166
39167         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39168         the three constants needed as parameters.  Drop the others.
39169         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39170         __m128i_strloadu_tolower.
39171         Create and initialize variable zero and use it in all the places
39172         where _mm_setzero_si128 was used.
39173
39174         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39175         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39176         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39177         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39178         anymore.
39179         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39180         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39181         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39182         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39183         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39184         __mpranred, __mptan.
39185         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39186         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39187         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39188         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39189         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39190         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39191         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39192         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39193         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39194
39195 2011-10-28  Andreas Schwab  <schwab@redhat.com>
39196
39197         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39198         redefine if SHARED.
39199         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39200
39201         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39202         wide char related routines to wcsmbs subdir.
39203
39204 2011-10-27  Andreas Schwab  <schwab@redhat.com>
39205
39206         [BZ #13344]
39207         * misc/sys/cdefs.h (__THROWNL): Define.
39208         * posix/unistd.h: Use __THREADNL instead of __THREAD
39209         for memory synchronization functions.
39210
39211 2011-10-26  Roland McGrath  <roland@hack.frob.com>
39212
39213         [BZ #13349]
39214         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39215         doesn't exist.
39216         * manual/stdio.texi (Obstack Streams): Node removed.
39217
39218 2011-10-26  Andreas Schwab  <schwab@redhat.com>
39219
39220         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39221         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39222         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39223
39224         * math/math_private.h (math_force_eval): Allow non-addressable
39225         arguments.
39226         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39227
39228 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
39229
39230         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39231         file is not needed.
39232
39233         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39234         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39235         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39236         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39237         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39238         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39239         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39240         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39241         Add AVX variants.
39242         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39243         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39244         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39245         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39246         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39247         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39248         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39249         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39250         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39251         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39252         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39253         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39254         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39255         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39256         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39257         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39258         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39259         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39260         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39261
39262         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39263         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
39264
39265         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39266         place.  Use VEX encoding when compiling for AVX.
39267
39268 2011-10-25  Andreas Schwab  <schwab@redhat.com>
39269
39270         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39271         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39272
39273         * string/test-strchr.c (do_test): Don't generate NUL bytes.
39274
39275 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
39276
39277         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
39278         useless if() expression.
39279         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39280         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39281         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39282         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39283         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39284         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39285         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39286         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39287         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39288         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39289         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39290         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39291         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39292         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39293         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39294         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39295         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39296         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39297         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39298
39299         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39300
39301 2011-10-25  Andreas Schwab  <schwab@redhat.com>
39302
39303         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39304         condition.
39305         * elf/dl-fini.c (_dl_sort_fini): Likewise.
39306
39307 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
39308
39309         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39310         .text section.  Avoid duplicate constants.
39311         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39312         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39313         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39314         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39315         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39316         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39317         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39318         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39319         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39320         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39321         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39322         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39323         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39324         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39325         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39326         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39327         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39328         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39329         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39330         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39331         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39332         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39333         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39334         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39335         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39336         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39337         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39338         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39339         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39340         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39341         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39342         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39343         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39344         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39345         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39346         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39347         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39348         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39349         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39350         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39351         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39352         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39353         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39354         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39355         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39356
39357 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
39358
39359         * sysdeps/x86_64/dla.h: Move to ...
39360         * sysdeps/x86_64/fpu/dla.h: ...here.
39361         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39362         situations.  Use __builtin_fma only for gcc 4.6 and up.
39363
39364         * config.make.in: Add have-mfma4 entry.
39365         * configure.in: Substitute libc_cv_cc_fma4.
39366         * math/Makefile (dbl-only-routines): Add sincostab.
39367         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39368         Use __sincostab not sincos.
39369         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39370         name is a macro.
39371         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39372         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39373         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39374         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
39375         using __copysign.
39376         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
39377         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
39378         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39379         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39380         and __inv.
39381         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39382         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39383         __copysign.
39384         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
39385         define aliases when function name is a macro.
39386         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39387         sysdeps/ieee754/dbl-64/sincos.tbl.
39388         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39389         fma4-enabled routines.
39390         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39391         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39392         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39393         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39394         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39395         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39396         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39397         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39398         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39399         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39400         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39401         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39402         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39403         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39404         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39405         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39406         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39407         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39408         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39409         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39410         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39411         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39412         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39413         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39414         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39415         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39416         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39417         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39418         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39419         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39420
39421         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39422         rename.
39423         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39424         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39425         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39426         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39427         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39428         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39429         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39430         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39431
39432 2011-10-24  Andreas Schwab  <schwab@redhat.com>
39433
39434         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39435
39436 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
39437
39438         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39439
39440         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39441         prediction.
39442         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39443
39444         * string/strnlen.c: Don't define STRNLEN, reverse logic.
39445         Remove unused variable magic_bits.
39446         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39447
39448         * string/strnlen.c: Define and use STRNLEN macro.
39449         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39450         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39451         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39452         * wcsmbs/wcslen.c: Define and use WCSLEN.
39453         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39454         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39455         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39456         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39457         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39458         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39459         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39460
39461 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39462
39463         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39464         strnlen-sse2-no-bsf.
39465         Rename strlen-no-bsf to strlen-sse2-no-bsf.
39466         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39467         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39468         Add strnlen support.
39469         (USE_AS_STRNLEN): New macro.
39470         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39471         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39472         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39473         * sysdeps/x86_64/wcslen.S: New file.
39474
39475 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
39476
39477         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39478         XMM-moves are used for copying on small sizes.
39479
39480 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39481
39482         * wcsmbs/Makefile (strop-tests): Add wcschr.
39483         * wcsmbs/test-wcschr.c: New file.
39484         * string/test-strchr.c: Update.
39485         Add wcschr support.
39486         (WIDE): New macro.
39487
39488 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39489
39490         * wcsmbs/Makefile (strop-tests): Add wcslen.
39491         * wcsmbs/test-wcslen.c: New file.
39492         * string/test-strlen.c: Update.
39493         Add wcslen support.
39494         (WIDE): New macro.
39495
39496 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
39497
39498         * po/it.po: Update from translation team.
39499
39500 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39501
39502         * sysdeps/x86_64/wcscmp.S: Update.
39503         Fix wrong comparison semantics.
39504         wcscmp shall use signed comparison not unsigned.
39505         Don't use substraction to avoid overflow bug.
39506         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39507         * wcsmbc/wcscmp.c: Likewise.
39508         * string/test-strcmp.c: Likewise.
39509         Add new tests to check cases with negative values.
39510
39511 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
39512
39513         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39514         * sysdeps/x86_64/dla.h: ...here.  New file.
39515         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39516         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39517         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39518         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39519         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39520         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39521         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39522         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39523         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39524
39525 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
39526
39527         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39528         __ynl_finite aliases.
39529
39530 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
39531
39532         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39533
39534         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39535         define DLA_FMA.
39536         [DLA_FMA] (EMULV): Use DLA_FMA.
39537         [DLA_FMA] (MUL12): Use EMULV.
39538         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39539         that are not needed.
39540         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39541         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39542         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39543         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39544         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39545         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39546         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39547
39548 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
39549
39550         * math/s_nan.c: Undef __nan.
39551         * math/s_nanf.c: Undef __nanf.
39552         * math/s_nanl.c: Undef __nanl.
39553         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39554         "math_private.h".
39555
39556 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
39557
39558         * math/s_catan.c: Add branch predictions.
39559         * math/s_catanf.c: Likewise.
39560         * math/s_catanh.c: Likewise.
39561         * math/s_catanhf.c: Likewise.
39562         * math/s_catanhl.c: Likewise.
39563         * math/s_catanl.c: Likewise.
39564         * math/s_cexp.c: Likewise.
39565         * math/s_cexpf.c: Likewise.
39566         * math/s_cexpl.c: Likewise.
39567         * math/s_clog.c: Likewise.
39568         * math/s_clog10.c: Likewise.
39569         * math/s_clog10f.c: Likewise.
39570         * math/s_clog10l.c: Likewise.
39571         * math/s_clogf.c: Likewise.
39572         * math/s_clogl.c: Likewise.
39573         * math/s_csqrt.c: Likewise.
39574         * math/s_csqrtf.c: Likewise.
39575         * math/s_csqrtl.c: Likewise.
39576         * math/s_ctanf.c: Likewise.
39577         * math/s_ctanh.c: Likewise.
39578         * math/s_ctanhf.c: Likewise.
39579         * math/s_ctanhl.c: Likewise.
39580         * math/s_ctanl.c: Likewise.
39581
39582         * math/math_private.h: Define __nan, __nanf, __nanl.
39583         * math/s_cacosh.c: Include <math_private.h>.
39584         * math/s_cacoshl.c: Likewise.
39585         * math/s_casinh.c: Likewise.
39586         * math/s_casinhf.c: Likewise.
39587         * math/s_casinhl.c: Likewise.
39588         * math/s_ccos.c: Rely entire on ccosh.
39589         * math/s_ccosf.c: Rely entire on ccoshf.
39590         * math/s_ccosl.c: Rely entirely on ccoshl.
39591         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
39592         Remove tests for FE_INVALID.
39593         * math/s_ccoshf.c: Likewise.
39594         * math/s_ccoshl.c: Likewise.
39595         * math/s_csin.c: Likewise.
39596         * math/s_csinf.c: Likewise.
39597         * math/s_csinh.c Likewise.
39598         * math/s_csinhf.c: Likewise.
39599         * math/s_csinhl.c: Likewise.
39600         * math/s_csinl.c: Likewise.
39601         * math/s_ctan.c: Likewise.
39602         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39603         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39604         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39605
39606 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
39607
39608         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39609         compilation problems.
39610
39611         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39612         __builtin_expect.
39613
39614 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
39615
39616         * sysdeps/i386/configure.in: Test for -mfma4 option.
39617         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39618         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39619         COMMON_CPUID_INDEX_80000001.
39620         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39621         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39622         use it if FMA3 is not supported.
39623         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39624
39625         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39626         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39627
39628 2011-10-20  Andreas Schwab  <schwab@redhat.com>
39629
39630         [BZ #12892]
39631         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39632         it would create a cycle with a link time dependency.
39633
39634 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
39635
39636         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39637         instruction.
39638         * string/Makefile (strop-tests): Add rawmemchr.
39639         * string/test-rawmemchr.c: New file.
39640
39641         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39642         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
39643         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
39644         when compiling str{,n}casecmp and when AVX is available.  Hook up
39645         new optimized code in initializers.
39646
39647 2011-10-19  Andreas Schwab  <schwab@redhat.com>
39648
39649         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39650         __feraiseexcept instead of feraiseexcept.
39651
39652 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
39653
39654         * math/math_private.h: Define defaults for libc_fetestexcept and
39655         libc_feupdateenv.
39656         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39657         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39658         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39659         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39660         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39661         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39662         libc_fetestexcept and libc_feupdateenv.
39663
39664         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39665         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39666         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39667         * sysdeps/x86_64/fpu/math_private.h: Define special version of
39668         libc_feholdexcept_setround.
39669
39670         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39671         Add s_nearbyint-c and s_nearbyintf-c.
39672         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39673         nearbyintf inlines.
39674         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39675         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39676         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39677         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39678
39679         * math/math_private.h: Define defaults for libc_fegetround,
39680         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39681         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39682         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39683         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39684         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39685         standard functions.
39686         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39687         Remove comments and hacks for old compiler versions.
39688         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39689         libc_fegetround, libc_fesetround, libc_feholdexcept, and
39690         libc_feholdexceptl.
39691
39692 2011-10-18  Andreas Schwab  <schwab@redhat.com>
39693
39694         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39695         (__feraiseexcept_renamed): Add __NTH.
39696         (feraiseexcept): Add __NTH.  Rename local variables to fix
39697         namespace violations.
39698
39699 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
39700
39701         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39702
39703         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39704
39705         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39706         recently added interfaces.
39707         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39708
39709         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39710         about macro parameter expansion.
39711
39712         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39713         __NO_MATH_INLINES is defined.  Cleanups.
39714
39715         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39716         and __floorf is target has SSE4.1.
39717         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39718         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39719         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39720         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39721
39722         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39723         name.
39724         (floorf): Likewise.
39725
39726         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39727
39728 2011-10-17  Andreas Schwab  <schwab@redhat.com>
39729
39730         * misc/sys/cdefs.h: Fix last change.
39731
39732         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39733         database lookup.
39734
39735 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
39736
39737         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39738
39739         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39740         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39741         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39742         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39743         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39744         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39745         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39746         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39747         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39748         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39749         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39750         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39751         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39752         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39753         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39754         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39755         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39756         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39757         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39758         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39759         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39760         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39761
39762         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39763         ceil, ceilf, floor, floorf.
39764
39765         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39766         Perform IRELATIVE relocations last.
39767
39768         * elf/do-rel.h: Add another parameter nrelative, replacing the
39769         local variable with the same name.  Change name of the function
39770         to end in Rel or Rela (uppercase).
39771         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39772         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
39773         elf_dynamic_do_##reloc function.
39774
39775 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
39776
39777         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39778         is sufficient, at least on modern CPUs.
39779
39780         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39781
39782         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39783         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39784
39785         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39786         __expl_finite.
39787         * math/bits/math-finite.h: Add entries for exp.
39788         * math/e_expl.c: Add __*_finite alias.
39789         * sysdeps/i386/fpu/e_exp.S: Likewise.
39790         * sysdeps/i386/fpu/e_expf.S: Likewise.
39791         * sysdeps/i386/fpu/e_expl.c: Likewise.
39792         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39793         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39794         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39795         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39796         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39797         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39798         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39799
39800         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39801         is sufficient, at least on modern CPUs.
39802
39803         * ctype/ctype-info.c (__ctype_init): Define.
39804         * include/ctype.h (__ctype_init): Declare.
39805         (__ctype_b_loc): The variable is always initialized.
39806         (__ctype_toupper_loc): Likewise.
39807         (__ctype_tolower_loc): Likewise.
39808         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39809         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39810
39811 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
39812
39813         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39814
39815         * configure.in: Also look in $cxxmachine/include for C++ system
39816         headers.
39817
39818 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39819
39820         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39821         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39822         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39823         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
39824         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39825         (USE_AS_WMEMCMP): New macro.
39826         Fixing indents.
39827         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39828         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39829         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39830         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39831         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39832         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39833         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39834         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39835         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39836         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39837         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39838         (USE_AS_WMEMCMP): New macro.
39839         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39840         * sysdeps/string/test-memcmp.c: Update.
39841         Fix simple_wmemcmp.
39842         Add new tests.
39843         * wcsmbs/wmemcmp.c: Update.
39844         (WMEMCMP): New macro.
39845         Fix overflow bug.
39846
39847 2011-10-12  Andreas Jaeger  <aj@suse.de>
39848
39849         [BZ #13268]
39850         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39851
39852 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
39853
39854         * libio/iofwide.c (do_length): Avoid warning.
39855
39856         * ctype/ctype.h (__isctype_f): Add missing __THROW.
39857
39858 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
39859
39860         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39861
39862         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39863         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39864         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39865         * sysdeps/i386/i686/fpu/e_log.S: New file.
39866         * sysdeps/i386/i686/fpu/e_logf.S: New file.
39867         * sysdeps/i386/i686/fpu/e_logl.S: New file.
39868
39869         * ctype/ctype.h: Add support for inlined isXXX functions when
39870         compiling C++ code.
39871
39872 2011-10-14  Andreas Schwab  <schwab@redhat.com>
39873
39874         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39875
39876         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39877
39878 2011-10-13  Roland McGrath  <roland@hack.frob.com>
39879
39880         [BZ #13291]
39881         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39882
39883 2011-10-13  Andreas Schwab  <schwab@redhat.com>
39884
39885         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39886         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39887         feraiseexcept.
39888
39889         * sysdeps/x86_64/memrchr.S: Check for zero size.
39890
39891         * string/stratcliff.c: Add memrchr tests.
39892
39893 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39894
39895         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39896         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39897         rawmemchr-sse2 rawmemchr-sse2-bsf.
39898         * sysdeps/i386/i686/multiarch/memchr.S: New file.
39899         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39900         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39901         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39902         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39903         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39904         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39905         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39906         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39907         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39908         * string/memrchr.c (MEMRCHR): New macro.
39909
39910 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
39911
39912         Add integration with gcc's -ffinite-math-only and optimize wrapper
39913         functions in libm.
39914         * Versions.def: Define GLIBC_2.15 version for libm.
39915         * math/Makefile (headers): Add bits/math-finite.h.
39916         * math/bits/math-finite.h: New file.
39917         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39918         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39919         * math/e_acoshl.c: Add __*_finite alias.
39920         * math/e_acosl.c: Likewise.
39921         * math/e_asinl.c: Likewise.
39922         * math/e_atan2l.c: Likewise.
39923         * math/e_atanhl.c: Likewise.
39924         * math/e_coshl.c: Likewise.
39925         * math/e_exp10.c: Likewise.
39926         * math/e_exp10f.c: Likewise.
39927         * math/e_exp10l.c: Likewise.
39928         * math/e_exp2l.c: Likewise.
39929         * math/e_fmodl.c: Likewise.
39930         * math/e_gammal_r.c: Likewise.
39931         * math/e_hypotl.c: Likewise.
39932         * math/e_j0l.c: Likewise.
39933         * math/e_j1l.c: Likewise.
39934         * math/e_jnl.c: Likewise.
39935         * math/e_lgammal_r.c: Likewise.
39936         * math/e_log10l.c: Likewise.
39937         * math/e_log2l.c: Likewise.
39938         * math/e_logl.c: Likewise.
39939         * math/e_powl.c: Likewise.
39940         * math/e_sinhl.c: Likewise.
39941         * math/e_sqrtl.c: Likewise.
39942         * math/e_scalb.c: Completely rewritten and optimized.
39943         * math/e_scalbf.c: Likewise.
39944         * math/e_scalbl.c: Likewise.
39945         * math/w_acos.c: Likewise.
39946         * math/w_acosf.c: Likewise.
39947         * math/w_acosl.c: Likewise.
39948         * math/w_acosh.c: Likewise.
39949         * math/w_acoshf.c: Likewise.
39950         * math/w_acoshl.c: Likewise.
39951         * math/w_asin.c: Likewise.
39952         * math/w_asinf.c: Likewise.
39953         * math/w_asinl.c: Likewise.
39954         * math/w_atan2.c: Likewise.
39955         * math/w_atan2f.c: Likewise.
39956         * math/w_atan2l.c: Likewise.
39957         * math/w_atanh.c: Likewise.
39958         * math/w_atanhf.c: Likewise.
39959         * math/w_atanhl.c: Likewise.
39960         * math/w_exp10.c: Likewise.
39961         * math/w_exp10f.c: Likewise.
39962         * math/w_exp10l.c: Likewise.
39963         * math/w_fmod.c: Likewise.
39964         * math/w_fmodf.c: Likewise.
39965         * math/w_fmodl.c: Likewise.
39966         * math/w_j0.c: Likewise.
39967         * math/w_j0f.c: Likewise.
39968         * math/w_j0l.c: Likewise.
39969         * math/w_j1.c: Likewise.
39970         * math/w_j1f.c: Likewise.
39971         * math/w_j1l.c: Likewise.
39972         * math/w_jn.c: Likewise.
39973         * math/w_jnf.c: Likewise.
39974         * math/w_log.c: Likewise.
39975         * math/w_logf.c: Likewise.
39976         * math/w_logl.c: Likewise.
39977         * math/w_log10.c: Likewise.
39978         * math/w_log10f.c: Likewise.
39979         * math/w_log10l.c: Likewise.
39980         * math/w_log2.c: Likewise.
39981         * math/w_log2f.c: Likewise.
39982         * math/w_log2l.c: Likewise.
39983         * math/w_pow.c: Likewise.
39984         * math/w_powf.c: Likewise.
39985         * math/w_powl.c: Likewise.
39986         * math/w_remainder.c: Likewise.
39987         * math/w_remainderf.c: Likewise.
39988         * math/w_remainderl.c: Likewise.
39989         * math/w_scalb.c: Likewise.
39990         * math/w_scalbf.c: Likewise.
39991         * math/w_scalbl.c: Likewise.
39992         * math/w_sqrt.c: Likewise.
39993         * math/w_sqrtf.c: Likewise.
39994         * math/w_sqrtl.c: Likewise.
39995         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39996         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
39997         used.
39998         * math/math_private.h: Declare __kernel_standard_f.
39999         * math/w_cosh.c: Remove cruft and optimize a bit.
40000         * math/w_coshf.c: Likewise.
40001         * math/w_coshl.c: Likewise.
40002         * math/w_exp2.c: Likewise.
40003         * math/w_exp2f.c: Likewise.
40004         * math/w_exp2l.c: Likewise.
40005         * math/w_hypot.c: Likewise.
40006         * math/w_hypotf.c: Likewise.
40007         * math/w_hypotl.c: Likewise.
40008         * math/w_lgamma.c: Likewise.
40009         * math/w_lgamma_r.c: Likewise.
40010         * math/w_lgammaf.c: Likewise.
40011         * math/w_lgammaf_r.c: Likewise.
40012         * math/w_lgammal.c: Likewise.
40013         * math/w_lgammal_r.c: Likewise.
40014         * math/w_sinh.c: Likewise.
40015         * math/w_sinhf.c: Likewise.
40016         * math/w_sinhl.c: Likewise.
40017         * math/w_tgamma.c: Likewise.
40018         * math/w_tgammaf.c: Likewise.
40019         * math/w_tgammal.c: Likewise.
40020         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40021         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40022         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40023         Minor optimizations.  Pretty printing.  Remove cruft.
40024         * sysdeps/i386/fpu/e_acosf.S: Likewise.
40025         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40026         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40027         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40028         * sysdeps/i386/fpu/e_acosl.c: Likewise.
40029         * sysdeps/i386/fpu/e_asin.S: Likewise.
40030         * sysdeps/i386/fpu/e_asinf.S: Likewise.
40031         * sysdeps/i386/fpu/e_atan2.S: Likewise.
40032         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40033         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40034         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40035         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40036         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40037         * sysdeps/i386/fpu/e_exp10.S: Likewise.
40038         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40039         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40040         * sysdeps/i386/fpu/e_exp2.S: Likewise.
40041         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40042         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40043         * sysdeps/i386/fpu/e_fmod.S: Likewise.
40044         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40045         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40046         * sysdeps/i386/fpu/e_hypot.S: Likewise.
40047         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40048         * sysdeps/i386/fpu/e_log.S: Likewise.
40049         * sysdeps/i386/fpu/e_log10.S: Likewise.
40050         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40051         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40052         * sysdeps/i386/fpu/e_log2.S: Likewise.
40053         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40054         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40055         * sysdeps/i386/fpu/e_logf.S: Likewise.
40056         * sysdeps/i386/fpu/e_logl.S: Likewise.
40057         * sysdeps/i386/fpu/e_pow.S: Likewise.
40058         * sysdeps/i386/fpu/e_powf.S: Likewise.
40059         * sysdeps/i386/fpu/e_powl.S: Likewise.
40060         * sysdeps/i386/fpu/e_remainder.S: Likewise.
40061         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40062         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40063         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40064         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40065         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40066         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40067         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40068         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40069         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40070         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40071         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40072         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40073         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40074         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40075         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40076         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40077         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40078         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40079         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40080         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40081         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40082         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40083         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40084         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40085         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40086         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40087         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40088         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40089         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40090         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40091         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40092         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40093         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40094         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40095         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40096         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40097         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40098         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40099         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40100         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40101         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40102         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40103         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40104         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40105         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40106         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40107         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40108         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40109         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40110         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40111         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40112         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40113         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40114         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40115         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40116         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40117         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40118         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40119         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40120         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40121         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40122         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40123         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40124         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40125         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40126         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40127         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40128         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40129         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40130         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40131         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40132         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40133         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40134         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40135         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40136         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40137         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40138         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40139         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40140         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40141         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40142         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40143         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40144         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40145         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40146         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40147         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40148         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40149         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40150         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40151         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40152         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40153         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40154         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40155         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40156         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40157         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40158         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40159         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40160         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40161         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40162         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40163         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40164         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40165         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40166         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40167         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40168         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40169         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40170         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40171         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40172         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40173         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40174         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40175         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40176         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40177         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40178         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40179         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
40180         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40181         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40182         (__isnanf): Likewise.
40183         (__isinf_ns): Likewise.
40184         (__isinf_nsf): Likewise.
40185         (__finite): Likewise.
40186         (__finitef): Likewise.
40187         (__ieee754_sqrt): Define as macro.
40188         (__ieee754_sqrtf): Define as macro.
40189         (__ieee754_sqrtl): Define as macro.
40190         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40191         inlined copy.
40192         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40193         __FINITE_MATH_ONLY__ consistent.
40194         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40195
40196 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
40197
40198         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40199         of rawmemchr.
40200
40201         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40202
40203 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
40204
40205         * po/ja.po: Update from translation team.
40206
40207 2011-10-08  Roland McGrath  <roland@hack.frob.com>
40208
40209         * locale/programs/locarchive.c (prepare_address_space): New function.
40210         (create_archive, enlarge_archive, open_archive): Use it.
40211
40212         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40213         inside [SHARED], where it is used.
40214
40215         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40216
40217         * nss/getent.c (netgroup_keys): Remove unused variable.
40218         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40219
40220 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
40221
40222         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40223         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40224         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40225         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40226         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40227         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40228         * math/Makefile (libm-calls): Add s_isinf_ns.
40229         * math/divtc3.c: Use __isinf_nsl instead of isinf.
40230         * math/multc3.c: Likewise.
40231         * math/s_casin.c: Likewise.
40232         * math/s_casinf.c: Likewise.
40233         * math/s_casinl.c: Likewise.
40234         * math/s_ccos.c: Likewise.
40235         * math/s_ccosf.c: Likewise.
40236         * math/s_ccosl.c: Likewise.
40237         * math/s_ctan.c: Likewise.
40238         * math/s_ctanf.c: Likewise.
40239         * math/s_ctanh.c: Likewise.
40240         * math/s_ctanhf.c: Likewise.
40241         * math/s_ctanhl.c: Likewise.
40242         * math/s_ctanl.c: Likewise.
40243         * math/w_fmod.c: Likewise.
40244         * math/w_fmodf.c: Likewise.
40245         * math/w_fmodl.c: Likewise.
40246         * math/w_remainder.c: Likewise.
40247         * math/w_remainderf.c: Likewise.
40248         * math/w_remainderl.c: Likewise.
40249         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40250         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40251         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40252         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40253         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40254         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40255         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40256         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40257
40258         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40259         of the number.
40260         * stdio-common/printf_fphex.c: Likewise.
40261         * stdio-common/printf_size.c: Likewise.
40262
40263         * math/e_exp10.c: Include math_private.h using <...> not "...".
40264         * math/e_exp10f.c: Likewise.
40265         * math/e_exp10l.c: Likewise.
40266         * math/e_exp2l.c: Likewise.
40267         * math/e_j0l.c: Likewise.
40268         * math/e_j1l.c: Likewise.
40269         * math/e_jnl.c: Likewise.
40270         * math/e_lgammal_r.c: Likewise.
40271         * math/e_rem_pio2l.c: Likewise.
40272         * math/e_scalb.c: Likewise.
40273         * math/e_scalbf.c: Likewise.
40274         * math/e_scalbl.c: Likewise.
40275         * math/k_cosl.c: Likewise.
40276         * math/k_sinl.c: Likewise.
40277         * math/k_tanl.c: Likewise.
40278         * math/s_cacoshf.c: Likewise.
40279         * math/s_catan.c: Likewise.
40280         * math/s_catanf.c: Likewise.
40281         * math/s_catanh.c: Likewise.
40282         * math/s_catanhf.c: Likewise.
40283         * math/s_catanhl.c: Likewise.
40284         * math/s_catanl.c: Likewise.
40285         * math/s_ccosh.c: Likewise.
40286         * math/s_ccoshf.c: Likewise.
40287         * math/s_ccoshl.c: Likewise.
40288         * math/s_cexp.c: Likewise.
40289         * math/s_cexpf.c: Likewise.
40290         * math/s_cexpl.c: Likewise.
40291         * math/s_clog.c: Likewise.
40292         * math/s_clog10.c: Likewise.
40293         * math/s_clog10f.c: Likewise.
40294         * math/s_clog10l.c: Likewise.
40295         * math/s_clogf.c: Likewise.
40296         * math/s_clogl.c: Likewise.
40297         * math/s_csin.c: Likewise.
40298         * math/s_csinf.c: Likewise.
40299         * math/s_csinh.c: Likewise.
40300         * math/s_csinhf.c: Likewise.
40301         * math/s_csinhl.c: Likewise.
40302         * math/s_csinl.c: Likewise.
40303         * math/s_csqrt.c: Likewise.
40304         * math/s_csqrtf.c: Likewise.
40305         * math/s_csqrtl.c: Likewise.
40306         * math/s_ctan.c: Likewise.
40307         * math/s_ctanf.c: Likewise.
40308         * math/s_ctanh.c: Likewise.
40309         * math/s_ctanhf.c: Likewise.
40310         * math/s_ctanhl.c: Likewise.
40311         * math/s_ctanl.c: Likewise.
40312         * math/s_ldexp.c: Likewise.
40313         * math/s_ldexpf.c: Likewise.
40314         * math/s_ldexpl.c: Likewise.
40315         * math/s_significand.c: Likewise.
40316         * math/s_significandf.c: Likewise.
40317         * math/s_significandl.c: Likewise.
40318         * math/w_acos.c: Likewise.
40319         * math/w_acosf.c: Likewise.
40320         * math/w_acosh.c: Likewise.
40321         * math/w_acoshf.c: Likewise.
40322         * math/w_acoshl.c: Likewise.
40323         * math/w_acosl.c: Likewise.
40324         * math/w_asin.c: Likewise.
40325         * math/w_asinf.c: Likewise.
40326         * math/w_asinl.c: Likewise.
40327         * math/w_atan2.c: Likewise.
40328         * math/w_atan2f.c: Likewise.
40329         * math/w_atan2l.c: Likewise.
40330         * math/w_atanh.c: Likewise.
40331         * math/w_atanhf.c: Likewise.
40332         * math/w_atanhl.c: Likewise.
40333         * math/w_cosh.c: Likewise.
40334         * math/w_coshf.c: Likewise.
40335         * math/w_coshl.c: Likewise.
40336         * math/w_dremf.c: Likewise.
40337         * math/w_exp10.c: Likewise.
40338         * math/w_exp10f.c: Likewise.
40339         * math/w_exp10l.c: Likewise.
40340         * math/w_exp2.c: Likewise.
40341         * math/w_exp2f.c: Likewise.
40342         * math/w_fmod.c: Likewise.
40343         * math/w_fmodf.c: Likewise.
40344         * math/w_fmodl.c: Likewise.
40345         * math/w_hypot.c: Likewise.
40346         * math/w_hypotf.c: Likewise.
40347         * math/w_hypotl.c: Likewise.
40348         * math/w_j0.c: Likewise.
40349         * math/w_j0f.c: Likewise.
40350         * math/w_j0l.c: Likewise.
40351         * math/w_j1.c: Likewise.
40352         * math/w_j1f.c: Likewise.
40353         * math/w_j1l.c: Likewise.
40354         * math/w_jn.c: Likewise.
40355         * math/w_jnf.c: Likewise.
40356         * math/w_jnl.c: Likewise.
40357         * math/w_lgamma.c: Likewise.
40358         * math/w_lgamma_r.c: Likewise.
40359         * math/w_lgammaf.c: Likewise.
40360         * math/w_lgammaf_r.c: Likewise.
40361         * math/w_lgammal.c: Likewise.
40362         * math/w_lgammal_r.c: Likewise.
40363         * math/w_log.c: Likewise.
40364         * math/w_log10.c: Likewise.
40365         * math/w_log10f.c: Likewise.
40366         * math/w_log10l.c: Likewise.
40367         * math/w_log2.c: Likewise.
40368         * math/w_log2f.c: Likewise.
40369         * math/w_log2l.c: Likewise.
40370         * math/w_logf.c: Likewise.
40371         * math/w_logl.c: Likewise.
40372         * math/w_pow.c: Likewise.
40373         * math/w_powf.c: Likewise.
40374         * math/w_powl.c: Likewise.
40375         * math/w_remainder.c: Likewise.
40376         * math/w_remainderf.c: Likewise.
40377         * math/w_remainderl.c: Likewise.
40378         * math/w_scalb.c: Likewise.
40379         * math/w_scalbf.c: Likewise.
40380         * math/w_scalbl.c: Likewise.
40381         * math/w_sinh.c: Likewise.
40382         * math/w_sinhf.c: Likewise.
40383         * math/w_sinhl.c: Likewise.
40384         * math/w_sqrt.c: Likewise.
40385         * math/w_sqrtf.c: Likewise.
40386         * math/w_sqrtl.c: Likewise.
40387         * math/w_tgamma.c: Likewise.
40388         * math/w_tgammaf.c: Likewise.
40389         * math/w_tgammal.c: Likewise.
40390
40391         * po/ja.po: Update from translation team.
40392
40393 2011-09-29  Andreas Jaeger  <aj@suse.de>
40394
40395         [BZ #13179]
40396         * sunrpc/netname.c (netname2host): Fix logic.
40397
40398         [BZ #6779]
40399         [BZ #6783]
40400         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40401         correctly.
40402         * math/w_remainder.c (__remainder): Likewise.
40403         * math/w_remainderf.c (__remainderf): Likewise.
40404         * math/libm-test.inc (remainder_test): Add test cases.
40405
40406 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40407
40408         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
40409         sdiv_qrnnd.
40410
40411 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
40412
40413         * string/test-memcmp.c: Avoid unncessary #defines.
40414         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40415
40416 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40417
40418         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40419         Use new sse2 version for core i3 - i7 as it's faster
40420         than sse42 version.
40421         (bit_Prefer_PMINUB_for_stringop): New.
40422         * sysdeps/x86_64/rawmemchr.S: Update.
40423         Replace with faster SSE2 version.
40424         * sysdeps/x86_64/memrchr.S: New file.
40425         * sysdeps/x86_64/memchr.S: Update.
40426         Replace with faster SSE2 version.
40427
40428 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
40429
40430         * elf/dl-load.c (lose): Add cast to avoid warning.
40431
40432 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
40433
40434         * po/ca.po: Update from translation team.
40435
40436         * inet/getnetgrent_r.c: Hook up nscd.
40437         * nscd/Makefile (routines): Add nscd_netgroup.
40438         (nscd-modules): Add netgroupcache.
40439         (CFLAGS-netgroupcache.c): Define.
40440         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40441         (cache_search): Add const to second parameter.
40442         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40443         INNETGR.
40444         (dbs): Add netgrdb entry.
40445         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40446         (verify_persistent_db): Handle netgrdb.
40447         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40448         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40449         GETFDNETGR.
40450         (netgroup_response_header): Define.
40451         (innetgroup_response_header): Define.
40452         (datahead): Add netgroup_response_header and innetgroup_response_header
40453         elements.
40454         * nscd/nscd.conf: Add entries for netgroup cache.
40455         * nscd/nscd.h (dbtype): Add netgrdb.
40456         (_PATH_NSCD_NETGROUP_DB): Define.
40457         (netgroup_iov_disabled): Declare.
40458         (xmalloc, xcalloc, xrealloc): Move declarations here.
40459         (cache_search): Adjust prototype.
40460         Add netgroup-related prototypes.
40461         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40462         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40463         (__nscd_innetgr): Declare.
40464         * nscd/selinux.c (perms): Use access_vector_t as element type and
40465         add netgroup-related initializers.
40466         * nscd/netgroupcache.c: New file.
40467         * nscd/nscd_netgroup.c: New file.
40468         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40469         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40470         For four parameters use innetgr.
40471         * nss/nss_files/files-init.c: Add definition and callback for netgr.
40472         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40473         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40474         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40475
40476         * nscd/connections.c (register_traced_file): Don't register file
40477         for disabled databases.
40478
40479 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
40480
40481         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40482
40483         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40484         from tree and freeing node.
40485
40486 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
40487
40488         * nss/nsswitch.c (__nss_database_lookup): Handle
40489         nss_parse_service_list out of memory case.
40490
40491 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
40492
40493         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40494         out of memory case.
40495
40496 2011-10-04  Andreas Schwab  <schwab@redhat.com>
40497
40498         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40499         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40500         pass it down.
40501         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40502         elf_machine_rela, elf_machine_lazy_rel.
40503         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40504         (ELF_DYNAMIC_DO_REL): Likewise.
40505         (ELF_DYNAMIC_DO_RELA): Likewise.
40506         (ELF_DYNAMIC_RELOCATE): Likewise.
40507         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40508         to ELF_DYNAMIC_DO_REL.
40509         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40510         (dl_main): In trace mode always set __RTLD_NOIFUNC.
40511         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40512         elf_machine_rela.
40513         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40514         skip_ifunc, don't call ifunc function if non-zero.
40515         (elf_machine_rela): Likewise.
40516         (elf_machine_lazy_rel): Likewise.
40517         (elf_machine_lazy_rela): Likewise.
40518         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40519         (elf_machine_lazy_rel): Likewise.
40520         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40521         Likewise.
40522         (elf_machine_lazy_rel): Likewise.
40523         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40524         Likewise.
40525         (elf_machine_lazy_rel): Likewise.
40526         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40527         (elf_machine_lazy_rel): Likewise.
40528         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40529         (elf_machine_lazy_rel): Likewise.
40530         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40531         (elf_machine_lazy_rel): Likewise.
40532         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40533         (elf_machine_lazy_rel): Likewise.
40534         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40535         (elf_machine_lazy_rel): Likewise.
40536         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40537         (elf_machine_lazy_rel): Likewise.
40538
40539 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
40540
40541         * nss/nss_files/files-init.c (_nss_files_init): Use static
40542         initialization for all the *_traced_file variables.
40543
40544 2011-09-28  Andreas Schwab  <schwab@redhat.com>
40545
40546         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40547
40548 2011-09-27  Roland McGrath  <roland@hack.frob.com>
40549
40550         [BZ #13226]
40551         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40552
40553 2011-09-27  Andreas Schwab  <schwab@redhat.com>
40554
40555         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40556         Reread the line before reparsing it.
40557
40558 2011-09-26  Andreas Schwab  <schwab@redhat.com>
40559
40560         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40561
40562 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
40563             Maxim Kuvyrkov  <maxim@codesourcery.com>
40564             Joseph Myers  <joseph@codesourcery.com>
40565
40566         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40567         if needed for __stack_chk_guard.
40568
40569 2011-09-19  Roland McGrath  <roland@hack.frob.com>
40570
40571         * sysdeps/posix/spawni.c (script_execute): Always define it.
40572         It will be optimized away if unused.
40573         (maybe_script_execute): New function.
40574         (__spawni): Call it.
40575
40576         * Makerules: Don't include tls.make.
40577         (config-tls): Always set to thread.
40578         * tls.make.c: File removed.
40579
40580 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
40581
40582         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40583         * config.make.in (CPPFLAGS-config): New substituted variable.
40584
40585 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
40586
40587         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40588
40589         [BZ #13192]
40590         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40591         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40592
40593 2011-09-15  Roland McGrath  <roland@hack.frob.com>
40594
40595         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40596         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40597         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40598         (CALL_FAIL): Likewise.
40599         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40600         (CALL_FAIL): Macro removed.
40601         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40602
40603 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
40604
40605         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40606         for __FINITE_MATH_ONLY__ == 1.
40607
40608 2011-09-15  Andreas Schwab  <schwab@redhat.com>
40609
40610         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40611         __ieee754_sqrt instead of sqrt.
40612         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40613         __ieee754_sqrtf instead of sqrtf.
40614         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40615         __floorf instead of floorf.
40616         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40617         __floorf, __truncf instead of floorf, truncf.
40618
40619 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
40620
40621         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40622
40623         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40624         __extern_always_inline.
40625         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40626         32-bit.
40627
40628 2011-09-14  Andreas Schwab  <schwab@redhat.com>
40629
40630         * elf/rtld.c (dl_main): Also relocate in dependency order when
40631         doing symbol dependency testing.
40632
40633 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
40634
40635         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40636         Always define `refsym'.
40637
40638 2011-09-13  Andreas Schwab  <schwab@redhat.com>
40639
40640         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40641         (__FD_ELT): Renamed from __FDELT.
40642         * misc/bits/select2.h (__FD_ELT): Likewise.
40643         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40644         __FD_MASK instead of __FDELT, __FDMASK.
40645         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40646         Likewise.
40647         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40648         Likewise.
40649
40650         * elf/Makefile (gen-ldd): Fix pattern.
40651
40652         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40653         (init_tls): Likewise.
40654
40655 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
40656
40657         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40658
40659 2011-09-12  Andreas Schwab  <schwab@redhat.com>
40660
40661         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40662         `struct cmsghdr *' instead of `void *'.
40663         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40664         Likewise.
40665
40666 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
40667
40668         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40669         if non-absolute.
40670         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40671         ldd_rewrite_script.
40672
40673 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
40674
40675         * configure.in: Remove --with-tls option.
40676         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40677         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40678         out in case it is missing.
40679         * sysdeps/ia64/elf/configure.in: Likewise.
40680         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40681         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40682         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40683         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40684         * sysdeps/sh/elf/configure.in: Likewise.
40685         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40686         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40687         * sysdeps/x86_64/elf/configure.in: Likewise.
40688         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40689         * sysdeps/mach/hurd/tls.h: Likewise.
40690
40691         [BZ #13067]
40692         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40693
40694         [BZ #13090]
40695         * configure.in: Fix use of AC_INIT.
40696
40697         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40698
40699 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
40700
40701         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40702         __set_errno.
40703         * malloc/hooks.c: Likewise.
40704
40705         [BZ #11929]
40706         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
40707         variables statically.
40708         (narenas): Initialize.
40709         (list_lock): Initialize.
40710         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
40711         initializtion of main_arena and list_lock.  Small cleanups.
40712         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40713         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
40714         Add initializers to main_arena and mp_.
40715         (malloc_state): Remove pagesize member.  Change all users to use
40716         GLRO(dl_pagesize).
40717
40718         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40719         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
40720         is always initialized.
40721
40722         * malloc/malloc.c: Removed unused configurations and dead code.
40723         * malloc/arena.c: Likewise.
40724         * malloc/hooks.c: Likewise.
40725         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40726
40727         * include/tls.h: Removed.  USE___THREAD must always be defined.
40728         * bits/libc-tsd.h: Don't handle !USE___THREAD.
40729         * elf/dl-libc.c: Likewise.
40730         * elf/dl-tsd.c: Likewise.
40731         * include/errno.h: Likewise.
40732         * include/netdb.h: Likewise.
40733         * include/resolv.h: Likewise.
40734         * inet/herrno-loc.c: Likewise.
40735         * inet/herrno.c: Likewise.
40736         * malloc/arena.c: Likewise.
40737         * malloc/hooks.c: Likewise.
40738         * malloc/malloc.c: Likewise.
40739         * resolv/res-state.c: Likewise.
40740         * resolv/res_libc.c: Likewise.
40741         * sysdeps/i386/dl-machine.h: Likewise.
40742         * sysdeps/ia64/dl-machine.h: Likewise.
40743         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40744         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40745         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40746         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40747         * sysdeps/sh/dl-machine.h: Likewise.
40748         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40749         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40750         * sysdeps/unix/i386/sysdep.S: Likewise.
40751         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40752         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40753         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40754         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40755         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40756         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40757         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40758         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40759         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40760         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40761         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40762         * sysdeps/x86_64/dl-machine.h: Likewise.
40763         * tls.make.c: Likewise.
40764
40765         * configure.in: Remove --with-__thread option.  Make tests for
40766         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40767         tls_model attribute fail if no support is available.  Remove
40768         USE_IN_LIBIO.
40769         * Makeconfig: Adjust for dropped configure option.  All features are
40770         now mandatory.
40771         * Makerules: Likewise.
40772         * Versions.def: Likewise.
40773         * argp/argp-fmtstream.c: Likewise.
40774         * argp/argp-fmtstream.h: Likewise.
40775         * argp/argp-help.c: Likewise.
40776         * assert/assert.c: Likewise.
40777         * config.h.in: Likewise.
40778         * config.make.in: Likewise.
40779         * configure: Likewise.
40780         * configure.in: Likewise.
40781         * csu/Versions: Likewise.
40782         * csu/init.c: Likewise.
40783         * elf/tst-audit2.c: Likewise.
40784         * elf/tst-tls10.c: Likewise.
40785         * elf/tst-tls10.h: Likewise.
40786         * elf/tst-tls11.c: Likewise.
40787         * elf/tst-tls12.c: Likewise.
40788         * elf/tst-tls14.c: Likewise.
40789         * elf/tst-tlsmod11.c: Likewise.
40790         * elf/tst-tlsmod12.c: Likewise.
40791         * elf/tst-tlsmod13.c: Likewise.
40792         * elf/tst-tlsmod13a.c: Likewise.
40793         * elf/tst-tlsmod14a.c: Likewise.
40794         * elf/tst-tlsmod15b.c: Likewise.
40795         * elf/tst-tlsmod16a.c: Likewise.
40796         * elf/tst-tlsmod16b.c: Likewise.
40797         * elf/tst-tlsmod7.c: Likewise.
40798         * elf/tst-tlsmod8.c: Likewise.
40799         * elf/tst-tlsmod9.c: Likewise.
40800         * gmon/gmon.c: Likewise.
40801         * grp/fgetgrent_r.c: Likewise.
40802         * grp/putgrent.c: Likewise.
40803         * hurd/fopenport.c: Likewise.
40804         * include/libc-symbols.h: Likewise.
40805         * include/tls.h: Likewise.
40806         * intl/gettextP.h: Likewise.
40807         * intl/loadinfo.h: Likewise.
40808         * locale/global-locale.c: Likewise.
40809         * locale/localeinfo.h: Likewise.
40810         * mach/devstream.c: Likewise.
40811         * malloc/arena.c: Likewise.
40812         * malloc/set-freeres.c: Likewise.
40813         * misc/err.c: Likewise.
40814         * misc/getttyent.c: Likewise.
40815         * misc/mntent_r.c: Likewise.
40816         * posix/getopt.c: Likewise.
40817         * posix/wordexp.c: Likewise.
40818         * pwd/fgetpwent_r.c: Likewise.
40819         * resolv/Versions: Likewise.
40820         * resolv/res_hconf.c: Likewise.
40821         * shadow/fgetspent_r.c: Likewise.
40822         * shadow/putspent.c: Likewise.
40823         * stdio-common/printf_fphex.c: Likewise.
40824         * stdio-common/tmpfile.c: Likewise.
40825         * stdlib/abort.c: Likewise.
40826         * stdlib/fmtmsg.c: Likewise.
40827         * sunrpc/auth_unix.c: Likewise.
40828         * sunrpc/clnt_perr.c: Likewise.
40829         * sunrpc/clnt_tcp.c: Likewise.
40830         * sunrpc/clnt_udp.c: Likewise.
40831         * sunrpc/clnt_unix.c: Likewise.
40832         * sunrpc/openchild.c: Likewise.
40833         * sunrpc/svc_simple.c: Likewise.
40834         * sunrpc/svc_tcp.c: Likewise.
40835         * sunrpc/svc_udp.c: Likewise.
40836         * sunrpc/svc_unix.c: Likewise.
40837         * sunrpc/xdr.c: Likewise.
40838         * sunrpc/xdr_array.c: Likewise.
40839         * sunrpc/xdr_rec.c: Likewise.
40840         * sunrpc/xdr_ref.c: Likewise.
40841         * sunrpc/xdr_stdio.c: Likewise.
40842
40843 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40844
40845         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40846
40847 2011-07-03  Andreas Jaeger  <aj@suse.de>
40848
40849         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40850         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40851         regenerate with gen-libm-tests.pl.
40852
40853 2010-05-12  Petr Baudis  <pasky@suse.cz>
40854
40855         [BZ #11589]
40856         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40857         around j0() zero points by switching to j1().
40858         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40859         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40860         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40861         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40862
40863 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40864
40865         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40866         instead of 0.
40867         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40868         instead of 0.
40869         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40870         Patch in part by Pavel Roskin <proski@gnu.org>.
40871
40872         [BZ #13138]
40873         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40874         realloc.
40875         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
40876         Free memory block if necessary.
40877
40878         [BZ #12847]
40879         * libio/genops.c (INTDEF): For string streams the _lock pointer can
40880         be NULL.  Don't lock in this case.
40881
40882 2011-09-09  Roland McGrath  <roland@hack.frob.com>
40883
40884         * elf/elf.h (ELFOSABI_GNU): New macro.
40885         (ELFOSABI_LINUX): Define to that.
40886
40887 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
40888
40889         * string/strncat.c (strncat): Undef the symbol in case it has been
40890         defined in bits/string.h.
40891
40892 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40893
40894         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40895
40896         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40897         link map.
40898
40899 2011-08-17  Andreas Jaeger  <aj@suse.de>
40900
40901         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40902
40903 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
40904             Ian Lance Taylor  <iant@google.com>
40905
40906         * math/libm-test.inc (lround_test): New testcase.
40907         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40908
40909 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
40910
40911         * Makefile: Remove support for automatic cvs check-ins.
40912         * Makerules: Likewise.
40913         * config.make.in: Likewise.
40914         * configure.in: Likewise.
40915         * intl/Makefile: Likewise.
40916         * locale/Makefile: Likewise.
40917         * po/Makefile: Likewise.
40918         * posix/Makefile: Likewise.
40919         * sysdeps/gnu/Makefile: Likewise.
40920         * sysdeps/mach/hurd/Makefile: Likewise.
40921         * sysdeps/sparc/sparc32/Makefile: Likewise.
40922
40923         [BZ #13118]
40924         * posix/Makefile (bug-regex32-ENV): Define.
40925         Patch by John Stanley <jpsinthemix@verizon.net>.
40926
40927         * misc/Makefile (headers): Add bits/select2.h.
40928         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40929         * misc/bits/select2.h: New file.
40930         * include/bits/select2.h: New file.
40931         * debug/Makefile (routines): Add fdelt_chk.
40932         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40933         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40934         FD_ISSET.
40935         * debug/fdelt_chk.c: New file.
40936
40937         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
40938         * wcsmbs/test-wmemcmp.c: Likewise.
40939         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40940         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40941
40942 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40943
40944         * string/Makefile (strop-tests): Add memcmp.
40945         * string/test-wmemcmp.c: New file.
40946         * string/test-memcmp.c: Add wmemcmp support.
40947
40948 2011-09-08  Roland McGrath  <roland@hack.frob.com>
40949
40950         [BZ #13153]
40951         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40952         2011-07-19 change.
40953
40954         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40955         garbage value in a __mach_port_mod_refs call in the cases of the
40956         task-self and thread-self ports.
40957
40958 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40959
40960         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40961
40962 2011-09-08  Andreas Schwab  <schwab@redhat.com>
40963
40964         * elf/dl-load.c (lose): Check for non-null L.
40965
40966 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
40967
40968         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40969
40970         * elf/dl-libc.c (dlerror_run): Pass back error code from
40971         dl_catch_error.
40972
40973         [BZ #13123]
40974         * elf/dl-load.c (lose): Free l_origin if it is valid.
40975
40976         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40977         names.
40978         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40979         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40980         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40981         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40982         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40983         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40984
40985 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40986
40987         * sysdeps/powerpc/fpu/e_hypot.c: New file.
40988         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40989         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40990         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40991         * sysdeps/powerpc/fpu/k_cosf.c: New file.
40992         * sysdeps/powerpc/fpu/k_sinf.c: New file.
40993         * sysdeps/powerpc/fpu/s_cosf.c: New file.
40994         * sysdeps/powerpc/fpu/s_sinf.c: New file.
40995         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40996         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40997
40998 2011-08-15  Alan Modra  <amodra@gmail.com>
40999
41000         [BZ #13092]
41001         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41002         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41003         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
41004         ppc_mcount to static-only-routines.
41005         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41006         __mcount_internal.
41007         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41008         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
41009
41010 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
41011
41012         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41013         for finite and infinity parameters.
41014
41015 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41016
41017         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41018         and add nop instructions for throughput optimization.
41019         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41020
41021 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
41022
41023         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41024         aligned copy for power7 with vector-scalar instructions.
41025         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41026
41027 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
41028
41029         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41030         AVX check.
41031
41032 2011-09-07  Andreas Schwab  <schwab@redhat.com>
41033
41034         [BZ #13144]
41035         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41036         last change.
41037
41038 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
41039
41040         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41041         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41042         syscall wrapper around clock_gettime in __vdso_clock_gettime.
41043         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41044         clock_gettime.
41045
41046 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
41047
41048         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41049         Forgot to demangle the pointer.
41050
41051         * sysdeps/i386/sysdep.h: Define atom_text_section.
41052         * sysdeps/x86_64/sysdep.h: Likewise.
41053         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41054         section with atom_text_section.
41055         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41056         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41057         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41058         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41059         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41060
41061         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41062         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41063         already be defined.  Change to take two parameters and don't assign
41064         result to variable.  Adjust all users.
41065         Define INTERNAL_GETTIME if not already defined.
41066         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41067         call.
41068         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41069         HAVE_CLOCK_GETTIME_VSYSCALL.
41070         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41071
41072         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41073         gettimeofday vsyscall, just use time.
41074
41075 2011-09-06  Andreas Schwab  <schwab@redhat.com>
41076
41077         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41078         <errno.h>.
41079
41080 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
41081
41082         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41083         syscall on x86-64.
41084         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41085         syscall.
41086         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41087         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41088         syscall if possible.
41089
41090 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
41091
41092         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41093         e_ident.  Don't pass to find_mapsXX.
41094         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41095
41096 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41097
41098         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41099         strchr-sse2-no-bsf strrchr-sse2-no-bsf
41100         * sysdeps/x86_64/multiarch/strchr.S: Update.
41101         Check bit_slow_BSF bit.
41102         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41103         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41104         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41105
41106 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
41107
41108         [BZ #13134]
41109         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41110         before glibc 2.15.
41111         (tryshell): Define.
41112         (__spawni): Change last parameter to be flag.  Test
41113         SPAWN_XFLAGS_USE_PATH flag to use path or not.
41114         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41115         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41116         * posix/spawni.c: Likewise.
41117         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41118         * posix/spawnp.c: Likewise.  Change normal version to use
41119         SPAWN_XFLAGS_USE_PATH.
41120         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41121         SPAWN_XFLAGS_TRY_SHELL.
41122
41123         [BZ #13150]
41124         * posix/glob.h: Remove gcc 1.x support.
41125
41126         [BZ #13068]
41127         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41128
41129 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41130
41131         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41132         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41133         strrchr-sse2-bsf
41134         * sysdeps/i386/i686/multiarch/strchr.S: New file.
41135         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41136         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41137         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41138         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41139         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41140
41141 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41142
41143         * sysdeps/x86_64/wcscmp.S: New file.
41144
41145         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41146         wcscmp-c wcscmp-sse2
41147         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41148         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41149         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41150         * wcsmbs/wcscmp.c: Allow renaming.
41151
41152 2011-09-05  David S. Miller  <davem@davemloft.net>
41153
41154         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41155         stack slot, rather than the struct return pointer slot.
41156         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41157         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41158         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41159         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41160
41161 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
41162
41163         * po/ja.po: Update from translation team.
41164
41165         [BZ #13144]
41166         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41167         kernel in 64-bit binaries.
41168
41169 2011-09-01  David S. Miller  <davem@davemloft.net>
41170
41171         * elf/elf.h (HWCAP_SPARC_*): Move to..
41172         * sysdeps/sparc/sysdep.h: this new file and add new values.
41173         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41174         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41175         _DL_HWCAP_COUNT to 24.
41176         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41177         entries.
41178         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41179         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41180         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41181         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41182         instead of magic constants.
41183         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41184
41185 2011-08-31  David S. Miller  <davem@davemloft.net>
41186
41187         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41188         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41189         Reimplement to do errno handling inline.
41190         (SYSCALL_ERROR_HANDLER): New macro.
41191         (__SYSCALL_STRING): Do not do errno handling in asm.
41192         (__CLONE_SYSCALL_STRING): Delete.
41193         (__INTERNAL_SYSCALL_STRING): Delete.
41194         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41195         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41196         (PSEUDO): Reimplement to do errno handling inline.
41197         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41198         (SYSCALL_ERROR_HANDLER): New macro.
41199         (__SYSCALL_STRING): Do not do errno handling in asm.
41200         (__CLONE_SYSCALL_STRING): Delete.
41201         (__INTERNAL_SYSCALL_STRING): Delete.
41202         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41203         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41204         i386.
41205         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41206         (inline_syscall*): Add 'err' argument.
41207         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41208         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41209         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41210         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41211
41212         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41213         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41214
41215 2011-08-30  Andreas Schwab  <schwab@redhat.com>
41216
41217         * elf/rtld.c (dl_main): Relocate objects in dependency order.
41218
41219 2011-08-29  Jiri Olsa <jolsa@redhat.com>
41220
41221         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41222         directive.
41223
41224 2011-08-24  David S. Miller  <davem@davemloft.net>
41225
41226         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41227
41228 2011-08-24  Andreas Schwab  <schwab@redhat.com>
41229
41230         * elf/Makefile: Add rules to build and run unload8 test.
41231         * elf/unload8.c: New file.
41232         * elf/unload8mod1.c: New file.
41233         * elf/unload8mod1x.c: New file.
41234         * elf/unload8mod2.c: New file.
41235         * elf/unload8mod3.c: New file.
41236
41237         * elf/dl-close.c (_dl_close_worker): Reset private search list if
41238         it wasn't used.
41239
41240 2011-08-23  David S. Miller  <davem@davemloft.net>
41241
41242         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41243         subtract stack bias.
41244         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41245         %sp not %fp in calculations.
41246         (_JMPBUF_UNWINDS_ADJ): Likewise.
41247
41248         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41249         (aio_suspend): Call it to force an exception region around the
41250         AIO_MISC_WAIT() invocation.
41251
41252 2011-08-23  Andreas Schwab  <schwab@redhat.com>
41253
41254         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41255         backslash.
41256
41257 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
41258
41259         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41260         protection macro.
41261         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41262         and <dl-machine.h>.
41263         (Elf64_FuncDesc): Remove.
41264
41265 2011-08-22  David S. Miller  <davem@davemloft.net>
41266
41267         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41268         sigaltstack check, add missing cfi directives.
41269         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41270         missing cfi directives, and sigaltstack handling.
41271
41272 2011-08-16  Andreas Schwab  <schwab@redhat.com>
41273
41274         [BZ #11724]
41275         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41276         object is seen twice.
41277         * elf/dl-fini.c (_dl_sort_fini): Likewise.
41278
41279         * elf/Makefile (distribute): Add tst-initorder2.c.
41280         (tests): Add tst-initorder2.
41281         (modules-names): Add tst-initorder2a tst-initorder2b
41282         tst-initorder2c tst-initorder2d.  Add rules to build them.
41283         ($(objpfx)tst-initorder2.out): New rule.
41284         * elf/tst-initorder2.c: New file.
41285         * elf/tst-initorder2.exp: New file.
41286
41287 2011-08-22  Andreas Schwab  <schwab@redhat.com>
41288
41289         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41290
41291         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41292         dependencies back to end of function.
41293
41294         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41295         $(elfobjdir)/ld.so.
41296
41297 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
41298
41299         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41300         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41301         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41302         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41303         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41304         of __vdso_gettimeofday.
41305         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41306         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
41307         attribute_hidden.
41308         (_libc_vdso_platform_setup): Remove initialization of
41309         __vdso_gettimeofday and __vdso_time.
41310
41311 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
41312
41313         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41314         and fgetc_unlocked.
41315         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41316         getc_unlocked.
41317
41318         * elf/dl-open.c (add_to_global): Report additions to the global scope
41319         for LD_DEBUG=scopes.
41320         (dl_open_worker): Also print scope of newly loaded dependencies.
41321         (_dl_show_scope): Indicate if there is no scope.
41322
41323         [BZ #13114]
41324         * stdio-common/Makefile (tests): Add bug24.
41325         * stdio-common/bug24.c: New file.
41326
41327 2011-08-19  Andreas Jaeger  <aj@suse.de>
41328
41329         [BZ #13114]
41330         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41331         non-existant file when using close-on-exec mode.
41332
41333 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
41334
41335         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41336         the very first instruction.
41337
41338         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41339         the CFI state in the end.
41340         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41341         inclusion of dl-trampoline.h.
41342         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41343
41344 2011-08-19  Andreas Schwab  <schwab@redhat.com>
41345
41346         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41347         expectations for long double.
41348
41349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41350         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41351
41352 2011-08-14  David S. Miller  <davem@davemloft.net>
41353
41354         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41355         artificual limit depends upon the system page size.
41356
41357 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
41358
41359         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41360         * resolv/Makefile: Define CFLAGS-libresolv.
41361
41362 2011-08-17  Andreas Schwab  <schwab@redhat.com>
41363
41364         * nss/makedb.c (compute_tables): Make variables used in nested
41365         function static.
41366
41367 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
41368
41369         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41370         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41371         if buffer was too small.
41372
41373         * elf/pldd.c (main): Attach to all threads in the process.
41374         Rewrite /proc handling to use *at functions.
41375
41376 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
41377
41378         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41379         specifies first scope to show.
41380         (dl_open_worker): Update callers.  Move printing scope of new
41381         object to before the relocation.
41382         * elf/rtld.c (dl_main): Update _dl_show_scope call.
41383         * sysdeps/generic/ldsodefs.h: Update declaration.
41384
41385         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41386         string for the scope number.
41387
41388 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
41389
41390         * nscd/servicescache.c (cache_addserv): Make sure written is always
41391         initialized.
41392
41393 2011-08-14  Roland McGrath  <roland@hack.frob.com>
41394
41395         * sysdeps/i386/i486/bits/atomic.h
41396         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41397         statement expression, so as to suppress "set but not used" warning.
41398         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41399
41400         * string/strncat.c (STRNCAT): Use prototype definition.
41401
41402         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41403         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41404         -Iprograms here.
41405         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41406         (localedef-modules): Add localedef.
41407         (locale-modules): Add locale.
41408
41409         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41410         * elf/rtld.c (dl_main): Invert order of assignment in last change,
41411         to avoid a warning.
41412
41413 2011-08-14  David S. Miller  <davem@davemloft.net>
41414
41415         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41416         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41417
41418 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
41419
41420         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
41421         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41422         * elf/rtld.c (dl_main): Set l_name of vDSO.
41423         Call _dl_show_scope when DL_DEBUG_SCOPES.
41424         (process_dl_debug): Recognize scopes flag and also set it for all.
41425         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41426         Declare _dl_show_scope.
41427
41428         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41429         (do_dlopen): Pass caller_dlopen to dl_open.
41430         (__libc_dlopen_mode): Initialize caller_dlopen.
41431
41432         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41433         of libc.  Make tolower call locale-independent.  Optimize a bit by
41434         using isdigit instead of isalnum.
41435         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41436
41437 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
41438
41439         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41440         was a dependency or dynamically loaded.
41441
41442 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
41443
41444         * intl/l10nflist.c: Allow architecture-specific pop function.
41445         * sysdeps/x86_64/l10nflist.c: New file.
41446
41447         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41448         classification.
41449
41450 2011-08-10  Andreas Schwab  <schwab@redhat.com>
41451
41452         * include/dirent.h: Add libc_hidden_proto for scandirat and
41453         scandirat64.  Don't declare __scandirat64.
41454         * dirent/scandirat.c: Add libc_hidden_def.
41455         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41456         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41457
41458 2011-08-10  David S. Miller  <davem@davemloft.net>
41459
41460         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41461         enum.
41462         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41463         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41464         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41465
41466 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
41467
41468         * Versions.def [libc]: Add GLIBC_2.15.
41469         * dirent/Makefile (routines): Add scandirat and scandirat64.
41470         * dirent/Versions [libc]: Export scandirat and scandirat64 for
41471         GLIBC_2.15.
41472         * dirent/dirent.h: Declare scandirat and scandirat64.
41473         * dirent/scandirat.c: New file.
41474         * dirent/scandirat64.c: New file.
41475         * sysdeps/wordsize-64/scandirat.c: New file.
41476         * sysdeps/wordsize-64/scandirat64.c: New file.
41477         * dirent/opendir.c: Define opendirat.
41478         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
41479         using scandirat.
41480         * dirent/scandir64.c: Adjust for scandir.c change.
41481         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
41482         __scandirat64, and __scandir_cancel_handler.
41483         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
41484         additional parameter and use openat instead of open (outside of ld.so).
41485         Add new __opendir as wrapper around __opendirat.
41486         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41487         here without requiring old scandirat implementation.
41488
41489 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
41490
41491         * dirent/scandir.c (cancel_handler): Renamed to
41492         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
41493         defined.  Adjust users.
41494         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41495         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41496
41497 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
41498
41499         * string/test-string.h (IMPL): Use __STRING to expand name and then
41500         stringify it.
41501
41502         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
41503         of cleanups.
41504
41505 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41506
41507         * string/Makefile: Update.
41508         (strop-tests): Append strncat.
41509         * string/test-wcscmp.c: New file.
41510         New comprehensive test for wcscmp.
41511         * string/test-strcmp.c: Update.
41512         (WIDE): New define.
41513
41514 2011-07-22  Andreas Schwab  <schwab@redhat.com>
41515
41516         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41517         line.
41518
41519 2011-07-26  Andreas Schwab  <schwab@redhat.com>
41520
41521         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41522         encoding to ACE if AI_IDN.
41523
41524 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
41525
41526         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41527         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41528
41529 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41530
41531         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41532         Fix overflow bug in strncat.
41533         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41534
41535         * string/test-strncat.c: Update.
41536         Add new tests for checking overflow bugs.
41537
41538 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41539
41540         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41541         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41542         * sysdeps/i386/i686/multiarch/strcat.S: New file.
41543         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41544         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41545         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41546         * sysdeps/i386/i686/multiarch/strncat.S: New file.
41547         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41548         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41549
41550         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41551         (USE_AS_STRCAT): Define.
41552         Add strcat and strncat support.
41553         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41554
41555 2011-07-25  Andreas Schwab  <schwab@redhat.com>
41556
41557         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41558         __n bigger than INT_MAX+1.
41559         (__strncmp_g): Likewise.
41560
41561 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
41562
41563         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41564         * libio/stido.h: Likewise.
41565
41566         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41567         (AF_NFC): Define.
41568         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41569         (AF_NFC): Define.
41570
41571         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41572         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41573         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41574         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41575         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41576
41577         [BZ #13021]
41578         * scripts/test-installation.pl: Don't expect libnss_test1 to be
41579         installed.
41580
41581         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41582         typo.
41583         (_dl_x86_64_save_sse): Likewise.
41584
41585 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
41586
41587         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41588         OSXSAVE.
41589         (_dl_x86_64_save_sse): Likewise.
41590
41591         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41592
41593         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41594
41595 2011-07-21  Andreas Schwab  <schwab@redhat.com>
41596
41597         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41598         change.
41599         (_dl_x86_64_save_sse): Use correct AVX check.
41600
41601 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41602
41603         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41604         bug in strncpy/strncat.
41605         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41606
41607 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
41608
41609         * string/tester.c (test_strcat): Add tests for different alignments
41610         of source and destination.
41611         (test_strncat): Likewise.
41612
41613 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
41614
41615         [BZ #12852]
41616         * posix/glob.c (glob): Check passed in values before using them in
41617         expressions to avoid some overflows.
41618         (glob_in_dir): Likewise.
41619
41620         [BZ #13007]
41621         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41622         check for AVX enablement so that we don't crash with old kernels and
41623         new hardware.
41624         * elf/tst-audit4.c: Add same checks here.
41625         * elf/tst-audit6.c: Likewise.
41626
41627         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41628
41629 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
41630
41631         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41632
41633 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
41634
41635         * po/cs.po: Update from translation team.
41636         * po/bg.po: Likewise.
41637
41638 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
41639
41640         * misc/sys/cdefs.h: Add support for const attribute.
41641         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41642         to gnu_dev_{major,minor,makedev} functions.
41643
41644 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
41645
41646         * intl/dcigettext.c (get_output_charset): Add missing bracket.
41647
41648 2011-07-20  Andreas Schwab  <schwab@redhat.com>
41649
41650         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41651         strlen results.
41652
41653 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41654
41655         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41656         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41657         register in order to avoid conflicts with the soft frame pointer
41658         being held in r11 when necessary.
41659         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41660         (INTERNAL_VSYSCALL_NCS): Likewise.
41661
41662 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
41663
41664         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41665         * elf/dl-fini.c (_dl_fini): Adjust caller.
41666         * elf/dl-close.c (_dl_close_worker): Likewise.
41667         * sysdeps/generic/ldsodefs.h: Adjust declaration.
41668
41669 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
41670
41671         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41672         "aux_cache->nlibs < 0".
41673
41674         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41675         in the reload-count case.
41676
41677 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41678
41679         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41680         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41681         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41682         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41683         * sysdeps/x86_64/multiarch/strcat.S: New file.
41684         * sysdeps/x86_64/multiarch/strncat.S: New file.
41685         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41686         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41687         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41688         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41689         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41690         (USE_AS_STRCAT): Define.
41691         Add strcat and strncat support.
41692         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41693         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41694         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41695         * string/strncat.c: Update.
41696         (USE_AS_STRNCAT): Define.
41697         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41698         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41699         and i7.
41700         * sysdeps/x86_64/multiarch/init-arch.h
41701         (bit_Prefer_PMINUB_for_stringop): New.
41702         (index_Prefer_PMINUB_for_stringop): Likewise.
41703         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41704         bit_Prefer_PMINUB_for_stringop.
41705
41706 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
41707
41708         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41709         buffer64.
41710         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41711         of casting of buffer.
41712         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41713         buffer32 and buffer64.
41714         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41715         writes instead of casting of buffer.
41716         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41717         buffer32.
41718         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41719         casting of buffer.
41720
41721 2011-07-19  Andreas Schwab  <schwab@redhat.com>
41722
41723         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41724
41725 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
41726
41727         * nscd/nscd.c (termination_handler): Don't do anything for a database
41728         if it has not yet been initialized.
41729
41730 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
41731
41732         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41733
41734 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
41735
41736         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41737
41738 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
41739
41740         * po/nl.po: Update from translation team.
41741         * po/sv.po: Likewise.
41742
41743 2011-07-16  Roland McGrath  <roland@hack.frob.com>
41744
41745         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41746         now disallowed by GCC.
41747
41748         * configure.in (use-default-link): Default to yes if a test -shared
41749         link meets our qualifications.
41750         * configure: Regenerated.
41751
41752         * config.make.in (output-format): New variable.
41753         * configure.in: Check for ld --print-output-format support.
41754         * configure: Regenerated.
41755         * Makerules ($(common-objpfx)format.lds)
41756         [$(output-format) != unknown]: Just use $(output-format),
41757         instead of the linker-script munging.
41758
41759 2011-07-14  Roland McGrath  <roland@hack.frob.com>
41760
41761         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41762         of $(common-objpfx)shlib.lds.
41763         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41764
41765         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41766         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41767
41768         * configure.in (-z relro check): Adjust test code to add a large
41769         writable data section after it.
41770         * configure: Regenerated.
41771
41772 2011-07-11  Roland McGrath  <roland@hack.frob.com>
41773
41774         * configure.in (-z relro check): Fix test code to make the variable
41775         truly const.
41776         * configure: Regenerated.
41777
41778 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
41779
41780         * nscd/nscd.h (struct traced_file): Define.
41781         (struct database_dyn): Remove inotify_descr, reset_res, and filename
41782         elements.  Add traced_files.
41783         (inotify_fd): Declare.
41784         (register_traced_file): Declare.
41785         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41786         (inotify_fd): Export.
41787         (resolv_conf_descr): Remove.
41788         (nscd_init): Move inotify descriptor creation to main.
41789         Don't register files for notification here.
41790         (register_traced_file): New function.
41791         (invalidate_cache): Don't use reset_res to determine whether to call
41792         res_init, go through the list of registered files.
41793         (main_loop_poll): The inotify descriptors are now stored in the
41794         structures for the traced files.
41795         (main_loop_epoll): Likewise
41796         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
41797         to __nss_disable_nscd.
41798         * nscd/cache.c (prune_cache): There is no single inotify descriptor
41799         for a database anymore.  Check the records for all the registered
41800         files instead.
41801         * nss/Makefile (libnss_files-routines): Add files-init.
41802         (libnss_db-routines): Add db-init.
41803         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41804         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41805         * nss/nss_db/db-init.c: New file.
41806         * nss/nss_files/files-init.c: New file.
41807         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
41808         __nss_lookup_function.
41809         (__nss_lookup_function): Call nss_load_library.
41810         (nss_load_all_libraries): New function.
41811         (__nss_disable_nscd): Take parameter with callback function for files
41812         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
41813         used for the cached services.
41814         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41815         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41816         options for features to all the files in nscd.
41817
41818         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41819
41820 2011-07-10  Roland McGrath  <roland@hack.frob.com>
41821
41822         * csu/elf-init.c (__libc_csu_init): Comment typo.
41823
41824 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
41825
41826         * po/pl.po: Update from translation team.
41827         * po/ja.po: Likewise.
41828         * po/ru.po: Likewise.
41829         * po/ko.po: Likewise.
41830         * po/fr.po: Likewise.
41831
41832 2011-07-09  Roland McGrath  <roland@hack.frob.com>
41833
41834         * configure.in (.ctors/.dtors header and trailer check):
41835         Use an empirical test on a built program.
41836         * configure: Regenerated.
41837
41838         * configure.in (-z relro check): Use an empirical test on a built DSO.
41839         Detect, but do not require, on ia64.
41840         * configure: Regenerated.
41841
41842         * configure.in (READELF): Find it with AC_CHECK_TOOL.
41843         Update tests that use readelf to use $READELF instead.
41844         * configure: Regenerated.
41845
41846 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
41847
41848         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41849         if the result is not used.
41850
41851 2011-07-05  Andreas Jaeger  <aj@suse.de>
41852
41853         [BZ#9696]
41854         * stdlib/tst-strtod.c: Add testcase.
41855
41856 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
41857
41858         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41859         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41860         The latter has a higher limit.  Take additional parameter to pass to
41861         the new function.
41862         (__pathconf): Pass file to __statfs_link_max.
41863         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41864         __statfs_link_max.
41865         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41866         __statfs_link_max.
41867
41868         [BZ #12868]
41869         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41870         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41871         Handle Lustre.
41872         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41873         (__statfs_filesize_max): Likewise.
41874         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41875
41876 2011-07-05  Andreas Jaeger  <aj@suse.de>
41877
41878         * resolv/res_comp.c (dn_skipname): Remove unused variable.
41879
41880 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
41881
41882         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41883         `status' variable.
41884         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41885         Likewise.
41886
41887 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
41888
41889         * Makefile (strop-tests): Add strncat.
41890         * string/test-strncat.c: New file.
41891
41892 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
41893
41894         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41895
41896 2011-06-21  Andreas Jaeger  <aj@suse.de>
41897
41898         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41899         Copy rule from iconvdata/Makefile.
41900
41901 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
41902
41903         [BZ #12922]
41904         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41905         but no long options are defined, just return 'W'.
41906
41907 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
41908
41909         [BZ #9696]
41910         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41911
41912 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
41913
41914         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41915         netgroups to read.
41916         (innetgr): Likewise.
41917
41918 2011-07-05  Roland McGrath  <roland@hack.frob.com>
41919
41920         * config.make.in (install_root): Default to $(DESTDIR).
41921
41922 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
41923
41924         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41925
41926 2011-07-02  Roland McGrath  <roland@hack.frob.com>
41927
41928         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41929
41930         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41931         containing directory rather than embedding absolute directory names.
41932
41933         * scripts/check-local-headers.sh: Rewritten using awk.
41934         Match by word, not by line.  Print error messages for matches.
41935         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41936
41937         * Makerules [shlib-lds-flags empty]:
41938         ($(common-objpfx)libc_pic.opts): New target.
41939         ($(common-objpfx)libc_pic.os.clean): New target.
41940         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41941
41942         * config.make.in (OBJCOPY): New variable.
41943         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41944         * configure: Regenerated.
41945
41946         * config.make.in (use-default-link): New variable.
41947         * configure.in (use_default_link): Grok --with-default-link to set it.
41948         * configure: Regenerated.
41949         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41950         (shlib-lds, shlib-lds-flags): Define to empty.
41951
41952         * Makerules (shlib-lds): New variable.
41953         (shlib-lds-flags): New variable.
41954         (build-shlib, build-moduile, build-module-asneeded): Use it.
41955         ($(common-objpfx)libc.so): Use $(shlib-lds).
41956         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41957         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41958
41959         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41960         DT_FLAGS/DT_FLAGS_1 with zero flags.
41961
41962         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41963         linker script munging.
41964
41965 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
41966
41967         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41968         as 128-bit value.
41969         * crypt/sha512.c (sha512_process_block): Perform total addition using
41970         128-bit if possible.
41971         (__sha512_finish_ctx): Likewise.
41972         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41973         as 64-bit value.
41974         * crypt/sha256.c (SWAP64): Define.
41975         (sha256_process_block): Perform total addition using 64-bit if
41976         possible.
41977         (__sha256_finish_ctx): Likewise.
41978
41979 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
41980
41981         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
41982         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41983         * nscd/hstcache.c (cache_addhst): Likewise.
41984         * nscd/grpcache.c (cache_addgr): Likewise.
41985         * nscd/aicache.c (addhstaiX): Likewise
41986         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41987
41988 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
41989
41990         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41991         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41992         * nscd/hstcache.c (cache_addhst): Likewise.
41993         * nscd/grpcache.c (cache_addgr): Likewise.
41994         * nscd/aicache.c (addhstaiX): Likewise
41995
41996 2011-07-01  Andreas Schwab  <schwab@redhat.com>
41997
41998         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41999         domain only when needed.
42000
42001 2011-06-30  Andreas Schwab  <schwab@redhat.com>
42002
42003         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42004         is always restored.
42005
42006 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
42007
42008         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42009         are re-adding the entry.
42010         * nscd/servicescache.c (cache_addserv): Likewise.
42011
42012 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
42013
42014         * sysdeps/generic/dl-irel.h: fix protection against multiple
42015         inclusions.
42016         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42017
42018 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
42019
42020         [BZ #12935]
42021         * malloc/memusage.sh: Fix quoting in message.
42022         * debug/xtrace.sh: Likewise.
42023
42024         * configure.in: Remove support for --experimental-malloc option, make
42025         it the default.
42026         * config.make.in: Likewise.
42027         * malloc/Makefile: Likewise.
42028
42029 2011-06-27  Andreas Schwab  <schwab@redhat.com>
42030
42031         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42032         two-byte characters.
42033
42034 2011-06-27  Roland McGrath  <roland@hack.frob.com>
42035
42036         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42037         AC_CACHE_CHECK invocation.
42038         * configure: Regenerated.
42039
42040         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42041
42042 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
42043
42044         [BZ #12350]
42045         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
42046         bit from old_res_options.
42047
42048         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42049
42050         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42051         value type for setfct.
42052
42053 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
42054
42055         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42056         __gettimeofday instead of gettimeofday.
42057
42058 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
42059
42060         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42061
42062 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
42063
42064         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42065
42066         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42067         info.
42068
42069 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
42070
42071         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42072         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42073         strcpy-sse2-unaligned strncpy-sse2-unaligned
42074         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42075         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42076         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42077         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42078         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42079         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42080         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42081         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42082         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42083         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42084         (STRCPY): Support SSE2 and SSSE3 versions.
42085
42086 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
42087
42088         [BZ #12874]
42089         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42090         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42091         kernels which artificially limit size of requests.
42092
42093 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
42094
42095         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42096         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42097         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42098         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42099         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42100         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42101         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42102         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42103         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42104         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42105         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42106         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42107         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42108         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42109         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42110         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42111         Enable unaligned load optimization for Intel Core i3, i5 and i7
42112         processors.
42113         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42114         Define.
42115         (index_Fast_Unaligned_Load): Define.
42116         (HAS_FAST_UNALIGNED_LOAD): Define.
42117
42118 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
42119
42120         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42121
42122 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
42123
42124         [BZ #12907]
42125         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42126         until it is clear that the information is realy needed.
42127         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42128
42129 2011-06-22  Andreas Schwab  <schwab@redhat.com>
42130
42131         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42132
42133 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
42134
42135         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42136         /sys/devices/system/cpu/online if it is usable.
42137
42138         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42139         reading the information from the /proc filesystem to once a second.
42140
42141 2011-06-21  Andreas Jaeger  <aj@suse.de>
42142
42143         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42144         NULL after inclusion of kernel headers.
42145
42146 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
42147
42148         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42149         calls to internal_setent.
42150
42151         [BZ #12885]
42152         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42153         addresses using gethostbyname4_r ignore IPv4 addresses.
42154
42155         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42156         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
42157
42158         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42159
42160 2011-06-20  David S. Miller  <davem@davemloft.net>
42161
42162         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42163         inclusions.
42164         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42165
42166         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42167         (elf_irel): Use it.
42168         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42169         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42170         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42171         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42172         * sysdeps/x86_64/dl-irel.h: Likewise.
42173
42174         * elf/dl-runtime.c: Use elf_ifunc_invoke.
42175         * elf/dl-sym.c: Likewise.
42176
42177 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
42178
42179         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
42180         need to dereference resplen2.
42181
42182 2011-06-14  Andreas Schwab  <schwab@redhat.com>
42183
42184         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42185
42186 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
42187
42188         * Makeconfig: Define vardbdir and inst_vardbdir.
42189         * nss/Makefile: Add rules to install db-Makefile.
42190
42191         * nss/nss_db/db-XXX.c: Cleanup.
42192
42193         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42194         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42195         GLIBC_PRIVATE.
42196         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42197         * nss/makedb.c: Implement -g option to specify that value strings
42198         are generated and should not be added to table iterated over for
42199         get*ent calls.
42200         * nss/nss_db/db-initgroups.c: New file.
42201
42202         * nss/getent.c: Add support for initgroups lookups through getgrouplist
42203         interface.
42204
42205         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42206         (internal_getgrouplist): Adjust to name change.
42207         Update use_initgroups_entry if this is not the first call.
42208         * nss/databases.def: Add initgroups entry.
42209
42210         * nss/makedb.c (compute_tables): Check result of multiple hash table
42211         sizes to minimize maximum chain length.
42212
42213 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
42214
42215         * Versions.def: Add entry for libnss_db.
42216         * shlib-versions: Likewise.
42217         * nss/Makefile: Add rules to build libnss_db.
42218         * nss/Versions: Add libnss_db information.  Organize libnss_files
42219         entries better.
42220         * nss/db-Makefile: Add gshadow support.  Change rules for the new
42221         makedb progra.  Some minor improvements to generate smaller files.
42222         * nss/nss_db/nss_db.h: Move NSS database header data structures to
42223         here from...
42224         * nss/makedb.c: ...here.
42225         Improve database format to be smaller and require less memory at
42226         runtime.
42227         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
42228         db anymore.
42229         * nss/nss_db/db-netgrp.c: Likewise.
42230         * nss/nss_db/db-open.c: Likewise.
42231         * nss/nss_files/flies-XXX.x: Adjust comments.
42232         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42233         * nss/nss_files/files-grp.c: Likewise.
42234         * nss/nss_files/files-hosts.c: Likewise.
42235         * nss/nss_files/files-network.c: Likewise.
42236         * nss/nss_files/files-proto.c: Likewise.
42237         * nss/nss_files/files-pwd.c: Likewise.
42238         * nss/nss_files/files-rpc.c: Likewise.
42239         * nss/nss_files/files-service.c: Likewise.
42240         * nss/nss_files/files-sgrp.c: Likewise.
42241         * nss/nss_files/files-spwd.c: Likewise.
42242         * nss/nss_db/db-alias.c: Removed.
42243         * nss/nss_db/dummy-db.h: Removed.
42244
42245 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
42246
42247         * nss/makedb.c: Rewritten to not use database library.
42248         * nss/Makefile: Update to build new makedb program.
42249
42250 2011-06-14  Andreas Jaeger  <aj@suse.de>
42251
42252         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42253         memset declaration.
42254
42255 2011-06-10  Andreas Schwab  <schwab@redhat.com>
42256
42257         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42258         tmpbuf.
42259
42260 2011-06-10  Roland McGrath  <roland@hack.frob.com>
42261
42262         * Makerules (shlib.lds): Fail if the linker script comes out empty.
42263         * elf/Makefile ($(objpfx)ld.so): Likewise.
42264
42265         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42266         Don't list ld.so twice in dependencies.
42267
42268         * posix/bug-regex31.c: Include <stdlib.h>.
42269
42270         * nscd/hstcache.c (cache_addhst): Remove unused variable.
42271
42272         * nis/nss_compat/compat-spwd.c
42273         (getspent_next_nss_netgr): Remove unused variable.
42274         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42275
42276         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42277         nonmembers" output to use the right array.
42278
42279         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42280
42281         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42282
42283         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42284         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42285         * catgets/gencat.c (read_input_file): Likewise.
42286         * locale/programs/locarchive.c (enlarge_archive): Likewise.
42287
42288         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42289         variable definition inside #if's controlling its use.
42290
42291         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42292
42293         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42294
42295         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42296
42297         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42298         unreachable code.
42299
42300         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42301
42302         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42303         * configure: Regenerated.
42304
42305         * Makerules: Revert last change.
42306         * elf/Makefile: Likewise.
42307
42308 2011-06-09  Roland McGrath  <roland@hack.frob.com>
42309
42310         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42311         * elf/Makefile ($(objpfx)librtld.os): Likewise.
42312         (reloc-link): Likewise.
42313
42314 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
42315
42316         * elf/Makefile: Add rules to build pldd.
42317         * elf/pldd.c: New file.
42318         * elf/pldd-xx.c: New file.
42319
42320 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
42321
42322         * version.h: Update for 2.15 development version.
42323
42324 2011-06-07  David S. Miller  <davem@davemloft.net>
42325
42326         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42327         ifuncs.
42328         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42329         elf_machine_lazy_rel): Likewise.
42330         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42331         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42332         elf_machine_lazy_rel): Likewise.
42333         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42334         dl_hwcap via passed in argument.
42335         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42336         Likewise.
42337
42338 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42339
42340         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
42341
42342 2011-06-06  Roland McGrath  <roland@hack.frob.com>
42343
42344         [BZ #12849]
42345         * manual/fdl-1.1.texi: New file, verbatim from:
42346         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42347         * manual/lgpl-2.1.texi: New file, verbatim from:
42348         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42349         * manual/Makefile (licenses): New variable, list those new file names.
42350         (texis): Use it.
42351         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42352
42353         * manual/fdl.texi: File removed.
42354         * manual/lesser.texi: File removed.
42355         * manual/libc.texinfo (Copying, Documentation License):
42356         Use new @include file names, put @appendix directive before @include.
42357
42358 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
42359
42360         [BZ #12841]
42361         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42362         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42363         (mq_open): Add __NTH.
42364
42365 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
42366
42367         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42368         Assume Intel Core i3/i5/i7 processor if AVX is available.
42369
42370 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
42371
42372         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42373         typo.
42374
42375 2011-05-31  Andreas Schwab  <schwab@redhat.com>
42376
42377         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42378         memory.  Use alloca_account.  Fix memory leak when retrying.
42379
42380 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
42381
42382         * version.h (RELEASE): Bump for 2.14 release.
42383         * include/features.h (__GLIBC_MINOR__): Bump to 14.
42384
42385         * config.make.in (RANLIB): Remove entry.
42386
42387 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
42388
42389         * po/Makefile (po-sed-cmd): Add ksh to extensions.
42390         (libc.pot): Work around missing support for .ksh extension in xgettext.
42391
42392         [BZ #12684]
42393         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42394         if both request failed.
42395         (send_dg): In case of server errors clear resplen or *resplen2.
42396
42397         [BZ #12454]
42398         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42399         when there are multiple maps.
42400         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42401         (_dl_fini): Remove test here.
42402
42403         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42404
42405 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
42406
42407         [BZ #12350]
42408         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42409         bit from old_res_options.
42410         (gaih_inet): Likewise.
42411
42412         [BZ #11099]
42413         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
42414         as signed.
42415
42416         * resolv/res_init.c (res_setoptions): Make the code more compact.
42417
42418         [BZ #11558]
42419         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42420         set RES_USEVC.
42421
42422         [BZ #11634]
42423         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42424
42425         * malloc/malloc.h: Mark malloc hook variables as deprecated.
42426
42427         [BZ #11781]
42428         * malloc/malloc.h: Declare malloc hook variables as volatile.
42429
42430         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42431         in last patch.
42432
42433         [BZ #11799]
42434         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
42435         raise in the comment.
42436         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42437         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42438         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
42439
42440 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
42441
42442         [BZ #12811]
42443         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42444         grow the buffers more if it already has to be sufficient.
42445         (build_wcs_upper_buffer): Likewise.
42446         * posix/regexec.c (check_matching): Likewise.
42447         (clean_state_log_if_needed): Likewise.
42448         (extend_buffers): Don't enlarge buffers beyond size of the input
42449         buffer.
42450         Patches mostly by Emil Wojak <emil@wojak.eu>.
42451         * posix/bug-regex32.c: New file.
42452         * posix/Makefile (tests): Add bug-regex32.
42453
42454         * locale/findlocale.c (_nl_find_locale): Return right away if
42455         _nl_explode_name failed.
42456         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42457
42458         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42459
42460         * debug/xtrace.sh: Unify messages.
42461         * malloc/memusage.sh: Likewise.
42462
42463         [BZ #12813]
42464         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42465         time symbol from vDSO.  Substitute with vsyscall if not available.
42466         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42467         __vdso_time.
42468
42469         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42470         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42471         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42472         Add sendmmsg and internal_sendmmsg.
42473         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42474         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42475         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42476
42477         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42478         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42479         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42480
42481 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
42482
42483         [BZ #12813]
42484         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42485         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
42486         available.
42487         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42488         __vdso_getcpu.
42489
42490         [BZ #12814]
42491         * iconvdata/Makefile (tests): Add bug-iconv9.
42492         * iconvdata/bug-iconv9.c: New file.
42493
42494 2011-05-27  Andreas Schwab  <schwab@redhat.com>
42495
42496         [BZ #12814]
42497         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42498
42499 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
42500
42501         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42502         (struct user_regs_struct): Change intcs field back to cs.
42503
42504 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
42505
42506         * po/ja.po: Update from translation team.
42507
42508 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
42509
42510         [BZ #12795]
42511         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42512         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42513
42514 2011-05-20  Andreas Schwab  <schwab@redhat.com>
42515
42516         * stdlib/longlong.h: Update from GCC.
42517
42518 2011-05-23  Andreas Schwab  <schwab@redhat.com>
42519
42520         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42521         parameter name.
42522         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42523         Add parameter name.
42524         (__sysconf): Pass it down.
42525
42526 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
42527
42528         [BZ #12671]
42529         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42530         some situations.
42531         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42532         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42533         add in in __libc_use_alloca calls.  Adjust callers.
42534         (glob): Use malloc in some situations.
42535
42536         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42537         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42538         pltexit.
42539
42540 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
42541
42542         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42543         and CLOCK_BOOTTIME_ALARM.
42544
42545         [BZ #12782]
42546         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42547         is returned.
42548
42549         * string/_strerror.c (__strerror_r): Print negative errors as signed
42550         numbers.
42551
42552         [BZ #12777]
42553         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42554         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42555         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42556
42557         * configure.in: Fix typo in redirection and correct removal of test
42558         files in two cases.
42559
42560         [BZ #12788]
42561         * locale/setlocale.c (new_composite_name): Fix test to check for
42562         identical name of all categories.
42563
42564         [BZ #12792]
42565         * libio/filedoalloc.c (local_isatty): New function.
42566         (_IO_file_doallocate): Use local_isatty.
42567         * stdio-common/perror.c (perror): In case a new stream is used
42568         forward the stream error.
42569         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42570         error flag.
42571
42572 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
42573
42574         [BZ #11869]
42575         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42576         alloca.
42577         * include/alloca.h (extend_alloca_account): Define.
42578
42579         [BZ #11857]
42580         * posix/regex.h: Fix comments with documentation of user-accessible
42581         fields after compilation and describe correct free'ing of pattern
42582         after re_compile_pattern.
42583         Patch by Reuben Thomas <rrt@sc3d.org>.
42584
42585 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
42586
42587         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42588         and -mno-altivec to prevent the compiler from using Altivec and/or
42589         VSX instructions when the corresponding registers are not available.
42590
42591 2011-05-19  Andreas Schwab  <schwab@redhat.com>
42592
42593         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42594
42595 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
42596
42597         * libio/freopen.c (freopen): Use __dup2, not dup2.
42598         * libio/freopen64.c (freopen64): Likewise.
42599
42600 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42601
42602         [BZ #12775]
42603         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42604         * math/Makefile (tests): Add test-powl.
42605         (CFLAGS-test-powl.c): Define.
42606         * math/test-powl.c: New file.
42607
42608 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42609
42610         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42611
42612 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
42613
42614         [BZ #11837]
42615         * iconvdata/gb18030.c: Update to GB18020-2005.
42616
42617 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
42618
42619         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42620         RE_SYNTAX_POSIX_AWK): Update to match recent development.
42621         Patch by Aharon Robbins <arnold@skeeve.com>.
42622
42623         [BZ #11892]
42624         * stdlib/putenv.c (putenv): Don't always create copy of the variable
42625         on the stack.
42626
42627         [BZ #11895]
42628         * misc/pselect.c (__pselect): Handle timeout value errors hidden
42629         through underflows.
42630
42631         [BZ #12766]
42632         * misc/error.c (error_at_line): Ensure file_name and old_file_name
42633         point to strings before performing equality test for error_one_per_line
42634         mode.
42635
42636         [BZ #11697]
42637         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42638
42639         [BZ #11820]
42640         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42641         (struct user_fpregs_struct): Avoid __uint*_t types.
42642
42643         [BZ #6420]
42644         * malloc/mtrace.c (tr_where): Add additional parameter to point to
42645         symbol info.  Use it instead of calling _dl_addr locally.
42646         (lock_and_info): New function.
42647         (tr_freehook): Call lock_and_info and pass symbol info as additional
42648         parameter to tr_where.
42649         (tr_mallochook): Likewise.
42650         (tr_reallochook): Likewise.
42651         (tr_memalignhook): Likewise.
42652
42653         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
42654         used and couldn't be at all thread-safe.
42655
42656 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
42657
42658         * libio/freopen.c (freopen): Don't close old file descriptor
42659         before the new one is opened.  Instead dup the new file descriptor
42660         to the old one after the new stream is created.
42661         * libio/freopen64.c (freopen64): Likewise.
42662         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42663         * libio/fileops.c (_IO_new_file_close_it): Handle new
42664         _IO_FLAGS2_NOCLOSE flag.
42665         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42666         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42667         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42668         _IO_FLAGS2_NOCLOSE flag.
42669         * include/unistd.h: Add hidden_proto for dup3.
42670         Define __have_dup3.
42671         * io/dup3.c: Define hidden symbol.
42672         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42673
42674         [BZ #7101]
42675         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42676         when an incomplete long option is used.
42677         * posix/tst-getopt_long1.c: New file.
42678         * posix/Makefile (tests): Add tst-getopt_long1.
42679
42680         [BZ #10138]
42681         * scripts/config.guess: Update from autoconf-2.68.
42682         * scripts/config.sub: Likewise.
42683
42684         [BZ #10157]
42685         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42686         tests into ...
42687         (has_cpuclock): ...this.  New function.
42688         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42689         macro here based on has_cpuclock code.
42690
42691         [BZ #10149]
42692         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42693         First byte (not low byte) is now always NUL.
42694         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42695
42696         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42697         Use non-cancelable interfaces.
42698
42699         [BZ #9809]
42700         * locale/iso-639.def: Add entry for Sorani.
42701
42702         [BZ #11901]
42703         * include/stdlib.h: Move include protection to the right place.
42704         Define abort_msg_s.  Declare __abort_msg with it.
42705         * stdlib/abort.c (__abort_msg): Adjust type.
42706         * assert/assert.c (__assert_fail_base): New function.  Majority
42707         of code from __assert_fail.  Allocate memory for __abort_msg with
42708         mmap.
42709         (__assert_fail): Now call __assert_fail_base.
42710         * assert/assert-perr.c: Remove bulk of implementation.  Use
42711         __assert_fail_base.
42712         * include/assert.hL Declare __assert_fail_base.
42713         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42714         mmap.
42715         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42716
42717 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
42718
42719         [BZ #11952]
42720         [BZ #12453]
42721         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42722         until all modules are registered in the DTV.
42723         * elf/Makefile: Add rules to build and run tst-tls19.
42724         * elf/tst-tls19.c: New file.
42725         * elf/tst-tls19mod1.c: New file.
42726         * elf/tst-tls19mod2.c: New file.
42727         * elf/tst-tls19mod3.c: New file.
42728         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42729
42730         [BZ #12083]
42731         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42732         correctly.
42733
42734         [BZ #12601]
42735         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42736         two-byte sequence errors.
42737         * iconvdata/Makefile (tests): Add bug-iconv8.
42738         * iconvdata/bug-iconv8.c: New file.
42739
42740         [BZ #12626]
42741         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42742         buf2 definition.
42743
42744         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42745
42746         [BZ #12432]
42747         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42748         (dummy_getcfa): New function.
42749         (init): Get _Unwind_GetCFA address, use dummy if not found.
42750         (backtrace_helper): In recursion check, also check whether CFA changes.
42751         (__backtrace): Completely initialize arg.
42752
42753         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42754         storing incomplete byte sequence in state object.  Avoid testing for
42755         guaranteed too small input if we know there is enough data available.
42756
42757 2011-05-11  Andreas Schwab  <schwab@redhat.com>
42758
42759         * Makeconfig (+link-pie): Indent.
42760         * Rules (binaries-pie): Define if $(have-fpie) and
42761         $(build-shared).
42762         (binaries-shared): Also filter out $(binaries-pie).
42763         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42764         * nscd/Makefile (others-pie): Add nscd.
42765         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42766         ($(objpfx)nscd): Remove command override.
42767         * login/Makefile (others-pie): Add pt_chown.
42768         ($(objpfx)pt_chown): Remove command override.
42769         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42770         remove command overrides.
42771
42772 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
42773
42774         * libio/tst_putwc.c: Fix error messages.
42775
42776         [BZ #12724]
42777         * libio/fileops.c (_IO_new_file_close_it): Always flush when
42778         currently writing and seek to current position when not.
42779         * libio/Makefile (tests): Add bug-fclose1.
42780         * libio/bug-fclose1.c: New file.
42781
42782 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
42783
42784         [BZ #12511]
42785         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42786         don't set DF_1_NODELETE here.
42787         (do_lookup_x): When entering new entry test for copy relocation
42788         and if necessary set DF_1_NODELETE flag.
42789         * elf/tst-unique4.cc: New file.
42790         * elf/tst-unique4.h: New file.
42791         * elf/tst-unique4lib.cc: New file.
42792         * elf/Makefile: Add rules to build and run tst-unique4.
42793         Patch by Piotr Bury <pbury@goahead.com>.
42794
42795 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
42796
42797         [BZ #12052]
42798         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42799
42800         [BZ #12625]
42801         * misc/mntent_r.c (addmntent): Flush the stream after the output
42802
42803         [BZ #12393]
42804         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42805         (is_trusted_path_normalize): Skip initial colon.  Append slash
42806         to empty buffer.  Duplicate is_trusted_path code but allow
42807         constructed patch to be prefix.
42808         (is_dst): Allow $ORIGIN followed by /.
42809         (_dl_dst_substitute): Correct clearing of check_for_trusted.
42810         Correct testing of result of is_trusted_path_normalize
42811         (decompose_rpath): Fix warning.
42812
42813 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
42814
42815         [BZ #11257]
42816         * grp/initgroups.c (internal_getgrouplist): When we found the service
42817         list through the initgroups entry in nsswitch.conf do not always
42818         continue on a successful lookup.  Don't always use the
42819         __nss_group_database value if it is set.
42820         * nss/nsswitch.conf (initgroups): Change action for successful db
42821         lookup to continue for compatibility.
42822
42823 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
42824
42825         [BZ #11532]
42826         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42827         and CP774 modules.
42828         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42829         and CP774 modules.
42830         * iconvdata/tst-tables.sh: Likewise.
42831         * iconvdata/cp770.c: New file.
42832         * iconvdata/cp771.c: New file.
42833         * iconvdata/cp772.c: New file.
42834         * iconvdata/cp773.c: New file.
42835         * iconvdata/cp774.c: New file.
42836         * iconvdata/testdata/CP770: New file.
42837         * iconvdata/testdata/CP770..UTF8: New file.
42838         * iconvdata/testdata/CP771: New file.
42839         * iconvdata/testdata/CP771..UTF8: New file.
42840         * iconvdata/testdata/CP772: New file.
42841         * iconvdata/testdata/CP772..UTF8: New file.
42842         * iconvdata/testdata/CP773: New file.
42843         * iconvdata/testdata/CP773..UTF8: New file.
42844         * iconvdata/testdata/CP774: New file.
42845         * iconvdata/testdata/CP774..UTF8: New file.
42846
42847         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42848         END CHARMAP line.
42849         * iconvdata/gen-8bit-gap.sh: Likewise.
42850         * iconvdata/gen-8bit.sh: Likewise.
42851
42852         * locale/iso-639.def: Add ary entry.
42853
42854         [BZ #11258]
42855         * locale/C-translit.h.in: Add U20A1 transliteration.
42856
42857         [BZ #12178]
42858         * locale/iso-639.def: Add wae entry.
42859         Patch by Kevin Bortis <bortis@translate-wae.ch>.
42860
42861         [BZ #12545]
42862         * locale/programs/localedef.c (construct_output_path): Use ssize_t
42863         for n.
42864
42865         [BZ #12711]
42866         * locale/C-translit.h.in: Add entry for U20B9.
42867         Patch by pravin.d.s@gmail.com.
42868
42869 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
42870
42871         [BZ #12713]
42872         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42873         ENAMETOOLONG use generic getcwd.
42874         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
42875         in rtld.  Use *stat64.
42876         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42877         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42878         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42879         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42880         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42881         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42882         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42883         __fstatat64 macros.
42884         * include/dirent.h: Add libc_hidden_proto for rewinddir.
42885         * dirent/rewinddir.c: Add libc_hidden_def.
42886         * sysdeps/mach/hurd/rewinddir.c: Likewise.
42887         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
42888
42889         * include/dirent.h (__alloc_dir): Add flags parameter.
42890         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42891         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42892         __alloc_dir.
42893         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
42894         from fdopendir if O_CLOEXEC is already set.
42895
42896 2011-03-15  Alan Modra  <amodra@gmail.com>
42897
42898         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42899         l_tls_firstbyte_offset non-zero.  Save padding offset in
42900         l_tls_firstbyte_offset for later use.
42901         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42902         freeing static tls block.
42903
42904 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
42905
42906         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42907         where #ifdef was intended.  The intent is to prevent ARG_MAX from
42908         being defined by the kernel headers.
42909
42910 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
42911
42912         [BZ #12734]
42913         * resolv/resolv.h: Define RES_NOTLDQUERY.
42914         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42915         no-tld-query and set RES_NOTLDQUERY.
42916         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42917         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42918         modern BIND to search name as TLD unless forbidden.
42919
42920 2011-05-07  Petr Baudis  <pasky@suse.cz>
42921             Ulrich Drepper  <drepper@gmail.com>
42922
42923         [BZ #12393]
42924         * elf/dl-load.c (fillin_rpath): Move trusted path check...
42925         (is_trusted_path): ...to here.
42926         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42927         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42928         using is_trusted_path_normalize() in setuid scripts.
42929
42930 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
42931
42932         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42933         __BEGIN/__END_DECLS.
42934
42935 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
42936
42937         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42938         NSS_STATUS_NOTFOUND if no record was found.
42939
42940 2011-05-05  Andreas Schwab  <schwab@redhat.com>
42941
42942         * sunrpc/Makefile (headers): Add rpc/netdb.h.
42943         (headers-not-in-tirpc): Remove rpc/netdb.h
42944         * resolv/netdb.h: Revert last change.
42945
42946 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42947
42948         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42949         circular dependency between libgcc.a and libc.a.
42950
42951 2011-05-05  Andreas Schwab  <schwab@redhat.com>
42952
42953         * resolv/netdb.h: Don't include <rpc/netdb.h>.
42954         * nis/Makefile: Don't install rpcsvc/*.
42955         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42956         instead of <rpc/types.h>.
42957         (MAXHOSTNAMELEN): Define.
42958
42959 2011-05-03  Andreas Schwab  <schwab@redhat.com>
42960
42961         * elf/ldconfig.c (add_dir): Don't crash on empty path.
42962
42963 2011-04-28  Maciej Babinski  <mbabinski@google.com>
42964
42965         [BZ #12714]
42966         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42967         gethostbyname4_r when IPv6 results are possible.
42968
42969 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
42970
42971         [BZ #12723]
42972         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42973         _PC_PIPE_BUF handling.
42974
42975 2011-04-30  Bruno Haible  <bruno@clisp.org>
42976
42977         [BZ #12717]
42978         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42979         * resolv/netdb.h (getnameinfo): Change type of flags parameter
42980         to 'int'.
42981         * inet/getnameinfo.c (getnameinfo): Likewise.
42982
42983 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
42984
42985         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42986         to groups setting in database lookup.
42987         * nss/nsswitch.conf: Add initgroups entry.
42988
42989 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
42990
42991         [BZ #12685]
42992         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42993         mode string.
42994         Patch by Eric Blake <eblake@redhat.com>.
42995
42996 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
42997
42998         * sunrpc/Makefile (need-export-routines): Add svc_run.
42999         (routines): Remove svc_run.
43000         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43001         * sunrpc/clnt_perr.c (clnt_perrno): Export.
43002         * sunrpc/svc_run.c (svc_run): Likewise.
43003         * sunrpc/svc_udp.c (svcudp_create): Likewise.
43004
43005 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
43006
43007         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43008         problem in reallocation in last patch.
43009
43010 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
43011
43012         * sunrpc/Makefile: Move inclusion of Rules.
43013
43014 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
43015
43016         * nss/nss_files/files-initgroups.c: New file.
43017         * nss/Makefile (libnss_files-routines): Add files-initgroups.
43018         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43019         _nss_files_initgroups_dyn.
43020
43021 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
43022
43023         * elf/elf.h (R_ARM_IRELATIVE): Define.
43024
43025 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
43026
43027         * po/ru.po: Update from translation team.
43028
43029 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
43030
43031         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43032         dependencies.
43033
43034 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
43035
43036         [BZ #12653]
43037         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43038         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43039         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43040         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43041         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43042
43043 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
43044
43045         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43046         differing bytes.
43047         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43048         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43049         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43050
43051 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
43052
43053         [BZ #12420]
43054         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43055         storing it.
43056         * stdlib/bug-getcontext.c: New file.
43057         * stdlib/Makefile: Add rules to build and run bug-getcontext.
43058
43059 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43060
43061         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43062         instructions into .machine "z9-109".
43063         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43064         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43065
43066 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43067
43068         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43069         between environment variables and auxiliary vector.
43070
43071 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
43072
43073         * Makefile: Add rules to build linkobj/libc.so.
43074         * include/libc-symbols.h: Define libc_hidden_nolink.
43075         * include/rpc/auth.h: Mark functions which are to be hidden.
43076         * include/rpc/auth_des.h: Likewise.
43077         * include/rpc/auth_unix.h: Likewise.
43078         * include/rpc/clnt.h: Likewise.
43079         * include/rpc/des_crypt.h: Likewise.
43080         * include/rpc/key_prot.h: Likewise.
43081         * include/rpc/pmap_clnt.h: Likewise.
43082         * include/rpc/pmap_prot.h: Likewise.
43083         * include/rpc/pmap_rmt.h: Likewise.
43084         * include/rpc/rpc_msg.h: Likewise.
43085         * include/rpc/svc.h: Likewise.
43086         * include/rpc/svc_auth.h: Likewise.
43087         * include/rpc/xdr.h: Likewise.
43088         * nis/Makefile: Link all DSOs against linkobj/libc.so.
43089         * nss/Makefile: Likewise.
43090         * sunrpc/Makefile: Don't install headers.  Build library with normal
43091         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
43092         * sunrpc/auth_des.c: Hide exported symbols by default, export some
43093         for the compat linking library.  Remove use of INTDEF/INTUSE.
43094         * sunrpc/auth_none.c: Likewise.
43095         * sunrpc/auth_unix.c: Likewise.
43096         * sunrpc/authdes_prot.c: Likewise.
43097         * sunrpc/authuxprot.c: Likewise.
43098         * sunrpc/clnt_gen.c: Likewise.
43099         * sunrpc/clnt_perr.c: Likewise.
43100         * sunrpc/clnt_raw.c: Likewise.
43101         * sunrpc/clnt_simp.c: Likewise.
43102         * sunrpc/clnt_tcp.c: Likewise.
43103         * sunrpc/clnt_udp.c: Likewise.
43104         * sunrpc/clnt_unix.c: Likewise.
43105         * sunrpc/des_crypt.c: Likewise.
43106         * sunrpc/des_soft.c: Likewise.
43107         * sunrpc/get_myaddr.c: Likewise.
43108         * sunrpc/key_call.c: Likewise.
43109         * sunrpc/key_prot.c: Likewise.
43110         * sunrpc/netname.c: Likewise.
43111         * sunrpc/pm_getmaps.c: Likewise.
43112         * sunrpc/pm_getport.c: Likewise.
43113         * sunrpc/pmap_clnt.c: Likewise.
43114         * sunrpc/pmap_prot.c: Likewise.
43115         * sunrpc/pmap_prot2.c: Likewise.
43116         * sunrpc/pmap_rmt.c: Likewise.
43117         * sunrpc/publickey.c: Likewise.
43118         * sunrpc/rpc_cmsg.c: Likewise.
43119         * sunrpc/rpc_common.c: Likewise.
43120         * sunrpc/rpc_dtable.c: Likewise.
43121         * sunrpc/rpc_prot.c: Likewise.
43122         * sunrpc/rpc_thread.c: Likewise.
43123         * sunrpc/rtime.c: Likewise.
43124         * sunrpc/svc.c: Likewise.
43125         * sunrpc/svc_auth.c: Likewise.
43126         * sunrpc/svc_authux.c: Likewise.
43127         * sunrpc/svc_raw.c: Likewise.
43128         * sunrpc/svc_run.c: Likewise.
43129         * sunrpc/svc_simple.c: Likewise.
43130         * sunrpc/svc_tcp.c: Likewise.
43131         * sunrpc/svc_udp.c: Likewise.
43132         * sunrpc/svc_unix.c: Likewise.
43133         * sunrpc/svcauth_des.c: Likewise.
43134         * sunrpc/xcrypt.c: Likewise.
43135         * sunrpc/xdr.c: Likewise.
43136         * sunrpc/xdr_array.c: Likewise.
43137         * sunrpc/xdr_float.c: Likewise.
43138         * sunrpc/xdr_intXX_t.c: Likewise.
43139         * sunrpc/xdr_mem.c: Likewise.
43140         * sunrpc/xdr_rec.c: Likewise.
43141         * sunrpc/xdr_ref.c: Likewise.
43142         * sunrpc/xdr_sizeof.c: Likewise.
43143         * sunrpc/xdr_stdio.c: Likewise.
43144
43145 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
43146
43147         [BZ #12650]
43148         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43149         * sysdeps/ia64/dl-tls.h: Likewise.
43150         * sysdeps/powerpc/dl-tls.h: Likewise.
43151         * sysdeps/s390/dl-tls.h: Likewise.
43152         * sysdeps/sh/dl-tls.h: Likewise.
43153         * sysdeps/sparc/dl-tls.h: Likewise.
43154         * sysdeps/x86_64/dl-tls.h: Likewise.
43155         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43156
43157 2011-03-14  Andreas Schwab  <schwab@redhat.com>
43158
43159         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43160         rpath element also skip the following colon.
43161         (expand_dynamic_string_token): Add is_path parameter and pass
43162         down to DL_DST_REQUIRED and _dl_dst_substitute.
43163         (decompose_rpath): Call expand_dynamic_string_token with
43164         non-zero is_path.  Ignore empty rpaths.
43165         (_dl_map_object_from_fd): Call expand_dynamic_string_token
43166         with zero is_path.
43167
43168 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
43169
43170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43171         Make cancelable.
43172
43173 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
43174
43175         [BZ #12655]
43176         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43177         Patch by Filipe David Manana <fdmanana@apache.org>.
43178
43179 2011-04-07  Andreas Schwab  <schwab@redhat.com>
43180
43181         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43182         Maintain aligned stack.
43183         (CHECK_RSP): Remove unused macro.
43184
43185 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
43186
43187         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43188         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43189
43190 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
43191
43192         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43193
43194         * include/features.h: Mention __USE_XOPEN2K8 in comment.
43195
43196 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
43197
43198         [BZ #12518]
43199         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43200         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43201         * sysdeps/x86_64/memmove.c: New file.
43202         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43203         (memcpy): Renamed to ...
43204         (__new_memcpy): This.
43205         (memcpy): Provide GLIBC_2_14 memcpy.
43206         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43207         (memcpy): Provide GLIBC_2_2_5 memcpy.
43208
43209 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
43210
43211         [BZ #12631]
43212         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43213
43214 2011-03-30  Andreas Schwab  <schwab@redhat.com>
43215
43216         * misc/syncfs.c: New file.
43217         * misc/Makefile (routines): Add syncfs.
43218         * posix/unistd.h: Declare syncfs.
43219         * sysdeps/unix/syscalls.list: Add syncfs.
43220
43221 2011-04-01  Andreas Schwab  <schwab@redhat.com>
43222
43223         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43224         open_by_handle_at.
43225         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43226         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43227         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43228         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43229         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43230         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43231         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43232
43233 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
43234
43235         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43236         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43237         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43238         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43239         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43240         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43241         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43242
43243         * io/Makefile: Compile fallocate.c, fallocate64.c, and
43244         sync_file_range.c with -fexceptions.
43245         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43246         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43247         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43248         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43249         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43250         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43251         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
43252         sync_file_range as cancellation point
43253         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
43254         now a wrapper around __call_sync_file_range with cancellation handling.
43255         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43256         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
43257         function name to __call_sync_file_range.
43258         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43259         Add call_sync_file_range.
43260
43261 2011-04-01  Andreas Schwab  <schwab@redhat.com>
43262
43263         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43264         bits/timex.h.
43265
43266 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
43267
43268         * iconv/iconv.h: Fix typo in comment.
43269         * io/fcntl.h: Likewise.
43270         * libio/stdio.h: Likewise.
43271         * posix/spawn.h: Likewise.
43272         * posix/unistd.h: Likewise.
43273         * stdlib/stdlib.h: Likewise.
43274         * time/time.h: Likewise.
43275         * wcsmbs/wchar.h: Likewise.
43276
43277         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43278         open_by_handle): Add.
43279         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43280         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
43281         Augment a few comments.
43282         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43283         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43284         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43285         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43286         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43287         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43288         open_by_handle.
43289
43290         * io/fcntl.h (AT_EMPTY_PATH): Define.
43291
43292 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
43293
43294         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43295         * sysdeps/unix/sysv/linux/bits/time.h: New file.
43296         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43297         to...
43298         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
43299         * Versions.def: Add GLIBC_2.14.
43300         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43301         Export.
43302
43303 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
43304
43305         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43306         round counter.
43307         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43308
43309 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43310
43311         [BZ #12597]
43312         * string/test-strncmp.c (do_page_test): New function.
43313         (check2): Likewise.
43314         (test_main): Call check2.
43315         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43316
43317 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
43318
43319         [BZ #12587]
43320         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43321         Handle cache information in CPU leaf 4.
43322         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43323
43324 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
43325
43326         [BZ #12583]
43327         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43328         character representation.
43329         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43330
43331 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
43332
43333         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43334         END(__isnan) to END(__isnanf) to match function entry point/label
43335         EALIGN(__isnanf,...).
43336
43337 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
43338
43339         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43340
43341 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
43342
43343         [BZ #12510]
43344         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43345         copy from the symbol referenced in the relocation to initialize the
43346         used variable.
43347         Patch by Piotr Bury <pbury@goahead.com>.
43348         * elf/Makefile: Add rules to build and tst-unique3.
43349         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43350         * elf/tst-unique3.cc: New file.
43351         * elf/tst-unique3.h: New file.
43352         * elf/tst-unique3lib.cc: New file.
43353         * elf/tst-unique3lib2.cc: New file.
43354
43355         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43356
43357 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
43358
43359         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43360         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
43361         to _start.
43362
43363 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
43364
43365         * elf/dl-load.c (_dl_map_object): If we are looking for the first
43366         to-be-loaded object along a path to loader is ld.so.
43367
43368 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
43369             Ulrich Drepper  <drepper@gmail.com>
43370
43371         * sysdeps/x86_64/memset.S: After aligning destination, code
43372         branches to different locations depending on the value of
43373         misalignment, when multiarch is enabled. Fix this.
43374
43375 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
43376
43377         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43378         Set _x86_64_preferred_memory_instruction for AMD processsors.
43379         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43380         Set bit_Prefer_SSE_for_memop for AMD processors.
43381
43382 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
43383
43384         * libio/fmemopen.c (fmemopen): Optimize a bit.
43385
43386 2011-03-03  Andreas Schwab  <schwab@redhat.com>
43387
43388         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43389
43390 2011-03-03  Roland McGrath  <roland@redhat.com>
43391
43392         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43393
43394 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
43395
43396         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
43397         __bzero_ultra1 instead of __memset_ultra1.
43398
43399 2011-02-23  Andreas Schwab  <schwab@redhat.com>
43400             Ulrich Drepper  <drepper@gmail.com>
43401
43402         [BZ #12509]
43403         * include/link.h (struct link_map): Add l_orig_initfini.
43404         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43405         returning unsuccessfully.
43406         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43407         close of a file loaded at startup, restore the original l_initfini
43408         list.
43409         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43410         list, store the pointer.
43411         * elf/Makefile ($(objpfx)noload-mem): New rule.
43412         (noload-ENV): Define.
43413         (tests): Add $(objpfx)noload-mem.
43414         * elf/noload.c: Include <memcheck.h>.
43415         (main): Call mtrace.  Close all opened handles.
43416
43417 2011-02-17  Andreas Schwab  <schwab@redhat.com>
43418
43419         [BZ #12454]
43420         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43421         dependencies are missing.
43422
43423 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43424
43425         Fix __if_freereq crash: Unlike the generic version which uses free,
43426         Hurd needs munmap.
43427         * sysdeps/mach/hurd/ifreq.h: New file.
43428
43429 2011-01-27  Petr Baudis  <pasky@suse.cz>
43430             Ulrich Drepper  <drepper@gmail.com>
43431
43432         [BZ 12445]#
43433         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43434         to extend_alloca().
43435         * stdio-common/bug23.c: New file.
43436         * stdio-common/Makefile (tests): Add bug23.
43437
43438 2010-09-28  Andreas Schwab  <schwab@redhat.com>
43439             Ulrich Drepper  <drepper@gmail.com>
43440
43441         [BZ #12489]
43442         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43443         before performing relro protection.  At old place add assertion
43444         to make sure nothing changed.
43445
43446 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
43447             Glauber de Oliveira Costa  <glommer@gmail.com>
43448
43449         * elf/elf.h: Add new ARM TLS relocs.
43450
43451 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
43452
43453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43454         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43455         cast from r3.
43456         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
43457         'tests' variable.
43458         * sysdeps/wordsize-64/tst-writev.c: New file.
43459
43460 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
43461
43462         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43463         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43464         insns in _dl_start to prevent a TOC reference before relocs are
43465         resolved.
43466
43467 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
43468
43469         [BZ #12469]
43470         * Makeconfig: Remove RANLIB definition.
43471         * Makerules: Don't use RANLIB.
43472         * aclocal.m4: Remove ranlib test.
43473         * configure.in: No need to check for ranlib.
43474         * elf/rtld-Rules: Don't use RANLIB.
43475
43476 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43477
43478         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43479         protection macro.
43480         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43481         inclusion protection macro.
43482
43483         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43484         SIGRTMIN and SIGRTMAX and print information in that case only when
43485         SIGRTMIN is defined.
43486
43487 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
43488
43489         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43490         arginfo fn returning -1.
43491
43492         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43493         and thousands string is zero terminated.
43494
43495 2011-02-03  Andreas Schwab  <schwab@redhat.com>
43496
43497         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43498         sysdeps/unix/sysv/linux/bits/socket.h.
43499
43500 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43501
43502         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43503         (__CPU_COUNT): Remove old macros.
43504         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43505         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43506         (__CPU_ALLOC, __CPU_FREE): Add macros.
43507         (__sched_cpualloc, __sched_cpufree): Add declarations.
43508
43509 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
43510
43511         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43512         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43513         * nscd/aicache.c (addhstaiX): Return timeout of added value.
43514         (readdhstai): Return value of addhstaiX call.
43515         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43516         (addgrbyX): Return value returned by cache_addgr.
43517         (readdgrbyname): Return value returned by addgrbyX.
43518         (readdgrbygid): Likewise.
43519         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43520         (addpwbyX): Return value returned by cache_addpw.
43521         (readdpwbyname): Return value returned by addhstbyX.
43522         (readdpwbyuid): Likewise.
43523         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43524         (addservbyX): Return value returned by cache_addserv.
43525         (readdservbyname): Return value returned by addservbyX:
43526         (readdservbyport): Likewise.
43527         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43528         (addhstbyX): Return value returned by cache_addhst.
43529         (readdhstbyname): Return value returned by addhstbyX.
43530         (readdhstbyaddr): Likewise.
43531         (readdhstbynamev6): Likewise.
43532         (readdhstbyaddrv6): Likewise.
43533         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43534         (readdinitgroups): Return value returned by addinitgroupsX.
43535         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43536         (prune_cache): Keep track of timeout value of re-added entries.
43537         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43538         * nscd/nscd.h: Adjust prototypes of readd* functions.
43539
43540 2011-02-04  Roland McGrath  <roland@redhat.com>
43541
43542         * nis/nis_server.c (nis_servstate): Use the right name for 0.
43543         (nis_stats): Likewise.
43544         * nis/nis_modify.c (nis_modify): Likewise.
43545         * nis/nis_remove.c (nis_remove): Likewise.
43546         * nis/nis_add.c (nis_add): Likewise.
43547
43548         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43549
43550         * posix/fnmatch_loop.c: Add some consts.
43551
43552         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43553
43554 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
43555
43556         [BZ #12460]
43557         * config.make.in (config-cflags-novzeroupper): Define.
43558         * configure.in: Substitute libc_cv_cc_novzeroupper.
43559         * elf/Makefile (AVX-CFLAGS): Define.
43560         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43561         (CFLAGS-tst-auditmod4a.c): Likewise.
43562         (CFLAGS-tst-auditmod4b.c): Likewise.
43563         (CFLAGS-tst-auditmod6b.c): Likewise.
43564         (CFLAGS-tst-auditmod6c.c): Likewise.
43565         (CFLAGS-tst-auditmod7b.c): Likewise.
43566         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43567
43568 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
43569
43570         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43571         function to the callback.
43572         Patch partly by Jiri Olsa <jolsa@redhat.com>.
43573
43574 2011-02-02  Andreas Schwab  <schwab@redhat.com>
43575
43576         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43577         of errno.
43578
43579 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
43580
43581         [BZ #11724]
43582         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43583         of constructors.
43584         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43585         of destructors.
43586         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43587
43588         [BZ #11724]
43589         * elf/Makefile: Add rules to build and run new test.
43590         * elf/tst-initorder.c: New file.
43591         * elf/tst-initorder.exp: New file.
43592         * elf/tst-initordera1.c: New file.
43593         * elf/tst-initordera2.c: New file.
43594         * elf/tst-initordera3.c: New file.
43595         * elf/tst-initordera4.c: New file.
43596         * elf/tst-initorderb1.c: New file.
43597         * elf/tst-initorderb2.c: New file.
43598         * elf/tst-order-a1.c: New file.
43599         * elf/tst-order-a2.c: New file.
43600         * elf/tst-order-a3.c: New file.
43601         * elf/tst-order-a4.c: New file.
43602         * elf/tst-order-b1.c: New file.
43603         * elf/tst-order-b2.c: New file.
43604         * elf/tst-order-main.c: New file.
43605         New test case by George Gensure <werkt0@gmail.com>.
43606
43607 2010-10-01  Andreas Schwab  <schwab@redhat.com>
43608
43609         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43610         decoding ACE if AI_CANONIDN.
43611
43612 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
43613
43614         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43615
43616 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
43617
43618         * version.h (RELEASE): Bump for 2.13 release.
43619         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43620
43621         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43622
43623         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43624         MADV_NOHUGEPAGE.
43625         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43626         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43627         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43628         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43629         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43630         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43631
43632         * posix/getconf.c: Update copyright year.
43633         * catgets/gencat.c: Likewise.
43634         * csu/version.c: Likewise.
43635         * debug/catchsegv.sh: Likewise.
43636         * debug/xtrace.sh: Likewise.
43637         * elf/ldconfig.c: Likewise.
43638         * elf/ldd.bash.in: Likewise.
43639         * elf/sprof.c (print_version): Likewise.
43640         * iconv/iconv_prog.c: Likewise.
43641         * iconv/iconvconfig.c: Likewise.
43642         * locale/programs/locale.c: Likewise.
43643         * locale/programs/localedef.c: Likewise.
43644         * malloc/memusage.sh: Likewise.
43645         * malloc/mtrace.pl: Likewise.
43646         * nscd/nscd.c (print_version): Likewise.
43647         * nss/getent.c: Likewise.
43648
43649         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43650         PF_CAIF, and PF_ALG.
43651         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43652
43653 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
43654
43655         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43656         (modules-names): Use them.
43657         (ifunc-test-modules, ifunc-pie-tests): Define.
43658         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43659         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43660         (test-extras): Likewise.
43661         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43662         $(compile-command.c).
43663         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43664         (all-built-dso): Define.
43665         (check-textrel.out, check-execstack.out): Depend on it.
43666
43667         * configure.in: Don't override --enable-multi-arch.
43668
43669 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
43670
43671         [BZ #6812]
43672         * nscd/hstcache.c (tryagain): Define.
43673         (cache_addhst): Return tryagain not notfound for temporary errors.
43674         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43675         failed.
43676
43677 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
43678
43679         [BZ #10563]
43680         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43681         to make the syscall.
43682         * sysdeps/unix/sysv/linux/setgroups.c: New file.
43683
43684         [BZ #12378]
43685         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43686         and fall back to matching as normal character if the string ends before
43687         the matching ']' is found.  This is what POSIX requires.
43688         * posix/testfnm.c: Adjust test result.
43689         * posix/globtest.sh: Adjust test result.  Add new test.
43690         * posix/tst-fnmatch.input: Likewise.
43691         * posix/tst-fnmatch2.c: Add new test.
43692
43693 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
43694
43695         * elf/Makefile (check-execstack): Revert last change.  Depend on
43696         check-execstack.h.
43697         (check-execstack.h): New target.
43698         (generated): Add check-execstack.h.
43699         * elf/check-execstack.c: Include "check-execstack.h".
43700         (main): Revert last change.
43701         (handle_file): Return zero if GNU_STACK is absent and
43702         DEFAULT_STACK_PERMS doesn't include PF_X.
43703
43704 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
43705
43706         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43707         in child fails because the descriptor is already closed.
43708         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43709         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43710         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43711
43712         [BZ #12397]
43713         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43714         syscall.
43715
43716         [BZ #10484]
43717         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43718         temporary buffer used to handle multi lookups locally.
43719         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43720
43721 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
43722
43723         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43724         loader is ld.so.
43725
43726 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
43727
43728         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43729         alignment for SSE2.
43730
43731 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
43732
43733         [BZ #12394]
43734         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43735         characters.  When rounding increased number of integer digits recompute
43736         number of groups.
43737         * stdio-common/tst-grouping.c: New file.
43738         * stdio-common/Makefile: Add rules to build and run tst-grouping.
43739
43740 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
43741
43742         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43743         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
43744
43745         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43746         void.
43747         * bits/select.h: Likewise.
43748
43749 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
43750
43751         * po/ja.po: Update from translation team.
43752
43753 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
43754
43755         [BZ #11155]
43756         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43757         implementation just like for lxstat, fxstatat, et al.
43758
43759 2010-12-27  Jim Meyering  <meyering@redhat.com>
43760
43761         [BZ #12348]
43762         * posix/regexec.c (build_trtable): Return failure indication upon
43763         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
43764
43765 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
43766
43767         [BZ #12201]
43768         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43769         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43770         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43771         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43772
43773         [BZ #12207]
43774         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43775
43776         [BZ #12204]
43777         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43778         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43779
43780 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
43781
43782         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43783         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43784         script has SORT_BY_INIT_PRIORITY.
43785         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43786         NO_CTORS_DTORS_SECTIONS is defined.
43787         * elf/soinit.c: Likewise.
43788         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43789         NO_CTORS_DTORS_SECTIONS is defined.
43790         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43791         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43792         * sysdeps/sh/init-first.c: Likewise.
43793         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43794
43795 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
43796
43797         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43798         always use the slow path.
43799
43800 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
43801
43802         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43803         similar rule which adds the sysdep directories to the header search in
43804         order to pick up the correct platform stackinfo.h.
43805         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43806         perform test if it is, otherwise return successfully without testing.
43807         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43808         DEFAULT_STACK_PERMS define in stackinfo.h.
43809         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43810         defined in stackinfo.h.
43811         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43812         DEFAULT_STACK_PERMS defined in stackinfo.h.
43813         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43814         * sysdeps/ia64/stackinfo.h: Likewise.
43815         * sysdeps/s390/stackinfo.h: Likewise.
43816         * sysdeps/sh/stackinfo.h: Likewise.
43817         * sysdeps/sparc/stackinfo.h: Likewise.
43818         * sysdeps/x86_64/stackinfo.h: Likewise.
43819         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43820         PF_X for powerpc64.  Retain PF_X for powerpc32.
43821
43822 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
43823
43824         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43825         accurately.
43826         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43827         GETDENTS_64BIT_ALIGNED.
43828
43829 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
43830
43831         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43832
43833 2010-12-10  Andreas Schwab  <schwab@redhat.com>
43834
43835         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43836         _GNU_SOURCE.
43837
43838         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43839         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43840         Remove __restrict.
43841         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43842         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43843
43844 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
43845
43846         [BZ #11655]
43847         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43848         are initialized.
43849
43850 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
43851
43852         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43853
43854 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
43855
43856         * po/it.po: Update from translation team.
43857
43858 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
43859
43860         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43861         unused codes.
43862
43863 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
43864
43865         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43866
43867 2010-11-24  Andreas Schwab  <schwab@redhat.com>
43868
43869         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43870         specially.
43871         (gaih_getanswer_slice): Likewise.
43872
43873 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
43874
43875         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43876
43877 2010-05-31  Petr Baudis  <pasky@suse.cz>
43878
43879         [BZ #11149]
43880         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43881         silently even in the chroot mode.
43882
43883 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
43884
43885         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43886         last patch a bit.  Pretty printing
43887
43888 2010-05-31  Petr Baudis <pasky@suse.cz>
43889
43890         [BZ #10085]
43891         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43892         initialization of skip_initgroups_dyn.
43893
43894 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
43895
43896         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43897         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43898
43899 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
43900
43901         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43902
43903 2010-11-11  Andreas Schwab  <schwab@redhat.com>
43904
43905         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43906         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43907         (tst-fnmatch-ENV): Set MALLOC_TRACE.
43908         ($(objpfx)tst-fnmatch-mem): New rule.
43909         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43910         * posix/tst-fnmatch.c (main): Call mtrace.
43911
43912 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
43913
43914         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43915         Support Intel processor model 6 and model 0x2c.
43916
43917 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
43918
43919         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43920           signed comparison.
43921
43922 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
43923
43924         [BZ #12205]
43925         * string/test-strncasecmp.c (check_result): New function.
43926         (do_one_test): Use it.
43927         (check1): New function.
43928         (test_main): Use it.
43929         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43930         Support strcasecmp and strncasecmp.
43931
43932 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
43933
43934         [BZ #12194]
43935         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43936         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43937
43938 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
43939
43940         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43941         IFUNC support.
43942         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43943         memset-x86-64.
43944         * sysdeps/x86_64/multiarch/bzero.S: New file.
43945         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43946         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43947         * sysdeps/x86_64/multiarch/memset.S: New file.
43948         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43949         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43950         Set bit_Prefer_SSE_for_memop for Intel processors.
43951         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43952         Define.
43953         (index_Prefer_SSE_for_memop): Define.
43954         (HAS_PREFER_SSE_FOR_MEMOP): Define.
43955
43956 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
43957
43958         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43959         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43960
43961 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
43962
43963         [BZ #12191]
43964         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43965         (__x86_64_raw_data_cache_size_half): Likewise.
43966         (__x86_64_raw_shared_cache_size): Likewise.
43967         (__x86_64_raw_shared_cache_size_half): Likewise.
43968
43969         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43970         (__x86_64_raw_data_cache_size_half): Likewise.
43971         (__x86_64_raw_shared_cache_size): Likewise.
43972         (__x86_64_raw_shared_cache_size_half): Likewise.
43973         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43974         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43975         and __x86_64_raw_shared_cache_size_half.  Round
43976         __x86_64_data_cache_size_half, __x86_64_data_cache_size
43977         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43978         to multiple of 256 bytes.
43979
43980 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
43981
43982         [BZ #12167]
43983         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43984         of inacessible symlinks.  Verify result of symlink before returning it.
43985         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43986         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43987
43988 2010-10-28  Erich Ritz  <erichritz@gmail.com>
43989
43990         * math/math.h (isinf): Fix typo in comment.
43991
43992 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
43993
43994         * po/da.po: Update from translation team.
43995
43996 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
43997
43998         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43999         is added to the list.
44000
44001 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44002             Ulrich Drepper  <drepper@gmail.com>
44003
44004         * elf/dl-object.c (_dl_new_object): Don't append the new object to
44005         the global list here.  Move code to...
44006         (_dl_add_to_namespace_list): ...here.  New function.
44007         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44008         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44009         * elf/dl-load.c (lose): Don't remove the element from the list.
44010         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44011         (_dl_map_object): Likewise.
44012
44013 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
44014
44015         [BZ #12159]
44016         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44017         into all bytes of SSE register.
44018         Patch by Richard Li <richardpku@gmail.com>.
44019
44020 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
44021
44022         [BZ #12140]
44023         * malloc/malloc.c (_int_free): Fill correct number of bytes when
44024         perturbing.
44025
44026 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
44027
44028         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44029         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44030         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44031         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44033         submachine.
44034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44035
44036 2010-10-22  Andreas Schwab  <schwab@redhat.com>
44037
44038         * include/dlfcn.h (__RTLD_SECURE): Define.
44039         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
44040         mode & __RTLD_SECURE instead.
44041         (open_path): Rename preloaded parameter to secure.
44042         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44043         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44044         * elf/dl-deps.c (openaux): Likewise.
44045         * elf/rtld.c (struct map_args): Remove is_preloaded.
44046         (map_doit): Don't use it.
44047         (dl_main): Likewise.
44048         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44049         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44050
44051 2010-09-09  Andreas Schwab  <schwab@redhat.com>
44052
44053         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44054         (sysd-rules-targets): Remove duplicates.
44055         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44056         rtld-%.$o dependency.
44057
44058 2010-10-18  Andreas Schwab  <schwab@redhat.com>
44059
44060         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44061         _dl_map_object do it.
44062
44063 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
44064
44065         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44066         fast fma builtins, define the macros in the C99 standard.
44067         (FP_FAST_FMAF): Likewise.
44068         (FP_FAST_FMAL): Likewise.
44069         * sysdeps/x86_64/bits/mathdef.h: Likewise.
44070
44071         * bits/mathdef.h: Update copyright year.
44072         * sysdeps/powerpc/bits/mathdef.h: Likewise.
44073
44074 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
44075
44076         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44077         builtins, define the macros in the C99 standard.
44078         (FP_FAST_FMAF): Likewise.
44079         (FP_FAST_FMAL): Likewise.
44080         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44081         multiply/add.
44082         (FP_FAST_FMAF): Likewise.
44083
44084 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
44085
44086         [BZ #3268]
44087         * math/libm-test.inc (fma_test): Some new testcases.
44088         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44089         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44090         y and infinite z.  Do multiplication by C already in long double.
44091         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44092         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44093         y and infinite z.  Do bitwise or of inexact bit into u.d.
44094         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44095         * sysdeps/i386/fpu/s_fmaf.S: Removed.
44096         * sysdeps/i386/fpu/s_fma.S: Removed.
44097         * sysdeps/i386/fpu/s_fmal.S: Removed.
44098
44099 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
44100
44101         [BZ #3268]
44102         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44103         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44104         computation is not scheduled after fetestexcept.  Fix value
44105         of minimum denormal long double.
44106
44107 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
44108
44109         [BZ #3268]
44110         * math/libm-test.inc (fma_test): Add some more tests.
44111         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44112         correctly.
44113
44114 2010-10-15  Andreas Schwab  <schwab@redhat.com>
44115
44116         * scripts/data/localplt-s390-linux-gnu.data: New file.
44117         * scripts/data/localplt-s390x-linux-gnu.data: New file.
44118
44119 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
44120
44121         [BZ #3268]
44122         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44123         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44124         instead of dbl-64.
44125         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44126         inlines.
44127         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44128         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44129         if one of x and y is very large and the other is subnormal.
44130         * sysdeps/s390/fpu/s_fmaf.c: New file.
44131         * sysdeps/s390/fpu/s_fma.c: New file.
44132         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44133         * sysdeps/powerpc/fpu/s_fma.S: New file.
44134         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44135         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44136         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44137
44138 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
44139
44140         [BZ #3268]
44141         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44142         fma tests.
44143         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44144         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44145         * sysdeps/i386/i686/multiarch/s_fma.c: Include
44146         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44147         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44148         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44149         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44150
44151 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
44152
44153         [BZ #12078]
44154         * posix/regcomp.c (parse_branch): One more memory leak plugged.
44155         * posix/bug-regex31.input: Add test case.
44156
44157 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
44158
44159         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44160         * posix/bug-regex31.input: New file.
44161
44162         [BZ #12078]
44163         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44164         (parse_sub_exp): Fix last change, use postorder.
44165
44166         * posix/bug-regex31.c: New file.
44167         * posix/Makefile: Add rules to build and run bug-regex31.
44168
44169         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44170
44171         [BZ #12078]
44172         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44173
44174         [BZ #12108]
44175         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44176         to have entries in sys_siglist.
44177
44178         [BZ #12093]
44179         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44180         be NULL.
44181
44182 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
44183
44184         [BZ #3268]
44185         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44186         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44187         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44188         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44189         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44190         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44191         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44192         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44193         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44194         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44195         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44196         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44197         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44198         * math/ftestexcept.c (fetestexcept): Likewise.
44199         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44200         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44201         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44202         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44203         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44204         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44205         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44206
44207 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
44208
44209         [BZ #12107]
44210         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44211         newline.
44212
44213 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
44214
44215         * string/bug-strstr1.c: New file.
44216         * string/Makefile: Add rules to build and run bug-strstr1.
44217
44218 2010-10-05  Eric Blake  <eblake@redhat.com>
44219
44220         [BZ #12092]
44221         * string/str-two-way.h (two_way_long_needle): Always clear memory
44222         when skipping input due to the shift table.
44223
44224 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
44225
44226         [BZ #12005]
44227         * malloc/mcheck.c: Handle large requests.
44228
44229         [BZ #12077]
44230         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44231         for strncmp and strncasecmp.
44232         * string/stratcliff.c: Add tests for strcmp and strncmp.
44233         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44234
44235 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44236
44237         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44238         __set_fpscr.
44239
44240 2010-09-30  Andreas Jaeger  <aj@suse.de>
44241
44242         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44243         (CGROUP_SUPER_MAGIC): Define.
44244         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44245         Handle btrfs and cgroup file systems.
44246         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44247         Likewise.
44248
44249 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
44250
44251         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44252         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44253
44254 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44255
44256         [BZ #12067]
44257         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44258         trying to locate the ELF header.
44259
44260 2010-09-27  Andreas Schwab  <schwab@redhat.com>
44261
44262         [BZ #11611]
44263         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44264         Mask out sign-bit copies when constructing f_fsid.
44265
44266 2010-09-24  Petr Baudis <pasky@suse.cz>
44267
44268         * debug/stack_chk_fail_local.c: Add missing licence exception.
44269         * debug/warning-nop.c: Likewise.
44270
44271 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
44272
44273         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44274         implementing getdents64 using getdents syscall, set d_type if
44275         __ASSUME_GETDENTS32_D_TYPE.
44276
44277 2010-09-16  Andreas Schwab  <schwab@redhat.com>
44278
44279         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44280         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44281
44282 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
44283
44284         [BZ #12037]
44285         * posix/unistd.h: Undo change of feature selection for ftruncate from
44286         2010-01-11.
44287
44288 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
44289
44290         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
44291         detection.
44292
44293 2010-09-20  Andreas Schwab  <schwab@redhat.com>
44294
44295         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44296         fanotify_mark.
44297         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44298
44299 2010-09-14  Andreas Schwab  <schwab@redhat.com>
44300
44301         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44302         variables after CHECK_SP call.
44303         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44304
44305 2010-09-13  Andreas Schwab  <schwab@redhat.com>
44306             Ulrich Drepper  <drepper@redhat.com>
44307
44308         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44309         re-relocationg ld.so.
44310         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44311         _dl_init_paths call.
44312         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
44313         here anymore.
44314
44315 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
44316
44317         * resolv/res_init.c (__res_vinit): Count the default server we added.
44318
44319 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
44320             Ulrich Drepper  <drepper@redhat.com>
44321
44322         [BZ #11968]
44323         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44324         (____longjmp_chk): Use %ebx for saving value across system call.
44325         Add unwind info.
44326
44327 2010-09-06  Andreas Schwab  <schwab@redhat.com>
44328
44329         * manual/Makefile: Don't mix pattern rules with normal rules.
44330
44331 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44332
44333         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44334         operation.
44335         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44336         * libio/iofopncook.c (_IO_cookie_init): Likewise.
44337         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44338         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44339         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44340         Likewise.
44341
44342 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
44343
44344         [BZ #11979]
44345         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44346         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44347
44348 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
44349
44350         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44351         * sysdeps/x86_64/addmul_1.S: Likewise.
44352         * sysdeps/x86_64/lshift.S: Likewise.
44353         * sysdeps/x86_64/mul_1.S: Likewise.
44354         * sysdeps/x86_64/rshift.S: Likewise.
44355         * sysdeps/x86_64/sub_n.S: Likewise.
44356         * sysdeps/x86_64/submul_1.S: Likewise.
44357
44358 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44359
44360         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44361         Define __sched_param instead of SCHED_* and sched_param when
44362         <bits/sched.h> is included with __need_schedparam defined.
44363         * bits/sched.h [__need_schedparam]
44364         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
44365         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44366         (__defined_schedparam): Define to 1.
44367         (__sched_param): New structure, identical to sched_param.
44368         (__need_schedparam): Undefine.
44369
44370 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
44371
44372         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44373         (epoll_create1): Declare.
44374
44375         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44376
44377 2010-08-31  Andreas Schwab  <schwab@redhat.com>
44378
44379         [BZ #7066]
44380         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44381         shifting retval into place.
44382
44383 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
44384
44385         * nis/rpcsvc/nis.h: Update copyright notice.
44386         * nis/rpcsvc/nis.x: Likewise.
44387         * nis/rpcsvc/nis_callback.h: Likewise.
44388         * nis/rpcsvc/nis_callback.x: Likewise.
44389         * nis/rpcsvc/nis_object.x: Likewise.
44390         * nis/rpcsvc/nis_tags.h: Likewise.
44391         * nis/rpcsvc/yp.h: Likewise.
44392         * nis/rpcsvc/yp.x: Likewise.
44393         * nis/rpcsvc/ypupd.h: Likewise.
44394         * nis/yp_xdr.c: Likewise.
44395         * nis/ypupdate_xdr.c: Likewise.
44396
44397         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
44398         mainly the body of pmap_getport.  Add parameters to specify timeouts.
44399         (pmap_getport): Use __libc_rpc_getport.
44400         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44401         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44402         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44403
44404 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
44405
44406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44407         fanotify_mark.
44408
44409 2010-08-27  Roland McGrath  <roland@redhat.com>
44410
44411         * sysdeps/i386/i686/multiarch/Makefile
44412         (CFLAGS-varshift.c): New variable.
44413
44414 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
44415
44416         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44417         * sysdeps/i386/i686/multiarch/varshift.c: New file.
44418
44419         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44420
44421         * sysdeps/x86_64/strlen.S: Minimal code improvement.
44422
44423 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
44424
44425         * sysdeps/x86_64/strlen.S: Unroll the loop.
44426         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44427         strlen-sse2 strlen-sse2-bsf.
44428         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44429         __strlen_no_bsf if bit_Slow_BSF is set.
44430         (__strlen_sse42): Removed.
44431         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44432         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44433
44434 2010-08-25  Roland McGrath  <roland@redhat.com>
44435
44436         * sysdeps/x86_64/multiarch/varshift.S: File removed.
44437         * sysdeps/x86_64/multiarch/varshift.c: New file.
44438         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44439         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44440         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44441         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44442
44443 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
44444
44445         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44446         strlen-sse2 strlen-sse2-bsf.
44447         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44448         __strlen_sse2_bsf if bit_Slow_BSF is unset.
44449         (__strlen_sse2): Removed.
44450         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44451         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44452         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44453         bit_Slow_BSF for Atom.
44454         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44455         (index_Slow_BSF): Define.
44456         (HAS_SLOW_BSF): Define.
44457
44458 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
44459
44460         [BZ #10851]
44461         * resolv/res_init.c (__res_vinit): When no server address at all
44462         is given default to loopback.
44463
44464 2010-08-24  Roland McGrath  <roland@redhat.com>
44465
44466         * configure.in: Remove config-name.h generation.
44467         * configure: Regenerated.
44468         * config-name.in: File removed.
44469         * scripts/config-uname.sh: New file.
44470         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44471         ($(objdir)config-name.h): New target.
44472
44473         * sunrpc/rpc_parse.h: Avoid nested comment.
44474
44475 2010-08-24  Richard Henderson  <rth@redhat.com>
44476             Ulrich Drepper  <drepper@redhat.com>
44477             H.J. Lu  <hongjiu.lu@intel.com>
44478
44479         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44480         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44481         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44482         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
44483         _mm_alignr_epi8 with _mm_loadu_si128.
44484         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44485         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44486         (__m128i_shift_right): Removed.
44487         * sysdeps/i386/i686/multiarch/varshift.h: New file.
44488         * sysdeps/i386/i686/multiarch/varshift.S: New file.
44489         * sysdeps/x86_64/multiarch/varshift.h: New file.
44490         * sysdeps/x86_64/multiarch/varshift.S: New file.
44491
44492 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
44493
44494         * configure.in: Move assembler checks to before sysdep dir checking.
44495
44496 2010-08-20  Petr Baudis  <pasky@suse.cz>
44497
44498         * LICENSES: Sync the sunrpc license.
44499
44500 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
44501
44502         * sunrpc/auth_des.c: Update copyright notice once again.
44503         * sunrpc/auth_none.c: Likewise.
44504         * sunrpc/auth_unix.c: Likewise.
44505         * sunrpc/authdes_prot.c: Likewise.
44506         * sunrpc/authuxprot.c: Likewise.
44507         * sunrpc/bindrsvprt.c: Likewise.
44508         * sunrpc/clnt_gen.c: Likewise.
44509         * sunrpc/clnt_perr.c: Likewise.
44510         * sunrpc/clnt_raw.c: Likewise.
44511         * sunrpc/clnt_simp.c: Likewise.
44512         * sunrpc/clnt_tcp.c: Likewise.
44513         * sunrpc/clnt_udp.c: Likewise.
44514         * sunrpc/clnt_unix.c: Likewise.
44515         * sunrpc/des_crypt.c: Likewise.
44516         * sunrpc/des_soft.c: Likewise.
44517         * sunrpc/get_myaddr.c: Likewise.
44518         * sunrpc/getrpcport.c: Likewise.
44519         * sunrpc/key_call.c: Likewise.
44520         * sunrpc/key_prot.c: Likewise.
44521         * sunrpc/openchild.c: Likewise.
44522         * sunrpc/pm_getmaps.c: Likewise.
44523         * sunrpc/pm_getport.c: Likewise.
44524         * sunrpc/pmap_clnt.c: Likewise.
44525         * sunrpc/pmap_prot.c: Likewise.
44526         * sunrpc/pmap_prot2.c: Likewise.
44527         * sunrpc/pmap_rmt.c: Likewise.
44528         * sunrpc/rpc/auth.h: Likewise.
44529         * sunrpc/rpc/auth_unix.h: Likewise.
44530         * sunrpc/rpc/clnt.h: Likewise.
44531         * sunrpc/rpc/des_crypt.h: Likewise.
44532         * sunrpc/rpc/key_prot.h: Likewise.
44533         * sunrpc/rpc/netdb.h: Likewise.
44534         * sunrpc/rpc/pmap_clnt.h: Likewise.
44535         * sunrpc/rpc/pmap_prot.h: Likewise.
44536         * sunrpc/rpc/pmap_rmt.h: Likewise.
44537         * sunrpc/rpc/rpc.h: Likewise.
44538         * sunrpc/rpc/rpc_des.h: Likewise.
44539         * sunrpc/rpc/rpc_msg.h: Likewise.
44540         * sunrpc/rpc/svc.h: Likewise.
44541         * sunrpc/rpc/svc_auth.h: Likewise.
44542         * sunrpc/rpc/types.h: Likewise.
44543         * sunrpc/rpc/xdr.h: Likewise.
44544         * sunrpc/rpc_clntout.c: Likewise.
44545         * sunrpc/rpc_cmsg.c: Likewise.
44546         * sunrpc/rpc_common.c: Likewise.
44547         * sunrpc/rpc_cout.c: Likewise.
44548         * sunrpc/rpc_dtable.c: Likewise.
44549         * sunrpc/rpc_hout.c: Likewise.
44550         * sunrpc/rpc_main.c: Likewise.
44551         * sunrpc/rpc_parse.c: Likewise.
44552         * sunrpc/rpc_parse.h: Likewise.
44553         * sunrpc/rpc_prot.c: Likewise.
44554         * sunrpc/rpc_sample.c: Likewise.
44555         * sunrpc/rpc_scan.c: Likewise.
44556         * sunrpc/rpc_scan.h: Likewise.
44557         * sunrpc/rpc_svcout.c: Likewise.
44558         * sunrpc/rpc_tblout.c: Likewise.
44559         * sunrpc/rpc_util.c: Likewise.
44560         * sunrpc/rpc_util.h: Likewise.
44561         * sunrpc/rpcinfo.c: Likewise.
44562         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44563         * sunrpc/rpcsvc/key_prot.x: Likewise.
44564         * sunrpc/rpcsvc/klm_prot.x: Likewise.
44565         * sunrpc/rpcsvc/mount.x: Likewise.
44566         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44567         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44568         * sunrpc/rpcsvc/rex.x: Likewise.
44569         * sunrpc/rpcsvc/rstat.x: Likewise.
44570         * sunrpc/rpcsvc/rusers.x: Likewise.
44571         * sunrpc/rpcsvc/sm_inter.x: Likewise.
44572         * sunrpc/rpcsvc/spray.x: Likewise.
44573         * sunrpc/rpcsvc/yppasswd.x: Likewise.
44574         * sunrpc/rtime.c: Likewise.
44575         * sunrpc/svc.c: Likewise.
44576         * sunrpc/svc_auth.c: Likewise.
44577         * sunrpc/svc_authux.c: Likewise.
44578         * sunrpc/svc_raw.c: Likewise.
44579         * sunrpc/svc_run.c: Likewise.
44580         * sunrpc/svc_simple.c: Likewise.
44581         * sunrpc/svc_tcp.c: Likewise.
44582         * sunrpc/svc_udp.c: Likewise.
44583         * sunrpc/svc_unix.c: Likewise.
44584         * sunrpc/svcauth_des.c: Likewise.
44585         * sunrpc/xcrypt.c: Likewise.
44586         * sunrpc/xdr.c: Likewise.
44587         * sunrpc/xdr_array.c: Likewise.
44588         * sunrpc/xdr_float.c: Likewise.
44589         * sunrpc/xdr_mem.c: Likewise.
44590         * sunrpc/xdr_rec.c: Likewise.
44591         * sunrpc/xdr_ref.c: Likewise.
44592         * sunrpc/xdr_sizeof.c: Likewise.
44593         * sunrpc/xdr_stdio.c: Likewise.
44594
44595         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44596         handling.
44597
44598 2010-08-19  Andreas Schwab  <schwab@redhat.com>
44599
44600         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44601
44602 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
44603
44604         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44605         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44606         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44607         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44608         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44609         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44610         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44611         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44612         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44613         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44614         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44615         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44616         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44617         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44618
44619 2010-07-26  Anton Blanchard  <anton@samba.org>
44620
44621         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44622         * malloc/arena.c (heap_trim): Likewise.
44623
44624 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
44625
44626         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44627         here.  Not...
44628         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44629         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44630
44631 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
44632
44633         * sysdeps/i386/elf/Makefile: New file.
44634
44635 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
44636
44637         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44638         from fanotify_init.
44639         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44640         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44641
44642 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
44643
44644         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44645         of strncasecmp_l.
44646         * sysdeps/multiarch/strcmp.S: Likewise.
44647
44648 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
44649
44650         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44651         strncase_l-nonascii.
44652         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44653         Add strncase_l-ssse3.
44654         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44655         * sysdeps/x86_64/strcmp.S: Likewise.
44656         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44657         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44658         * sysdeps/x86_64/strncase.S: New file.
44659         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44660         * sysdeps/x86_64/strncase_l.S: New file.
44661         * string/Makefile (strop-tests): Add strncasecmp.
44662         * string/test-strncasecmp.c: New file.
44663
44664         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44665         warning.
44666
44667         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44668         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44669
44670 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
44671
44672         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44673
44674 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
44675
44676         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44677         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44678         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44679
44680 2010-05-01  Alan Modra  <amodra@gmail.com>
44681
44682         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44683         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44684         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44685         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44686         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44687         tidying.  Don't tail-call __sigjmp_save for static lib.
44688         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44689         save location.
44690         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44691         (CALL_MCOUNT): Add eh info, and nop after bl.
44692         (TAIL_CALL_SYSCALL_ERROR): New macro.
44693         (PSEUDO_RET): Use it.
44694         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44695         Correct save location of integer regs and cr.
44696         (_dl_profile_resolve): Correct cr save location.  Delete nops
44697         after bl when SHARED.  Reduce cfi size a little by better
44698         placement of cfi directives.
44699         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44700         make a stack frame.  Instead use parm save area as a temp.
44701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44702         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
44703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44704         Don't make a stack frame for parent, use parm save area.
44705         Increase child stack frame to 112 bytes.  Don't save unused reg,
44706         and adjust reg usage.  Set up cfi on error recovery and
44707         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44709         (__makecontext): Add dummy nop after jump to exit.
44710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44711         Use correct parm save area and cr save, reduce stack frame.
44712         Correct cfi for possible PSEUDO_RET frame setup.
44713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44714         Branch to local label emitted by PSEUDO_RET rather than
44715         __syscall_error.
44716
44717 2010-08-12  Andreas Schwab  <schwab@redhat.com>
44718
44719         [BZ #11904]
44720         * locale/programs/locale.c (print_assignment): New function.
44721         (show_locale_vars): Use it.
44722
44723 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
44724
44725         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44726         field.
44727         (struct statfs64): Likewise.
44728         (_STATFS_F_FLAGS): Define.
44729         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44730         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44731         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44732         (ST_VALID): Define locally.
44733         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44734         __statvfs_getflags, use the provided value.
44735         * sysdeps/unix/sysv/linux/kernel-features.h: Define
44736         __ASSUME_STATFS_F_FLAGS.
44737
44738         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44739
44740         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44741         Add sys/fanotify.h.
44742         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44743         fanotify_mask for GLIBC_2.13.
44744         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44745         fanotify_init and fanotify_mark.
44746         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44747         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44748
44749         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44750         Add prlimit.
44751         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44752         prlimit64 for GLIBC_2.13.
44753         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44754         prlimit64.
44755         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44756         syscall.
44757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44758         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44759         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44760         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44761         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
44762         add prlimit alias.
44763         * sysdeps/unix/sysv/linux/prlimit.c: New file.
44764
44765         [BZ #11903]
44766         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44767         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44768
44769         * nss/Makefile: Add rules to build and run tst-nss-test1.
44770         * shlib-versions: Add entry for libnss_test1.
44771         * nss/nss_test1.c: New file.
44772         * nss/tst-nss-test1.c: New file.
44773
44774         * nss/nsswitch.c (__nss_database_custom): Define new variable.
44775         (__nss_configure_lookup): Set appropriate entry in
44776         __nss_configure_lookup to true.
44777         * nss/nsswitch.h: Define enum with indeces of databases in
44778         databases and __nss_database_custom arrays.  Declare
44779         __nss_database_custom.
44780         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44781         to avoid using nscd when custom rules are installed.
44782         * nss/getXXbyYY_r.c: Likewise.
44783         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44784
44785         * nss/nss_files/files-parse.c: Whitespace fixes.
44786
44787 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
44788
44789         [BZ #11883]
44790         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44791         * posix/fnmatch_loop.c: Likewise.
44792
44793 2010-07-17  Andi Kleen  <ak@linux.intel.com>
44794
44795         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44796         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44797         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44798         * Versions.def [GLIBC_2.13]: Add.
44799
44800 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
44801
44802         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44803         Also fail if tpwd after pwuid call is NULL.
44804
44805 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44806
44807         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44808         when converting to ms.
44809
44810 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44811
44812         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44813         EOPNOTSUPP errors with ENOTTY.
44814         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44815         EOPNOTSUPP errors with ENOTTY.
44816
44817 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
44818
44819         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44820         Add strcasecmp_l-ssse3.
44821         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44822         strcasecmp.
44823         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44824         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44825         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44826
44827 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
44828
44829         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44830
44831         * string/Makefile (strop-tests): Add strcasecmp.
44832         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44833         strcasecmp_l-nonascii.
44834         (gen-as-const-headers): Add locale-defines.sym.
44835         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44836         * sysdeps/x86_64/strcasecmp.S: New file.
44837         * sysdeps/x86_64/strcasecmp_l.S: New file.
44838         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44839         * sysdeps/x86_64/locale-defines.sym: New file.
44840         * string/test-strcasecmp.c: New file.
44841
44842         * string/test-strcasestr.c: Test both ends of the range of characters.
44843         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44844
44845 2010-07-29  Roland McGrath  <roland@redhat.com>
44846
44847         [BZ #11856]
44848         * manual/locale.texi (Yes-or-No Questions): Fix example code.
44849
44850 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
44851
44852         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44853         for ld.so.
44854
44855 2010-07-27  Andreas Schwab  <schwab@redhat.com>
44856
44857         * manual/memory.texi (Malloc Tunable Parameters): Document
44858         M_PERTURB.
44859
44860 2010-07-26  Roland McGrath  <roland@redhat.com>
44861
44862         [BZ #11840]
44863         * configure.in (-fgnu89-inline check): Set and substitute
44864         gnu89_inline, not libc_cv_gnu89_inline.
44865         * configure: Regenerated.
44866         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44867
44868 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
44869
44870         * string/test-strnlen.c: New file.
44871         * string/Makefile (strop-tests): Add strnlen.
44872         * string/tester.c (test_strnlen): Add a few more test cases.
44873         * string/tst-strlen.c: Better error reporting.
44874
44875         * sysdeps/x86_64/strnlen.S: New file.
44876
44877 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
44878
44879         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44880         lower-latency instructions.
44881
44882 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
44883
44884         * string/test-strcasestr.c: New file.
44885         * string/test-strstr.c: New file.
44886         * string/Makefile (strop-tests): Add strstr and strcasestr.
44887         * string/str-two-way.h: Don't undefine MAX.
44888         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44889
44890 2010-07-21  Andreas Schwab  <schwab@redhat.com>
44891
44892         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44893         strcasestr-nonascii.
44894         (CFLAGS-strcasestr-nonascii.c): Define.
44895         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44896         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44897         Remove unused attribute.
44898
44899 2010-07-20  Roland McGrath  <roland@redhat.com>
44900
44901         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44902         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
44903         ld.so.cache was broken.  With it, there is no way to disable dsocaps
44904         like LD_HWCAP_MASK can disable hwcaps.
44905
44906 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
44907
44908         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44909
44910 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
44911
44912         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44913         call in strcasestr.
44914         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44915         __strcasestr_sse42_nonascii.
44916         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44917         strcasestr-nonascii.c.
44918         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44919
44920 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
44921
44922         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44923         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44924         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44925         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44926
44927 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
44928
44929         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44930         fcntl.
44931
44932 2010-07-06  Andreas Schwab  <schwab@redhat.com>
44933
44934         [BZ #11577]
44935         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44936         dl_signal_cerror.
44937
44938 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
44939
44940         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44941         _PC_PIPE_BUF using F_GETPIPE_SZ.
44942
44943 2010-07-05  Roland McGrath  <roland@redhat.com>
44944
44945         * manual/arith.texi (Rounding Functions): Fix rint description
44946         implicit in round description.
44947
44948 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
44949
44950         * elf/Makefile: Fix linking for a few tests to make recent linker
44951         happy.
44952
44953 2010-06-30  Andreas Schwab  <schwab@redhat.com>
44954
44955         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44956         $(common-objpfx)libc_nonshared.a.
44957
44958 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
44959
44960         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44961         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44962         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44963         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44964         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44965         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44966         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44967         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44982         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44983         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44984         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44985         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44986         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44987         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44988         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44989         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44990         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44991         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44992         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44993         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45008
45009 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
45010
45011         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45012         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
45013         * string/memmove.c (memmove): Renamed to ...
45014         (MEMMOVE): ...this.  Default to memmove.
45015         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45016         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45017         (END_CHK): Define.
45018         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45019         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45020         mempcpy-ssse3-back memmove-ssse3-back.
45021         * sysdeps/x86_64/multiarch/bcopy.S: New file .
45022         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45023         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45024         * sysdeps/x86_64/multiarch/memcpy.S: New file.
45025         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45026         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45027         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45028         * sysdeps/x86_64/multiarch/memmove.c: New file.
45029         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45030         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45031         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45032         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45033         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45034         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45035         Define.
45036         (index_Fast_Copy_Backward): Define.
45037         (HAS_ARCH_FEATURE): Define.
45038         (HAS_FAST_REP_STRING): Define.
45039         (HAS_FAST_COPY_BACKWARD): Define.
45040
45041 2010-06-21  Andreas Schwab  <schwab@redhat.com>
45042
45043         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45044         Restore proper fallback handling.
45045
45046 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
45047
45048         [BZ #11701]
45049         * posix/group_member.c (__group_member): Correct checking loop.
45050
45051         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45052         OOM in getpwuid_r correctly.  Return error number when the caller
45053         should return, otherwise -1.
45054         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45055         call returning > 0 value.
45056         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45057
45058 2010-06-07  Andreas Schwab  <schwab@redhat.com>
45059
45060         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45061         libc_nonshared.a from targets in modules-names.
45062
45063 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
45064
45065         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45066         requires it.
45067
45068 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
45069
45070         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45071         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45072         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45073         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45074
45075 2010-06-02  Andreas Schwab  <schwab@redhat.com>
45076
45077         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45078
45079 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
45080
45081         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45082         and F_GETPIPE_SZ.
45083         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45084         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45085         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45086         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45087         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45088         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45089
45090 2010-06-14  Roland McGrath  <roland@redhat.com>
45091
45092         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45093
45094 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
45095
45096         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45097         __REDIRECT followed by __THROW.
45098         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45099         * posix/getopt.h (getopt): Likewise.
45100
45101 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
45102
45103         * hurd/lookup-at.c (__file_name_lookup_at): Accept
45104         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
45105         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45106         in AT_FLAGS.
45107         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45108         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45109
45110 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
45111
45112         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45113
45114 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
45115
45116         [BZ #11640]
45117         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45118         Properly check family and model.
45119
45120 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
45121
45122         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45123
45124 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
45125
45126         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45127
45128 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
45129
45130         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45131         symbol reference.
45132
45133 2010-05-19  Andreas Schwab  <schwab@redhat.com>
45134
45135         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45136         symbol reference.
45137
45138 2010-05-21  Andreas Schwab  <schwab@redhat.com>
45139
45140         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45141         and internal_recvmmsg.
45142         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45143         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45144         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45145         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45146
45147         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45148         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45149         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45150
45151 2010-05-20  Andreas Schwab  <schwab@redhat.com>
45152
45153         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45154
45155 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
45156
45157         POWER7 optimizations.
45158         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45159         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45160
45161 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
45162
45163         * version.h: Update for 2.13 development version.
45164
45165 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
45166
45167         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45168         exceptions.  Return 0.
45169
45170 2010-05-07  Roland McGrath  <roland@redhat.com>
45171
45172         * elf/ldconfig.c (main): Add a const.
45173
45174 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
45175
45176         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45177         (args_options): Add no-idn option.
45178         (ahosts_keys_int): Add idn_flags to ai_flags.
45179         (parse_option): Handle 'i' option to clear idn_flags.
45180
45181         * malloc/malloc.c (_int_free): Possible race in the most recently
45182         added check.  Only act on the data if no current modification
45183         happened.
45184
45185 See ChangeLog.17 for earlier changes.